{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"bottomBar.BottomBar (cyclomatic 58): bottomBar.BottomBar has cyclomatic complexity 58 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 38 belong to 6 function literals inside it that branch. 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":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1662ff381aefae84f13a91867c1489e35ae2f2e16f20f387e7ece3b8292fbab8"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteKeyboard::processKey (cyclomatic 39): RemoteKeyboard::processKey has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/remote_keyboard.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2e1d83386bb4575334746190e6aa1bf6c929a70d2a551af5823d33d810fe67"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileOptionModal (cyclomatic 34): ProfileOptionModal has cyclomatic complexity 34 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 8 belong to 13 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/profileOptionModal.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa969a70aabbb5867d4f1649bfe5cd804d4cebc9a3f51afd71633185f8b4ddd8"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandHandler.handle_keys (cyclomatic 33): CommandHandler.handle_keys has cyclomatic complexity 33 (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":"controller/python/keyboard-pygame.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8aa93db16f7485e1f219210db53cbdd1166aaec4daab1d8b416c3fbd6b04389"}},{"ruleId":"D1","level":"warning","message":{"text":"BlocklyComponent.BlocklyComponent (cyclomatic 32): BlocklyComponent.BlocklyComponent has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 94, 157, 132, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/BlocklyComponent.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ddef2cc160389c71de17e6033f158a74fc8f40f8d8ce7f5f87eb097abb1e1d"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteKeyboard::processKey (cyclomatic 29): RemoteKeyboard::processKey has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/server/remote-keyboard.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf4e189f712179547a7103fee3d91147f990b3e4206d0f46facc428c7595a6d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditProfileModal (cyclomatic 28): EditProfileModal has cyclomatic complexity 28 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 13 belong to 19 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/editProfileModal.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"866d91d6544b2f73e3ef841cb2cc720998572928e7601bb53d5c26c527a1dba3"}},{"ruleId":"D1","level":"warning","message":{"text":"associate_frames.match_frame_session (cyclomatic 27): associate_frames.match_frame_session has cyclomatic complexity 27 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/associate_frames.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83ff1d57fd9ab77700c8c086c09fd51dfe157e988448625360de331ebefa23c"}},{"ruleId":"D1","level":"warning","message":{"text":"RightDrawer (cyclomatic 26): RightDrawer has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/drawer/drawer.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5c1d4e412eb52724d65106583dd028239aaee5b88dee9124b9ee84070a8021"}},{"ruleId":"D1","level":"warning","message":{"text":"SensorService.onStartCommand (cyclomatic 24): SensorService.onStartCommand has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/SensorService.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d346304f9c99dd32bbad9caaed38f96f08e4142eb580eae6fefc79e8b798ab2"}},{"ruleId":"D1","level":"warning","message":{"text":"simpleInputComponent.SimpleInputComponent (cyclomatic 24): simpleInputComponent.SimpleInputComponent has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"open-code/src/components/inputComponent/simpleInputComponent.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b291b74372f30eae2673583b130f8d7550ce2b5b607b501a67650a7b6d8c8140"}},{"ruleId":"D1","level":"warning","message":{"text":"Card (cyclomatic 24): Card has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 belong to 21 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/myProjects/card.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f7e7ffb5e7499fb24ede5534416a3f76f54bb267b4a7a12c08b60bc0e4eb73"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlsFragment.onViewCreated (cyclomatic 23): ControlsFragment.onViewCreated 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/common/ControlsFragment.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b755808bf7043a9b8f2293bd083f8c3a4d3fd286b14aa01431486c33e3f46b9c"}},{"ruleId":"D1","level":"warning","message":{"text":"OnScreenIconState.build (cyclomatic 23): OnScreenIconState.build 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/flutter/lib/screens/component/onScreenIcon.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d900de9fbd478c45af5cb45da1d8f25e48af3bd325af98874d213f3fb59de02"}},{"ruleId":"D1","level":"warning","message":{"text":"bottomBar.UploadCodeButton (cyclomatic 23): bottomBar.UploadCodeButton has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"720779990f00f90ec099ec9b0589f26df7342b5d6e3e84f29df0c7dd40e9575f"}},{"ruleId":"D1","level":"warning","message":{"text":"ControllerMappingFragment.processKeyEvent (cyclomatic 22): ControllerMappingFragment.processKeyEvent has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/controller/ControllerMappingFragment.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5555283c00fcd267298a04401fb19f6a3289ff5f6e751ad35ce127fdaa136136"}},{"ruleId":"D1","level":"warning","message":{"text":"CVPixelBuffer.resized (cyclomatic 21): CVPixelBuffer.resized has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/BlueDress/CVPixelBuffer\u002B.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1961291342308cd0b43671dfef79fdfa8a1d1b1a6b6e54c954babb094b18a0"}},{"ruleId":"D1","level":"warning","message":{"text":"BottomBar::generateCode (cyclomatic 21): BottomBar::generateCode has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a253ec1b60e9e3345e9deea84430c276b36d9ac65e5479b7b541642ece4dd80"}},{"ruleId":"D1","level":"warning","message":{"text":"SensorService.onDestroy (cyclomatic 20): SensorService.onDestroy has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/SensorService.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3017d830244ddbdcef662175ace0a068bf2448630ec8f8b7f7551ce001ebe6"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsFragment.onCreatePreferences (cyclomatic 20): SettingsFragment.onCreatePreferences has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/main/SettingsFragment.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa0551f9c5a79f1f1483e5a62f297e27543f0bb8ae25cd78821c5c3f7a82144"}},{"ruleId":"D1","level":"warning","message":{"text":"GameController.processControllerKeyData (cyclomatic 19): GameController.processControllerKeyData has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Data/GameController.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"897b4e5fe26a2d1fdda5a456fad47bbb5f452bfc822be517dc9ba1a8d9682a96"}},{"ruleId":"D1","level":"warning","message":{"text":"runRobot.display (cyclomatic 19): runRobot.display has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"7397b352b5a0371ea15676d6c591f898a3fb552160afc0b7655858bd6e16bb85"}},{"ruleId":"D1","level":"warning","message":{"text":"GameController.processButtonInput (cyclomatic 19): GameController.processButtonInput has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/env/GameController.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae7d0c14a7a71c0ef3772a1ea65ce5a40e369158253f0670cc35860e3a395fb"}},{"ruleId":"D1","level":"warning","message":{"text":"App (cyclomatic 19): App has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 20 function items inside it that branch (getCookie, (anonymous), (anonymous)::(anonymous), \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/App.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"28150621f5224666056e00fb5107a019a2e144bc90b917b37c7905748672d8ca"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerWebrtcDelegate.didReceiveData (cyclomatic 18): ServerWebrtcDelegate.didReceiveData 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. This shape REPEATS in the file: one other method here (ServerWebrtcDelegate.websocketDidReceiveMessage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc2c507dd291de87bfae6d87a0369bf3247f089b45fb5f6425c3d2a23b772be"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerWebrtcDelegate.websocketDidReceiveMessage (cyclomatic 18): ServerWebrtcDelegate.websocketDidReceiveMessage 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. This shape REPEATS in the file: one other method here (ServerWebrtcDelegate.didReceiveData) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"631bb20c9dc406033582fd3a1e6c12a5753d58683199ccc6d0adf133a4d56a78"}},{"ruleId":"D1","level":"warning","message":{"text":"SensorMessageHandler.handleMessage (cyclomatic 18): SensorMessageHandler.handleMessage 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":"android/robot/src/main/java/org/openbot/app/robot/logging/SensorService.java"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf66de96c5fffcfd533f8f5e268ffb4e4e3d50efeb719b883400544af622c379"}},{"ruleId":"D1","level":"warning","message":{"text":"RightSection (cyclomatic 18): RightSection has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/navBar/header.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"877f03c950a20b05b59d3a9e71ea27d6b5222312d221ecb261a54dcac14775bb"}},{"ruleId":"D1","level":"warning","message":{"text":"NsdService.start (cyclomatic 17): NsdService.start has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/server/NsdService.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e458d201a3b930f1185ce40f88f833933223094f647d2cb38d7866934003a8e6"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsFragment.toggleSwitchButtons (cyclomatic 17): SettingsFragment.toggleSwitchButtons has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Settings/SettingsFragment.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4c182c1c8f8c78b69f163c02e1d6084e6af5a5fc6733e90e9d42c464e63ba3"}},{"ruleId":"D1","level":"warning","message":{"text":"runRobot.runMultipleObjectTracking (cyclomatic 17): runRobot.runMultipleObjectTracking has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61e019e3bf93da8cf2e82aeb491d2d0703b01ee4797340232bbfae111a89571"}},{"ruleId":"D1","level":"warning","message":{"text":"ArCore.onDrawFrame (cyclomatic 17): ArCore.onDrawFrame has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/ArCore.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b6493fde50a620c56f642d24565d881f21804d1557ecdd1d7328bb723de2f4"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelUploadingComponent (cyclomatic 16): ModelUploadingComponent has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 17 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/modelUploadingComponent.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdecf26964f410355eed93497aee7610c3bd25dd967bc2eff496cf5736a75a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"bottomBar.BottomBar (cognitive 97): bottomBar.BottomBar has cognitive complexity 97 (threshold 15). Drivers by points: if/else 29 (64 pts), loops 4 (15 pts), boolean chains 11, ternaries 6, match/switch 1 (nesting depth added 46). Of this number, 30 points are the body\u0027s own statements and 67 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d362d65889f778c3896d531a61d323365abcb2ba3e791c0cb21ba4fe42a966"}},{"ruleId":"D2","level":"warning","message":{"text":"simpleInputComponent.SimpleInputComponent (cognitive 85): simpleInputComponent.SimpleInputComponent has cognitive complexity 85 (threshold 15). Drivers by points: ternaries 20 (82 pts), if/else 1 (2 pts), boolean chains 1 (nesting depth added 63). Of this number, 78 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/inputComponent/simpleInputComponent.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c22149e906b6481a25ef00fa7411e589a0ae70c02f25a64650f3e425be9c965"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHandler.handle_keys (cognitive 80): CommandHandler.handle_keys has cognitive complexity 80 (threshold 15). Drivers by points: if/else 21 (77 pts), loops 2 (3 pts) (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/python/keyboard-pygame.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e3f70e819525b6a940b037ef3562c14018ab61a995ffc78e8a1ae54581fce7"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteKeyboard::processKey (cognitive 65): RemoteKeyboard::processKey has cognitive complexity 65 (threshold 15). Drivers by points: if/else 24 (62 pts), match/switch 2 (3 pts) (nesting depth added 39). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/remote_keyboard.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81f75bc92b0eeeb0010ed02a707586033f8d02e9d56acc3fa0f64cb6eef9fcd"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorMessageHandler.handleMessage (cognitive 63): SensorMessageHandler.handleMessage has cognitive complexity 63 (threshold 15). Drivers by points: if/else 18 (63 pts) (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/SensorService.java"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab886a31321016bde1c35a688093b56eae346fb9364f7e806eb1b39ee9ce3c3"}},{"ruleId":"D2","level":"warning","message":{"text":"associate_frames.match_frame_session (cognitive 50): associate_frames.match_frame_session has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (38 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 21). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/associate_frames.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c9d6064b02a462688c7375d23d272a17a8bcabcc3abe018fab9447f7da11ca"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomBar::generateCode (cognitive 49): BottomBar::generateCode has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (32 pts), loops 3 (11 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"43182571365965a45cff5bc9fe32232e5673ee1068b8fc868d90463a9c42e947"}},{"ruleId":"D2","level":"warning","message":{"text":"BlocklyComponent.BlocklyComponent (cognitive 47): BlocklyComponent.BlocklyComponent has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (33 pts), loops 3 (6 pts), boolean chains 4, ternaries 3, error handling 1 (nesting depth added 13). Most of this is not in the body itself: 2 of the 47 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 157, 94, 132, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/BlocklyComponent.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba177ebf74d803baf5159be66d6d5a9b086f46842c14dd097ba6f795907fb8dd"}},{"ruleId":"D2","level":"warning","message":{"text":"runRobot.runMultipleObjectTracking (cognitive 46): runRobot.runMultipleObjectTracking has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (31 pts), loops 2 (11 pts), boolean chains 4 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacba34575c3c3b8e351cd086b0d4a9c0f3ea40372b964770127c2a128f53e86"}},{"ruleId":"D2","level":"warning","message":{"text":"BlocklyExecutingFragment.followMultipleObject (cognitive 39): BlocklyExecutingFragment.followMultipleObject has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (35 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"32380e002eab96a9fafdf1eff460527a16b9283a9ef91ba7b315ca9ed563ebbe"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteKeyboard::processKey (cognitive 35): RemoteKeyboard::processKey has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (32 pts), match/switch 2 (3 pts) (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/server/remote-keyboard.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf3313d3c795ffafa1775e2793fd04da94517bf67a7e1ae663e2eb8cfed3827"}},{"ruleId":"D2","level":"warning","message":{"text":"EditProfileModal (cognitive 35): EditProfileModal has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 11, error handling 3 (8 pts), ternaries 2 (nesting depth added 10). Most of this is not in the body itself: 10 of the 35 points are its own statements and the rest belongs to 19 function items inside it that branch (handleSubmit, handleCompressFile, handleNameChange, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/editProfileModal.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ca38b2cf40d60279978666ec0fd0a5effc1d7ae11c64bbd1f27abb0611a412"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleServices.accessDriveFiles (cognitive 34): GoogleServices.accessDriveFiles has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 5 (13 pts), error handling 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f378c275ea55f80782b6cd656263898c40d65e391a05487e130a5a0101f143e6"}},{"ruleId":"D2","level":"warning","message":{"text":"CVPixelBuffer.resized (cognitive 32): CVPixelBuffer.resized has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/BlueDress/CVPixelBuffer\u002B.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"86872a450e9b2fed258b0f77eb64dfd62fa2755e4464097bb33746203b9a45b1"}},{"ruleId":"D2","level":"warning","message":{"text":"OnScreenIconState.build (cognitive 32): OnScreenIconState.build has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 14, boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/flutter/lib/screens/component/onScreenIcon.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f46204b58870c748679b16de3d9b522010b93208b5583b8f82ec8221579f14"}},{"ruleId":"D2","level":"warning","message":{"text":"runRobot.runDetection (cognitive 31): runRobot.runDetection has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0df37e0919238420b57e27446d6168132a0bf77eabc5d200cedf05182201d1"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileOptionModal (cognitive 31): ProfileOptionModal has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 9, ternaries 8, if/else 6 (7 pts), error handling 2 (5 pts), other 2 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 15 belong to 13 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/profileOptionModal.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"43243b86a628e8355d661a7ae6661f265b20d0f663a057d59761ee89469d5a06"}},{"ruleId":"D2","level":"warning","message":{"text":"Authentication.googleSignInFunc (cognitive 29): Authentication.googleSignInFunc has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Authentication/Authentication.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9365f652813e52c76114bfa80f0082bc9e3f96d27499f8afb544e228424e9501"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraController.initializeCamera (cognitive 29): CameraController.initializeCamera has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/CameraController.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf76b92e3f02202a9a984f2e550e2b51d3925ae12ada6584046225627ee0ae8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectNavFragment.processFrame (cognitive 29): ObjectNavFragment.processFrame has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 2, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4cf5b9d40da3d19e898e98f7eb9d09a074fe51218870561186df045c74ed3f"}},{"ruleId":"D2","level":"warning","message":{"text":"BlocklyExecutingFragment.onDetection (cognitive 29): BlocklyExecutingFragment.onDetection has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33d387b51991a67aad9353898ced10ea5359797114fc94cc288751e355321cb"}},{"ruleId":"D2","level":"warning","message":{"text":"NsdService.start (cognitive 28): NsdService.start has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 3 (6 pts), loops 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/server/NsdService.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6303f9adb0e8f97a508893c821e1b48fa0232795dd5a20d08ec1f9a875c77024"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleServices.createAndUploadJsonFile (cognitive 28): GoogleServices.createAndUploadJsonFile has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (4 pts), boolean chains 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb0fbf10c7961c09ff1cf47df1c9cc0f2878f8612680425fe9b5017df1fcf52"}},{"ruleId":"D2","level":"warning","message":{"text":"App (cognitive 28): App has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (17 pts), error handling 2 (4 pts), loops 2 (3 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 8). Most of this is not in the body itself: 4 of the 28 points are its own statements and the rest belongs to 20 function items inside it that branch ((anonymous)::(anonymous), getCookie, (anonymous), \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/App.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85b4bb7577995f2b5b928ed21264f40a900f89447978b39d910fdac9f2c93fa"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.getIPAddress (cognitive 27): Utils.getIPAddress has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (23 pts), loops 2 (3 pts), error handling 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/controller/src/main/java/org/openbot/controller/utils/Utils.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"08239705fd4b58a1cbbe1aa093a58d5f739e58fb072ce85cd2fb5d3d8ccd8af1"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHandler.handle_keys (cognitive 27): CommandHandler.handle_keys has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/python/keyboard-click.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4eb9102edf109e89726c1fd958a64f69194bedd493f9fa4548bee46c69fb15"}},{"ruleId":"D2","level":"warning","message":{"text":"Authentication.getIdOfDriveFile (cognitive 26): Authentication.getIdOfDriveFile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Authentication/Authentication.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac310d3c600aea02da72b8584104c89e71c40adb7b2c443210619ebaba9ccd1e"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectTrackingFragment.captureOutput (cognitive 26): ObjectTrackingFragment.captureOutput has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 2 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"354dda7e28299606ea66a108b1b9ba918b55cc0eee96133790c186390983a214"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDownloader.loadFileAsync (cognitive 25): FileDownloader.loadFileAsync has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (25 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/FileDownloader.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57b22dbf9934edfab10549efa12ea27788b94cc3dde27d65e860ac9cb63b738"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.init (cognitive 25): Network.init has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (6 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/Network.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2aeb80f6afc326633a264f6540b6b35ec62f04636793f2f83645314c3787e0a"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleServices.getConfigFileContent (cognitive 25): GoogleServices.getConfigFileContent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (9 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a94e3c2cfef92963fef52d9084d1000ff3ff7dbcf05c3c3c499d110bf0b2b02"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorYoloV5.getMultipleRecognitions (cognitive 25): DetectorYoloV5.getMultipleRecognitions has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 6 (10 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbcb5dc9262dedd7ada9eef4e10c8e1e3ee291cecb930ac9b2ec0eb645f3cf3"}},{"ruleId":"D2","level":"warning","message":{"text":"RightDrawer (cognitive 25): RightDrawer has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 23, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/drawer/drawer.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"86440928264f3353e849bb74dd4a24d8ed707cf8c90e0d750deaaed12cad788f"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorFloatYoloV5.getMultipleRecognitions (cognitive 24): DetectorFloatYoloV5.getMultipleRecognitions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 6 (10 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e13032a2f61c867450cf2d55defb75041f31f59e76d4710a830d7bba806714e"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorService.onStartCommand (cognitive 24): SensorService.onStartCommand has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14, boolean chains 10. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/SensorService.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7c63757e4ec02a8dc9ef4ba0edca4414f70b0b997d9b461bf51dd6538afbc2"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsFragment.onCreatePreferences (cognitive 24): SettingsFragment.onCreatePreferences has cognitive complexity 24 (threshold 15). Drivers by points: if/else 23, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/main/SettingsFragment.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"555c8f6c16cb23f70197c0ea6ff4e6814f8a6c3da92e5afd4963ce64da3d6c4d"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorFloatYoloV5.getRecognitions (cognitive 23): DetectorFloatYoloV5.getRecognitions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 6 (10 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"838b2a399350cf405a638dc16d86750d69976566d3f7fef6c57af9857bf98649"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionMonitor.getIPAddress (cognitive 23): ConnectionMonitor.getIPAddress has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (13 pts), ternaries 1 (6 pts), loops 2 (3 pts), error handling 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/env/ConnectionMonitor.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ee0c82b668a091571f79a1d6f0d6897cfea7ece4354c63c145c239cab84557"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionUtils.getIPAddress (cognitive 23): ConnectionUtils.getIPAddress has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (13 pts), ternaries 1 (6 pts), loops 2 (3 pts), error handling 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/utils/ConnectionUtils.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4737f6b1718d0966d23b35d12b33e896c225d6d8435fd22f207c50ba2db69338"}},{"ruleId":"D2","level":"warning","message":{"text":"ArCore.onDrawFrame (cognitive 23): ArCore.onDrawFrame has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 3 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/ArCore.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1cffee7b6a355e7926ed448d461b50486336c6e8dcc914339f046a2dcc947d"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorYoloV5.getRecognitions (cognitive 23): DetectorYoloV5.getRecognitions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 6 (10 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0716d83f1be6a2edbdd5bafc4b245c18b692f44fac38eba56336ed26a782b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelUploadingComponent (cognitive 23): ModelUploadingComponent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, error handling 2 (6 pts), ternaries 3, other 1 (nesting depth added 5). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 17 function items inside it that branch (handleSubmit, handleTypeChange, handleTfliteNameChange, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/modelUploadingComponent.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7873a5618debc2e39a20604a530ee6f96a1493c118493f895ef9506c5ca5a818"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerCommunication.downloadFile (cognitive 22): ServerCommunication.downloadFile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (22 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/server/ServerCommunication.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4eff7bb7712cac0e364e069619823813d777be463ff5982bd8934cf6af2527b"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorFloatYoloV5.getAllRecognitions (cognitive 22): DetectorFloatYoloV5.getAllRecognitions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 6 (10 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee36ed572cda3341a0ba0a8615770a424fef5d84dc53681d6526f601d939b67"}},{"ruleId":"D2","level":"warning","message":{"text":"scannerFragment.metadataOutput (cognitive 22): scannerFragment.metadataOutput has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), error handling 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/QrScanner/ScannerFragment.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be4907b6667fc86d39a6e64ffe063e433fc0452c0209af8cab8b6afefec115c"}},{"ruleId":"D2","level":"warning","message":{"text":"Connection.receiveMessage (cognitive 22): Connection.receiveMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Data/Server/Connection.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f46b3fe94148e01e8baeffe8217c9e203158905c5ac6b400c2265e028e6987"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiBoxTracker.updateTarget (cognitive 22): MultiBoxTracker.updateTarget has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 6 (11 pts) (nesting depth added 9). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/tracking/MultiBoxTracker.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2079f5d3c9d71bd5ea2e1ca3fae580b0e2c3d72568551d57f5940d9cd3c609e5"}},{"ruleId":"D2","level":"warning","message":{"text":"dataloader.load_labels (cognitive 22): dataloader.load_labels has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/dataloader.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedbd62bb257c24b2e4f34088138a031f03e340aa04385eccc2e6387d4696b54"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomBar::handlingMultipleAIBlocks (cognitive 22): BottomBar::handlingMultipleAIBlocks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 1 (4 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"461c3d775da7f7afa3ef1b5f42319c1e5e4e88b5b224da808bf2fd8b07f6a417"}},{"ruleId":"D2","level":"warning","message":{"text":"Card (cognitive 22): Card has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10, boolean chains 5, if/else 4, error handling 2, other 1. Of this number, 14 points are the body\u0027s own statements and 8 belong to 21 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/myProjects/card.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83c43894c22202b2214223397a9a6d9a0edb899c5c28fc0a97e72ca07585b87"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlsFragment.onViewCreated (cognitive 21): ControlsFragment.onViewCreated has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/common/ControlsFragment.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf711be7e00c91c56c93c105b953cc11d11f6d486637e8e008d0b4cb283a06ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerMappingFragment.processKeyEvent (cognitive 21): ControllerMappingFragment.processKeyEvent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/controller/ControllerMappingFragment.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"279830e18253d331803ce5564432dcc997b591bbf9d16f57f009d358859c506e"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerState.processMessageFromBot (cognitive 21): ControllerState.processMessageFromBot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (21 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/flutter/lib/screens/controller.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f77c618f4a8e0e4f427ffea6851b7e5cf4c1ed9ce56037d7ff7d35ff9ac548"}},{"ruleId":"D2","level":"warning","message":{"text":"GameController.processControllerKeyData (cognitive 20): GameController.processControllerKeyData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Data/GameController.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f68e09910e4f23cce6860b847a47bb325fcd40d5b2f92f853b501504984c0a1"}},{"ruleId":"D2","level":"warning","message":{"text":"DataCollectionController.captureOutput (cognitive 20): DataCollectionController.captureOutput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 1 (3 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":"ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9465264445057019b3abb21f48d955ee4a6a5fcf044dc3095b65e912447207e"}},{"ruleId":"D2","level":"warning","message":{"text":"projectFragment.loadProjects (cognitive 20): projectFragment.loadProjects has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 1 (3 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb130874176734c250ff82e1581a83dc5de8125e1692f1169407d802f690ac2"}},{"ruleId":"D2","level":"warning","message":{"text":"bottomBar.UploadCodeButton (cognitive 20): bottomBar.UploadCodeButton has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 14, boolean chains 4, if/else 2. Of this number, 15 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e4099951613e4796729f2df22d314dc5adda7521aef0b02c416e800bf2e65c"}},{"ruleId":"D2","level":"warning","message":{"text":"Browser.start (cognitive 19): Browser.start has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 3 (6 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Data/Server/Browser.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a554e525a6b8f5f6584138b2807053ed722b5b5932dd83a2965852d9da7a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorService.onDestroy (cognitive 19): SensorService.onDestroy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/SensorService.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab24b7535282d1bef8773506f5f2663e5f8a90280a436c1985102f15e62e57b"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorYoloV5.getAllRecognition (cognitive 19): DetectorYoloV5.getAllRecognition has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (10 pts), if/else 4 (9 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0e3e5ba29a7ecec1500ffd248de5b3de564a90cabc07006b49b1ff5b4a260f"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerState.registerNewService (cognitive 19): ControllerState.registerNewService has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/flutter/lib/screens/controller.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57dd2ca04bac7e839e9a944f0727e04fe56eaebbe31b177947d441591b1a61f"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.renameProject (cognitive 19): workspace.renameProject has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/services/workspace.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d135e1a3e0efaf81d85a421a26f6a3c4c2c497ba79acd2a5dd5ab69608517efc"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorFloatYoloV4.getMultipleRecognitions (cognitive 18): DetectorFloatYoloV4.getMultipleRecognitions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"455577e368c50d78ff457d585f95f43d36c045ccee0ddf092420a20634b13955"}},{"ruleId":"D2","level":"warning","message":{"text":"FreeRoamController.viewDidLoad (cognitive 18): FreeRoamController.viewDidLoad has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3954a56889c8cda24e7ce9eac114a029c20256a9334cb931eff31f50428471c6"}},{"ruleId":"D2","level":"warning","message":{"text":"LoggerFragment.processFrame (cognitive 18): LoggerFragment.processFrame has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef976c91dd71b6cbda15d81bde3eaff25e971964f652317b1e0ce3f489da7ce"}},{"ruleId":"D2","level":"warning","message":{"text":"1.onReceive (cognitive 18): 1.onReceive has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/main/MainActivity.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e699f77cf654863214f721510de7529eac0ec244739c63c9daa50b77c4325b9c"}},{"ruleId":"D2","level":"warning","message":{"text":"Detector.multipleNMS (cognitive 18): Detector.multipleNMS has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 5 (9 pts) (nesting depth added 10). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e57fa2231dd4ddcad8c897782dd9afe2d7d4860b959c2897dd775c7138cebf7"}},{"ruleId":"D2","level":"warning","message":{"text":"Common.loadSelectedModels (cognitive 17): Common.loadSelectedModels has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/Common.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3553b2fc342bbc10d13a2582b90bbb65220afb0ebe0e3ecb97e064c868dd44cb"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorFloatYoloV4.getRecognitions (cognitive 17): DetectorFloatYoloV4.getRecognitions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb02f093941ca52a3cd71a395e1d8796f07494487b47786f26e876abf1039a24"}},{"ruleId":"D2","level":"warning","message":{"text":"expandedAutoPilot.init (cognitive 17): expandedAutoPilot.init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ec225c10e65aa6ecf35ae789374bf7d8a69496dea63c45248b9362d23fd708"}},{"ruleId":"D2","level":"warning","message":{"text":"GameController.processJoystickInput (cognitive 17): GameController.processJoystickInput has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/env/GameController.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf913ceb99f3a7bab1c93cab3a975f80b0a1063c05904742116577f3a28ae2f"}},{"ruleId":"D2","level":"warning","message":{"text":"BlocklyExecutingFragment.startFollowObject (cognitive 17): BlocklyExecutingFragment.startFollowObject has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd42149b0194c6a8961f7a26a0eed3b14e6c17cf5a48c3cee72716836155adb"}},{"ruleId":"D2","level":"warning","message":{"text":"tfrecord.load_labels (cognitive 17): tfrecord.load_labels has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/tfrecord.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f61bdda853721fbe160ee552641fdd11479c03d152663d3876b66ae85ba1d43"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorFloatYoloV4.getAllRecognitions (cognitive 16): DetectorFloatYoloV4.getAllRecognitions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (8 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed49e8a71bf520b0fe95879bd19c961437945fa467d6623457747120ce30bac5"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerWebrtcDelegate.didReceiveData (cognitive 16): ServerWebrtcDelegate.didReceiveData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 1 (2 pts), match/switch 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 shape REPEATS in the file: one other method here (ServerWebrtcDelegate.websocketDidReceiveMessage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3893f72c480097b7ae2f4fa4bc0aa7093b65883e258386ab4572de297a1efba"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerWebrtcDelegate.websocketDidReceiveMessage (cognitive 16): ServerWebrtcDelegate.websocketDidReceiveMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 1 (2 pts), match/switch 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 shape REPEATS in the file: one other method here (ServerWebrtcDelegate.didReceiveData) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8f7fb64ee81da558d5fa9149f23ec482fe6f62c11e171ff0551bc3a94440c9"}},{"ruleId":"D2","level":"warning","message":{"text":"runRobot.runObjectTracking (cognitive 16): runRobot.runObjectTracking has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1a23a1b8b068f5d114059f8830c68d8e22dc0060048210e7a220effbe70b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"BlocklyExecutingFragment.startMultipleAi (cognitive 16): BlocklyExecutingFragment.startMultipleAi has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe49d5cd32b703e3970cf7966f8e2455830f37169db4f0d9517fcef91f52251b"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.compare_tf_tflite (cognitive 16): utils.compare_tf_tflite has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/utils.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"273a75d9ec2c3225f96a4bd1b3d198e442a5b6b249dde555aa7978a3471a316c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Vehicle: TooManyMethods \u2014 87 methods. The bar is 30 methods; this is 57 over it, 2.90\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":"android/robot/src/main/java/org/openbot/app/robot/vehicle/Vehicle.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d4721f0c6b6782110988c2ce4e0b7183e7b32dffa28a672ea445d1a108c4f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: jsEvaluator.evaluateJavaScript: MethodTooLong \u2014 evaluateJavaScript runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"86789ccb064314776ec7ea1e455e157496155fa663b9ae2372eef6ef0b5d6159"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bottomBar.BottomBar: FunctionTooLong \u2014 BottomBar runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"01241ad8e21dfaaf147dfcda55ec2c6a49c91ae3643a3ddb7878eb821d9c16c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FreeRoamController: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee636ff0fd595553fd71d5ee23f99742be748aeb78659c748ceb28891f9d806"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RobotInfoFrame: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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":"ios/OpenBot/OpenBot/Controllers/RobotInfo/RobotInfoFrame.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf977d26d1efc8ec72b77e7a5fbd8af82028dd309f3a300f47ccd9c97277bb78"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BotFunctions: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/projects/BotFunctions.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f833abf9e9015c288dcd58a6ebe09b85bd9ab46124dab423a9125b992b4c1a0f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: expandSetting: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fe206d76550db10962057cdf6b022d0d08c6a478e8688f57ab247acfef7335"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OnScreenIconState.build: MethodTooLong \u2014 build runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/flutter/lib/screens/component/onScreenIcon.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba63dbbf0cbd6b56bcb66f76902048de62884e8eeb72f1a694efd9fbed74572"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: jsEvaluator: ClassTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 258 over it, 1.65\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":"ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b55b70018780a8007015a535ba36ecdbb63508e379edb02f308ab3bc1ab9db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: modelUploadingComponent.ModelUploadingComponent: FunctionTooLong \u2014 ModelUploadingComponent runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/modelUploadingComponent.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3adc210e0da0d5ecca30c1ccbae7425e5119d821d79191d6f703c70e1ad2f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: editProfileModal.EditProfileModal: FunctionTooLong \u2014 EditProfileModal runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/editProfileModal.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2f03ea977312aefa3105c77d410d279646d332ff814e54229fcc0c4643b411"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: runRobot: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b36b7cfa603d2174007691462400549a718fdbc13ebb3947b7f6e2e4a0e345"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: simpleInputComponent.SimpleInputComponent: FunctionTooLong \u2014 SimpleInputComponent runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/inputComponent/simpleInputComponent.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"595da4807b63783abe12c64f8346021999f24ab7b02b8070bee2742908520390"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: runRobot: ClassTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 221 over it, 1.55\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":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ecdc812ae59c93250c604ab53858865ba91aa83897bed4c27477a584ed6b86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BlocklyComponent.BlocklyComponent: FunctionTooLong \u2014 BlocklyComponent runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/BlocklyComponent.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4f27d4d85444b865cfd655dbbeb84909997fead58ca965f3ea22ab96331820"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: runOpenBotThread: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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":"ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f36d1f9615ce1f0541189ab17c468e65715c832e5c662bfd76f3a40ac8a9a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: projectFragment: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d029cd52de002bf037a49b2e51fa7c346ef16e5e99b8fe4b16ffcc1bba415446"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PermissionUtils: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/utils/PermissionUtils.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4267a6d741940d64bc9a3573b733f20b76b2cc189bfbdff55a0277bc7ca73fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TiltingPhoneModeState.build: MethodTooLong \u2014 build runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/flutter/lib/screens/tiltingPhoneMode.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"005b0e4214fc956e592687831976ae7a054e53fb0f7d41edeb20b23c49299492"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FreeRoamController: ClassTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 400 significant lines; this is 156 over it, 1.39\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":"ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3aed2350c771adabfbf285b7a636b69274551bc2c33f93a2c2986109117775"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModelManagementTable: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"ios/OpenBot/OpenBot/Controllers/ModelManagement/ModelManagementTable.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0690ba33a6772ccb0ded16f4705e9acba2205ee0128bd45ab2d8fc703c8e841"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: JsEvaluator/JsEvaluator.swift: FileTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: jsEvaluator (13-1097). The bar is 500 significant lines; this is 162 over it, 1.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdaa70653e512e4a5ec6c201d7f1a800496d4d46afc9c23b223d258b437364e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ObjectTrackingSettings: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a39057a4dc4f594086e07cb6135fa03d11385f21ea415d86cb00594cbb5a29"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: expandSetting: ClassTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 113 over it, 1.28\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":"ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a70e4d46762b8f9c8bcaed7c9076bcc9c7bf841b3905a643970449d5e128db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runRobot/RunRobot.swift: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: runRobot (12-1057). The bar is 500 significant lines; this is 127 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54c21070110bf52807d69c635c5571eaf08768da73acf53809b46c923077771"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SharedPreferencesManager: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/env/SharedPreferencesManager.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcd716ac70c1f83ab2efb74b2b700bbf79101edfa35ac73bd01a4d313c344db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsFragment.onCreatePreferences: MethodTooLong \u2014 onCreatePreferences runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/main/SettingsFragment.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f189f02e68428ca420e5cb05f9bdbd4271cc9b236976ae3cd46d78c3367c8c8d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: expandedAutoPilot: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bf91f0aef921f3749bede82dcf2aad23554c68024bbde7f11d62251422deef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsFragment: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Settings/SettingsFragment.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"200c9594131ad70cef20030ca48365659ea04bf70a7b6d3360925ad147d7fe7a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ObjectTrackingSettings: ClassTooLong \u2014 476 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 76 over it, 1.19\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":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0caab05510607c4fea6ca7e1903431eb2255be456bea0af3d09eea906ed9b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Toolbox.Toolbox: FunctionTooLong \u2014 Toolbox runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/toolbox/Toolbox.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3b3d1ea7a8687fd431e86a839b1bc2c894a6c7e3346f0ac79aa59bf649cd79"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ObjectNavFragment: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 73 over it, 1.18\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":"android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd02a22304bd508fcdc45c1b29628b734ee319445e999df716884ba39100faab"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LoggerFragment: ClassTooLong \u2014 470 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 70 over it, 1.18\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":"android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f825ce97550c11726ce76372d12434b595415c2f1068114e786801e41ebd6be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: card.Card: FunctionTooLong \u2014 Card runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/myProjects/card.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b761b65803bb5292a04295aed07777b071d0da9a4eb7c47481da36cc5a24160e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebRtcServer: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/env/WebRtcServer.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb66b4d7884d54d220133b1c23f7f0bbe9db1b31da45fa8914d7a2c3ffca0f0a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BotFunctions: ClassTooLong \u2014 466 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 400 significant lines; this is 66 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/projects/BotFunctions.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d234ea8752870957fc1eaf3a1bac2f356948fc8b8676e688729a23b25ca3af"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RobotInfoFrame: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 58 over it, 1.15\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":"ios/OpenBot/OpenBot/Controllers/RobotInfo/RobotInfoFrame.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae15b5c3077fda47362ca89e386c2850695f8f1a2657510898ac61bcd19060c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ObjectNavFragment: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0002425539edd43f81908a69c30650b504f338fc678e10f0526f972a71b38991"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: FreeRoam/FreeRoamController.swift: FileTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: FreeRoamController (11-806). The bar is 500 significant lines; this is 65 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f321d517b018418cf12955d8451df2300854d40a0ac1734320b721cf90dd3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openbot/train.py: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 52 over it, 1.10\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":"policy/openbot/train.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d057668ff96b3a4e8ff5200ee4cfab6d7af6290f39b8c76f76bc403d883480ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/App.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c660887c65dec1d51ed5244a1ce866315ec9bfced6b79ebc25f9e7e472d10698"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ObjectNavFragment.onViewCreated: MethodTooLong \u2014 onViewCreated runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8984267bbfab9b4251ca0c1e4b5c677c350fe1e598b9c8006e585c33931034da"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AutopilotFragment: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b174abaef4f529dcf2663e04c4e69582444a1f09d9800fbee31e8f7c410234ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ControlsFragment: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/common/ControlsFragment.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf5ae46f7d6404c9b75c2e7912b08d7b2d226131eeac74cc0d1733ef9a54690"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: bluetoothDataController: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Data/BluetoothDataController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be5842bec96c241b082a82951f20655b87066519eb159de9712100ea5307898"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebRTCClient: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Data/WebRTC/WebRTCClient.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cc5e63a00f2fff20877d1df94bf13f6456be98f047a1323acade26d4445829"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BlocklyExecutingFragment: ClassTooLong \u2014 423 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 23 over it, 1.06\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":"android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80ae8a479623de75dfad17e7b445bc3911799c2d5f93b6686629360ed5afa91"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: logging/LoggerFragment.java: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: LoggerFragment (57-699). The bar is 500 significant lines; this is 23 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"862d40f3ac7e7d7e1f80bf8990803e6047b301890d56206cf9f0d78a46db267d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ControlsFragment: ClassTooLong \u2014 417 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 17 over it, 1.04\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":"android/robot/src/main/java/org/openbot/app/robot/common/ControlsFragment.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a366360f8d63fa0fadb0cc907f647325013d41113d10cc1ae857fd88d3dc3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: objectNav/ObjectNavFragment.java: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ObjectNavFragment (51-698). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcba720409b399e7e86d519ff9b54080afe835df6611330c3678a570ae6e4565"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bottomBar.UploadCodeButton: FunctionTooLong \u2014 UploadCodeButton runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"82def787a9172084e7a286e1b08b70fb64c53f3a410f01a0043bf9f750e852f0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AutopilotFragment: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 15 over it, 1.04\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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2aa01f9cfcc2bb448276cb5e8595709397a1ab78de30021bd3a7af63b4ba539"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VideoViewWebRTC: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/controller/src/main/java/org/openbot/controller/customComponents/VideoViewWebRTC.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd1b72512b5be0c2c6aa8b59ddf293829bb606fa7bdde36b923386e7aefd9d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HomePageViewController: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/HomePage/HomePageViewController.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e566196cdf4b67af2add7934f950907518a800c759c7a7f6a4184cc438d4a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PointGoalFragment: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/PointGoalNavigation/PointGoalFragment.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92c0388c124fdfe34d422a7d87a188745618ff0f0eabdcbd31cddaa360946ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DataCollection/ExpandSetting.swift: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: expandSetting (10-697). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d438584356f6099b536b33bed0ea0979c706e71e7ad4020481995e5da1e3477"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: expandedAutoPilot: ClassTooLong \u2014 412 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 12 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f46c13113ea4257d9e764f50ef9e9f52805aaf6a17eb2935624552a6fb9f8aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ControlsFragment.onViewCreated: MethodTooLong \u2014 onViewCreated runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/common/ControlsFragment.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d94a0268de825acda17650c57d3fa5578da42ee48d561c5a36efafcb473af5e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SensorService.onStartCommand: MethodTooLong \u2014 onStartCommand runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/SensorService.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"188467bdf01bab7dd34a2134d143c1c1208c01f8f109f3640a7d693c43744bd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SensorService.onSensorChanged: MethodTooLong \u2014 onSensorChanged runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/SensorService.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf3f7236145c7f8f75d0d2d4523b79f130951ac1e8862a26ae55b21030b1d19"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: projectFragment: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 6 over it, 1.02\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":"ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e197f137b7152502cdcf8bd4191e5633b6708f3815d97f0429a466295b9f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 9 shared lines): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:402-445 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:359-401 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:404-446 \u2014 These 3 members are variants of one another: a block of 9 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3156c88f2cf7b470e17d07abc362616be478f7815fd118c039d672c67148c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (118 shared lines): ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:17-167 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:176-329 \u2014 These two members are variants of one another: 118 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"733ae58196d12d66bc8db48504a09eb870913146653b241fe1b6b1e36e625515"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): ios/OpenBot/OpenBot/server/NsdService.swift:21-88 | ios/OpenBot/OpenBot/Data/Server/Browser.swift:24-78 \u2014 These two members are variants of one another: 37 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/server/NsdService.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e86be6263ead73fa000d94e3bff7027c0fc168a6b6de691a391ab6d4d4b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (24 shared lines): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:36-114 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:41-135 \u2014 These two members are variants of one another: 24 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff345439016b88b8e08eada0e0dfd2833d1191b9b5aab19673768db036a94429"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:787-804 | ios/OpenBot/OpenBot/Controllers/Modes/VehicleControl.swift:299-316 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a32f94968f567e2d659e0e32e5799735b7c58ad843055a37558acea3e74707"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ios/OpenBot/OpenBot/server/ServerCommunication.swift:61-98 | ios/OpenBot/OpenBot/server/ServerCommunication.swift:121-173 \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":"ios/OpenBot/OpenBot/server/ServerCommunication.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc3c7a4ce0db7ee2475a524bfa78f88bbc337f0a4c58a11fc2768365482cc40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ios/OpenBot/OpenBot/Controllers/RobotInfo/CheckBox.swift:234-243 | ios/OpenBot/OpenBot/Controllers/RobotInfo/CheckBox.swift:245-253 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"ios/OpenBot/OpenBot/Controllers/RobotInfo/CheckBox.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0113f80435baa4a80d97a50c005b719c925f74b4445373a82721ba1ec4506e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift:381-391 | ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:700-711 \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":"ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"68476c358fdf29c012e952436d85dfe3e29c5ce76dda1465966bd67477240145"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ios/OpenBot/OpenBot/tflite/DetectorDefault.swift:154-180 | ios/OpenBot/OpenBot/tflite/DetectorDefault.swift:183-208 | ios/OpenBot/OpenBot/tflite/DetectorDefault.swift:210-233 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:121-161 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:163-203 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:205-243 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:105-163 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:166-223 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:225-281 \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":"ios/OpenBot/OpenBot/tflite/DetectorDefault.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f57e779f1416e1d4b52b4dc5d6e5ee2aae4cbfaa59d214056b6fac00a43248"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift:250-290 | ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift:394-432 | ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:714-743 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift:413-453 | ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:35-100 | ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:148-210 \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":"ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd352b2a943111d263bb95e7df2c9600b4f5404e9d6867ebc147614265c23cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:103-134 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:143-178 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:181-210 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:123-184 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:193-258 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:261-320 \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":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3660c41ecf31af3e9c557dc4917c43af98173a6050f8ecd2b9159b2a42415328"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:91-191 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:109-247 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:108-248 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:69-140 | android/robot/src/main/java/org/openbot/app/robot/robot/RobotInfoFragment.java:47-96 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df048b8b6feaa8b65e1d4cb3b30010a91133a1d674c1d817f71ec660ade8da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ios/OpenBot/OpenBot/Controllers/ModelManagement/ModelManagementTable.swift:315-322 | ios/OpenBot/OpenBot/Controllers/Profile/EditProfileFragment.swift:375-382 | ios/OpenBot/OpenBot/Controllers/Profile/ProfileFragment.swift:230-237 | ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift:428-439 \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":"ios/OpenBot/OpenBot/Controllers/ModelManagement/ModelManagementTable.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e717165273b484a2833905d78e9b08cf2ee37dee281f3eff7a6b9cde537a6b86"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:552-575 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:584-607 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:627-650 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:243-268 \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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"336e3cc8a882ef58b9f0bcdbb348d7c0dc63681d70503cada39d789ff079f036"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:577-595 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:609-627 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:652-670 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:270-288 \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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"065fd6408553156ac51fd405ae3791a787b86251c2f3be36888e7fe2b7cf0acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:532-550 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:564-582 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:607-625 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:223-241 \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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c01c2cbcd3108c60cfc0883b761eb53315686bd23f7b026e8cfea2800af260d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:297-352 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:359-403 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:405-454 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:540-590 \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":"android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ad1c9868d5c58da2c88ad25c5f85f03820557be204b923a8b55e80c96d52fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): policy/openbot/models.py:79-113 | policy/openbot/models.py:117-155 | policy/openbot/models.py:159-196 | policy/openbot/models.py:200-236 \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":"policy/openbot/models.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f32ca0665cf45891fd6a110c73c6462552c893a3701127f781d42394179982e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:20-88 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:179-247 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:20\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":"ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6559be30e778f2424f1ecb9cf0211341db277ad8d14965a6840e5df73fcf196c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 3): ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:108-144 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:168-204 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:227-262 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3810c0e38f528d0e113bf9f11fa9efd30e20bae957ad4bf1d0b04fbe8e1781f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:252-281 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:298-328 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:252\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ada325d751771654da2e2faf2aceb4d1bdc2d3e323b6d519a971e8b27e679d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:105-128 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:141-166 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7346635397d69b1f814b31f5f3517c8a9c7d5e993725700f1e3903984d1143d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift:250-272 | ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift:394-416 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift:413-435 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift:250\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":"ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66e2e4294a548c1236a26668fa0a9e611e132f5c994b68733319e65616049ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:100-119 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:253-272 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:299-318 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18a8cdff49118330ca3071b41cb1053bb63f960f7170bae330150dcd34ef6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift:222-241 | ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:507-526 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cad80377858fc6c62dbf0196ea2d18dd119e29ca64a2b119c25aa9c53e3f0ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/PointGoalNavigation/PointGoalFragment.swift:428-447 | ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:940-959 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/PointGoalNavigation/PointGoalFragment.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a455003c51ac9d12a35bdeb1e6305d101f9a927fdc8934fac1f529dbbd26bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:427-445 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:428-446 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca54f177fc9031b0957557c91276f6339436787ef6ac46d131cdf70f8894ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:124-141 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:166-183 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:208-223 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:124\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":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb4eba457be38cb083c20ed20b02b32255714928a4e72e953ff40c2a075320a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 6): ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift:263-278 | ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift:407-422 | ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:722-737 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift:426-441 | ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:53-68 | ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:163-179 \u2014 there are 6 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift:263\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"1629683ba22790419562201f7bd26158b1053ea6d059cee6a05fdf0a85bf29dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): ios/OpenBot/OpenBot/Authentication/Authentication.swift:48-62 | ios/OpenBot/OpenBot/Authentication/GoogleServices.swift:45-61 \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 \u0060ios/OpenBot/OpenBot/Authentication/Authentication.swift:48\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":"ios/OpenBot/OpenBot/Authentication/Authentication.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c8d087591bb8c1969146594b14f2abcbfbf5b499cb10fbd08f60f403b3d05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): ios/OpenBot/OpenBot/Data/Server/Browser.swift:24-40 | ios/OpenBot/OpenBot/server/NsdService.swift:21-36 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Data/Server/Browser.swift\u0060 and \u0060ios/OpenBot/OpenBot/server/NsdService.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 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 \u0060ios/OpenBot/OpenBot/Data/Server/Browser.swift:24\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":"ios/OpenBot/OpenBot/Data/Server/Browser.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3362640ef5ae8513cd83a1c46b9be1528e42c88b9b66757178bbc4b8f41c3d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): ios/OpenBot/OpenBot/tflite/Autopilot.swift:91-107 | ios/OpenBot/OpenBot/tflite/Navigation.swift:78-93 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/tflite/Autopilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/tflite/Navigation.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060ios/OpenBot/OpenBot/tflite/Autopilot.swift:91\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/Autopilot.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d453fb7da37deaaa1d31cda4d5de5e9778ab24d2b29d0cf92243889bc1b57a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:104-119 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:140-155 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:257-272 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:303-318 \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":"ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7e65bf498a611e8161340becfbefd2cde97acee3625f5d22af01712a8dcd6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/CameraController.swift:77-91 | ios/OpenBot/OpenBot/tflite/Network.swift:92-106 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Controllers/CameraController.swift:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/CameraController.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"225b7e0d6f37d23f0c76c5dfe0a0b18e899c6796a0d263d4e2ee3b552e7ddf68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ios/OpenBot/OpenBot/Utils/Common.swift:232-246 | ios/OpenBot/OpenBot/Utils/Common.swift:270-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/Common.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bd3c99f6608658f436203da5a25336e4b2d8a0cdc518eaa6d9e8c3483e26e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): ios/OpenBot/OpenBot/Data/Server/Browser.swift:64-78 | ios/OpenBot/OpenBot/server/NsdService.swift:75-88 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Data/Server/Browser.swift\u0060 and \u0060ios/OpenBot/OpenBot/server/NsdService.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 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 \u0060ios/OpenBot/OpenBot/Data/Server/Browser.swift:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ios/OpenBot/OpenBot/Data/Server/Browser.swift:61\u0060 calls \u0060post\u0060 and \u0060ios/OpenBot/OpenBot/server/NsdService.swift:71\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":"ios/OpenBot/OpenBot/Data/Server/Browser.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2f5a85e740ae94a6a0f2cfbea3ca030a7a3c977f9977f2f7bb4c8b04135041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ios/OpenBot/OpenBot/server/ServerCommunication.swift:72-85 | ios/OpenBot/OpenBot/server/ServerCommunication.swift:131-144 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/server/ServerCommunication.swift:72\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/server/ServerCommunication.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0934e7e1b10596361fb7ae5c625242dae0bd8a8369bd2878f881b8351789f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:126-139 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:182-195 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:126\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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4801498f2d25289727c670d1527fc43199716e62f6bce8d6d9a4ce17493c3f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift:245-258 | ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:530-543 \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 \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift:245\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc34e4e11a40a862c26d7017278e5030f9f05caf197460ca08c7044aec5d856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:88-100 | ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:198-210 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:88\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee79923c5b3b57dfea0a15b07261052639f145482ad71c2693012b3cd99e06a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:125-137 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:278-290 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0697b10f2ee35c3c29b875aa709cfde87b6f4a6a8955e39ca578f9e7d3f554a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ios/OpenBot/OpenBot/Authentication/Authentication.swift:157-168 | ios/OpenBot/OpenBot/Authentication/Authentication.swift:181-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Authentication/Authentication.swift:157\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Authentication/Authentication.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26bd51fea84a718f4819a5b5c866b793b4b9c1db49d29cefe05aa3394028b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:537-548 | ios/OpenBot/OpenBot/Utils/Common.swift:34-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"003d6e08f00d24ab30bc33526412d9e3c808bace6ca0b3826774fc966a451a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:38-49 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:47-58 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e503b25a008a5a8f6b7ec69ca1a4a0417592a6acbe14505254b0627e6f09ee72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:89-100 | ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:569-580 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3370a2685efc661ac42d0c69b44be2e46824489f7a06bb0024e01d93f7c32b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:75-86 | ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:185-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:75\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f0a640c2a6629bf13aa753a3a26f94450e23dd4435f085ecb605d6558f936e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift:535-545 | ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift:801-811 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c6b30f898812a57829839d04a744cc58afdb9bf6e37dccce9e5ebd66f343e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:830-840 | ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:862-872 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:830\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":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b760e77dcbf83346d2e7d750c49c6165515ce645800140d57ce70988a03097a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift:356-365 | ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:831-839 | ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:863-871 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift:356\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":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"624178ff2a50dd1f28f1c845ecf9941ac751aacfd343141d35bceec7a7f7de5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:335-344 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:520-529 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:557-566 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:334\u0060 calls \u0060addGestureRecognizer\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:519\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":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"52137bcb08c33579eb693588bd181f4c4c6aeae0117c5788b598b32258133ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ios/OpenBot/OpenBot/tflite/Autopilot.swift:21-30 | ios/OpenBot/OpenBot/tflite/Navigation.swift:22-31 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/tflite/Autopilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/tflite/Navigation.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/Autopilot.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"faea08a2f26118064664d88dbc89a90867d85b533332139f6c1c462bbd19cf06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:426-435 | ios/OpenBot/OpenBot/Controllers/Modes/VehicleControl.swift:127-136 \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 \u0060ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:426\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"230ad342be4999ba9eb9f0e59125b50ada5886581ed8d133a480cc0ddc8769a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:125-134 | ios/OpenBot/OpenBot/Data/WebRTC/WebRTCDelegates.swift:58-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d118ca505a377e3490191ba44765c588f5990ff762dff7fc4c23b3646565e2f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ios/OpenBot/OpenBot/Data/WebRTC/WebRTCClient.swift:78-87 | ios/OpenBot/OpenBot/Data/WebRTC/WebRTCClient.swift:106-115 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Data/WebRTC/WebRTCClient.swift:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"ios/OpenBot/OpenBot/Data/WebRTC/WebRTCClient.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5a3371ff3d0ef8ae1d71b5d4990e6c7c3d039ae7e5c7e936c792e56dd2b9a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:414-422 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:370-378 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:415-423 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"da40cd4cf779bc476e213e72b6dce662e19cb274cd338ef01135cdd251de629e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:346-354 | ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:376-384 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:346\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":"ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3da9d27f215be255e46e94f8b8c7f1e4016ee0346ee8370584a73c66b237a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:510-518 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:471-479 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef1717e7962fde2c9ea35563ff3d7e1f740f8c631e8483e53b00fdc6e6b78f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:523-531 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:482-490 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"5169eef48567f8222ed94138efce018b184c5b63500d6b7995c1ab7d73fd01d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift:370-378 | ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift:442-450 \u2014 both copies are in the same file, so extract the block 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":"ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7ddc026559916acafe65a189b1759650a33d8f811e123c0067bee859b83241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:185-193 | ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:201-209 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:185\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9242d27b182d8f85a95045895f6042ad2a2c2dc25fc52ad3bdfc527329b25a19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/ModelManagement/PopupWindowView.swift:168-176 | ios/OpenBot/OpenBot/Controllers/ModelManagement/PopupWindowView.swift:207-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Controllers/ModelManagement/PopupWindowView.swift:168\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ModelManagement/PopupWindowView.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"58aa179e75bf02e3001cb26ba1ebf2c7683c0682956b557b2a79ec9d2f2225c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/PointGoalNavigation/PointGoalFragment.swift:323-331 | ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:754-762 \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 \u0060ios/OpenBot/OpenBot/Controllers/PointGoalNavigation/PointGoalFragment.swift:323\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":"ios/OpenBot/OpenBot/Controllers/PointGoalNavigation/PointGoalFragment.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"174e7ce94cab331cf901adcd00d7433a574a044a4cc66d19e48d13cee1a4b93c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 9): ios/OpenBot/OpenBot/tflite/DetectorDefault.swift:161-164 | ios/OpenBot/OpenBot/tflite/DetectorDefault.swift:190-193 | ios/OpenBot/OpenBot/tflite/DetectorDefault.swift:217-220 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:148-151 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:190-193 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:229-232 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:146-153 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:206-213 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:264-271 \u2014 there are 9 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorDefault.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4088e8726ae92b9ae5d5da1b0f2462cfd068aa2924521cb256d061a6136cd1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift:236-243 | ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift:381-388 | ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:700-706 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift:236\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":"ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3272ed8e9f531f447f876f1b049ce7f93e79e9a62d518d98eff101b65a2382e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:864-871 | ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:883-890 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:864\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":"ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01dbe72e9b9dbc86e5f415c2b3d379f50ad1dd4ad9e0cd62fc7970db7e2c848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/OpenBot/OpenBot/server/ServerCommunication.swift:63-70 | ios/OpenBot/OpenBot/server/ServerCommunication.swift:122-129 \u2014 both copies are in the same file, so extract the block 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":"ios/OpenBot/OpenBot/server/ServerCommunication.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e69f61aafc71022d46c8c371aeb6411c845b1d9d22cb2437f414be9ffbcf814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/OpenBot/OpenBot/tflite/Model.swift:179-186 | ios/OpenBot/OpenBot/tflite/Model.swift:197-204 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/Model.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f98c6284033609ef52ab5f2a0c7490bfbae5cbee3c4a3bfd147ccf6e34b1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:336-343 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:286-293 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:336\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"803711196dca92dbb6e63ff0ee54778f2de998b52aff6ac5dd25648bc7c28246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift:248-255 | ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift:261-268 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift:248\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9711d33c64a22f7db8fe84d81a5d021a29957651ce7fcecd5e32269c68d7a585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ios/OpenBot/OpenBot/Controllers/ModelManagement/ModelManagementTable.swift:315-321 | ios/OpenBot/OpenBot/Controllers/Profile/EditProfileFragment.swift:375-381 | ios/OpenBot/OpenBot/Controllers/Profile/ProfileFragment.swift:230-236 | ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift:428-434 \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 \u0060ios/OpenBot/OpenBot/Controllers/ModelManagement/ModelManagementTable.swift:315\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ModelManagement/ModelManagementTable.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad3b52b336f9528bfffcf598a3ac4dfee69bd7fef998ba96246b987d9c0c4c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ios/OpenBot/OpenBot/Controllers/CameraController.swift:118-124 | ios/OpenBot/OpenBot/Controllers/Settings/SettingsFragment.swift:366-373 | ios/OpenBot/OpenBot/Controllers/Settings/SettingsFragment.swift:395-401 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/Controllers/CameraController.swift:118\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ios/OpenBot/OpenBot/Controllers/Settings/SettingsFragment.swift:393\u0060 calls \u0060addAction\u0060, \u0060UIAlertAction\u0060, \u0060toggleSwitchButtons\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/CameraController.swift:116\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":"ios/OpenBot/OpenBot/Controllers/CameraController.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae91f6bafe763448357c3db59b9869f0f9375df5905bc1f20fa9f63757ac7735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:155-161 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:197-203 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:236-243 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift:155\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"415a16a0ced1ee566f237b4041bd57081208f56a1842d6b8b28c171eba7a9779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:157-163 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:217-223 | ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:275-281 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift:157\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eae2966d1b7cb0764de75ef58027ad8164db09790cd593e1ce88ded475bb5fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:119-125 | ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:141-147 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:119\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":"ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a013007498ef3fef4539075826ac7791a21ea4a414f173fd07ef2c8dfb56be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/Data/Server/Browser.swift:47-53 | ios/OpenBot/OpenBot/server/NsdService.swift:54-60 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Data/Server/Browser.swift\u0060 and \u0060ios/OpenBot/OpenBot/server/NsdService.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 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 \u0060ios/OpenBot/OpenBot/Data/Server/Browser.swift:47\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":"ios/OpenBot/OpenBot/Data/Server/Browser.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac07774e8b125dfecde18dee21288c48b26fb3c7e2b802453150ed8fc2670c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/tflite/Detector.swift:201-207 | ios/OpenBot/OpenBot/tflite/Detector.swift:212-218 \u2014 both copies are in the same file, so extract the block 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":"ios/OpenBot/OpenBot/tflite/Detector.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6998df9a2c875f9b70d24604bc239eb431e6c83c01eb8306e3c3f77076755c8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/tflite/Network.swift:63-69 | ios/OpenBot/OpenBot/tflite/Network.swift:81-87 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/tflite/Network.swift:63\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/Network.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa27d5c954d9fbd1f0647da01030218efd78aa8e3d025291b7e119cf331d0025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:152-158 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:208-214 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca93c3868422faea4d191a275e93c6c734491e73a3ca53fc376812571f7226af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:274-280 | ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:353-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fce3915046bf06641bb311331d2b9b7eae331a99291ea7404710419731c1c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:323-329 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:273-279 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"017395103932250fb98ca08927d3b098650ceebd0fc916d5cf604a325effd54c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:457-463 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:576-582 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e04ec31f28b61c730c9d2a2947776cb6b9ba7ccb1e9b3491acafb04324c551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:693-699 | ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:707-713 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift:693\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"810b801f196e772abf29d4e191cc9f73d50a31210054890370bb3de09ca9b250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ios/OpenBot/OpenBot/tflite/DetectorDefault.swift:167-172 | ios/OpenBot/OpenBot/tflite/DetectorDefault.swift:196-201 | ios/OpenBot/OpenBot/tflite/DetectorDefault.swift:223-228 \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":"ios/OpenBot/OpenBot/tflite/DetectorDefault.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e2ab6d450ee4bf7a08f864b7ef61c5e9d78d31b9cfca8d135a0e715182ee65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ios/OpenBot/OpenBot/Controllers/ModelManagement/ModelManagementTable.swift:143-148 | ios/OpenBot/OpenBot/Controllers/ModelManagement/PopupWindowView.swift:168-173 | ios/OpenBot/OpenBot/Controllers/ModelManagement/PopupWindowView.swift:207-212 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ModelManagement/ModelManagementTable.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd0b0bb2a30b7998253b47b6cb4c76bceaffb1564266fcac2af031d8f5e61f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:485-490 | ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift:582-587 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc1163890c6d710d1d77649ab1f5613c1f433d019ca9aee4f7ac365919c4360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:53-58 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:64-69 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24d9b0a5f54ee73e6d1bd4044f41f2fe5ebbece8caa499f98a7acce82a7b2e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:68-73 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:74-79 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff09a7692a72875ce891fd59b665857a8908db8b250e6e243488b54203388af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift:376-381 | ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift:399-402 | ios/OpenBot/OpenBot/Controllers/Modes/VehicleControl.swift:97-102 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift:381\u0060 calls \u0060constraint\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift:402\u0060 does not \u2014 after which the two agree again for 5 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":"ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaba0d9b17d3205466901425600eaa3083a37b0f235b3af3570ddb1b4341c2d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:380-385 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:425-430 \u2014 both copies are in the same file, so extract the block 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":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"9476069f9b1d2c5c1a0a821693a764fe1d8a922a8d1c28559fff8927bcbc29d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:203-207 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:158-162 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:203\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b9bf73972f559b65355ec7d29c7aefdd427f38d00b05baffe61e0b7326bd66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:241-245 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:151-155 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:241\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd3e430b673aa8826f60d59d5229d6f2c180e7bd2a0258b7031f9de1f9fc3c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:402-407 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:404-408 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:402\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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"636d2e2a92bf04a15e16db227194bb3ccd05081512f5bb7778e89d737334d417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:448-452 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:493-497 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:448\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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4ba98979847122e9be749d5961de173f58cf9c51ad4d07a85e19189020f491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift:412-416 | ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift:427-431 \u2014 both copies are in the same file, so extract the block 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":"ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3452391d3bf4b2a30ff33da508678d5b755f50741b0bf45b6c23f03976df72d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:787-791 | ios/OpenBot/OpenBot/Controllers/Modes/VehicleControl.swift:299-303 \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 \u0060ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:787\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":"ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2b566cb474a062ccfc919587621dd03fa75cb0336283e77832e23e55bb8918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:364-368 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:409-413 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85482d2e01c7a5a7b9c0de01b185dffc21525cb14ae50f790f215ae2b92445a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/RobotInfo/CheckBox.swift:239-243 | ios/OpenBot/OpenBot/Controllers/RobotInfo/CheckBox.swift:249-253 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Controllers/RobotInfo/CheckBox.swift:239\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ios/OpenBot/OpenBot/Controllers/RobotInfo/CheckBox.swift:238\u0060 calls \u0060move\u0060, \u0060CGPoint\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/RobotInfo/CheckBox.swift:248\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":"ios/OpenBot/OpenBot/Controllers/RobotInfo/CheckBox.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e679a477b5e22d71e11a5f02b4e0f95296a56ffa33aa670fadffdc4e45b877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:244-248 | ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift:290-294 \u2014 both copies are in the same file, so extract the block 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":"ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fde934a0157472a4c1ba79b918dc1ef914f15d4fd48e91cc10e1e74f87f06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/OpenBot/OpenBot/Authentication/Authentication.swift:22-27 | ios/OpenBot/OpenBot/Authentication/GoogleServices.swift:21-26 \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":"ios/OpenBot/OpenBot/Authentication/Authentication.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"670b4d7f55c5a07cb89fab00ad9e3c94a2d8aabd83426825687f6e6500d0eec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Data/Server/Browser.swift:16-21 | ios/OpenBot/OpenBot/server/NsdService.swift:14-18 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Data/Server/Browser.swift\u0060 and \u0060ios/OpenBot/OpenBot/server/NsdService.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 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":"ios/OpenBot/OpenBot/Data/Server/Browser.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9ca37e98b9b842b74d9292f9e53157f1c26fc372d5c0e282c73ac950d61c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:601-607 | ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift:660-666 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:628-634 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a358b45a1531df63551b334f08258f7b8f3faac018d192915b27bf0efcf73a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift:609-615 | ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift:521-527 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f10356c410307c7ab0df85a2162eb46fa8cd655a020d466f1b082fbc4817e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/HomePage/HomePageViewController.swift:285-289 | ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift:236-240 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/HomePage/HomePageViewController.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa4eaff505a250f9bfec3cde1c8fe7c9d97cf1f3e8d286f05d2e20dba9186cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ios/OpenBot/OpenBot/tflite/Autopilot.swift:51-62 | ios/OpenBot/OpenBot/tflite/Navigation.swift:38-49 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/tflite/Autopilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/tflite/Navigation.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/Autopilot.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bda25ee3727c66be82c714872ba8be8ec545bf56467eeac30a651897659c3a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift:170-179 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift:188-197 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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":"ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d4927e28b548a64549173f96690337e40eff2afb01c670784b8dbb5a3e0fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/Data/GameController.swift:251-257 | ios/OpenBot/OpenBot/Data/GameController.swift:267-273 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Data/GameController.swift:251\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":"ios/OpenBot/OpenBot/Data/GameController.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e058cbc2610df6608088762a868f49166e14db58d5e4436623467a3951c9b551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift:160-164 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift:163-167 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift:160\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"277c2705fe3c0620919d50ec023bcb2c84141779034dd95fca1106a67df5487d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:165-170 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:221-226 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:165\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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa0243ca948b2a56dafc72e4d4d7118d2860bb88f01d1821d5de0f6f852ccca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:182-187 | ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift:239-244 \u2014 before extracting anything, compare \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift\u0060 and \u0060ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 153 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 \u0060ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift:182\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":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b33f27d12a0204ee0c69e7159e684c4bab820a716961e56eccad4e6f6d7f19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/HomePage/HomePageViewController.swift:59-63 | ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift:59-63 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/HomePage/HomePageViewController.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5bbe5c3cf8e51847cd61e03f18eef2ac6d92865f5446155294706afa7e71bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/ModelManagement/PopupWindowView.swift:157-163 | ios/OpenBot/OpenBot/Controllers/ModelManagement/PopupWindowView.swift:196-202 \u2014 both copies are in the same file, so extract the block 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":"ios/OpenBot/OpenBot/Controllers/ModelManagement/PopupWindowView.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d1237f62dbbd02dcf87b107c0740a704e271bfb6f1dbba59b2d8792fdad531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/QrScanner/ScannerFragment.swift:275-280 | ios/OpenBot/OpenBot/Utils/extensions/UIViewExtension.swift:342-347 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/QrScanner/ScannerFragment.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2737384db3cc126df6ae0521451c5dd7bf2fa50a8335dbe91e56146cc802b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:45-52 | ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:155-162 \u2014 both copies are in the same file, so extract the block 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 \u0060ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf1c2e61791787e71eb8c0d8e6093b1577feeffd797382795de5d4dfdae4ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): android/controller/src/main/java/org/openbot/controller/customComponents/Flash.kt:25-37 | android/controller/src/main/java/org/openbot/controller/customComponents/Flashlight.kt:27-39 | android/controller/src/main/java/org/openbot/controller/customComponents/LeftIndicator.kt:25-37 | android/controller/src/main/java/org/openbot/controller/customComponents/RightIndicator.kt:25-37 \u2014 before extracting anything, compare \u0060android/controller/src/main/java/org/openbot/controller/customComponents/Flash.kt\u0060 and \u0060android/controller/src/main/java/org/openbot/controller/customComponents/Flashlight.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/controller/src/main/java/org/openbot/controller/customComponents/Flash.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5220809ad8679c83923523035248df8ce57a4dbf3cf8c4dd3c695ce146e6a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): android/controller/src/main/java/org/openbot/controller/ControllerActivity.kt:69-74 | android/controller/src/main/java/org/openbot/controller/ScreenSelector.kt:52-57 | android/controller/src/main/java/org/openbot/controller/customComponents/Button.kt:53-58 | android/controller/src/main/java/org/openbot/controller/customComponents/ConnectionActiveIndicator.kt:44-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/controller/src/main/java/org/openbot/controller/ControllerActivity.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa0d507afe38abaab267b2b7747d821834540dc22c475c9ab9c0833eb26f0ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:134-175 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:206-247 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:272-313 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:178\u0060 calls \u0060get\u0060, \u0060contentEquals\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:316\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":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"850399a013998c542b57df281701a08f2b5a8296bc224d4b969bead515d10258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:110-146 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:167-202 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adfd77fdfb971fb3b8c5c60e6b84cd54e6a8a1a7de0369a35cfbc380257e57c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java:185-210 | android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java:232-257 \u2014 both copies are in the same file, so extract the block 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":"android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c4dd33adcfa2b6fded6f6ff9651badbe0e88023d4863bc83178f9f38426f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/env/ConnectionMonitor.java:82-106 | android/robot/src/main/java/org/openbot/app/robot/utils/ConnectionUtils.java:84-108 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/env/ConnectionMonitor.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"346b0ca14bb36188d75924d248c878764f0cf69f007d53ea6138b1e4799c63cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:298-320 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:406-425 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:541-563 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:298\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a47ecab84272856f7bdba70f65534ec0e44d01af77196e5f060ba1399f3f1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/main/SettingsFragment.java:191-210 | android/robot/src/main/java/org/openbot/app/robot/main/SettingsFragment.java:212-232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/main/SettingsFragment.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ce203f3129527ea7fc6f61b1f8410dc0850dc09210cad87a05b354727a8211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:119-138 | android/robot/src/main/java/org/openbot/app/robot/modelManagement/ModelManagementFragment.java:75-94 | android/robot/src/main/java/org/openbot/app/robot/modelManagement/ModelManagementFragment.java:248-267 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:119\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5109f58f099a1e98860fb011c5837faebad232c77a745108c58948c2d83f0f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 5): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:142-159 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:225-241 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:198-214 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:123-139 | android/robot/src/main/java/org/openbot/app/robot/robot/RobotInfoFragment.java:61-78 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dbc7557088c8bf3af1d821d74a63147b3b4ffbf53bf63081fda31d14e4cae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:578-595 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:610-627 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:653-670 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:271-288 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060driveMode\u0060 to \u0060Enums.DriveMode\u0060 in one and \u0060DriveMode\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed6bb4f3eeb4074cfd5e56b326c03cdede4e23afa33170b26832b505f1bd773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:353-370 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:529-544 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:337-353 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 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 \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:353\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2d9a735ae812725f04314f0115808003a923960291e02fc7e82b9fb66952eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:534-550 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:566-582 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:609-625 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:225-241 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 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 \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:534\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060speedMode\u0060 to \u0060Enums.SpeedMode\u0060 in one and \u0060SpeedMode\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08a24f87f282204ce212b9b61063737e39bca4a8422947d1cb7d20f3daea8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:553-568 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:585-600 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:628-643 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:244-259 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 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 \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:553\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060controlMode\u0060 to \u0060Enums.ControlMode\u0060 in one and \u0060ControlMode\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17c3adbc0c5f0fc1fbead033eed8c7549dbee1d396eb39366d61a203787322b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:213-227 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:275-290 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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 \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:213\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d387cabfb6cbf9ebc70d5ea5b387854c6d3d88d3a379ce2a5dde862dfbb5b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:170-184 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:154-168 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:225-239 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0531a36b0f5101f3b88e3c8ae8b0ab00c5e50b7d65aaeb011027eb3c59c43021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:112-126 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:154-168 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:190-204 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:112\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:129\u0060 calls \u0060get\u0060, \u0060contentEquals\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:207\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":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"62075545896d168b4cb3d689c8547fa3c4604b2d5ddfce4c73a4b5c559ed771a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:425-439 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:451-465 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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 \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:425\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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06184da1b30bb20ba4a30caf9f17bd71860f0d3fbea8b06a8331732e0b6f395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/env/WebRtcServer.java:260-273 | android/robot/src/main/java/org/openbot/app/robot/env/WebRtcServer.java:308-322 \u2014 both copies are in the same file, so extract the block 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":"android/robot/src/main/java/org/openbot/app/robot/env/WebRtcServer.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"48264774fda51ec86aa9ffedb16d6b7c2dac9bba508a8ea13630b45f4a000755"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java:468-480 | android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java:510-522 | android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java:670-682 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java:468\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":"android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e21b9ccf9901feae1638e11b74d39c1fc954bf9ca9fdd0dd55ee3f1fb1cc563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:279-291 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:352-364 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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 \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:279\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f6c359d4a4f2718e68220364cae408ca7970cdb4acee868d879d506a33635d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/projects/BarCodeScannerFragment.java:91-103 | android/robot/src/main/java/org/openbot/app/robot/projects/BarCodeScannerFragment.java:120-131 \u2014 both copies are in the same file, so extract the block 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 \u0060android/robot/src/main/java/org/openbot/app/robot/projects/BarCodeScannerFragment.java:91\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":"android/robot/src/main/java/org/openbot/app/robot/projects/BarCodeScannerFragment.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d484a0761b9190f87f6a5114a0d29d39985b152c5158c7cd64f6aa4e7754d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorDefault.java:137-148 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorDefault.java:168-179 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorDefault.java:195-206 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorDefault.java:137\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorDefault.java:149\u0060 calls \u0060get\u0060, \u0060contentEquals\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorDefault.java:207\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":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorDefault.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"420a76c3a799800d963baaafa9cf49e9a9b5dbbbbbcce7bfdbf3d2f2d8442e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/env/ImageUtils.java:106-117 | android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PointGoalNavigationFragment.java:212-223 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/env/ImageUtils.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7167c1215ae8ddb1e96dca603efac87517b9e71a349ff4d53bd748d5beb23c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/env/ImageUtils.java:137-148 | android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PointGoalNavigationFragment.java:175-186 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/env/ImageUtils.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4570d6771e5662b69da3551b8e840a4472ed233b9f87dbec8080dbb55cd9882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PointGoalNavigationFragment.java:123-134 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:683-694 \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 \u0060android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PointGoalNavigationFragment.java:123\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PointGoalNavigationFragment.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e0b46b78ffffc1a575c25009851244e5a3db535a0c14641c181c32dfad0571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:197-207 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:258-268 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:269\u0060 calls \u0060setDynamicSpeed\u0060, \u0060getDynamicSpeed\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:209\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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e72d81a533d422b5ab0b66e1ba45eef820621bf08a5fcd3e7a06cb49ca04b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:484-494 | android/robot/src/main/java/org/openbot/app/robot/original/DefaultActivity.java:204-214 \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 \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:484\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c23251ed9eded1ba22eac5c09f50e8368d6ab9dc0ae12c74f07d610c5fc3e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PointGoalNavigationFragment.java:343-353 | android/robot/src/main/java/org/openbot/app/robot/projects/BotFunctions.java:639-649 \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 \u0060android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PointGoalNavigationFragment.java:343\u0060 it begins part-way through the construct above it, so those exact 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, \u0060android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PointGoalNavigationFragment.java:341\u0060 calls \u0060showPermissionDialog\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/projects/BotFunctions.java:638\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":"android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PointGoalNavigationFragment.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9430242a2622ae9d6e08adeaf2a6a8a684509686fe97364645f3eb60d8c6a322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:310-319 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:367-376 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:415-424 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:553-562 \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 \u0060android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:310\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:308\u0060 calls \u0060post\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:366\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":"android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8e8a11213770d96f3bbe461ae4723e02088d6222d5e8183a887fb4152b9810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:402-410 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:434-443 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b58d42c5cb7d6b9376c7c9f113679e5847ce0c15305da7be1a978fee4dba43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java:597-606 | android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java:645-653 \u2014 both copies are in the same file, so extract the block 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 \u0060android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java:597\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/googleServices/GoogleServices.java"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb16feab3e867fb0b97852038f5c76d0dba681f3f738cdb22e3abda0b74d6a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/tflite/Autopilot.java:87-96 | android/robot/src/main/java/org/openbot/app/robot/tflite/Navigation.java:87-96 \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 \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/Autopilot.java:87\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"android/robot/src/main/java/org/openbot/app/robot/tflite/Autopilot.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1591a8d5955ea7a76567a02b3e7ed304923cf163cbaceb40bf458a4ee31aabaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java:277-286 | android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java:320-329 \u2014 both copies are in the same file, so extract the block 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":"android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b71e89ba3c201dcf16d045af94a730568ee092a542c7d064af77faf570e4211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java:301-310 | android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java:353-362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java:301\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/tflite/Detector.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fad5f66add425aa15b9f7b3e061694a60f54cb5aed3d6a5dbf33846477dc65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:174-182 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:158-166 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:229-237 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:93-101 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 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 \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:174\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48f07289f8d6acafa19056b9003ca47b70fbf0b7ac4b9d249f3c95e3e5ea1e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:461-469 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:547-555 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c257676c01d9a02e498751276813380ee66e038e7c4e89d8b246e972c6495a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:480-488 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:322-330 \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 \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:480\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, \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:478\u0060 calls \u0060elapsedRealtime\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:321\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":"android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f7db68c854dc7a74262a4ece997197d0bb468e2fe8309c09953719e275cf35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:598-605 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:630-637 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:673-680 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6445ef2054e7560648e07bb0976da38b74195d4d9556258262d77b93363b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:482-489 | android/robot/src/main/java/org/openbot/app/robot/original/DefaultActivity.java:202-209 | android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:324-331 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:482\u0060 it begins part-way through the construct above it, so those exact 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, \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:478\u0060 calls \u0060elapsedRealtime\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/projects/BlocklyExecutingFragment.java:321\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":"android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef38c383d287d998b77d14002e77bc6ce42ea9d021a3850622d6374a42e81015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/env/RtspServer.java:57-64 | android/robot/src/main/java/org/openbot/app/robot/env/WebRtcServer.java:99-106 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/robot/src/main/java/org/openbot/app/robot/env/WebRtcServer.java:108\u0060 calls \u0060create\u0060, \u0060handleControllerWebRtcEvents\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/env/RtspServer.java:65\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":"android/robot/src/main/java/org/openbot/app/robot/env/RtspServer.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1dfb2f09793a259bab74f1a5900102de234923bb5e267e27eedb4c58a52aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:372-379 | android/robot/src/main/java/org/openbot/app/robot/original/CameraActivity.java:1115-1122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"c300734cbc3c1a0a98b8e1ca10db3088baf90da3df917eadeca4116bd03b5a0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:504-510 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:576-581 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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 \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:504\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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5621aa0fbaff9c4bf0416efb03d6e5d0511c52bb2dbc7e9a93aa81a92ae9ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/env/GameController.java:149-155 | android/robot/src/main/java/org/openbot/app/robot/env/GameController.java:174-180 \u2014 both copies are in the same file, so extract the block 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":"android/robot/src/main/java/org/openbot/app/robot/env/GameController.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"175edccfd4163bf5bbf4de455fe59d566edab4220027a929b968dbdb87f56889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:126-132 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:203-205 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:264-270 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:126\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":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e62f568616d9f5c8f5bf02244dbeb921562e7fd73c1bd3b8700fd329a52ec94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:100-105 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:136-141 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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 \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44526110707714057c325df0ab6f725767e890e01a7a50e6e689d74aa3da407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:123-127 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:165-169 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:201-205 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:172-176 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:244-248 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:310-314 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:129\u0060 calls \u0060get\u0060, \u0060contentEquals\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:207\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":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"113eac0523b14ceaf3812fbaadce6971f399d793a1d06f28347c9f793f429af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:143-147 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:80-84 | android/robot/src/main/java/org/openbot/app/robot/robot/RobotInfoFragment.java:55-59 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 110 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 \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb34eddff641086ee6a0d064cbe05d974e89a64b160ba2f55691ce16daa7f087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:480-488 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:639-647 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:682-690 | android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java:300-308 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6a49bc4fcdd618127b3f99569bbeecf1e69b994ab8005a3d6c8911c010e787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:607-612 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:649-654 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:692-697 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbb9b19e3c852c48b754d0b43684bcab407c6f07faf31c10b121fc4a8baabea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:229-239 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:292-302 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:305\u0060 calls \u0060resetFpsUi\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:242\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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba37478ab0387bc86f58f25db72775c096f7c3c2b73b63244cd8091776c9dd73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:305-315 | android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java:287-297 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:378-388 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1ac2b5201c39f0a20c5ab90f74c1cb2fee077a99d5c4db5ec4ecfefe859370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:294-302 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:367-375 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f02dda45edb9b2722d3c8c64ce4dda33a58e7741e57a29bd0fe1d141653e048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:324-330 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:397-403 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69dc25b189e1315d3e357f6096e97fd90107574ed04879984f25a561fc7dce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:523-530 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:594-601 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5a02ff7729d9eaccb85526e09dc60dd6e8cc33289c58cc642fbb4c94f18340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorDefault.java:109-117 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:83-91 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV5.java:104-112 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorDefault.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c4bb7325c7550127cafbbc5d38d46b773cc00fe76375ac8d5b845d1941cde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:490-497 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:562-569 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"52947b186a2f809953af4a325d6205c7c5b18f63b3f1e7f7e92446e90146ee7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/InfoDialogFragment.java:41-45 | android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PermissionDialogFragment.java:35-39 \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":"android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/InfoDialogFragment.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3451eb0136da2a5209d66018335ff2b483bac70c075e52368523aa25e63b086b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/vehicle/BluetoothManager.java:248-255 | android/robot/src/main/java/org/openbot/app/robot/vehicle/UsbConnection.java:171-178 \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":"android/robot/src/main/java/org/openbot/app/robot/vehicle/BluetoothManager.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"02917409400b98fc5495e032e5ceddc5fd20a9bff3dbfe09318be0f8f97446ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:163-167 | android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java:218-222 \u2014 before extracting anything, compare \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java\u0060 and \u0060android/robot/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 299 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 \u0060android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java:163\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"538a39b4365237a81a282ecca2000aa99c945f2893ec094970cbbb9ed9d7d8b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:106-110 | android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:184-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java:106\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":"android/robot/src/main/java/org/openbot/app/robot/tflite/DetectorYoloV4.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76cf05c82a85f39009b54775b20659f6970dbe64a2fe97e2a6cd8e476b13146"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): policy/openbot/dataloader.py:61-76 | policy/openbot/tfrecord.py:62-77 \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":"policy/openbot/dataloader.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d5ab4e05906befc7bd8bf38c91b356134db063c4bb49dd89d9ef0fe51bc61d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): policy/openbot/train.py:544-559 | policy/openbot/train.py:560-575 \u2014 both copies are in the same file, so extract the block 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":"policy/openbot/train.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"404c10b77b20beeeb6290deefd925882524d3b5242c3305c210640b7a31e595d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): policy/openbot/models.py:131-144 | policy/openbot/models.py:214-227 \u2014 both copies are in the same file, so extract the block 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 \u0060policy/openbot/models.py:131\u0060 it begins part-way through the construct above it, so those exact 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, \u0060policy/openbot/models.py:145\u0060 calls \u0060concatenate\u0060 and \u0060policy/openbot/models.py:228\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":"policy/openbot/models.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d49718309549dd790fad69332608bc5f3cea5f93a8c9d760724176a5abab5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): policy/openbot/models.py:83-94 | policy/openbot/models.py:121-132 | policy/openbot/models.py:163-174 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060policy/openbot/models.py:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/models.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc95425c0328555b99ea29330e60927f945364bd97a26fa7740dfe41f3d60cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): policy/openbot/models.py:79-89 | policy/openbot/models.py:117-127 | policy/openbot/models.py:200-210 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060policy/openbot/models.py:79\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":"policy/openbot/models.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0681f5ea4a47f08b2fc5077cead4d6e40b13aec3160f0711881a45999f780f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): policy/openbot/models.py:95-104 | policy/openbot/models.py:134-143 | policy/openbot/models.py:217-226 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060policy/openbot/models.py:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060policy/openbot/models.py:144\u0060 calls \u0060Dropout\u0060 and \u0060policy/openbot/models.py:105\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/models.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d4ab2c8006dfc13235473a2488ebed2da4500787b4a50955dfa36671e21866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): policy/openbot/callbacks.py:9-18 | policy/openbot/callbacks.py:22-31 \u2014 both copies are in the same file, so extract the block 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":"policy/openbot/callbacks.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b046f3364696c6cd73808e0347fdb9d66e306b828fd59e216c42cb389e9aec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): policy/openbot/callbacks.py:35-44 | policy/openbot/callbacks.py:48-57 \u2014 both copies are in the same file, so extract the block 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":"policy/openbot/callbacks.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c819c1061320dd84dc74c1adfa593465f4840d73d15e4f5a2bdf829f063347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): policy/openbot/train.py:261-270 | policy/openbot/train.py:358-364 \u2014 both copies are in the same file, so extract the block 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 \u0060policy/openbot/train.py:261\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/train.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"097942fa4796b732f75fe636f3d1dee7a2e05360a56620d4d2362d1b6b1614ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): policy/openbot/models.py:97-105 | policy/openbot/models.py:177-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060policy/openbot/models.py:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/models.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ee07521823a1943ec64be559c4013d97f6c8f5c1164594b9e491c50a244483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): policy/openbot/train.py:501-506 | policy/openbot/train.py:521-528 | policy/openbot/train.py:531-536 \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":"policy/openbot/train.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cca0fd2c745d487708034bf1b3a6893ffe921030d08d0f8b9dc25346686b035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): policy/openbot/models.py:108-113 | policy/openbot/models.py:149-155 | policy/openbot/models.py:188-196 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060policy/openbot/models.py:147\u0060 calls \u0060Dropout\u0060 and \u0060policy/openbot/models.py:106\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":"policy/openbot/models.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc3c3ab2d98f9a60162db67ffe1c3c0171e91c81bb06585ea8bdbefe024f687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): policy/openbot/train.py:503-508 | policy/openbot/train.py:514-520 | policy/openbot/train.py:524-530 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060policy/openbot/train.py:514\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/train.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"aade5c3fd3d2e5099b4814385e5d6e3cf3f7850c41cecd43ee53bd3f8d9a19bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): policy/openbot/utils.py:60-65 | policy/openbot/utils.py:70-75 \u2014 both copies are in the same file, so extract the block 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 \u0060policy/openbot/utils.py:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/openbot/utils.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e76fcd2f7ab6d50527173b4c2b69b6b5584cde59321f4cbf845d8e41075fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 4): controller/flutter/lib/screens/component/onScreenIcon.dart:200-219 | controller/flutter/lib/screens/component/onScreenIcon.dart:228-246 | controller/flutter/lib/screens/tiltingPhoneMode.dart:134-153 | controller/flutter/lib/screens/tiltingPhoneMode.dart:162-181 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/flutter/lib/screens/component/onScreenIcon.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6c7cfd4360e8b53d32c11672f83ea7536dc987d672a4941116bb3356379fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): controller/flutter/lib/screens/settingsDrawer.dart:78-91 | controller/flutter/lib/screens/settingsDrawer.dart:131-144 | controller/flutter/lib/screens/settingsDrawer.dart:169-182 \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":"controller/flutter/lib/screens/settingsDrawer.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a4a691f67a330bafeac042ba321da556478d8d0cc9d6e1ef81e97011397a0e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HomePageViewController (LCOM4 24): HomePageViewController\u0027s methods fall into 24 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 24 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":"ios/OpenBot/OpenBot/Controllers/HomePage/HomePageViewController.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e07ff0ddf284e3059be620104a6b1677fbdc9105e8a7cbd807231e3e2584a1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: runOpenBotThread (LCOM4 18): runOpenBotThread\u0027s methods fall into 18 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 18 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":"ios/OpenBot/OpenBot/JsEvaluator/JsEvaluator.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58dcaf740f9cd26a04ed6d6e1ccaae79ed5e9cb5ea3696bbcd1c95a37bc1375"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: bluetoothDataController (LCOM4 13): bluetoothDataController\u0027s methods fall into 13 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 13 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":"ios/OpenBot/OpenBot/Data/BluetoothDataController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f972bfbc40254fbaa8d26a5724f102183d5b53439ab78ccb9cddb775bdd3b2f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: popupWindowView (LCOM4 11): popupWindowView\u0027s methods fall into 11 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 11 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":"ios/OpenBot/OpenBot/Controllers/ModelManagement/PopupWindowView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47e24d6a978a51c5d01fd9b82a13bac9a33a211779fbed2795cb9da928f1b37"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WebRTCClient (LCOM4 11): WebRTCClient\u0027s methods fall into 11 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 11 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":"ios/OpenBot/OpenBot/Data/WebRTC/WebRTCClient.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a812e5adc8a1878a597ed4f379a934da0859f87775cf60f867584fb8704900a6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: expandedAutoPilot (LCOM4 10): expandedAutoPilot\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/ExpandedAutoPilot.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4818ea051f34a2232f2303274906012be364b3f8aa1c709ce1ddd8af967d83"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: expandSetting (LCOM4 10): expandSetting\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b060b0b2c37a8d082c39f750526031e3c752d4cc825d076492a655856613ae37"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FreeRoamController (LCOM4 10): FreeRoamController\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/FreeRoam/FreeRoamController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f18833584fa66dcea87bb15df3949771c65943b5acf4955317bdedfb290b12"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ModelManagementTable (LCOM4 10): ModelManagementTable\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ModelManagement/ModelManagementTable.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a8229a32170c6f3d30b4721dc39e933ce6fd449729c50070d9d8691c7f42b9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ObjectTrackingSettings (LCOM4 10): ObjectTrackingSettings\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingSettings.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdaee43dda63544b64a8f9d2c87e316d377de393479b3eca15174bb9aa66fc45"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PointGoalFragment (LCOM4 9): PointGoalFragment\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/PointGoalNavigation/PointGoalFragment.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb29ff715113a62fa4de5555218fd09e475f55c89c727554a93b3ddb65d98cb8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CameraController (LCOM4 8): CameraController\u0027s methods fall into 8 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 8 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":"ios/OpenBot/OpenBot/Controllers/CameraController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65e6f2197eabc5491a613fad86bee5f070fd706981bf3c049bf970ca2795c44"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Detector (LCOM4 8): Detector\u0027s methods fall into 8 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 8 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":"ios/OpenBot/OpenBot/tflite/Detector.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"277f23f6881428faa44740136c6c1c4601f793e0c9a0a7300244496b1e126cbc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BottomSheet (LCOM4 8): BottomSheet\u0027s methods fall into 8 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 8 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":"ios/OpenBot/OpenBot/Controllers/ModelManagement/BottomSheet.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f55060437cc72d2528381eeee6bd29d95b4aba686e4340e339fa0536156211"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: scannerFragment (LCOM4 8): scannerFragment\u0027s methods fall into 8 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 8 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":"ios/OpenBot/OpenBot/Controllers/QrScanner/ScannerFragment.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f159c429d60e4b8bc20686bb3d48b39fd91aeff2c75a4f3ebe9e5e7fef2858"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WebRTCDelegates (LCOM4 8): WebRTCDelegates\u0027s methods fall into 8 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 8 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":"ios/OpenBot/OpenBot/Data/WebRTC/WebRTCDelegates.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf98df36a1290ee5d09eb6d6223472ad0e47566707df979fdedf6b3ad639f25"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DetectorFloatYoloV4 (LCOM4 7): DetectorFloatYoloV4\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV4.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"25071c859382c0e9e21f7fdc3d5eab48af9f3e382f054be9404c42f87c42ef86"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DataCollectionController (LCOM4 7): DataCollectionController\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/DataCollection/DataCollectionController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f432a5fd4b6b7b84c5f86f58ea48a3105d8fc66e933508746e4a48538ec36d7a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDelegate (LCOM4 6): AppDelegate\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/AppDelegate.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1ec2d8ca1579e45b47a443b8393c5330d228f008e66ccbb8ff0327e213028d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SceneDelegate (LCOM4 6): SceneDelegate\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/SceneDelegate.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7995653b0060134ec048328456a657ccb487f97305810b8852d8700649e97b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DetectorFloatYoloV5 (LCOM4 6): DetectorFloatYoloV5\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorFloatYoloV5.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ccbf943e790b6dbbf7985a792b407295cf759b8609feb453edb012c75ea460"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Model (LCOM4 6): Model\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/Model.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddbfafc9e6841e0e686b9d2cc3abc7325940bccec7583af2a028d90e8c92587"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BluetoothTable (LCOM4 6): BluetoothTable\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Bluetooth/BluetoothTable.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ebdc3ae758cfd5019a7e9e613f34b866c1b81d1caf7e9d645962e0757433bf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GameViewController (LCOM4 6): GameViewController\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/GameView/GameViewController.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2e4198585b9df4d7240737ad66d47e9f0686ef799e2dd647f374749f1e8f59"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: projectFragment (LCOM4 6): projectFragment\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Project/ProjectFragement.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2263165df2eef820496f44f9b7e1da62c4405b3afc6b132e13beb34a4db8fc74"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ServerWebrtcDelegate (LCOM4 6): ServerWebrtcDelegate\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebServer/ServerWebrtcDelegates.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c90bf17bf89da4d683adff7dcba9740186eb5d44b6e885c569ca05dc86fa416"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: openCodeRunBottomSheet (LCOM4 6): openCodeRunBottomSheet\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/extensions/UIViewExtension.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"435d89eb52cfd9ddeaedc7043188c6c3c4b1078ab9f8c31dfe8be9070bb288fe"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DataLogger (LCOM4 5): DataLogger\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Data/DataLogger.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ed545b650737a3fe273e105b2a190ca62bb968fd92e3b8682c6d76cc6346dd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Recognition (LCOM4 5): Recognition\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/Detector.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"befd83748bb0808748300a9ac24bdf74f591a155817b97eede75ddd37cf2ee78"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AutopilotFragment (LCOM4 5): AutopilotFragment\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Autopilot/AutopilotFragment.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"df80657dd91660ea22f4f87687a899dbd65a201295c6cd58b42b205fa2198e4a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VehicleControl (LCOM4 5): VehicleControl\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Modes/VehicleControl.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcdd124db8e2ab1716ce11687f7368be3443fb91651d7dfe76f5d2e12e9c6ef"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ObjectTrackingFragment (LCOM4 5): ObjectTrackingFragment\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ObjectTracking/ObjectTrackingFragment.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"431727482bb15dc856a1adb81fcfb21b58c3eb169e852225687b20d95e609d54"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: editProfileFragment (LCOM4 5): editProfileFragment\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Profile/EditProfileFragment.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e5619f97493e1880c6b91e4b6ceb5162d1533ceba988143971d455fb5e64e7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: profileFragment (LCOM4 5): profileFragment\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Profile/ProfileFragment.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee468562dc48020b5e8306a8de00552a98ef6c17fff9c26941e3da606256792"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RobotInfoFrame (LCOM4 5): RobotInfoFrame\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/RobotInfo/RobotInfoFrame.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a40b2b0818eba5fc023815841b9d51f97cbb71e03c9645b996de4481b8d973"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WebSocketMessageHandler (LCOM4 5): WebSocketMessageHandler\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebServer/WebSocketMessageHandler.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"843f09809cfc71c8446f0a89cc2676ae653476c92a50f77aaf4ef9f6a24f0855"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AudioPlayer (LCOM4 4): AudioPlayer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/AudioPlayer.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"563f9859d5904985f5ef9b0468e68b8bf96ef67e1d66dce2fa7c96e6022237d8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DetectorDefault (LCOM4 4): DetectorDefault\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/DetectorDefault.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce7b72be92c198b6b969cdb27638795a82e8b7f9bf42393d58a5014a40ee7f3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Network (LCOM4 4): Network\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/Network.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2115a090c04788e34ca09e4937926679817b2e070b985ca85940692ff731c9d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SettingsFragment (LCOM4 4): SettingsFragment\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/Settings/SettingsFragment.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8a87a5fa0da313827828b5495a939dead66d427b3ac6af524d563baf95f81c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: openCodeWebView (LCOM4 4): openCodeWebView\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/WebView/WebViewFragment.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab90fe877026e28946c86a81a20b30f61c62968042741e12b21dc08b06585f4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: runRobot (LCOM4 4): runRobot\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/runRobot/RunRobot.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca927f3c4d0f68e16cb2a25cef55eb0b05b0bafa992d460ffe2b619c1b996dc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CVPixelBuffer (LCOM4 4): CVPixelBuffer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/BlueDress/CVPixelBuffer\u002B.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"60acf880a3ba581e537e98c524851b3b39d133ef9fe7345b45cfe0bb6335ab59"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBotTests/OpenBotTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"31be4e187e5fcd3e992dd3bd1180ed3174e6e16bd8abac63260165623cd148e9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPerformanceExample: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBotTests/OpenBotTests.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a86ad53cad6e03eb3b89651bddcfc76ac7311a4346f4f8987eaf167198d99e"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBotUITests/OpenBotUITests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c1bfd2bf8d1b7d762a2e87ed2f1f9fc5181de5e66b21ae5d266ec2232835f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLaunchPerformance: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBotUITests/OpenBotUITests.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f8978d741e09dff11a9ad73db6d7cf075dbe7baa03b05f27fa255e7e713afd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLaunch: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBotUITests/OpenBotUITestsLaunchTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"071003cde686c7564cad22c37ae991dd65c17c07bbc4751348020e5a86c5ea90"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: OpenBotTests: No conventional assertion call was detected in 2 of 2 tests in \u0060OpenBotTests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBotTests/OpenBotTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77e750f3d855cc4eda1e5da2abed3c121a44a423a73ea5288136aee90f7d628"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: OpenBotUITests: No conventional assertion call was detected in 3 of 3 tests in \u0060OpenBotUITests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBotUITests/OpenBotUITests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a462605c0065269156fec82e4d22819ab07efa30e7676e02263df11a63324fd0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/PointGoalNavigationFragment.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d0f7e801d48338273b117206ceee65a9c86433ef26424b17d4de2b554a9cfdb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated catch block \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/SensorService.java"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a2b5106d39539237fe3a42ea000e425fd633d099a03c184e71ca106d1e4d49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated catch block \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/logging/SensorService.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbb41d02e18efa0be0623a763569db9cdbc722b8f8c82b623923f617232f0d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If needed, we could possibly implement some performance optimization here: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/ArCore.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dad543893cb1d0111f057040b80ceeffddd0701fc86ccfc9af158969c634b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We could use another data structure here to avoid additional copying later. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/ArCore.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b6310669e69ba76bcbc6c5c396453fc47bcf90b81097eb7f5c162f11ddf954"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix the commented code. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/server/ServerCommunication.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e094c9690832645f5e49e6fb43b49f4daefc60041dce9719b4312480c37b3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement didUpdateWidget \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/flutter/lib/screens/tiltingPhoneMode.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1deba5556501eabd378c43666f4b7c233a931e617aa17f16b59c72a24c0e3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement didUpdateWidget \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/flutter/lib/screens/component/onScreenIcon.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00339ed7cce8371294476ada33d8e8eb20c4bac4f492cad73d3d7b80ed8c125"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: comparison operators with optionals were removed from the Swift Standard Library. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Utils/GifLoader.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1036f0404c77f29a8bf7d2bd89bb6dfbee1ff690471b46f49e9ef425b6068f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return ObjectTrackingFragment.MINIMUM_CONFIDENCE_TF_OD_API \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/tflite/Detector.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2aba2425d8235120b74cf1e31504a43f1ed9dfe87394be0ee3be6523ff8a08"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no contributor guidance: The README has no contribution guidance for contributors. Add a Contribute section describing pull request/issue process and how to get involved."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f29787918fa3406ae55cb63eefa1b50410845435c4e47bda852816aaea084"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The document is a README for the web server directory but does not describe what the OpenBot web controller project does or its main features. Add an overview paragraph stating that it provides a cloud-based web interface to control and monitor the robot remotely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6048eea1693c18cd6c2ea241f869dd6e7b24681e60216be577303f552065b8"}},{"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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"729aac572768fc962d88b1c31811bd2c23ec3cf93eb44ae0e652d49d1eeb3ba7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b713d76a27d5275299c26ec1dcb1d3a088131f58547a52d09e39536e5c5007da"},"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"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afc35516a8a92dde7d40be9044c8bb41535d3f2bc1f383edcb23287ec34254e1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9718afd181e5bbfac74639ad8316811ce772bda34bef9e0ba2833caf54f903a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5c7f169b5aa8eca989ec62d040545ea9ea1e49cfaeee39daef56017dcef3e28"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84558ef7bfd6ff8b66335627bc5e85b078ffa1e9eecffb7f74936e968d8b31ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6040bd425dd7754abc364e92e66590ec6bd61d3cfcac1e86a1ddc2232131064"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1bba645de22e0638cbd49e64843b15d2a262807daecdd2671ce4d7e82622161"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ef7a80a21953fcc6e688eb23972c674b18c4016f17f0401e0054d57e1b04bfa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac575f6f364ac76e0afbe898145eaa222a877c213696a0482aa7973e50f8feff"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e210d39341d0175cca0581e5f8d2e78361acdb026e51362047879d439e90547"},"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"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c0eb045d6229406d5c37e5e79550de001f73fb45b80d2640926c45c0f99c627"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1430a1d339ba921cf47a4eb8da4404c6b0b3d6a2b9e93555dad6a429cf5d45a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60e8c9e69169d270a56629b697ac7dfd790fb7c4243c18045fc9006eb1811430"},"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"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1064f0aa254ca182eb7d63199b0a40d7c3280ea62bf0de52043ecd43a3a1c99a"},"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"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8e58bc216fb21c2872752331f18d01b59ec09ce8dc4dddd7b2127c44de354fb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae5fb3facc6033cc222c34df8ab137aa8cf83dd73ed42913507b26ac6db26e47"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42d92106e981d27519db864960c16759fe63d01ce9cd171c8241725b2ba1fd53"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2ffb5eb0e734ac7abd0e1f188d917921792fb6cc97ac9855d0379d8fe89af1a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"819782cdc92122482af0caf37c60e5e0e5a4358ec45709c095d873fe73ac3f35"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5156e928a99f2d2c0e4550a6f89269e44c15a897b36b82f89270528cafaf195"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f520a801501594dbec60f4323b47207ca67f10b8f80f8c545a40582185053c11"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b038855d0d1ba5b531a809cc6bbb2ebdec9f3527ad39bd7c7d56ccb81f9e6fa4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b6e7caf01dbaa8437b1666d2b78fc6580a8469b646bba7ac4b3233c626b1201"},"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"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4dd5bc52b2bad43c1c503560fab6eb314c91d96db23431428c3dda7ef89f530"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"614f5cc980518338367b375e5fb264eff0914666ee07a08d820c23a9e3f14f04"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4951d1164d37728e1e8723d3fac68c30b18799a1f1f87da8b34affdd48b97d0a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"206ea6cd2c68ca4876eeb6699f69140f84ca8c11093dec04256526b30e2a08ac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08c95a2619ff2f06399baa10f39f4cab3bdf537fe4c22973a03515147e3b590c"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e681d49c7256593d1fae0b32caf3d1e5ace8fddc201ef4338b8dfef4d9db81f7"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a635c72b96d1895773be071296e985a287576e0ee52470bdcd7e1987ea7f97d0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d72931b96775250ab5511f0e11bdbbba695975b21969d1f0f2e2c0e0c40642d2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e0b9930afdb3de5956d35763218702381304b5062ea975cedc5a10f847caa1a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce3dc34d5df2a53d59c6f310f1dfdedb676c3f1f104020d46f61804454831488"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"030a9a18fe7fddcfd474c7a1c20ff0047849e7f84bc08d23e2c35c6a90892438"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b814d3ef7c9ec6aa757a2a1499de1fa964878968d7830f177327da1d0842e79f"},"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"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13d1b222b8895d24ec0492833458b7aa4dbc629149b8f3c93016fd1cc4454220"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"955f3963b2ceaf13b3c82016f7189307d388c2142b460b4747364c7bf06ada0f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e053595387d19e6e9db8338d84288df8aa945c72ef1ee8c985b1869ea7aeac33"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eae964f593fc897ba076059f439b9c5674f9cbf475f74be3e7f6607cf92d74ee"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5d129a1586b5610b5b81110d4ee56e96a8c7df07d9f128f6371afd0cc56e81b"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a83a38f5c2c95a361b84d9034000b75ebce3624a56dfddae0a120284b1874220"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35846972da0b1635e477a9198a7a6d146f5f66542e0a68b39eea1c066b411e02"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"392f6e33bd4d1d3608137b5ec6bc8b2de13266a6df70dba853263eee10864356"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3265e81112a070d0a8098f92adc5e39089a2e50ddcced608952e72ee4c331169"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fedea37e9e82a1fa13dfbabc2101692289a9830a04edd1d12efadbb1153dcf93"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bceb82b86adc9165850539ed806d42781be09f534ea577857eaabe6ab1c15b6"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e21e313db2d789fb5156c8d7353fbaeb9322e78aa957c1cf49e157dfe785bf58"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c61187e5252691d9a412f6e4a89c65bd26b7069f4dd899282854f19891f9b46"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"242ac570b2e29dd063a82efd8cb99491eecf22ed8ce537b0f4b78c44197b5806"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41f917a4e4692d5f23c6e9e62ba44889c82220880c8ebd27de48525acd95fafe"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcfc97ca560ca9d4c33c6abd8df8fe8d7c302b9a319c3a36fbcd1b2713d06e71"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9221faddcb816608851b26b09ee246bb95eb4513386e5dcca500f55b21d81799"},"taxa":[{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"543a323aaa437282919242c9b6b3ac0666251b4d54c8c2839901382035000a23"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4dc1da06ea7cc1a370cfd12bca1308880cd905a9ba13152504ae52089dde2f88"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5dbdfc4c0fbc723dc76304715603e8ecc3243adfd7cac28d2c8ae46787dec95a"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ff599d9bdda6824b2a6a6c2297d3c000d9c582d1a46f3d8e91f4d271c6f59b7"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"3a90a2ab25b7f69eb670ccee9bf9c23021a292f49d8066bd3b312d4f199c6065"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"5f7ab5d059664e71e4c339e2b92f0ea4835919640f820347cb52ed2c5ae09c54"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"d5f11f495b1cff50aacbbd5fddecf0e8002d9036f873aa789b21a273adf990da"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc10b09296e3a6adb6a1b19049eb73a03cbc35289a04ae2c48f208070ea1db2b"},"properties":{"dependency":{"package":"tar","version":"6.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a27d27c9a7a088c616fdeb1afa9ea7f4712367ddf34b874b643e808f31f31977"},"properties":{"dependency":{"package":"immer","version":"8.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6181a461ef7c020f5418a7190f2972020d4150171a19e96e2ba694e0097faf3"},"properties":{"dependency":{"package":"loader-utils","version":"1.2.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f7db6e506e8e4a34f771113bc063470de104a18513e7b35936876173128251b"},"properties":{"dependency":{"package":"loader-utils","version":"1.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"634c14cf03f2072e22c029a1aa9fa95c54451e9dde4e04219f49350c3ad4ae99"},"properties":{"dependency":{"package":"loader-utils","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d24c8cd3da25487409d1f5f8d905be3254b524bde285ebd66a74c3446891d3f"},"properties":{"dependency":{"package":"sha.js","version":"2.4.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b95d1c669b4d2c1178cdf11445937c4e20835b9e1116977cba1be72104d986f"},"properties":{"dependency":{"package":"cipher-base","version":"1.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"788a94f2a84617c97607e8b63a16ae6632ae7f5b74256055f714756bfce593e7"},"properties":{"dependency":{"package":"form-data","version":"3.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48d33189308293d3b926f6f62e064649372554af8ae1cbaf99f57a2a76e77ee8"},"properties":{"dependency":{"package":"shell-quote","version":"1.7.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"418745b258611b338f652c8fc87996d7ffa2662e68e879a155fdbaadd9a213ff"},"properties":{"dependency":{"package":"pbkdf2","version":"3.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a3977699e58d58af87ed9f343e3f7bfd0c2b6fc00f82da3dcc54e5d4bed1a93"},"properties":{"dependency":{"package":"pbkdf2","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"395922cd42b2960d5001c5cffdf054a12342aafcb0326444532c9d4b83cc70de"},"properties":{"dependency":{"package":"ejs","version":"2.7.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d44d30d8497483b5069dd7176170857c4c17431c453f9041d4e1759e7bf93257"},"properties":{"dependency":{"package":"websocket-driver","version":"0.6.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8341e6a26028e6b0ad18c209f7851ae48f9ada901b317b834b37364bad96a43"},"properties":{"dependency":{"package":"websocket-driver","version":"0.7.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2afbb808d85e0dd745ff9c31e9e67de54d305fdf1bad37586bc59374ad6f5c9"},"properties":{"dependency":{"package":"elliptic","version":"6.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a6f9e89d5f598ae0582108257a03f63cb8620ce6677f67fcc3fc1f14de9b025"},"properties":{"dependency":{"package":"node-forge","version":"0.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5e618c5ec2a377c5f48e3d4cea0b07f7ab79c6013288d333be6e4dc4a6aa08e"},"properties":{"dependency":{"package":"minimatch","version":"3.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4b70970b949f67722b66d41366fee294a08f4cce5ecc4a55a516aa6a583a819"},"properties":{"dependency":{"package":"flatted","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6052649cc85de00672bf1fe308e8773afd595857f7101cc836d029793d5aa633"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4dcd211866fb8a458e80919ce7d12e3f919ee37a5e805a8bb208438f5c2044dd"},"properties":{"dependency":{"package":"nanoid","version":"3.3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74c37f7a16e6c38c396b49496b0d4cac0f7583da3bd686947129182bd03c0101"},"properties":{"dependency":{"package":"svgo","version":"1.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68201e1efbc5c5176e59cdf6310ba7a54b425235cf8988d2c1d22bc34c48a12e"},"properties":{"dependency":{"package":"ip","version":"1.1.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cefcd347dec23f5e34df2714861b0b31adc652976ced467d52f13675a03e636"},"properties":{"dependency":{"package":"lodash.template","version":"4.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c95f1fbd46952ac228524077d93a0c066ef3b6b5a83496fcf069e3636bbd9716"},"properties":{"dependency":{"package":"path-to-regexp","version":"0.1.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3406112920ea7a17824676e93dca9176e165a6f816b5211dfd5a48e7537bf2fa"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7da85b415e261eee2ed0fe442085465274cb6648425fbcf85287ea187b01cc5e"},"properties":{"dependency":{"package":"cross-spawn","version":"6.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06e978040bcbccf16732fb731a87cfea5a8249e0d6c50f1c979fe0868aa5bae5"},"properties":{"dependency":{"package":"cross-spawn","version":"7.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2bf70aee8f5c86c7920017269847eeb58cfd5ba42a7a291dde3f80b0ae936318"},"properties":{"dependency":{"package":"terser","version":"5.5.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e28ddc67a638427a464e18ea73740001d0ee3da57466e0578805476cbd529c83"},"properties":{"dependency":{"package":"postcss","version":"7.0.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac6a75a0ad59b09f064f68bdb0056f8a63b9f74b49432cb7ca69faf1c256c97e"},"properties":{"dependency":{"package":"postcss","version":"7.0.35","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f269dd2d642da9e28c7173cc3f14b737d556a6c1f4a139a424bf19065eeb31a0"},"properties":{"dependency":{"package":"postcss","version":"8.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afbdbddc7df2f7d2827aedfe8dfb1b29977c904608b44dfbfbaec5c973264535"},"properties":{"dependency":{"package":"browserslist","version":"4.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"170cea05f019ba99ddcf05f63eb6547cac3f5f48dc4d23932992b837e1c08fca"},"properties":{"dependency":{"package":"browserslist","version":"4.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"903931e236c92eaaae49ce41700803ee454262c5c81f67114029015075250ae1"},"properties":{"dependency":{"package":"is-svg","version":"3.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd7bcac79fe3bce6c87df7bfaf410c653a54e05f69a87ac240cd869c7180626b"},"properties":{"dependency":{"package":"ansi-regex","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d891df01113a6b153f5797b394ba7a07d6bd13e23c033fbc5fec1255d82994d"},"properties":{"dependency":{"package":"ansi-regex","version":"5.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13c00d74557bd63d4e2923db0b8f5015662cf0afcd558db7b847ebe8d3e57154"},"properties":{"dependency":{"package":"ws","version":"6.2.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ce973e0c542f27985872cbdf5dc32f97b41d1a1942e3f629cc11c8042be961f"},"properties":{"dependency":{"package":"ws","version":"7.5.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bed738cf7ead10d7752595a125838cca5c457d2c9302c79e78a814a0e548414a"},"properties":{"dependency":{"package":"json5","version":"2.1.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eaffe36e6e312eeb2e0d275dd128b9588dd9e207d5c6a5bc3fcb6e7c06d8f5d0"},"properties":{"dependency":{"package":"path-to-regexp","version":"1.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c488b94355af0abe87a25d4c37f505fa30565e68fce4c72b8208d6779b8bee2"},"properties":{"dependency":{"package":"picomatch","version":"2.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f3fcd7e9fdc4c11ada26cd47eac36517af6358bebc0293584096f15933e2b91"},"properties":{"dependency":{"package":"semver","version":"7.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"378f44db114a43fa966472f90c1a67a231ad9df7ccb7f538ed641ca0ede2fa37"},"properties":{"dependency":{"package":"semver","version":"7.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22e81af41b1a72a8edb0dac7c4a3bc45992f0d7b896184972f54cde050e36255"},"properties":{"dependency":{"package":"http-proxy-middleware","version":"0.19.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"policy/frontend/src/setupProxy.js","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e28cf1f11b3426fdb419eacb1b7ebb2c22326d0b0ac8cbed7cacb45c360ea529"},"properties":{"dependency":{"package":"http-proxy-middleware","version":"1.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"policy/frontend/src/setupProxy.js","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31accd9f91aa3a2492279f5cc322a494e50a75fc0f987fe3484795ffc12279dd"},"properties":{"dependency":{"package":"@babel/plugin-transform-modules-systemjs","version":"7.12.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"740b792ff5b6279859fe204c0f1e0f3001b21e6519645fcc757713c1e9b2b017"},"properties":{"dependency":{"package":"webpack-dev-middleware","version":"3.7.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d96641912f6f9dd63f88f44c8737da1e89196bae26f80f1e036f7fb7a5a909d8"},"properties":{"dependency":{"package":"rollup","version":"1.32.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9603e55931dd226fed29ac9c6ccd59c544e7405eecf4d5717550e88321c090a1"},"properties":{"dependency":{"package":"braces","version":"2.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc5222614426c6ff29ae53ab30fc09b2bf5ed70a482cdb61bc46401aad8990d8"},"properties":{"dependency":{"package":"braces","version":"3.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c07ab170c3b3cf63363fad8b7f0ccccc2088ae8ac2225c177018c91f09b327b"},"properties":{"dependency":{"package":"body-parser","version":"1.20.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4eda866e9a7a1759ef1a72264542d02149fa3a365aa0928810bcd7a27e1348e6"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd9e1349328101fd67b31860c2c6597b66ea082f864ac3de5cf2c99f3f69cf90"},"properties":{"dependency":{"package":"node-fetch","version":"1.7.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8df17ab8a5a21d4642c23784884aaff6f1726cf7917786e6aa4db9b7fb7cc0c9"},"properties":{"dependency":{"package":"nth-check","version":"1.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69936db6273be997f5570aa5ab7ad5dc6f11164581c3be3567c03eaab003baa4"},"properties":{"dependency":{"package":"ansi-html","version":"0.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2b163c137749254354d8200c423d3a3c4b5eed953bd00feb2a70cf77db6f932"},"properties":{"dependency":{"package":"glob-parent","version":"5.1.1","advisory":"[GHSA redacted]","aliases":["BIT-gulp-2020-28469","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b998ef242fafde25498ee14e2c57cd606eb044692f16fb49841552f5dc15061"},"properties":{"dependency":{"package":"serialize-javascript","version":"5.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"558c5b5e965e8680c5e2fd8f379dfa02c144698e8f77fa6581cefd86db730a05"},"properties":{"dependency":{"package":"black","version":"25.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-2120","PYSEC-2026-2121"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c84c6db56543d0504cd9bd6cab4309d93cee548df6f0866b647cc06bdb827b8"},"properties":{"dependency":{"package":"pillow","version":"10.4.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59204","BIT-pillow-2026-59205","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-165","PYSEC-2026-2249","PYSEC-2026-2250","PYSEC-2026-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e503c3fe66c8c5ddf56d1e1aca16c5cd945573ebefe57f52f4c86eae03a06253"},"properties":{"dependency":{"package":"notebook","version":"7.5.5","advisory":"[GHSA redacted]","aliases":["BIT-jupyter-base-notebook-2026-40171","BIT-jupyter-base-notebook-2026-42557","BIT-jupyter-notebook-2026-40171","BIT-jupyter-notebook-2026-42557","BIT-jupyterlab-2026-40171","BIT-jupyterlab-2026-42557","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-2537","PYSEC-2026-2538","PYSEC-2026-2681","PYSEC-2026-2682"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b0f9af50a26452137c673473d3d9fa62b3bdf1d08a7a9da8bdfc0963945d092"},"properties":{"dependency":{"package":"aiohttp","version":"3.13.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c923cd4c22fc016af53f36f85a76e2d984885ae9d0f271f5f409516c08edfe1"},"properties":{"dependency":{"package":"serialize-javascript","version":"4.0.0","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"eddba301e1d63262bfafd1ceae3c34ad1980a62048afa5f5c9b81780975e00e8"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"ad57398654628b2e80cf1cf97d13b8a240eb58b2bdd7f375c23f919032718023"},"properties":{"dependency":{"package":"bn.js","version":"4.11.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"197229c61c0b6876715c3c8764c4395be409b8814bade3b8605963ccbf5b179a"},"properties":{"dependency":{"package":"bn.js","version":"4.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"3e48fd33069d4f34fed1ebaebee4a2ccf975bf6f5fc257837c129b7f3a6ee009"},"properties":{"dependency":{"package":"bn.js","version":"5.1.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"a14a355fbdce6266de42b6b1cd7e7f7de902ddf813fdd7c4ed13fd8339e5811d"},"properties":{"dependency":{"package":"bn.js","version":"5.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"320f80948aa2e4c77931b16c86901651d2b82b59e6609676b0924b4a305cddec"},"properties":{"dependency":{"package":"yaml","version":"1.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"6bc11c8d094eed4e31e7d515e2f092a17e93856ded36ff08bf6de15c8c2ddd6a"},"properties":{"dependency":{"package":"qs","version":"6.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"ef48cd7e5c53ed5af53a3c27c502456ede73a5c33120f56eb795d0ad9018f793"},"properties":{"dependency":{"package":"moment","version":"2.29.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b7b1025aa9829972a45938d1b43fc29d07fa0cd1bfea585f02e1d513b4b7c70c"},"properties":{"dependency":{"package":"webpack-dev-server","version":"3.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"51d36ecec343cbcc17737dab1512c443c4659af584fa6bf63c45aae9d6a34be2"},"properties":{"dependency":{"package":"micromatch","version":"3.1.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"3edf48c6faff322fb12e342528a775e4996c83d88e97afb742e1f67a8c616cea"},"properties":{"dependency":{"package":"micromatch","version":"4.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"4c5b7506bd998b82bfb317055194e75587a675bb52d5931ab09bd5d7c56b6d42"},"properties":{"dependency":{"package":"@babel/helpers","version":"7.12.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"ce521c2aae67e02db6dcb8992e67302049b243f79a903a24b27e53c1f1bdecac"},"properties":{"dependency":{"package":"@babel/runtime","version":"7.12.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"f47c2ba2673cb3a95ad259045256631de67d587b2f0b7923f0572fdf3bdb94ae"},"properties":{"dependency":{"package":"@babel/runtime","version":"7.12.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"fcf9f65fb530a2f665dc5d213f7d223387dafcef0cd77ea020767c356367b367"},"properties":{"dependency":{"package":"@babel/runtime-corejs3","version":"7.12.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"fe90fc16d0d5ad2db2dd646be16ca749deb0e48a2d912f1e8971d4e4c5017e23"},"properties":{"dependency":{"package":"decode-uri-component","version":"0.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"456c0d8789037430fd56f6b2a169d7e6819290fdea7843dd6e18f1cf30212161"},"properties":{"dependency":{"package":"uuid","version":"3.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"4859ea55218e85c34e4a7f89b78cb1e5b1f6ba526dca128d5e7b2c0d3d67f5c3"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"b4887b8656fae1f17288f51cc73d69e3fe060f49b4e66a956994ecf727003059"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"84d1fc1bedce332ed17e22bf79b22ac39e9135f869f8f65c498fcdc558912d91"},"properties":{"dependency":{"package":"@babel/core","version":"7.12.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"fd7e8297bd0be5e6139c6546da02e8b90af6d3d7c77ac348a17e39aa5a0ec3bd"},"properties":{"dependency":{"package":"@babel/core","version":"7.12.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"6090f72900a763480225d71123daa7f80fbdd94c339444f989a4339d38932149"},"properties":{"dependency":{"package":"on-headers","version":"1.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"712a8c5ca55a00d00d887a97340c056a3e6d6164b90fcd708dbccd6a4478cce9"},"properties":{"dependency":{"package":"serve-static","version":"1.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"72e3f26f78ddf0da4980aa8f266afb7749bb6f76542d8cdccdf8efdee68d0cb2"},"properties":{"dependency":{"package":"send","version":"0.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"1ccabc37a366f868e07e282f03ac4f43366aaff751898f57a61bf539c138efae"},"properties":{"dependency":{"package":"cookie","version":"0.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"8109e9e0856829640acbd7f15d0b44fab046c90a1844d5c359095ba42c35901d"},"properties":{"dependency":{"package":"express","version":"4.19.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"8ec5f03b1970add70deb9179f368274116b595a6149f033b1afaf994bfad7516"},"properties":{"dependency":{"package":"@tootallnate/once","version":"1.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D32","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":"bf822d730325d22e452696cf598dd94a2a2187f289f68f744763605d3ef78d52"}},{"ruleId":"D32","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":"b3f9e62656242d94f6b2adcdec0876986c2837b06b8602692943dbf1cd2e8e37"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/DataCollection/ExpandSetting.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cb52f81db99aa7c9e54f7dc79a3d62223f1dfff6a0c54c3a1e07a93f09a0e5"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/PointGoalNavigation/PointGoalFragment.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8c99923a28dde10bc406f429fb6e6756a2463ff0557199201b70ee704e1439"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/OpenBot/OpenBot/Controllers/ModelManagement/ModelManagementTable.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c27133b3429a9dc43baa3d184de0c90fbece050fc503603d6d5d751db1a33ee"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 79 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: ios/OpenBot/OpenBot/Utils/extensions/CVPixelBuffer.swift, android/robot/src/main/java/org/openbot/app/robot/pointGoalNavigation/ArCore.java, python/infer.py, ios/OpenBot/OpenBot/tflite/Detector.swift, android/controller/src/main/java/org/openbot/controller/customComponents/VideoViewWebRTC.kt, controller/flutter/lib/screens/controller.dart, ios/OpenBot/OpenBot/tflite/DetectorDefault.swift, android/robot/src/main/java/org/openbot/app/robot/main/MainActivity.java (and 71 more) (82 orphaned of 170 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 170 of the 356 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}},{"ruleId":"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":"01617c8618e3c4e3878dbf35ba9ff053ccec9d7cd1ea559a8db623472c13a49c"}},{"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"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/index.html"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fede609771262603854bba2761c7e37cb228a980cfe55bfd7fb2846aec6112d0"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/index.html"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4889a0b6401e5260595c7c6b2f9600dc859564a1944a7208ad2dd82059af709"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/index.html"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eec48a63970c5174625f26b0e7e73c4082695d2e71e61f4dd2ea102723434c8"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/index.html"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ba67ee1407a17924ed8c66adf15fec1f1b8b18281b9b98ff4471ef8a169991"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/index.html"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b915544e2d1354c85c74dcec123415b8e831b4c0813361fae08508815d8916"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/keyboard.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5191e64a3cc4603d0fe2242ff7161e6ac700174a280895c5eacae96c6df32085"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/keyboard.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5355d4d26b9b699b46ec33d02248939c657b6a07671f31394f8d30af6f5532"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/keyboard.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1057d47fc4418a0a2ebf4c39a2c14cf41eb6f0bd0f91085226ded65c6e11d9f8"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/keyboard.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e052786585d0f3c5efccc1622ca9ff8fb45055ce304e049c8ddb5dc5ffb40ef0"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/index.html"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3354120a09b5dc4bf185b3d2ff7fd4568e5d66def467d62804f4a290d911c6"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/keyboard.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e577a5a3307cf218af8938544fef74f6b016fa8e6b857294bf0c61ca4809eb6"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/keyboard.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"07abdc5e9265d3b62f66ad3d9fa80b1b56ae67017d6ad558bded7fc45ce122d3"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/keyboard.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf7ab49ebd726eba03ec48483ee0aca6b2c075601ad715ee37fa3585ed1bf13"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/keyboard.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f762ec9dbd58cac20977ff6d92cd10b3f6d0a8a114cafd581b073ef7927765"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CDatePicker\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name \u2014 and neither does anything it renders \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/fields/DateField.jsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01c940ac395e05b6eb9f5664c0551ce44bfb5c3659d535884c6a0b8bacef7a9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name, and nothing it renders carries one either. The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/frontend/src/modals/DatasetModal.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"792f79b9197f815d014ae6e8a81833ec8f6138aa4a40a36c06c4d02065e24993"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name, and nothing it renders carries one either. The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/frontend/src/modals/PublishModal.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"199d6f1a98c8d616adf74b2941bf8bf2de59bc8df9b1c24f105f657d7222d29e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSlider\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name \u2014 and neither does anything it renders \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/frontend/src/pages/SessionPage.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82a2ef95390a6675bd8c679eb0921d169dcbbb7fc55d7648a6f6688922e1134"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82c4ba0f3439255d1ce114916375b3a2c7a510c382422f84441096bfb659d7a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb9fd4cea099cec7c29e731748da514ee712f59f33dc22844e32a78ef747765"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022root\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/public/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"442f8c249640e1f3ac0a26e6375e4729fece5feb0676bfabd52b90764d6f9ece"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022root\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/frontend/public/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"11de05a277f48b1d28f1c9efa17ad5a5ad4c131a94d91de1dcc2687c844b073e"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .button with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/index.html"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c34ce282f50c790feefd8449ccd34f60f67b1f2785747194002353a97c98975"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .button with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/index.html"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db12a00a6d4d280710be8a9bd6a44648804eef9c92591e31386f3aefc7c37e9"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .button with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/index.html"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fc1aced3294310a1508e136d484233c424038f3694df1b775e7545291cd27e"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .button with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/index.html"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc13c0c1ae3322c86112aef20212031985b708e9bd167edbbf70c9444d1abde"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .button with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/index.html"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15edfcd1c703002ebe8b795de6de4d5dacef51694c9f680dd947a07f1b31f44"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .button with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/index.html"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5ff8b02b3f9282baa316d4811a0c62ad9272a51cd47c0a325a2e77e0b05387"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .button with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/index.html"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb0365dd377154e323ce01a9e11c27dbdaf48c379675713504b236dd2a347ab"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .button with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/index.html"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"004d960c5d5018ef94b57d5ae9801b040628a4a02e4eba2827de8aedfe512289"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 28 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"M1","level":"warning","message":{"text":"README may be stale: 208 code files changed in the last 6 months but the README was not touched \u2014 it may no longer reflect the system."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e973e7a8d5d866995cbf78b120250fe7f132bf928812d48ca62e69aba11b9910"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/6 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060controller/flutter\u0060, \u0060controller/flutter/ios\u0060, \u0060controller/node-js/server\u0060, \u0060controller/python\u0060, \u0060ios/OpenBot\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 14245 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":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"warning","message":{"text":"No deployment automation: No release automation was found in CI \u2014 neither a deploy stage (Helm/Kubernetes/compose manifests, an orchestrated rollout) nor a publish job that ships the built artifact. Releases appear to be run by hand, which is slower, less repeatable and harder to reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7a7f38718309412c2d2c2c0663260a3d160de9a5a60f3915755be16386d3f1e8"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new OkHttpClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout. 4 of the 4 files that make outbound calls are unbounded; the first 4 are listed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/env/PhoneController.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed2e2070d62264b3da1ffcb2b5f88040c6435dcba8f91107aca99a3d0f6e399"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060.openConnection(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/projects/DownloadFileTask.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0fbb770c3c56ce2c0d147a57e7b7076d00448994c6be1815c60b01e632d0ee"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060.openConnection(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/robot/src/main/java/org/openbot/app/robot/projects/ReadFileTask.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6db9d88005e87a07d9a16152247987269ae4b4dda176ac4d590e83df25de2f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/download_data.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b84d3cc852bb398ca8d00eed34f5207639d574b159844e2e96735587c20b8ea"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 27 typed \u00B7 80 plain JS \u2014 the untyped files are controller/node-js/client/bot-message-handler.js, controller/node-js/client/buttons.js, controller/node-js/client/connection.js, controller/node-js/client/error-display.js, controller/node-js/client/index.js, controller/node-js/client/keyboard.js (\u002B74 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (8 clone groups): 8 duplicated blocks under open-code/src/components/ have copies in at least two of the sibling directories bottomBar, drawer, editor, homeComponents, navBar \u2014 5 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 8 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 8 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 8 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/modelUploadingComponent.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bed22b0aab20f4f8c82cafae5b5982514aa8e28d75481cf800a9ebb239e085"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (7 clone groups): 7 duplicated blocks under controller/ have copies in at least two of the sibling directories node-js, web-server \u2014 6 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/keyboard.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1659d4c3eaed994724f2dd856122150a0f9f2c3eeefe2a49a5832022803894e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (239 matched lines \u00D7 2 locations): open-code/src/components/blockly/generator/javascriptGenerator.js:53 \u00B7 open-code/src/components/blockly/generator/pythonGenerator.js:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 1517 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/generator/javascriptGenerator.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b336db2c7b7c133b0ba7b2c2bc991838bb01301d27f2299f6d4874fbc551b533"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2 locations): controller/node-js/client/keyboard.js:23 \u00B7 controller/web-server/client/keyboardHandlers/keyboard.js:23 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/keyboard.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d8404500e4b4c372b1e99103b30a9d426d0dd6d8a97a0d170778d14e6c4788"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): controller/node-js/server/remote-keyboard.js:25 \u00B7 controller/web-server/client/keyboardHandlers/remote_keyboard.js:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 291 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/server/remote-keyboard.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"87475056b83c476bda0e10075a75ce61815bc67bbcb15be39a3398394fd251b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (51 identical lines \u00D7 2 files): controller/node-js/server/commands.js:11 \u00B7 controller/web-server/client/keyboardHandlers/commands.js:11 \u2014 these 2 files are line-for-line copies of one another \u2014 51 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/server/commands.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbaf49e6d2ee2a9ab4cb0b2e342d4af4f48272ce6e7a7b2208861d215ba3bf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): policy/frontend/src/modals/DatasetModal.tsx:20 \u00B7 policy/frontend/src/modals/PublishModal.tsx:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 338 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/frontend/src/modals/DatasetModal.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa44f3aaa22e6999f13ef6a6d39b60e55399405624d8b364fbb5eb6f793a689d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): open-code/src/utils/constants.js:23 \u00B7 open-code/src/utils/constants.js:64 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/utils/constants.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae8523f67989e92a51eb983bd5690e9b8199acd1c276475252bdfa223c09d94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): open-code/src/components/blockly/blocks/customblocks.js:164 \u00B7 open-code/src/components/blockly/blocks/customblocks.js:203 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/blocks/customblocks.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"73096a9807228bfd3280baeb900e06cb36161daf54c79d9bb8823064911ca43d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 4 locations): open-code/src/components/blockly/blocks/customblocks.js:359 \u00B7 open-code/src/components/blockly/blocks/customblocks.js:393 \u00B7 open-code/src/components/blockly/blocks/customblocks.js:427 \u00B7 open-code/src/components/blockly/blocks/customblocks.js:461 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/blocks/customblocks.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e7a3f950d81d6798d4ba65929a66edf5b4b89d699434ab9971ea9721279a63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): controller/node-js/client/buttons.js:10 \u00B7 controller/web-server/client/keyboardHandlers/buttons.js:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 209 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/buttons.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"533b4a5869482e00e53aef57e10d9dad390104f6350d3a53c695f36254b98cc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): controller/node-js/client/bot-message-handler.js:14 \u00B7 controller/web-server/client/keyboardHandlers/bot-message-handler.js:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 123 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/bot-message-handler.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d2d23db124ef84ad22fc204aa1ce1c09daaa36d161f96a46a55a9862ce0e14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): controller/node-js/client/webrtc.js:24 \u00B7 controller/web-server/client/webRTC/webrtc.js:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 130 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/webrtc.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5864e97ff5fd360c3fec0a40fcd1d4a3be737ff773491d61d54b06eca57209fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): open-code/src/services/googleDrive.js:358 \u00B7 open-code/src/services/googleDrive.js:386 \u2014 both copies are in the same file, so extract the block 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":"open-code/src/services/googleDrive.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a20dc6e27b650424ce9be7845ce9dfbea008b6c2afb3bb3fbb85dd935156c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): open-code/src/components/bottomBar/modelUploadingComponent.js:177 \u00B7 open-code/src/components/homeComponents/header/editProfileModal.js:176 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/modelUploadingComponent.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"562785ac331c3edd17885d97f96cd3aa5ca87ee38f0dbebc153f7a58b685634d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): open-code/src/components/blockly/blocks/generalBlocks.js:33 \u00B7 open-code/src/components/blockly/toolbox/Toolbox.js:57 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/blocks/generalBlocks.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2c0a55fb453fe064827a140f32d21d6ec37a6eb03cbd2291c5ed1baee726e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): open-code/src/components/inputComponent/simpleInputComponent.js:164 \u00B7 open-code/src/components/inputComponent/simpleInputComponent.js:183 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/inputComponent/simpleInputComponent.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46b7163f469d83499c594135395b7cb4aca8f75c944d38a6274f574b6b68efd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): open-code/src/components/blockly/toolbox/Toolbox.js:37 \u00B7 open-code/src/components/blockly/toolbox/Toolbox.js:62 \u2014 both copies are in the same file, so extract the block 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":"open-code/src/components/blockly/toolbox/Toolbox.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"230942d580c3ebce2aea919239fbae247cf2b6d7b98a248be62e9ad521017f80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): open-code/src/components/homeComponents/header/headerComponents.js:265 \u00B7 open-code/src/components/navBar/header.js:75 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/headerComponents.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eedc1f49fc7703e10e50f5a8371408de560cd5c12e5976890397e142c53c1a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): open-code/src/components/bottomBar/modelUploadingComponent.js:42 \u00B7 open-code/src/components/navBar/header.js:101 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/modelUploadingComponent.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca510710282e72c8ec254a3068ebcd5447ee857a00be7dce7142461ea81bc82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): open-code/src/components/homeComponents/header/headerComponents.js:265 \u00B7 open-code/src/components/homeComponents/header/profileOptionModal.js:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/headerComponents.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"32291296384f53a9ec2c11b4f8cb182ffafe4ad2a4247d3c531dd91bbcd2b266"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): open-code/src/components/bottomBar/bottomBar.js:403 \u00B7 open-code/src/components/editor/codeEditor.js:32 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"945c6749ec36a55b61301660097ad438cfe849c98e19efee1c74aea37bcec5e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): open-code/src/apis/models.js:14 \u00B7 open-code/src/apis/projects.js:18 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/apis/models.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b669bc63f04cf67f0c071d298673b26bc3d797bfd5185245c49996476875c041"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): open-code/src/components/blockly/index.js:27 \u00B7 open-code/src/components/blockly/index.js:39 \u00B7 open-code/src/components/blockly/index.js:51 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/index.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6809dd8e8a259d529f89ba8f5e82817b192ff74c7676b0189bc137c19653b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): open-code/src/components/drawer/drawer.js:26 \u00B7 open-code/src/components/editor/codeEditor.js:28 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/drawer/drawer.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5440731955d8831937de96d8158cc02aa8aecb0c19edb26e67925dda61f2f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): open-code/src/components/homeComponents/header/helpCenterModal.js:86 \u00B7 open-code/src/components/homeComponents/header/helpCenterModal.js:102 \u2014 both copies are in the same file, so extract the block 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":"open-code/src/components/homeComponents/header/helpCenterModal.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be05940380ea115b9b3cc6e00186198b1a73ddfcb585c8b470fc83b465774fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): controller/web-server/client/index.js:109 \u00B7 controller/web-server/client/index.js:201 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/index.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe838dc85d35f2a4808ba048b75fb75592ac8b395e5458da7aca0aa997103df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): controller/web-server/client/index.js:173 \u00B7 open-code/src/App.js:69 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/index.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"72456ea4041611df492d7db1028d4d203282dbe6fa339fae9363ff31bc27b8d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): policy/frontend/src/pages/HomePage.tsx:12 \u00B7 policy/frontend/src/pages/HomePage.tsx:21 \u2014 both copies are in the same file, so extract the block 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":"policy/frontend/src/pages/HomePage.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e583292cd269070f7ff12d2a7f2aef8cc287dbfa7b84eaa7d6b5591f99023ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): policy/frontend/src/pages/ModelsPage.tsx:79 \u00B7 policy/frontend/src/pages/TrainPage.tsx:62 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/frontend/src/pages/ModelsPage.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"af891102364574a696f44dfd5c4a251d6140689e147aa36c99cef2464578678e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): open-code/src/components/bottomBar/bottomBar.js:459 \u00B7 open-code/src/components/bottomBar/bottomBar.js:469 \u00B7 open-code/src/components/bottomBar/bottomBar.js:480 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"099021a63929f27ec40258750e271649dc9b6250905490767840aeb325fea431"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): open-code/src/components/bottomBar/bottomBar.js:510 \u00B7 open-code/src/components/bottomBar/bottomBar.js:515 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2397bbf7e13fca900b7559c4c10811e19c721156e433f0eef43c589ad15b3fb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: controller/node-js/test/commands.test.js:12 reaches past another workspace package\u0027s public entry into its internals with a relative path (../server/commands.js) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/test/commands.test.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"18461506e1fd45d3b967564557f3de357b7c8b0c5948f8ac07669ac1c4e1d1d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processKey (cyclomatic 39, cognitive 65): processKey has cyclomatic complexity 39 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/remote_keyboard.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45188416f64f5d9dcfe03eee347d56dc38f2ca2642852936f5e21fc3e06d9aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processKey (cyclomatic 29, cognitive 35): processKey has cyclomatic complexity 29 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/server/remote-keyboard.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3c4f1b50660d395e9b12b6870c86a544af8edd497c5574f2ad4f0e4cdb294e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RightDrawer (cyclomatic 26, cognitive 25): RightDrawer has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/drawer/drawer.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d501bb888cc7bf16af1f6d2fb0d984d28596123744a8246c587d3167818f2ddc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfileOptionModal (cyclomatic 26, cognitive 16): ProfileOptionModal has cyclomatic complexity 26 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/profileOptionModal.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"10843eaea32d60328b9a23fe9d36f76e2ffe6f3837ad99ae58d86209dee6fd70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateCode (cyclomatic 21, cognitive 49): generateCode has cyclomatic complexity 21 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b465ee76fa592607190a21bcac8a76169409ef5b76f8444cb6b2f3702544fa3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UploadCodeButton (cyclomatic 18, cognitive 15): UploadCodeButton has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c529403e8c1858be6e81896d82ef61c9b17d1f0f5b9e4167389b7ff93793a0ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Card (cyclomatic 15, cognitive 14): Card has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/myProjects/card.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98dbfcfe66a18561ae987d9dd649cccf0fe6b8218bad255c864834e707b1383"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditProfileModal (cyclomatic 15, cognitive 10): EditProfileModal has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/editProfileModal.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5f05d78c9d063cc123c4f8b9431cc6b08b1642e49091b213099c19c4aa1817"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RightSection (cyclomatic 15, cognitive 6): RightSection has cyclomatic complexity 15 and cognitive complexity 6; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/navBar/header.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"58794eabfd092b2ee46b8d0d66c70ebaff1f2df65c257746bcd59c3f15ac9833"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 13, cognitive 14): handle has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/bot-message-handler.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1ad03a2baee282a7b626772d4f3409f14c9b5fdd35983d0d9fb5f79587e947"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BottomBar (cyclomatic 13, cognitive 11): BottomBar has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4806bbcaed056b11604a491525ff7dbe97a726356c098508894ca0088bb00cf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CarousalComponent (cyclomatic 12, cognitive 8): CarousalComponent has cyclomatic complexity 12 and cognitive complexity 8; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/carousel/carousel.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"394c94eb957263c450e206ee82f1d11dfcdd1b540df9a369ee443c7a310e2357"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clickedButton (cyclomatic 11, cognitive 11): clickedButton has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c35defb5571efc48980385f912746c92da7cd189c22adcfe748f3d8ea85c08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreateNewProjectModal (cyclomatic 11, cognitive 10): CreateNewProjectModal has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/myProjects/newProjectButton.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2a9ab9188253d73e06bbeaf33b9d50dc47723e0e4dcd1733f4b6b02fd77f28"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/blocks/customblocks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"161db6404564e4b1cf26aebe28b25ecd2acc1e230c6083ceb0289bf95dddf5ac"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/bottomBar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d40f877ae3006b28f52269bcc4c3abaac040af0d76e4ad008b0620d1317fbd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/services/googleDrive.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"769c06057d90a125ad0853c4541a6f9e2f1740abaf005606e41837e2e9535449"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/services/workspace.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fd6dc4b75b0305b6e9e9af6da1f91f56fe03ee312be7012f4ab4ec9e4da0a6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/utils/constants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd219321830c16dc224e99b74e2e6a93da050c8b369209b2312f20326acdcbf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/generator/javascriptGenerator.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42761855dbd330f3256bbb0e9c66b60a91fe51d7b51373c114dc59727854226"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/headerComponents.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f83fadad95075cdb5e706d7abb898fb59ecc37b4136fcf6a0d7a1adcb04bfc0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/generator/pythonGenerator.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4483ccbea75a998ae380a997c8a180ce34e510f189d18e7a42f2fd1455294e7b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/navBar/header.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cff6b46bccf1648b32d57b9eafaee115df5d889434c2945b2bc58b987f67a4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/BlocklyComponent.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2660db6ea015cb953471e2c3621d62c402c907e841f894f1a74471459d6e5f9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/editProfileModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d0a0e991a7b4709c224093fed11f48529a4ca64b44fd53aa5cbcbf6eee9cb3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/bottomBar/modelUploadingComponent.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"485165b5f6745f3685b5e148ecb06d2557070c6e63cfd001661e1bd034797b63"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"122a5e499f890e3dd8f15cbc5f9d761767eb035bcf94bb90451facf15a7e7686"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/myProjects/card.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90d1e4c3bc22a593a1fc3e6a7ee155811850a94c0ee8422cba21f1d04273d34"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/myProjects/newProjectButton.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c631771e1a9a2b9b968edd78894d2bffb58118604699254bb1d9098deae7e55"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/inputComponent/simpleInputComponent.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cbf51077aff6eab77a7857a0df7733795694bf010151d7bbd1d59d58522b2a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/App.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"456057b81639d9bfc6a1c1a1e8994c88f79faa52aef42db8a10c553982d2d112"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/profileOptionModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bb658a5728da6956863607b2b346372eae77575cc06f4d851a8ac4e3fd5c34"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/keyboard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b35919c45ebd37a9446fa121281eb4398dae409f2da64767e1880162f0ec12"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/toolbox/Toolbox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d57404fe8957693846a9cf7b077e40bb9dc937524a6a3ea498fe0edaf5d5698"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/drawer/drawer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae23fd29074d72ccb9040198477548c83d21b39ee4f52fdf05dadcf730b44008"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/server/remote-keyboard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e129cce7c0a61209bb58788d8caff2a8a0f1f5b1234d7f341433bec85807e81"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/server/server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2850fa851e632bf0c50018346a2ddc87a4a7c72075318d2814a07e0a725af4c1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/commands.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ecee7fbf0c6809955f991d8456c28eef0bfcb0caa5c8a161864c07e3683629"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/remote_keyboard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f2b07b10bffa8e78741b0b7f1ab62817c029785cc169aa107d2b212a6d582f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/services/firebase.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5352e3f2fd543561c6bf757a0da0eae8652887412ffd0dbc0f29c7cbc50434e9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/helpCenterModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5e0ac50c8d7a6fa9a7e0c75054499bd452f9bbc05cb73b6ffb0cab77d092c5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/keyboard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c15df3ac8dbeda9649f065143572d78919b0bea1151a0129fe0acdc83dde9c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/apis/projects.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ee8d55ae55ff44818b1ed46c0e9c33f3273fcb7446666840637f7b431d1d03"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/server/bot-connection.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d13d64e647c62a5488a7f5530e456a2d252cf2793e58dff13e79697308cf4f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/websocket/connection.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f049b12b6c0d588dd67189d0cd973a029674aa31fa834b748cd3cc4e29ba641"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/myProjects/newProject.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65941bced7484f36b8dfcfdf2cbe2cd6427f404dcd33094da9af9a2318046359"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/editor/codeEditor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a968f252f0a51a54f9428f982a271916c06c41597ce5a5204283b213e739aa7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/webRTC/webrtc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61220b79f66f23c4f0b18b521eed6968acbd11fc33a15af6f205771c9233b54f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/node-js/client/webrtc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f4f2fdd7f4b100ac9cde1badc3a6d9024b808382638cdc7d7a58272dd0afe"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/homeComponents/header/logOutAndDeleteModal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8431de7f274aecfeecc9853b7c3d07705096748d118c6419d8aad559f71d98a9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/firebase/APIs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2aae3a3f4c3a8b4ba48d9c9d4082c50e8bc0ee0c49788b6fc42f72375da1531"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/bot-message-handler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d5470e2ba4074dfa5a80955a7ae922fb34476892748967e4b003d270d58a86"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/keyboardHandlers/buttons.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2240974f9ce9f5fcede37d1d0095e0591ce7d26f0808fd73fd6aba24edf6b9a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59667ccce48d8e302f73a670fe0d6e8446b19a991b6367f2dc4aeda9ad56f25e"}},{"ruleId":"R6","level":"warning","message":{"text":"No typecheck script: test \u2713 \u00B7 lint \u2713 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"912edc7f1fd20bf80ef68c3293e3048565115e48707dc5f9d492201598794658"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027FirebaseStorage\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/firebase/authentication.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bf9e4fb60c3785c7c73df742edc427f3ce3b0ee33dba0e62748806694634d5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027conditionalLoops\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/blocks/generalBlocks.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37819bc4efddef41de90b1ebbb2f0cddf37ba026b4e8e655f8ae904a0fa2148"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/components/blockly/fields/DateField.jsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a967d7931497dd7bf7de4fd46b3ced88148d47b6e73a46602ba0016806d29cf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/services/firebase.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"347723de56aca493784b194ccecdc51a8db274edc8609fa3f3ffab9a68a530e3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027handleUserRestriction\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/services/workspace.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b423a5e4403d68eac58d4ea54cda6d15dd116a5ea24df3d462365513d6946f1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buttonColor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/utils/color.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf62197cd949769af92cefc77c6ba8d03399d6d35375aec9aa6677417bb66015"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027date-fns\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/frontend/src/pages/ModelsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02e822e0043f9cac0b4edb5e8d356996407a6844db9b4033fd9822555b2e623"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027cookie-parser\u0027: Declared in controller/node-js/server/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"13f739ed0c42312ee18b233fb656df34fdf6495ffd70f0278b57f6f10ad50095"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027debug\u0027: Declared in controller/node-js/server/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4eed610052dbffb605aab99f79de0958cbe34a6b23293f8e5e881ad987fccf9"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027ejs\u0027: Declared in controller/node-js/server/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f98c9473237275ff3cc45b37269aa1ae92c529b2ebc89dc32a17d0775f372a1b"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027@testing-library/react\u0027 in production deps: Only test files import it \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policy/frontend/src/App.test.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea21f0ae6c470d23cd6e4b772f1277ac40fe7a2db4ca9b6a029f44337c23ce71"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): open-code/src/App.js \u2192 open-code/src/components/router/router.js \u2192 open-code/src/App.js (one verified cycle inside a mutually-dependent group of 26 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/App.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"358b10e862d5fc161836249f5e8cf3cac5635d669d8ce65eded9d230801e024f"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): open-code/src/apis/models.js \u2192 open-code/src/services/firebase.js \u2192 open-code/src/services/workspace.js \u2192 open-code/src/apis/models.js (one verified cycle inside a mutually-dependent group of 5 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"open-code/src/apis/models.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daec15a4df7f26486b2fc624c6c47d13826f8f1fcace8d976d6ba4504afa577f"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://accounts.google.com/gsi/client\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/web-server/client/index.html"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4836abb4f87bae00b519664874475f80e95e117b5cb11a4d41f2c8f4cf7e1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connectionType != null \u0026\u0026 connectionType.equals(\u0022Bluetooth\u0022)\u0060 appears character-identically in 3 files \u2014 android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java, android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java, android/robot/src/main/java/org/openbot/app/robot/robot/RobotInfoFragment.java. 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":"android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"109c1060492cf7d1675074cf61205d92b75777f7daf77210eceb19e3ef355d0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connectionType != null \u0026\u0026 connectionType.equals(\u0022USB\u0022)\u0060 appears character-identically in 3 files \u2014 android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java, android/robot/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java, android/robot/src/main/java/org/openbot/app/robot/robot/RobotInfoFragment.java. 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":"android/robot/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f776f108c1cdd5d31f863cbfb71e023d2116786c40a30d16e826d93c249133e"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"CWE-319","shortDescription":{"text":"CWE-319"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"CWE-327","shortDescription":{"text":"CWE-327"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"CWE-502","shortDescription":{"text":"CWE-502"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"CWE-532","shortDescription":{"text":"CWE-532"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-561","guid":"522a7ba7-45e9-ab53-9088-45d86e04b53a","name":"CWE-561","shortDescription":{"text":"CWE-561"},"helpUri":"https://cwe.mitre.org/data/definitions/561.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"CWE-926","shortDescription":{"text":"CWE-926"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":158,"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."]}]}