{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"OscilloscopeStateProvider.captureTask (cyclomatic 122): OscilloscopeStateProvider.captureTask has cyclomatic complexity 122 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/providers/oscilloscope_state_provider.dart holds 3 of the 56 methods over the threshold \u2014 including the worst \u2014 and 119 of the 465 points over it (26%), 2.8\u00D7 the next-largest file (lib/view/widgets/navigation_drawer.dart at 43). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73aa1c779c270256cda77adee17e9ae7fd71c5c0b3b1b53de782bf3b9c2f190"}},{"ruleId":"D1","level":"warning","message":{"text":"_NavDrawerState.build (cyclomatic 58): _NavDrawerState.build has cyclomatic complexity 58 (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":"lib/view/widgets/navigation_drawer.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca47375258cae1024104b942c9d1447177cf39784bd4c45f02a2d86fad3763bd"}},{"ruleId":"D1","level":"warning","message":{"text":"MultimeterStateProvider._performMeasurement (cyclomatic 43): MultimeterStateProvider._performMeasurement has cyclomatic complexity 43 (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":"lib/providers/multimeter_state_provider.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5792cb796b7df7428bd09c8444f4e90dd3643055fedc928e1f5d81f5d88d103"}},{"ruleId":"D1","level":"warning","message":{"text":"_LoggedDataScreenState.build (cyclomatic 36): _LoggedDataScreenState.build has cyclomatic complexity 36 (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":"lib/view/logged_data_screen.dart"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"7756cde01f00e2a9779740d659902edaa36529b99b9874fc4c8ea201c4c30148"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_pslab::api::labrador::labrador_fetch_interpolated (cyclomatic 30): rust_lib_pslab::api::labrador::labrador_fetch_interpolated has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/labrador.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94c48863566b70e1f14c49bbabf096f662effa0f8ef0339c87ad88a0b55dc95"}},{"ruleId":"D1","level":"warning","message":{"text":"BMP180._validateCalibrationValues (cyclomatic 29): BMP180._validateCalibrationValues has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/bmp180.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cc1192fba334d1d553b92ceeeecbf2aa079a0c2150d2104b5bb916e9cb7021"}},{"ruleId":"D1","level":"warning","message":{"text":"_OscilloscopeScreenState.build (cyclomatic 29): _OscilloscopeScreenState.build has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/oscilloscope_screen.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b905d2b87b1f689aa93fb29d240a71d1eadf490512cb712bfc76acb133b570a"}},{"ruleId":"D1","level":"warning","message":{"text":"_AccelerometerCardState.build (cyclomatic 29): _AccelerometerCardState.build has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"af94359ee0fa7e21b5f676414044875f4fed01742e7e65e384fdca4e3646c55a"}},{"ruleId":"D1","level":"warning","message":{"text":"_GyroscopeCardState.build (cyclomatic 29): _GyroscopeCardState.build has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/gyroscope_card.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cb64cb7d1f406e873c9ed01ee92590fad1fb036f54a9983ebe1946cd913aac"}},{"ruleId":"D1","level":"warning","message":{"text":"_SensorsScreenState._performAutoscan (cyclomatic 28): _SensorsScreenState._performAutoscan has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/sensors_screen.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b93ac501849486769a37c9d2597ecd3058a2a8542ec1aa0fe1c6278b12fad85"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_pslab::api::labrador::labrador_calculate_wave_payload (cyclomatic 26): rust_lib_pslab::api::labrador::labrador_calculate_wave_payload has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/labrador.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d435941b3b3067bed64fc59057a463229e7177577ed5d3a6e22ab3b5656a48c"}},{"ruleId":"D1","level":"warning","message":{"text":"MAX30102Provider._calculateSpO2AndWindowBPM (cyclomatic 25): MAX30102Provider._calculateSpO2AndWindowBPM has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/max30102_provider.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"107ce4d4ef61e8b956dc1237c5251cb85548c632decec1f80ddcc2fd11e549d2"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_pslab::api::labrador::process_raw_bulk_frames (cyclomatic 25): rust_lib_pslab::api::labrador::process_raw_bulk_frames has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/labrador.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"37901b584511b0f442b8f11480fd416658b47de9085e5ac10a954f95a594fe97"}},{"ruleId":"D1","level":"warning","message":{"text":"PSLabFunctions.captureTraces (cyclomatic 24): PSLabFunctions.captureTraces has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6605081212091ee7635cacc05f16567ef7bda8706afc48b24bf7944dd6cd0480"}},{"ruleId":"D1","level":"warning","message":{"text":"PSLabOscilloscope.fetchSamples (cyclomatic 24): PSLabOscilloscope.fetchSamples 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":"lib/hal/pslab_oscilloscope.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba6bf97754a1c9125edcf476e19c06a5f1088877f401e6d7c55fe1a9c7963bc"}},{"ruleId":"D1","level":"warning","message":{"text":"OscilloscopeStateProvider.monitor (cyclomatic 23): OscilloscopeStateProvider.monitor has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/providers/oscilloscope_state_provider.dart holds 3 of the 56 methods over the threshold \u2014 including the worst \u2014 and 119 of the 465 points over it (26%), 2.8\u00D7 the next-largest file (lib/view/widgets/navigation_drawer.dart at 43). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"47df98088062db78657dbcf4e2c57ffb26ce37768562bcaf782a8a729c05b4b5"}},{"ruleId":"D1","level":"warning","message":{"text":"WebFirmwareFlasher._prepareFlashChunks (cyclomatic 22): WebFirmwareFlasher._prepareFlashChunks 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":"lib/others/web_firmware_flasher.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b932abead92f51ef9daa139889536ec7b4914e7b1398e69105cfaef30ba78069"}},{"ruleId":"D1","level":"warning","message":{"text":"_WaveGeneratorMainControlsState.build (cyclomatic 22): _WaveGeneratorMainControlsState.build has cyclomatic complexity 22 (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":"lib/view/widgets/wave_generator_main_controls.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9c4d0e19e0c544f0eb885bb4a520b76a790e8a7b61ef07854aacb4a90b5ead"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_pslab::api::common::setup_device (cyclomatic 22): rust_lib_pslab::api::common::setup_device 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":"rust/src/api/common.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"671d6b661f29284226010c66ed4d2efa17992adf517ed5f6455977dcdbde81e1"}},{"ruleId":"D1","level":"warning","message":{"text":"APDS9960._determineGesture (cyclomatic 21): APDS9960._determineGesture 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":"lib/communication/sensors/apds9960.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4583c8cc867abad27cc04b9a73882d099ab91f07e36f341df696f643f4c7b20"}},{"ruleId":"D1","level":"warning","message":{"text":"OledDisplayProvider.handlePanUpdate (cyclomatic 21): OledDisplayProvider.handlePanUpdate has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"785075cc509f5e966c0258e43e75bf8eb362f7356409c1ba45cec0bf8b81966e"}},{"ruleId":"D1","level":"warning","message":{"text":"_WaveGeneratorScreenState.build (cyclomatic 21): _WaveGeneratorScreenState.build has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/wave_generator_screen.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6852d640ce64d2a43425583adad351a325ca81c0e79bdf4e77de5f9e26aff3c9"}},{"ruleId":"D1","level":"warning","message":{"text":"PSLabFunctions.sqrPWM (cyclomatic 20): PSLabFunctions.sqrPWM has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"f046307a09913571ddaa860bfc9d78bf6af4e90ed2c14f8c8e8152df9836f703"}},{"ruleId":"D1","level":"warning","message":{"text":"ScientificDataAnalyzer.analyze (cyclomatic 20): ScientificDataAnalyzer.analyze has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/data_chart_analyzer.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7a1bc1c18801d9b863c348866a64aac83c9c41da2182993915289e43da45bf"}},{"ruleId":"D1","level":"warning","message":{"text":"DataService.computeRecordingDurationFromFile (cyclomatic 20): DataService.computeRecordingDurationFromFile has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/data_service.dart"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38edae90972575772832204d693d8401d87d0dd8367e830feb0767d4e96d91b"}},{"ruleId":"D1","level":"warning","message":{"text":"LabradorOscilloscope.fetchSamples (cyclomatic 19): LabradorOscilloscope.fetchSamples 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":"lib/hal/labrador_oscilloscope.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe37ca60e905d22134ee0f00f9c9d43c6af7c089b6ab654552719423b979b09"}},{"ruleId":"D1","level":"warning","message":{"text":"LabradorWebFirmwareFlasher.flashFirmware (cyclomatic 19): LabradorWebFirmwareFlasher.flashFirmware 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":"lib/others/labrador_web_firmware_flasher.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c5961114036c3a6cb3b23180854def820c21fdb82a912b8da1f5f052c88959"}},{"ruleId":"D1","level":"warning","message":{"text":"OscilloscopeStateProvider._buildRecordingMetadata (cyclomatic 19): OscilloscopeStateProvider._buildRecordingMetadata 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/providers/oscilloscope_state_provider.dart holds 3 of the 56 methods over the threshold \u2014 including the worst \u2014 and 119 of the 465 points over it (26%), 2.8\u00D7 the next-largest file (lib/view/widgets/navigation_drawer.dart at 43). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b9519678839ae4d54e18f5edcaf53648bb1cffab8f9675dbe7c991eff86af7"}},{"ruleId":"D1","level":"warning","message":{"text":"_AccelerometerConfigScreenState.build (cyclomatic 19): _AccelerometerConfigScreenState.build has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b32152a0a10d0aa649fa1ac830afc38619e11deaa6b03d81f330d17dd538c8"}},{"ruleId":"D1","level":"warning","message":{"text":"_GyroscopeConfigScreenState.build (cyclomatic 19): _GyroscopeConfigScreenState.build has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/gyroscope_config_screen.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcade3c47a225dc42f524d70633889e82d5e306245b03b7c0def360195c8add6"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_pslab::api::bootloader::prepare_flash_chunks (cyclomatic 19): rust_lib_pslab::api::bootloader::prepare_flash_chunks 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":"rust/src/api/bootloader.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28b418dacd144965915ba93b38d0d1b801a4d61a9208399ae1450bd3ec49a54"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 19): (anonymous) 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":"web/coi-serviceworker.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f510119131caf07f8cb16c3535af6466f4bb8ca7597ea67f2278ae2cfacb24"}},{"ruleId":"D1","level":"warning","message":{"text":"SoundClassificationService.classifyAudioWindow (cyclomatic 18): SoundClassificationService.classifyAudioWindow 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":"lib/others/sound_classification.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c163c28fb9516ae6e191761548ec136955c294007410aa563605ecd33b1bf7"}},{"ruleId":"D1","level":"warning","message":{"text":"_HomeScreenState._buildConnectedDeviceCard (cyclomatic 18): _HomeScreenState._buildConnectedDeviceCard has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/connect_device_screen.dart"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac8707f3914ec75d1576c05efba2518c9d8dba3722338146111f02b23107304"}},{"ruleId":"D1","level":"warning","message":{"text":"_FirmwareFlasherScreenState._startFlashingPslab (cyclomatic 18): _FirmwareFlasherScreenState._startFlashingPslab 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":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e9d46b5f92740e0e83e2668d032b50ea73a83095bfc2447ccab067a23475b3"}},{"ruleId":"D1","level":"warning","message":{"text":"_PSLabPinLayoutScreenState.build (cyclomatic 18): _PSLabPinLayoutScreenState.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/pin_layout_screen.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9302b69f84072137307249fe3f8eb8a5f3ef269b9b36729bcc6077dbaa860a8"}},{"ruleId":"D1","level":"warning","message":{"text":"_CommonScaffoldState._buildResponsiveActions (cyclomatic 18): _CommonScaffoldState._buildResponsiveActions 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":"lib/view/widgets/common_scaffold_widget.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb28edd912dc08516be7ffb1113b8bb068cb9385f3d7943610f53990064d583"}},{"ruleId":"D1","level":"warning","message":{"text":"PSLabFunctions.getCapacitance (cyclomatic 17): PSLabFunctions.getCapacitance 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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9cc23c9372956923610db429a37aa88f1af75dee44f8e69f842367c71c48a2"}},{"ruleId":"D1","level":"warning","message":{"text":"BoardStateProvider.initialize (cyclomatic 17): BoardStateProvider.initialize 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":"lib/providers/board_state_provider.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"63de5b0aec638af7f748782c5cd92fb8e5cdde63846738fcfa59487477105e9d"}},{"ruleId":"D1","level":"warning","message":{"text":"LogicAnalyzerStateProvider.analyze (cyclomatic 17): LogicAnalyzerStateProvider.analyze has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad97db71893175f9c7f28981bfb804e72f54cc9b913912a22500e0623dcc9ccf"}},{"ruleId":"D1","level":"warning","message":{"text":"LogicAnalyzerStateProvider.captureFour (cyclomatic 17): LogicAnalyzerStateProvider.captureFour 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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"227aedac971d05ea2ce916cc99e7be4851c208dd333b91a6c5ce8857b4c8146c"}},{"ruleId":"D1","level":"warning","message":{"text":"OledDisplayProvider._tickDino (cyclomatic 17): OledDisplayProvider._tickDino 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":"lib/providers/oled_display_provider.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"840e6de0ee25449e7f9a992b073904bdb26bdf3a5cc0dec69aebb31feb091a3a"}},{"ruleId":"D1","level":"warning","message":{"text":"_HomeScreenState.build (cyclomatic 17): _HomeScreenState.build 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":"lib/view/connect_device_screen.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d175fcc8e8c9b6bf6eef74dcdaf36d14d7b3bf231cba3a3594e9a0237206af"}},{"ruleId":"D1","level":"warning","message":{"text":"_ChannelParametersState.build (cyclomatic 17): _ChannelParametersState.build 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":"lib/view/widgets/channel_parameters_widget.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf33e051473a33e23756b3573f621a756c06214a0e87b9b55c745b0c174c721"}},{"ruleId":"D1","level":"warning","message":{"text":"_DataAnalysisState.build (cyclomatic 17): _DataAnalysisState.build has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d748aaae65182e7fcfc063010a2313cdc981ab7d6454219ea68f07bd7dc7a78"}},{"ruleId":"D1","level":"warning","message":{"text":"_AdaptiveSaveDialogState.build (cyclomatic 17): _AdaptiveSaveDialogState.build has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/save_filename_dialog.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46500dfb8eb60cbd62d09d732a7413b5628da15fb8276dc235845622ecfad92"}},{"ruleId":"D1","level":"warning","message":{"text":"PSLabFunctions.getLAInitialStates (cyclomatic 16): PSLabFunctions.getLAInitialStates has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed6d09fb3a38b0d412e495b9ce27e25694a8c7a42ba3a8ef993aead732ca993"}},{"ruleId":"D1","level":"warning","message":{"text":"APDS9960.getGesture (cyclomatic 16): APDS9960.getGesture has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/apds9960.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f537ff4cc7fe57de1dc6bd1af3156ac7f82a6ef26e7aef1a9f7ceb6668a8bc0"}},{"ruleId":"D1","level":"warning","message":{"text":"AccelerometerStateProvider.initializeSensors (cyclomatic 16): AccelerometerStateProvider.initializeSensors has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df2c976baf442615a9060a1bc25e3a85bb478a8ef971e9c293f534c22763cc2"}},{"ruleId":"D1","level":"warning","message":{"text":"GyroscopeProvider.initializeSensors (cyclomatic 16): GyroscopeProvider.initializeSensors has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/gyroscope_state_provider.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0745854fd15163fc1a4504ade5795d473a21ef3d63d4b445898df0869dca67ea"}},{"ruleId":"D1","level":"warning","message":{"text":"LogicAnalyzerStateProvider.captureThree (cyclomatic 16): LogicAnalyzerStateProvider.captureThree has cyclomatic complexity 16 (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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7d496eda2f5c1c6a2e4320c1b27734ac822945e5225671e8de30722d46c128"}},{"ruleId":"D1","level":"warning","message":{"text":"OledDisplayProvider._tickRacing (cyclomatic 16): OledDisplayProvider._tickRacing has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"e491c2a07de6cb72441e68ab51d6613904a4d1b0103a2e9267d1672016c15c42"}},{"ruleId":"D1","level":"warning","message":{"text":"_BarometerScreenState.build (cyclomatic 16): _BarometerScreenState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/barometer_screen.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ebfcf2a25e485336eaa9ada5d028dcde9cfe4c8ea5bc123d5977ec2a802e80"}},{"ruleId":"D1","level":"warning","message":{"text":"_OscilloscopeTabsState._handleKey (cyclomatic 16): _OscilloscopeTabsState._handleKey has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/oscilloscope_screen_tabs.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7e6054f2edf17cad6fb54e6fe13d0735919214ee721687936ebb59de8845b5"}},{"ruleId":"D1","level":"warning","message":{"text":"_TimebaseTriggerState.build (cyclomatic 16): _TimebaseTriggerState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/timebase_trigger_widget.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eb1de29bf8277a0c8e805b25fc3775ee5617025d2d37143005e51fa933b41b"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_pslab::api::common::wifi_read (cyclomatic 16): rust_lib_pslab::api::common::wifi_read has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/common.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"213c84907e3c5d0eab40b6f7d3c9501b425e7dfbb0855be341cd5f7ded676276"}},{"ruleId":"D2","level":"warning","message":{"text":"OscilloscopeStateProvider.captureTask (cognitive 376): OscilloscopeStateProvider.captureTask has cognitive complexity 376 (threshold 15). Drivers by points: if/else 57 (220 pts), loops 16 (65 pts), ternaries 11 (47 pts), boolean chains 39, error handling 2 (5 pts) (nesting depth added 251). 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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"091728bdca2564a5b8debf30a892d6c930b2bbcc99efff61cec5b275f8910242"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimeterStateProvider._performMeasurement (cognitive 116): MultimeterStateProvider._performMeasurement has cognitive complexity 116 (threshold 15). Drivers by points: if/else 39 (88 pts), ternaries 4 (18 pts), boolean chains 4, loops 1 (3 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 66). 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":"lib/providers/multimeter_state_provider.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee43a460d2797833ef123bcdf24c9e6a21a1d188ed1d053cf712c710b2585ed"}},{"ruleId":"D2","level":"warning","message":{"text":"_SensorsScreenState._performAutoscan (cognitive 77): _SensorsScreenState._performAutoscan has cognitive complexity 77 (threshold 15). Drivers by points: if/else 18 (49 pts), error handling 5 (18 pts), loops 2 (6 pts), boolean chains 4 (nesting depth added 48). 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":"lib/view/sensors_screen.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2e0e52633a0d2679a99c9b69ef9c1f3b873253f5b2a3466c8df1b8afae5847"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::labrador::labrador_fetch_interpolated (cognitive 72): rust_lib_pslab::api::labrador::labrador_fetch_interpolated has cognitive complexity 72 (threshold 15). Drivers by points: if/else 29 (55 pts), loops 5 (14 pts), boolean chains 3 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/labrador.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5de9ceb588d9d1a5cbebd0ea571e0a51edcec9329f6a731b7c901f74f8fa54"}},{"ruleId":"D2","level":"warning","message":{"text":"PSLabFunctions.captureTraces (cognitive 70): PSLabFunctions.captureTraces has cognitive complexity 70 (threshold 15). Drivers by points: if/else 21 (55 pts), ternaries 2 (8 pts), loops 1 (4 pts), error handling 1 (2 pts), match/switch 1 (nesting depth added 44). 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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"608c6287f8920a0831891a2eb195468930f90fd6e463b7e1862e074146ecfc8c"}},{"ruleId":"D2","level":"warning","message":{"text":"_NavDrawerState.build (cognitive 69): _NavDrawerState.build has cognitive complexity 69 (threshold 15). Drivers by points: ternaries 29, if/else 25 (27 pts), boolean chains 13 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/navigation_drawer.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dbfe30e4b98b74ef3a9e60990754a439c6831fb727f90648c78203c349a005"}},{"ruleId":"D2","level":"warning","message":{"text":"OscilloscopeStateProvider.monitor (cognitive 50): OscilloscopeStateProvider.monitor has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (43 pts), boolean chains 7 (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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea50dfc8f775325e421a788e012a79e4c11df57c470e5d1452331cf490f38b9"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::common::query_scpi_binary_rust (cognitive 49): rust_lib_pslab::api::common::query_scpi_binary_rust has cognitive complexity 49 (threshold 15). Drivers by points: if/else 9 (48 pts), loops 1 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (rust_lib_pslab::api::common::query_scpi_binary_raw_rust) 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":"rust/src/api/common.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d520d33cfe7a9284d42774e9c8e51f9bf900e682086ab5219ede8de2b6ca1d2"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::common::query_scpi_binary_raw_rust (cognitive 49): rust_lib_pslab::api::common::query_scpi_binary_raw_rust has cognitive complexity 49 (threshold 15). Drivers by points: if/else 9 (48 pts), loops 1 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (rust_lib_pslab::api::common::query_scpi_binary_rust) 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":"rust/src/api/common.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"d467028490017d43363682c7be7068775597dc9b01567a7f5c7a2798a9fa679d"}},{"ruleId":"D2","level":"warning","message":{"text":"DataService.computeRecordingDurationFromFile (cognitive 48): DataService.computeRecordingDurationFromFile has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (30 pts), ternaries 4 (10 pts), loops 2 (6 pts), boolean chains 1, error handling 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/data_service.dart"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f98594d4928f265718784c77e94afa794ebcbd156da51bd8327c706623ec55"}},{"ruleId":"D2","level":"warning","message":{"text":"_LoggedDataScreenState.build (cognitive 48): _LoggedDataScreenState.build has cognitive complexity 48 (threshold 15). Drivers by points: if/else 20 (29 pts), ternaries 11 (12 pts), boolean chains 7 (nesting depth added 10). 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":"lib/view/logged_data_screen.dart"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"15aa925ff5ceee34fc9d7ab3e68f3b08a134e392d2b8a5caa62cfdcb47dca8c6"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::labrador::labrador_calculate_wave_payload (cognitive 44): rust_lib_pslab::api::labrador::labrador_calculate_wave_payload has cognitive complexity 44 (threshold 15). Drivers by points: if/else 24 (32 pts), loops 5 (7 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/labrador.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a61641213615766e8a74b7b8665441f8b01b42e205b9f24a083fe8fe41b327"}},{"ruleId":"D2","level":"warning","message":{"text":"WebFirmwareFlasher._prepareFlashChunks (cognitive 43): WebFirmwareFlasher._prepareFlashChunks has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 6 (10 pts), ternaries 2 (5 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/web_firmware_flasher.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c370a0aeef6c9c868975d9d18fb93e1b149a4ab72241ed0842311720edca576b"}},{"ruleId":"D2","level":"warning","message":{"text":"_HomeScreenState.build (cognitive 43): _HomeScreenState.build has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 11 (31 pts), if/else 7 (11 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/connect_device_screen.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98334adfd9100627c922003d4f95591479a3ae94d1aee2a0067e15ebc9fc734"}},{"ruleId":"D2","level":"warning","message":{"text":"APDS9960.getGesture (cognitive 42): APDS9960.getGesture has cognitive complexity 42 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 4 (15 pts), boolean chains 4, error handling 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/apds9960.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f345824740227b5db75d32132b345e54d12199a72a94a03aab25876520e1080"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::labrador::process_raw_bulk_frames (cognitive 42): rust_lib_pslab::api::labrador::process_raw_bulk_frames has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 3 (7 pts), match/switch 3 (7 pts), boolean chains 1 (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":"rust/src/api/labrador.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5e9ca3e3f6228a3b67d888ac17b7c8bc142dfe048f93a50d169734c9f71bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"LabradorWebFirmwareFlasher.flashFirmware (cognitive 41): LabradorWebFirmwareFlasher.flashFirmware has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (22 pts), error handling 6 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/labrador_web_firmware_flasher.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5b064534ff221e45244408b1c03ccc1e54e943f2acf95043d383d753fe195e"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::common::wifi_read (cognitive 41): rust_lib_pslab::api::common::wifi_read has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 2 (4 pts), match/switch 1 (4 pts), boolean chains 1 (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":"rust/src/api/common.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6d5f8ee297a770ea47ba61b5f2253461c13e9cc4f7d54aa39b9dc620f3b188"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::common::setup_device (cognitive 40): rust_lib_pslab::api::common::setup_device has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 4 (7 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/common.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f49e831ea3a67b8dc92266a78b341819cbf570cd3a3e1632364ba2ba3bc5506"}},{"ruleId":"D2","level":"warning","message":{"text":"DataService.saveDataFile (cognitive 39): DataService.saveDataFile has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (11 pts), error handling 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/data_service.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f19532772ca08d5e74ffcd2dfec1b85aa23e93d802a424e5c4c6ad83ea5e39"}},{"ruleId":"D2","level":"warning","message":{"text":"_FirmwareFlasherScreenState._buildGitHubPanel (cognitive 38): _FirmwareFlasherScreenState._buildGitHubPanel has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (28 pts), ternaries 2 (7 pts), boolean chains 3 (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":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b95fb2335f2a10aec2350bc2ac9fbbd6288d248079658d02908001d127b5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"MAX30102Provider._calculateSpO2AndWindowBPM (cognitive 36): MAX30102Provider._calculateSpO2AndWindowBPM has cognitive complexity 36 (threshold 15). Drivers by points: loops 8 (14 pts), if/else 6 (10 pts), boolean chains 8, ternaries 2 (4 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":"lib/providers/max30102_provider.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeffd129359ab09489d2ee19cbf8434eca50465af659fb1f76ea4200f0379115"}},{"ruleId":"D2","level":"warning","message":{"text":"_FirmwareFlasherScreenState._startFlashingPslab (cognitive 36): _FirmwareFlasherScreenState._startFlashingPslab has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (32 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"167e915fd40e6db02cba7d1c9f8525430bd7ae108437b9a5e9ab7ddb6c37c706"}},{"ruleId":"D2","level":"warning","message":{"text":"PSLabFunctions.getLAInitialStates (cognitive 34): PSLabFunctions.getLAInitialStates has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (33 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"11727195d94500b339a8f702dc1dafa1d53242d6a14627bec1b478330421ac72"}},{"ruleId":"D2","level":"warning","message":{"text":"_FirmwareFlasherScreenState._downloadAndPrepareAsset (cognitive 34): _FirmwareFlasherScreenState._downloadAndPrepareAsset has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 1 (4 pts), error handling 2, boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9916376c82b9be47604d8e1822603fb5980b1e17c954175ccd5658ddac6d1d82"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::bootloader::prepare_flash_chunks (cognitive 34): rust_lib_pslab::api::bootloader::prepare_flash_chunks has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 6 (10 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/bootloader.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf6dd9d9bc5cb1826462ce717a3cc8069c91b8ec689e330e057835cf278c01f"}},{"ruleId":"D2","level":"warning","message":{"text":"PSLabFunctions.fetchData (cognitive 33): PSLabFunctions.fetchData has cognitive complexity 33 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 7 (13 pts), error handling 1 (2 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 18). 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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ca384aa3fa2c963e3a62f33813c47396bfcd9370c6005140ef64de144da99c"}},{"ruleId":"D2","level":"warning","message":{"text":"_WaveGeneratorScreenState.build (cognitive 31): _WaveGeneratorScreenState.build has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (21 pts), ternaries 6, boolean chains 4 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/wave_generator_screen.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e20b118120e6f29b00ca9570292bcbc8481a812b1496fd161499b71ab17aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"DataService.readDataFromFile (cognitive 30): DataService.readDataFromFile has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (7 pts), error handling 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/data_service.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde6a3460c95b3fb01eed58c640e64ce2b6c17d04aeae754f92db2449ef52a06"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundClassificationService.classifyAudioWindow (cognitive 30): SoundClassificationService.classifyAudioWindow has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/sound_classification.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b0d95def7100ec97ed09e43fa6fa7334649f4a03807a46f6b3d40a42cd6fdd"}},{"ruleId":"D2","level":"warning","message":{"text":"OscilloscopeStateProvider._buildRecordingMetadata (cognitive 30): OscilloscopeStateProvider._buildRecordingMetadata has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 4 (6 pts), ternaries 3, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbd8f84c42e6a8b8283e83f36b3d6b54899aee6713885bb44644140bda8df90"}},{"ruleId":"D2","level":"warning","message":{"text":"OscilloscopeStateProvider.autoScale (cognitive 30): OscilloscopeStateProvider.autoScale has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a27b1b7b0be1a39284ad6d4d18247a52cdab671a0bea6158702faae67d284e0"}},{"ruleId":"D2","level":"warning","message":{"text":"_CommonScaffoldState._buildResponsiveActions (cognitive 30): _CommonScaffoldState._buildResponsiveActions has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 4 (12 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/common_scaffold_widget.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d8a85cc42271dfb49716666c2bcd10746f4a238526d865bc239b7736bea084"}},{"ruleId":"D2","level":"warning","message":{"text":"DataService.pickAndReadFile (cognitive 29): DataService.pickAndReadFile has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 1 (4 pts), boolean chains 2, error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/data_service.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d63e2c83facd897e236edade44444c1ed2bc7710e57540850c201fdff54252"}},{"ruleId":"D2","level":"warning","message":{"text":"ThermometerStateProvider._switchSensorSource (cognitive 29): ThermometerStateProvider._switchSensorSource has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (21 pts), error handling 4 (8 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/thermometer_state_provider.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fea4f00579a01e8489f4e9c2e007083ff19ec097506670c10ee04bc8133381d"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecompileBinaries.run (cognitive 29): PrecompileBinaries.run has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (8 pts), error handling 1 (4 pts), ternaries 1 (nesting depth added 17). 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":"rust_builder/cargokit/build_tool/lib/src/precompile_binaries.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3da5c60be82f94025c26eaf7e514940b6f11f3a1759602790ba9f9a1d8f4ad"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::common::get_available_ports (cognitive 29): rust_lib_pslab::api::common::get_available_ports has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (5 pts), boolean chains 4 (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. This shape REPEATS in the file: one other method here (rust_lib_pslab::api::common::check_desktop_device_present) 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":"rust/src/api/common.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9c02e5ca797248821e14f906a853d8670ac597736ec4885c5ad481cde1738f"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::common::check_desktop_device_present (cognitive 29): rust_lib_pslab::api::common::check_desktop_device_present has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (5 pts), boolean chains 4 (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. This shape REPEATS in the file: one other method here (rust_lib_pslab::api::common::get_available_ports) 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":"rust/src/api/common.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"232486c5733c76d53fbcb47482a350839b5fa6cdc3efa59db6e7c71649711128"}},{"ruleId":"D2","level":"warning","message":{"text":"BMP180._validateCalibrationValues (cognitive 28): BMP180._validateCalibrationValues has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 16, if/else 12. 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":"lib/communication/sensors/bmp180.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc14efe279d04a3c7e08db22c3833699f24b665413f8c166ff581394e3510b32"}},{"ruleId":"D2","level":"warning","message":{"text":"LabradorOscilloscope.fetchSamples (cognitive 28): LabradorOscilloscope.fetchSamples has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, loops 2 (3 pts), ternaries 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hal/labrador_oscilloscope.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"96291290e07e4cdea35d2a412004a4f625d06cd47dcb7e56f57329be617a7635"}},{"ruleId":"D2","level":"warning","message":{"text":"ScientificDataAnalyzer.analyze (cognitive 28): ScientificDataAnalyzer.analyze has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 4, loops 2 (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":"lib/others/data_chart_analyzer.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"333bba5c895a97245d29c53d03ad01d4cadcc970af188b719f6e8ebb29c72c81"}},{"ruleId":"D2","level":"warning","message":{"text":"OLED.sendFrameBuffer (cognitive 28): OLED.sendFrameBuffer has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (9 pts), error handling 2 (5 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/oled_display.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea516015457a1527820e8e4ac9c2b35fb94df26099507774c109393b449bb6b7"}},{"ruleId":"D2","level":"warning","message":{"text":"AccelerometerStateProvider.initializeSensors (cognitive 28): AccelerometerStateProvider.initializeSensors has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 3 (8 pts), boolean chains 5 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a16e5159d795be607c62d834b88df36ea090030c81b34e980f16b5488758ae"}},{"ruleId":"D2","level":"warning","message":{"text":"GyroscopeProvider.initializeSensors (cognitive 28): GyroscopeProvider.initializeSensors has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 3 (8 pts), boolean chains 5 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/gyroscope_state_provider.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"094bc0af7209a724402b84fc970574abd87cf75cb97aa8c913092a045fb3540d"}},{"ruleId":"D2","level":"warning","message":{"text":"_OscilloscopeScreenState.build (cognitive 28): _OscilloscopeScreenState.build has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 10, ternaries 9, if/else 8, match/switch 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":"lib/view/oscilloscope_screen.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dad2df13ef1bcdeca447cc9aa6d2c2a7c3dd915d4c611f9bd50a38f4502529d"}},{"ruleId":"D2","level":"warning","message":{"text":"_AccelerometerCardState.build (cognitive 28): _AccelerometerCardState.build has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 26, if/else 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":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"188f5967f563be541f9b5bfec92e76b0d549c6d96aec2fdecd522780f70cb9b2"}},{"ruleId":"D2","level":"warning","message":{"text":"_GyroscopeCardState.build (cognitive 28): _GyroscopeCardState.build has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 26, if/else 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":"lib/view/widgets/gyroscope_card.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e764c30bc0e053d6fbf19fdc582e555672b1d74468c17cf8e823dc38d7ec099a"}},{"ruleId":"D2","level":"warning","message":{"text":"_OledControlPanelState.build (cognitive 28): _OledControlPanelState.build has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 6 (12 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":"lib/view/widgets/oled_control_panel.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e1837285a56d6b46c079f42d60cfb4983dbebd58f531534d9014a6037e2e88"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbCommunicationHandler.open (cognitive 26): UsbCommunicationHandler.open has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 4 (9 pts), boolean chains 3, loops 1 (2 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":"lib/communication/handler/comms_handler.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c4a125efd9299f2de6921721c088f9681929681fb83f48278ad43574f8bceb"}},{"ruleId":"D2","level":"warning","message":{"text":"WifiCommsHandler.read (cognitive 26): WifiCommsHandler.read has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (6 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":"lib/communication/handler/wifi_comms_handler.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8228dd7472eebba96b25eb996011f8ff932c74add5795a268c9f524650c8738a"}},{"ruleId":"D2","level":"warning","message":{"text":"PSLabFunctions.sqrPWM (cognitive 26): PSLabFunctions.sqrPWM has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 9 (10 pts), loops 2, boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7966b57ff4a3498c18eb0c04d5acf9f0501a3d7c2aacbe5855134a6a01a4782b"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardStateProvider._handleUsbEvent (cognitive 26): BoardStateProvider._handleUsbEvent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 11). 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":"lib/providers/board_state_provider.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"736053bed6123bc51e5e5368cdd43f5ebaf1149026535efebf25f35a092ed875"}},{"ruleId":"D2","level":"warning","message":{"text":"LogicAnalyzerStateProvider.analyze (cognitive 25): LogicAnalyzerStateProvider.analyze has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (6 pts), match/switch 2 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78b07d5ccb60caf8b27c80937cba738cc3a431f407456e7e7ea3ade80d5eeec"}},{"ruleId":"D2","level":"warning","message":{"text":"PSLabFunctions.getCapacitance (cognitive 24): PSLabFunctions.getCapacitance has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 6, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"7922d5ac4f2613ce90b5eb6717d22f211a86501f126c46d13e3b84d20132b9d2"}},{"ruleId":"D2","level":"warning","message":{"text":"APDS9960._determineGesture (cognitive 24): APDS9960._determineGesture has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 8, if/else 8, ternaries 4 (8 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/apds9960.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65ba0b7142bce9435f3523222d527a53e7d31305bfd6cad75e7789d966085a0"}},{"ruleId":"D2","level":"warning","message":{"text":"PSLabOscilloscope.fetchSamples (cognitive 24): PSLabOscilloscope.fetchSamples has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 9 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hal/pslab_oscilloscope.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"209837a4c1a784a97e7d46750ba4173ef088ece237ac463fe2f2c635723fe756"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundMeterStateProvider._startPlaybackTimer (cognitive 24): SoundMeterStateProvider._startPlaybackTimer has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, error handling 1 (2 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":"lib/providers/soundmeter_state_provider.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b124d40f0ac044ab05cf9c0a24cd3f156022a6a3dc1b021c367b21bffb5bc98"}},{"ruleId":"D2","level":"warning","message":{"text":"_DataAnalysisState.build (cognitive 24): _DataAnalysisState.build has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 6 (9 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4659c1a26bf77dccce1fe6c5022e1d509fb7d754dca28ad15779cd4f1527f239"}},{"ruleId":"D2","level":"warning","message":{"text":"PSLabFunctions.fetchIntDataFromLA (cognitive 23): PSLabFunctions.fetchIntDataFromLA has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (11 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc469dbad610a31620a70fd7db8687f3f4c6f32a313136cfd3caf7c7728ea63"}},{"ruleId":"D2","level":"warning","message":{"text":"ScientificDataAnalyzer._parseOscilloscopeData (cognitive 23): ScientificDataAnalyzer._parseOscilloscopeData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (6 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":"lib/others/data_chart_analyzer.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"137a6c3e8c6cd1425f0f914c6f742a00935029a7fd0d3c829510a97822493ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"BarometerStateProvider._startPlaybackTimer (cognitive 23): BarometerStateProvider._startPlaybackTimer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, error handling 1 (2 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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb627e72e5e7e0c53a27b81d42177edb55cc1dcd27b1315774e4807aa2ad614"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardStateProvider.initialize (cognitive 23): BoardStateProvider.initialize has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 7 (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":"lib/providers/board_state_provider.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"483a34b5ddf7f4bcff232684fb8a1a7f4afb2cc84d63841c418b2c2050572369"}},{"ruleId":"D2","level":"warning","message":{"text":"GasSensorStateProvider._startPlaybackTimer (cognitive 23): GasSensorStateProvider._startPlaybackTimer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, error handling 1 (2 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":"lib/providers/gas_sensor_state_provider.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd314b5ea16edba8a507a68cc66ccb2f219ee439854e282b3c1b51f8fc9bed5c"}},{"ruleId":"D2","level":"warning","message":{"text":"_AccelerometerConfigScreenState.build (cognitive 23): _AccelerometerConfigScreenState.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, boolean chains 9. 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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"da44346dbc4cb88e0a0ad115114d70021149b5dbd8f657ed2ac0bc19d1597cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"_GyroscopeConfigScreenState.build (cognitive 23): _GyroscopeConfigScreenState.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, boolean chains 9. 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":"lib/view/gyroscope_config_screen.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bab67f901ea93e4e9cc2a2283c1fa1c07373d3bad45be93d7d99b675c68011a"}},{"ruleId":"D2","level":"warning","message":{"text":"WebCommsHandler.read (cognitive 22): WebCommsHandler.read has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), ternaries 1 (4 pts), boolean chains 2, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/handler/web_comms_handler.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5d3618e4cf9cb6fc30458b574577f93506a38864481e9bb324f564046754ef"}},{"ruleId":"D2","level":"warning","message":{"text":"_LabradorPlatformManagerWeb.connectWeb (cognitive 22): _LabradorPlatformManagerWeb.connectWeb has cognitive complexity 22 (threshold 15). Drivers by points: error handling 7 (13 pts), if/else 3 (7 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/labrador/labrador_manager_web.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca1832cd57f65b03dc29a11209a4508eff5461751ef664b1aaebe9a928b68b7"}},{"ruleId":"D2","level":"warning","message":{"text":"CompassProvider._startPlaybackTimer (cognitive 22): CompassProvider._startPlaybackTimer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/compass_provider.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcbb511ef8edd4ba86912e4390b324759f70bcc21cd45506969549cced6ae3b"}},{"ruleId":"D2","level":"warning","message":{"text":"OledDisplayProvider.handlePanUpdate (cognitive 22): OledDisplayProvider.handlePanUpdate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1020fc649b0595e52005b10470cbf7d5179df0097d382145c63ff3dd5f76e6"}},{"ruleId":"D2","level":"warning","message":{"text":"OscilloscopeStateProvider._startPlaybackTimer (cognitive 22): OscilloscopeStateProvider._startPlaybackTimer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, error handling 1 (2 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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe94c516df3e8746253695072d6a861fd97980d8c31b62b2a47cd6e9d6223e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ThermometerStateProvider._startPlaybackTimer (cognitive 22): ThermometerStateProvider._startPlaybackTimer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/thermometer_state_provider.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c474d789c1114ede5df17b380d3ff40420416aeab7bdf7b72b4c9165e5d7e91"}},{"ruleId":"D2","level":"warning","message":{"text":"VerifyBinaries.run (cognitive 22): VerifyBinaries.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (5 pts) (nesting depth added 14). 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":"rust_builder/cargokit/build_tool/lib/src/verify_binaries.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"27543508f7dca16f8717b23129cd307df7be484b2028847fce8a863602a59ece"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivity.handleUsbMethodCall (cognitive 22): MainActivity.handleUsbMethodCall has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, error handling 1 (2 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/app/src/main/java/io/pslab/MainActivity.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bab442ab63102182f9b140245b32b59636cf44bbab1a9cedce6a9d176cd9c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ScientificDataAnalyzer._parseOscilloscopeSpots (cognitive 21): ScientificDataAnalyzer._parseOscilloscopeSpots has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (8 pts), boolean chains 1, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/data_chart_analyzer.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c8b655034842a8c63db0e3815b86cbb0d6c8a034fdeee6e9fa107917b7e464"}},{"ruleId":"D2","level":"warning","message":{"text":"LabradorWebFirmwareFlasher._parseHex (cognitive 21): LabradorWebFirmwareFlasher._parseHex has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (4 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":"lib/others/labrador_web_firmware_flasher.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"03824fc86adc3cb7b552f3162df28b020f2ca3d6c3ad1157726fdbe032ad1dab"}},{"ruleId":"D2","level":"warning","message":{"text":"GasSensorStateProvider._startReadingGasData (cognitive 21): GasSensorStateProvider._startReadingGasData has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/gas_sensor_state_provider.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed96c192c57f027c07a5b081e5b42fd9585c77bc0e7224cae1ac2b898ad11b4"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxMeterStateProvider._startPlaybackTimer (cognitive 21): LuxMeterStateProvider._startPlaybackTimer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/luxmeter_state_provider.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"04485cb28cfab4f3fabd24b22e2d8869650710d9d7b302aa721abdf32f0c4ccc"}},{"ruleId":"D2","level":"warning","message":{"text":"OledDisplayProvider.loadImportedData (cognitive 21): OledDisplayProvider.loadImportedData has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (8 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5edf286bb922b46d9193212b3517a58a0a5060756515d5c1978a7c71afecf68"}},{"ruleId":"D2","level":"warning","message":{"text":"PowerSourceStateProvider._startPlaybackTimer (cognitive 21): PowerSourceStateProvider._startPlaybackTimer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/power_source_state_provider.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6cb9f8cdb1ccef2c5d79a487d80f23e0b4dc43217452313afbec45d260c56e"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundMeterStateProvider.initializeSensors (cognitive 21): SoundMeterStateProvider.initializeSensors has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, error handling 2 (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":"lib/providers/soundmeter_state_provider.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"06324509dc2dc83e0b0c0a84acb4e7933c5f3e554c3070cbc530a2e72dbd5a69"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveGeneratorStateProvider.getSamplePoints (cognitive 21): WaveGeneratorStateProvider.getSamplePoints has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (4 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":"lib/providers/wave_generator_state_provider.dart"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"036febdff9428a9d913bf46f6a882e1fcef38680c0671e0fde1dcc9d7bf43423"}},{"ruleId":"D2","level":"warning","message":{"text":"CargokitCrateOptions.parse (cognitive 21): CargokitCrateOptions.parse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 pts) (nesting depth added 12). 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":"rust_builder/cargokit/build_tool/lib/src/options.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce7b0d1158a05710adee065aa493186584913855b0af539d20afe15822833fb"}},{"ruleId":"D2","level":"warning","message":{"text":"_OledControlPanelState._handleKey (cognitive 21): _OledControlPanelState._handleKey has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 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":"lib/view/widgets/oled_control_panel.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d190cb4342223a43d5ed3a9d92cc03bedb21e47e7c4223f79e828e9b0739c0"}},{"ruleId":"D2","level":"warning","message":{"text":"_OscilloscopeTabsState._handleKey (cognitive 21): _OscilloscopeTabsState._handleKey has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/oscilloscope_screen_tabs.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2db4f3f572261e1a0c3a3705aa83f9fbdaf8b93c8d660720f28d9e5bf32067"}},{"ruleId":"D2","level":"warning","message":{"text":"_WaveGeneratorMainControlsState.build (cognitive 21): _WaveGeneratorMainControlsState.build has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 17, if/else 4. 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":"lib/view/widgets/wave_generator_main_controls.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b3f15c8a90e14f69db70135e988ff26b9b354dde41536bf67c17eac37bfc96"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 21): (anonymous) has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (9 pts), ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/coi-serviceworker.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d88792dea9c7f7413ea0beb619717067a192b84f3e04971591d39c37561340"}},{"ruleId":"D2","level":"warning","message":{"text":"_BarometerScreenState.build (cognitive 20): _BarometerScreenState.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 6, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/barometer_screen.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6faf1be77d4b8e8aa58059c083c35e9f3bd46b42259acec6f98f77874fcc6a0"}},{"ruleId":"D2","level":"warning","message":{"text":"_FirmwareFlasherScreenState._fetchGitHubReleases (cognitive 20): _FirmwareFlasherScreenState._fetchGitHubReleases has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ed0c2fa67b94bae4807d65b37c1ee2491f3da99e8893f45973c7e2309cf72b"}},{"ruleId":"D2","level":"warning","message":{"text":"_FirmwareFlasherScreenState._pickLocalFile (cognitive 20): _FirmwareFlasherScreenState._pickLocalFile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (19 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6ca79c840436e060644aa357b9676c967e250ee53da31c08c787443ead68ae"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::common::set_dtr (cognitive 20): rust_lib_pslab::api::common::set_dtr has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 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. This shape REPEATS in the file: one other method here (rust_lib_pslab::api::common::set_rts) 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":"rust/src/api/common.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc43713751b684eb1e726c1dcf6c2a7d2d645285804c1b0092174c0b169f1c1"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::common::set_rts (cognitive 20): rust_lib_pslab::api::common::set_rts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 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. This shape REPEATS in the file: one other method here (rust_lib_pslab::api::common::set_dtr) 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":"rust/src/api/common.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7444a21c801089167e7442f5bd8fc9f41245400f1c0dc718f64f9daefad432f"}},{"ruleId":"D2","level":"warning","message":{"text":"_LabradorPlatformManagerWeb._startBulkStreamingPump (cognitive 19): _LabradorPlatformManagerWeb._startBulkStreamingPump has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/labrador/labrador_manager_web.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"db17cf7dfee3517e1bc48806bbae291df4119bead9af10c2cf81d7e2a7aaea34"}},{"ruleId":"D2","level":"warning","message":{"text":"OledDisplayProvider._tickDino (cognitive 19): OledDisplayProvider._tickDino has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, loops 4, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7118210bdb7b3f6c024659c53f1186d377ea96860e0bd832964545790c1e2c93"}},{"ruleId":"D2","level":"warning","message":{"text":"SHT21Provider._startReading (cognitive 19): SHT21Provider._startReading has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/sht21_provider.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cf1eb900d6494bb19ed1a639d6ede3c8b3d0ad5e54164600a668021e3d08eb"}},{"ruleId":"D2","level":"warning","message":{"text":"_HomeScreenState._connectLabrador (cognitive 19): _HomeScreenState._connectLabrador has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/connect_device_screen.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddd0a9979330086e66cf1b8de352de71bc79da540616973e117884d98ddfd0c"}},{"ruleId":"D2","level":"warning","message":{"text":"_MainScaffoldState.build (cognitive 19): _MainScaffoldState.build has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 7 (8 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/main_scaffold_widget.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"188911023ee93217a90f7e21726dc9aa9713868dc723c7a90c2246c040e93be3"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalChannel.generateAxes (cognitive 18): DigitalChannel.generateAxes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/digitalChannel/digital_channel.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbc653e47b2a647442895bc2b7e369babe69f402b942c0186bccca282b540e7"}},{"ruleId":"D2","level":"warning","message":{"text":"PSLabFunctions.setWaves (cognitive 18): PSLabFunctions.setWaves has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), loops 2, boolean chains 1, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc263730844584afb5fb27291a17882ed6acaa49a76a8bcd25917f9a234d898"}},{"ruleId":"D2","level":"warning","message":{"text":"GasSensorStateProvider.fetchConfig (cognitive 18): GasSensorStateProvider.fetchConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/gas_sensor_state_provider.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d9790badf60a3baffde7ec1c33533b766a69b82b3cfa1cbd34427028ede548"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimeterStateProvider._startPlaybackTimer (cognitive 18): MultimeterStateProvider._startPlaybackTimer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, error handling 1 (2 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":"lib/providers/multimeter_state_provider.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"54af23398a3f4240039e3ac42eea479e1eabd6b5edd021b92789350dcce1f6dc"}},{"ruleId":"D2","level":"warning","message":{"text":"OledDisplayProvider._tickRacing (cognitive 18): OledDisplayProvider._tickRacing has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, loops 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adb80edf75de9b7cbe23e47be5d5dcb400a91084031002cdf589719e678208d"}},{"ruleId":"D2","level":"warning","message":{"text":"RoboticArmStateProvider.togglePlayPause (cognitive 18): RoboticArmStateProvider.togglePlayPause has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 1 (4 pts), error handling 1 (3 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":"lib/providers/robotic_arm_state_provider.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0954428bc12bce004206d4e1a45bb1989304fcb5561906d4df7e407eecfe58f"}},{"ruleId":"D2","level":"warning","message":{"text":"RoboticArmStateProvider.importTimelineData (cognitive 18): RoboticArmStateProvider.importTimelineData has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 3 (4 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":"lib/providers/robotic_arm_state_provider.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a71e6f4b49eac388ce7c3ad053e1282c8fe682a4b3b2a2d278652d490e8f69"}},{"ruleId":"D2","level":"warning","message":{"text":"_HomeScreenState._buildConnectedDeviceCard (cognitive 18): _HomeScreenState._buildConnectedDeviceCard has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 6, ternaries 3. 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":"lib/view/connect_device_screen.dart"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"273c821157bb001a89a9dd4d4b3f2753a6648c32fddc9fa191f3dda57c7a7fa5"}},{"ruleId":"D2","level":"warning","message":{"text":"_InstrumentsScreenState._applyFilters (cognitive 18): _InstrumentsScreenState._applyFilters has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 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":"lib/view/instruments_screen.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"158168987b94099524e5d8c889ab821eec1e8ed9d702232d6a6bd03d94dc855c"}},{"ruleId":"D2","level":"warning","message":{"text":"_AccelerometerCardState._buildChartSection (cognitive 18): _AccelerometerCardState._buildChartSection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 8 (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":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f58014e8ce8879cec42290a68d1578beffd857896296ba9105b81b36cf0c13e"}},{"ruleId":"D2","level":"warning","message":{"text":"_GyroscopeCardState._buildChartSection (cognitive 18): _GyroscopeCardState._buildChartSection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 8 (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":"lib/view/widgets/gyroscope_card.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a7b47bf6314f886c7c01203ae457e047e3c6b7bee555c1d1faba36869a09db"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::labrador_bootloader::flash_labrador_inner (cognitive 18): rust_lib_pslab::api::labrador_bootloader::flash_labrador_inner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/labrador_bootloader.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d240bd40ce925330807a0d64602a5348e72cbcd838d6bf0ebb291d8a35f2eea3"}},{"ruleId":"D2","level":"warning","message":{"text":"I2C.scan (cognitive 17): I2C.scan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 1 (4 pts), loops 2 (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":"lib/communication/peripherals/i2c.dart"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"753355f8e24fcc13d76e4a93cfdf5afff389c72dd76d5e1adce79d8357ee4ec7"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardStateProvider._connectToDesktopDynamic (cognitive 17): BoardStateProvider._connectToDesktopDynamic has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/board_state_provider.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5bd71dd711918e87bb03f779163c2b6926aabe5e5cdbb347fc6325a41c4731"}},{"ruleId":"D2","level":"warning","message":{"text":"LogicAnalyzerStateProvider.captureFour (cognitive 17): LogicAnalyzerStateProvider.captureFour has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 3, if/else 3, error handling 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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2af0563ed94efd6b9cdef12962a1fb3ec857bf4af17b2fbc4a44f5f1aa796d"}},{"ruleId":"D2","level":"warning","message":{"text":"CargoBuildOptions.parse (cognitive 17): CargoBuildOptions.parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (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":"rust_builder/cargokit/build_tool/lib/src/options.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e9dc4e513cb705e83dcf6a7b3464ce4f9fd971d94482c7d46185a780927e34"}},{"ruleId":"D2","level":"warning","message":{"text":"_FirmwareFlasherScreenState.build (cognitive 17): _FirmwareFlasherScreenState.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 6 (7 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"9877dcdf102d3247247c04eca23ecd27651187288558cdb75c80654d72ffcafa"}},{"ruleId":"D2","level":"warning","message":{"text":"_PSLabPinLayoutScreenState.build (cognitive 17): _PSLabPinLayoutScreenState.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 14, if/else 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/pin_layout_screen.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b035624e75e089d8211c7e4e5b3bd3beda3394c04023ccb568e82478f7afe0eb"}},{"ruleId":"D2","level":"warning","message":{"text":"_AdaptiveSaveDialogState.build (cognitive 17): _AdaptiveSaveDialogState.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 14 (15 pts), if/else 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/save_filename_dialog.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21c7e8b9d1615978b61830fb2069444e9308ed8310768eef743f5500f89d83b"}},{"ruleId":"D2","level":"warning","message":{"text":"GyroscopeProvider._updateData (cognitive 16): GyroscopeProvider._updateData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/gyroscope_state_provider.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc8fca6d8cf0c1e509328dd399469ba4b0b14b6ab1cc51b55e8b68959bebb25"}},{"ruleId":"D2","level":"warning","message":{"text":"LogicAnalyzerStateProvider.captureThree (cognitive 16): LogicAnalyzerStateProvider.captureThree has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 2 (6 pts), loops 2 (4 pts), if/else 3, boolean chains 2, error handling 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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"298efa35a028d14c3bdd2ce13e5ba1fb8669dab1aadef4436a12436b8cf03c82"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxMeterStateProvider._updateData (cognitive 16): LuxMeterStateProvider._updateData has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (5 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/luxmeter_state_provider.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e1b003b1f19e3fb0654402ca5ddf40709b0b86e087b48db83da468a5972ab2"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimeterStateProvider._startBeepingStream (cognitive 16): MultimeterStateProvider._startBeepingStream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/multimeter_state_provider.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d96f9bc716a4492d0844bcaa6f8d2ca28c8d34734ab4640bcdc7fedab2c1ad"}},{"ruleId":"D2","level":"warning","message":{"text":"OledDisplayProvider._physicsLoop (cognitive 16): OledDisplayProvider._physicsLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6bc5f8754c9ab3ed9d12d77fc598e854fe9ebff3422c31484b3ac433ddb136"}},{"ruleId":"D2","level":"warning","message":{"text":"OledDisplayProvider._decodeAndProcessGif (cognitive 16): OledDisplayProvider._decodeAndProcessGif has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 2 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"011740fe99edb0eaa03ea708553d9362220aef9d730436ea8208ff0707bc77fa"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveGeneratorStateProvider._fillAudioBuffer (cognitive 16): WaveGeneratorStateProvider._fillAudioBuffer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/wave_generator_state_provider.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfd9adb41381c4b9c71d69d5c8fcd8d153ac8c93f17d1fcbead4773934e0f4c"}},{"ruleId":"D2","level":"warning","message":{"text":"_LoggedDataScreenState._handleKey (cognitive 16): _LoggedDataScreenState._handleKey has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/logged_data_screen.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6a7f6678be2129857c23510437b822727ecee743e8422c0a8eb27c21f965a2"}},{"ruleId":"D2","level":"warning","message":{"text":"_RecordingDetailsSheet.build (cognitive 16): _RecordingDetailsSheet.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 2, loops 1 (2 pts), ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/oscilloscope_screen.dart"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3cbaed9c0971947a42e87da13475dffb7211aa650a3d777bd7543122fa0f83"}},{"ruleId":"D2","level":"warning","message":{"text":"_InstrumentOverviewDrawerState._handlePointerSignal (cognitive 16): _InstrumentOverviewDrawerState._handlePointerSignal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/guide_widget.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"620182568c5edb9bf582281e73c62f53122a15eb5589ee13aeb48e4e83d4f145"}},{"ruleId":"D2","level":"warning","message":{"text":"_TimebaseTriggerState.build (cognitive 16): _TimebaseTriggerState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (5 pts), boolean chains 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/timebase_trigger_widget.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0ecfcc1c74ab0f45f8e2b62a12e9b7f54776d9aedf245a320dd1e5a63c7fe5"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_pslab::api::labrador_bootloader::parse_hex_flash_image (cognitive 16): rust_lib_pslab::api::labrador_bootloader::parse_hex_flash_image has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (4 pts), match/switch 1 (2 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":"rust/src/api/labrador_bootloader.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"100e25444f4a521fade22bfdb77d70e107308d8228334cadd87eb975a973c5c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DataAnalysisState.build: MethodTooLong \u2014 build runs 422 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 322 over it, 4.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":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"54375dbd45337e7a64e446c0c5f262fd912ee10a5324341ebfb68c24d48c5e86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NavDrawerState.build: MethodTooLong \u2014 build runs 380 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 280 over it, 3.80\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":"lib/view/widgets/navigation_drawer.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"294b99f3360960ecbefe883d3c8b828b0e9a8d46dd6cd2520487fab4e1cb76f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HomeScreenState.build: MethodTooLong \u2014 build runs 364 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 264 over it, 3.64\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":"lib/view/connect_device_screen.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecd9a78b6a14adde6025b1192a0850cd722c7d7fca8f967fed82c4e21d5e1e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RoboticArmControlsState.build: MethodTooLong \u2014 build runs 335 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 235 over it, 3.35\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":"lib/view/widgets/robotic_arm_controls.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"105cd9ad25c17fadcdcc2bfca8baaf3b1f0cb69d112d06ea2895bfa8ce94fa2f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OscilloscopeStateProvider.captureTask: MethodTooLong \u2014 captureTask runs 319 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 219 over it, 3.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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b80942f80deafc8734c2b02c27b63a7843088705f2a280f3b82306e9e62980"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LoggedDataScreenState.build: MethodTooLong \u2014 build runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\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":"lib/view/logged_data_screen.dart"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d08d9b9b6d6ab051605dc59ba8d7196ffd6562dd9ad66f7180cfe6fcb183f7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OledDisplayScreenState.build: MethodTooLong \u2014 build runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\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":"lib/view/oled_display_screen.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"be55487efd1a4b621bed180d98829ff0650ae0ba8c10b3bcae33a94d435087e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnalogWaveformControlsState.build: MethodTooLong \u2014 build runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\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":"lib/view/widgets/analog_waveform_controls.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71c3a8a2c15f4b4751ea75b6e5994d6ee605662dd517a667f34079ec96e76e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OscilloscopeStateProvider: ClassTooLong \u2014 1096 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 400 significant lines; this is 696 over it, 2.74\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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"173c03738aab86a8ccbbff4f285d0351971e13f07ce09943bc9ccb9fd2383229"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PlaybackSummaryDialogState.build: MethodTooLong \u2014 build runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.67\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":"lib/view/widgets/robotic_arm_summary.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4162a71fcfb520560322e381c7edba43220b2ea7da2876d0947d856c38759c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PSLabFunctions: ClassTooLong \u2014 1062 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 662 over it, 2.66\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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b9f604879dcba83aab04b9ff6173ca38453b87bec164e8d6721de8e3254d19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MultimeterScreenState.build: MethodTooLong \u2014 build runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\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":"lib/view/multimeter_screen.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d982d5767f627b2268595f97d07cb4241e88c2da353be920695c3b54ac7f8c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TimebaseTriggerState.build: MethodTooLong \u2014 build runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\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":"lib/view/widgets/timebase_trigger_widget.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"668efd20256d4b64a8b2032c7843788de9c73af327c26ebb114bfbf93dbeb3c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/oscilloscope_state_provider.dart: FileTooLong \u2014 1133 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: OscilloscopeStateProvider (48-1555). The bar is 500 significant lines; this is 633 over it, 2.27\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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5683c30dde811c03560e135efeb1a3ec5a7963e24ee5e78f3c70852ca1b8cad5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OledDisplayProvider: ClassTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 490 over it, 2.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":"lib/providers/oled_display_provider.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6e2e0e38847214575395994eabffba5e8afeb7cf0f41ef649d224bcfd4940a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WaveGeneratorMainControlsState.build: MethodTooLong \u2014 build runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.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":"lib/view/widgets/wave_generator_main_controls.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"521e0b72135512ce55d4e3da5f2a5e915880cf0362fc439cbfa23dff129bd682"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OledControlPanelState.build: MethodTooLong \u2014 build runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\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":"lib/view/widgets/oled_control_panel.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"945de7a23122a70a64fa53cdddf01bbba31a12a25802292a28f11d38fc86d52b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WaveGeneratorScreenState.build: MethodTooLong \u2014 build runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\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":"lib/view/wave_generator_screen.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a2eb270aaad3a4866d1c5736998311055cfa4448dbb6550560c8daf676cc3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pslab_communication/pslab_functions.dart: FileTooLong \u2014 1079 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: PSLabFunctions (18-1466). The bar is 500 significant lines; this is 579 over it, 2.16\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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b84e0d1311b04bfbce972ee668e684764268bf6ed156e3b36d7f91d824cba4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DigitalWaveformControlsState.build: MethodTooLong \u2014 build runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\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":"lib/view/widgets/digital_waveform_controls.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7797a556a41e216735417bae1d2a350a70c83c343d66a53052966f689614e7aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MainScaffoldState.build: MethodTooLong \u2014 build runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.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":"lib/view/widgets/main_scaffold_widget.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26b732901b1b8d001d35ec49664684c847e0dbd0f13b971bf340736c83b56df"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _FirmwareFlasherScreenState: ClassTooLong \u2014 815 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 415 over it, 2.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":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc3ffa558a38ea4c87025306bea2b9e64d01140fa144a67a22d66a6fcd85b13"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LogicAnalyzerStateProvider: ClassTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 414 over it, 2.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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3ae59eb693dd970b3683e386bbf2106fbbe59d94811d62cb7f78baca024fcb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OscilloscopeStateProvider: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4ef81e2002c329fc9b27ece2566125414525b50aa3f5d035c05d09ec68a999"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OledDisplayProvider: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"lib/providers/oled_display_provider.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa19863080f4dd8136babeb22e5c6a013ee06bedc4698a1b0202cea5d34042a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PSLabPinLayoutScreenState.build: MethodTooLong \u2014 build runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\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":"lib/view/pin_layout_screen.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7de53d0c13184a9d69a288bbfe97f2e0c6306428a084b0c91223a40ab140052"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _HomeScreenState: ClassTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 371 over it, 1.93\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":"lib/view/connect_device_screen.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"90643ff8719c5c7793224ca248befb0492815f6204536c66be4f97148a58d849"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OscilloscopeTabsState.build: MethodTooLong \u2014 build runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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":"lib/view/widgets/oscilloscope_screen_tabs.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dffcfa822951095a1de83490fdf4d71f0f923e9c4d79b82a79e1ddea2752be8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OscilloscopeScreenState.build: MethodTooLong \u2014 build runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"lib/view/oscilloscope_screen.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ba8647054d862702f8ed63308560c8a5064c01e5059de641fc89be2564358f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ChannelParametersState.build: MethodTooLong \u2014 build runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"lib/view/widgets/channel_parameters_widget.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e35d470970b7f65c05f89846574f6cecd707aa52cd43cb937b4f3223f79fc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/oled_display_provider.dart: FileTooLong \u2014 905 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: OledDisplayProvider (19-1181). The bar is 500 significant lines; this is 405 over it, 1.81\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":"lib/providers/oled_display_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1070cac1217ea15965a5ae0774be1a0e7ed88ec3216bbe9542559b061cbe37b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HomeScreenState._buildBoardSpecificationsCard: MethodTooLong \u2014 _buildBoardSpecificationsCard runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"lib/view/connect_device_screen.dart"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"456683faf508cb9e6dedd4c861e8d744c984b4dd31ab867a6d78d5054a6a0454"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _LoggedDataScreenState: ClassTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 316 over it, 1.79\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":"lib/view/logged_data_screen.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45b9fe31e0e4450a1b803fa8251d42ebea4436555d6c5a6fe151ac57e6cc7a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/firmware_flasher_screen.dart: FileTooLong \u2014 884 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: _FirmwareFlasherScreenState (36-1114). The bar is 500 significant lines; this is 384 over it, 1.77\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":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"497a441f4734e12af5fce8ec7304fe2d576e565c97ac2f2053935153914fad84"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PowerSourceScreenState._buildLabradorVerticalBoxes: MethodTooLong \u2014 _buildLabradorVerticalBoxes runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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":"lib/view/power_source_screen.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe98591ee34b7742939885acd94f89894d6af352409dc03536c9ca36950306d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BarometerStateProvider: 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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3bd82a8cb4dcc723dd2c01e546301165fb834884d8b66dbff519c4ae079a75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/logic_analyzer_state_provider.dart: FileTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: LogicAnalyzerStateProvider (20-1051). The bar is 500 significant lines; this is 331 over it, 1.66\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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca36b05240f39076e4ee60b45ed1db648f397a0022eab84587d17e8126452557"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/connect_device_screen.dart: FileTooLong \u2014 813 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _HomeScreenState (28-1043). The bar is 500 significant lines; this is 313 over it, 1.63\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":"lib/view/connect_device_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc43426c2976006e3a447057e359b9e2ba77f6f1a6a1b8be397e526fa28b489e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MultimeterStateProvider._performMeasurement: MethodTooLong \u2014 _performMeasurement 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":"lib/providers/multimeter_state_provider.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c240c82a53f3b6a1a0d82ad4fc1612085d4aec22f52bbfb00cafa915510f127"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/compass_screen.dart: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: _CompassScreenContentState (42-711). The bar is 500 significant lines; this is 288 over it, 1.58\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":"lib/view/compass_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0a1384de22036ac1b84ca5acd43221c32fd886847ec919e6f47afe2f87f713"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RoboticArmScreenState.build: MethodTooLong \u2014 build runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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":"lib/view/robotic_arm_screen.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d30e8c5561d5506a090cd633c8639f515b6863c6e1247595c9829633dcf09b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/logged_data_screen.dart: FileTooLong \u2014 763 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _LoggedDataScreenState (60-1002). The bar is 500 significant lines; this is 263 over it, 1.53\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":"lib/view/logged_data_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4661b580616ecfa57a6aaa9c5c0f12625499320b590b5fbb3fb0580afa21bf2f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PowerSourceKnobState.build: MethodTooLong \u2014 build runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"lib/view/widgets/power_source_knob.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"554fe9d116efbd945dd8beb5fa0b10530ccd660b198209ae9ae120c22752b40a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AccelerometerCardState.build: MethodTooLong \u2014 build runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.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":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de2978647ae1520516586a672bd9b18aa2451a03fc4c18562e4d6a8d4b25212"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GyroscopeCardState.build: MethodTooLong \u2014 build runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.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":"lib/view/widgets/gyroscope_card.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6887e1c63f5799005e5615ce18e0e4896f85ed3763ea8d057075448c44a86ffe"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _PowerSourceScreenState: ClassTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 180 over it, 1.45\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":"lib/view/power_source_screen.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be6a32951f6fc34680706cbe95e523e42e26bd0212464f9b8ceccc078ab76b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CompassScreenContentState.build: MethodTooLong \u2014 build runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.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":"lib/view/compass_screen.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f6ab01d5b8dab63d84e65f87624fb29fab4143ccbbe13b5914f65a7aae5ef0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PSLabFunctions: 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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c832c61271b57b0fbafa5f62618da99b00eb07cd17ebdad530d96db0bbc400d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/oscilloscope_screen.dart: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: _OscilloscopeScreenState (43-635). The bar is 500 significant lines; this is 145 over it, 1.29\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":"lib/view/oscilloscope_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1576d1347f75c96d8c7ada9ab70abc87a0be5abc1677e707a7d5d6a200f20b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AccelerometerConfigScreenState.build: MethodTooLong \u2014 build runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b184e799951ec2fbe9fb5e50bc686eb6d0dd3c2544a63af9a09dd4de8d1b077c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _FirmwareFlasherScreenState.build: MethodTooLong \u2014 build runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"d370093121898251b5c771921d0439ef3d660f479b356f328d93cedbc598dcef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GyroscopeConfigScreenState.build: MethodTooLong \u2014 build runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"lib/view/gyroscope_config_screen.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"055a1e63235357069f47bf0ac8d8785750c20e90c48d090037060d9ff2bce078"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AccelerometerCardState._buildChartSection: MethodTooLong \u2014 _buildChartSection runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"304163aa5f075f096f4fd5997a02e7f4d03eae11e7522d89c355fd6ddea5a3d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GyroscopeCardState._buildChartSection: MethodTooLong \u2014 _buildChartSection runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"lib/view/widgets/gyroscope_card.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9cbe22fd9f282c46d66aa7a4472bf6d8a6f049ee2973664a7c7d93e9fb77fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AdaptiveSaveDialogState.build: MethodTooLong \u2014 build 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":"lib/view/widgets/save_filename_dialog.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c095e57de0986fda5e319318979ab37894445c23d97d8f1db4edef4b7804a8b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/power_source_screen.dart: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _PowerSourceScreenState (30-820). The bar is 500 significant lines; this is 104 over it, 1.21\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":"lib/view/power_source_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a295ef59837b6f01137d6690f915e8b670a0b6263f84951591c392cfac4015a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CompassScreenContentState: ClassTooLong \u2014 481 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 81 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":"lib/view/compass_screen.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"85969964e1256d1e92b08a46de52211aa17fdd22ca95160502665b492b83aaac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GasSensorStateProvider: 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":"lib/providers/gas_sensor_state_provider.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfe7ea88d87e0d70c6e21a73773cb1bc6dcf94dbee7ff460fa283604990cb4a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThermometerStateProvider: 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":"lib/providers/thermometer_state_provider.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f21c2572a4bae982efa09f37de64cb5ce7d71111b9390d0ac63b31f453f1085"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WaveGeneratorStateProvider: ClassTooLong \u2014 469 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 69 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":"lib/providers/wave_generator_state_provider.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e40ce48140f168c11458e42e3b2952a7426b5a0f1395e3601f429ff4490be3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GyroscopeProvider: 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":"lib/providers/gyroscope_state_provider.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d152fc822c7ac048ea3744d98961e70d3271371e097e50ae2aab0005c1b3d244"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CompassScreenContentState._buildBottomInfoCard: MethodTooLong \u2014 _buildBottomInfoCard runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"lib/view/compass_screen.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbe544874ddfd3bbdba31740c82f43bacfe7d11a8e1e77e839da887c1357c13"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HomeScreenState._buildConnectedDeviceCard: MethodTooLong \u2014 _buildConnectedDeviceCard runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"lib/view/connect_device_screen.dart"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb1f014ad9cf61e765a07d061aef642c50a13bc127940bc9a4e8a8d50bde13f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/common.rs: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 61 over it, 1.12\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":"rust/src/api/common.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce69ec3426d3072ae3e56046b5afdff8d999c35064942390ac0e2062941a6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GasSensorCardState.build: MethodTooLong \u2014 build runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"lib/view/widgets/gas_sensor_card.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bfe9b92ca77fe3032dbfda25b7e28328e4b5f1a3ce2d70c977ee13cd80bc3c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _InstrumentOverviewDrawerState.build: MethodTooLong \u2014 build runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"lib/view/widgets/guide_widget.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf71d0c27d2c686e19b1c6649eaa3fcaa8d1e88ece3d8943ffbd6f02bd2dd2e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AngleInputTopDialogState.build: MethodTooLong \u2014 build runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"lib/view/widgets/robotic_arm_dialog.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7989f8529debcf363ebb56045a83ddfe5949d8b25711fd4c01d878e80feebc1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rust_lib_pslab::api::labrador::labrador_fetch_interpolated: FunctionTooLong \u2014 rust_lib_pslab::api::labrador::labrador_fetch_interpolated runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"rust/src/api/labrador.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7b241beea65a7c03e117d7c4e7f89f9b8153c4fe3bc2d3e4b407dad0ddf551"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LuxMeterStateProvider: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"lib/providers/luxmeter_state_provider.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda6196d0834dc1fb8debc0fe8a1251ca94247a4c24bd9f5ec978ca593a6d3b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoundMeterStateProvider: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"lib/providers/soundmeter_state_provider.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9324b0a45d4a58ae9e55c0cc41562958b49638e2c1967fde50bb5ecb1924a946"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InstrumentsGraph._buildChart: MethodTooLong \u2014 _buildChart 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":"lib/view/widgets/instruments_graph.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6eb2acc26996da94ad9cea79304515c526f94d0cc2e5323d5039bd63a158bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/labrador.rs: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 43 over it, 1.09\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":"rust/src/api/labrador.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f66cb494ca618f213dc9cc5e60427db48b49cadcb0e8f38a235556b8a353832"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _OscilloscopeScreenState: ClassTooLong \u2014 429 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 29 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":"lib/view/oscilloscope_screen.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7975f012476616780985d81d12d2be14018e57dce636ad847f2d17d1831085"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: APDS9960Provider: 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":"lib/providers/apds9960_provider.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c6c001babe6ac2c2b80493bde8e7c00a41052d206e2a782534a1c23a3fb52d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DataAnalysisState: ClassTooLong \u2014 424 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 24 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":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fc883a1a8d490b3f6a287af640438d381c6088cd3b03935fa394e07940dfe6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _FirmwareFlasherScreenState._startFlashingPslab: MethodTooLong \u2014 _startFlashingPslab runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"099cbc95871d0f3269f695f7e283285a19933a2b658a6eaaae274f17f71f9076"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MultimeterStateProvider: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 18 over it, 1.05\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":"lib/providers/multimeter_state_provider.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c8e19345f076f4ccbaeb3e0746ebf2f31e8562f02f0e37a490f429bed53cb0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DataService: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 16 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":"lib/others/data_service.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac21f3ae23f44c0fff481ffa27eb5986296ae0bc200afff23747b8a308ff7aef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _MultimeterScreenState: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 13 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":"lib/view/multimeter_screen.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c087dd522f3a29db6accf73fb5f54f687cc25a8378300df452c6d88ff6c2ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LabradorWebFirmwareFlasher.flashFirmware: MethodTooLong \u2014 flashFirmware 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":"lib/others/labrador_web_firmware_flasher.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"257b30046def2856d3376dd38e9cc640d80c2c6a4064119746dac98f184def4b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LogicAnalyzerStateProvider.analyze: MethodTooLong \u2014 analyze 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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"475ea3ea6a4595615c449609b92d193bd23ddff74dde7dd49c0c339f7fce31b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LogicAnalyzerStateProvider.captureFour: MethodTooLong \u2014 captureFour 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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccf7330985abb2410c8f6d61ebae821cf7e84fc4220e0349c1cbf33d2810f14"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _PSLabPinLayoutScreenState: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 11 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":"lib/view/pin_layout_screen.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e839df0c201e2d6320f1deacae152815be6dbae53bda898415f112c3a6823c01"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/wave_generator_state_provider.dart: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: WaveGeneratorStateProvider (54-670). The bar is 500 significant lines; this is 13 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":"lib/providers/wave_generator_state_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f90b85a3a8b0c3f6340813f73a080bf251fb9e17da06f8620f4698224a4c91e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BarometerStateProvider: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 51 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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a889af84ec14bc548b98ad623c8b06cb1ae70cd8e020ccff24afad9df8e032"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApplicationsListItem.build: MethodTooLong \u2014 build runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"lib/view/widgets/applications_list_item.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"297304c4c14fa406a1d45b51909dccfc4159678ad2bc60696cd2e7e9d8bcffb7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OscilloscopeGraphState._buildOverlayChart: MethodTooLong \u2014 _buildOverlayChart runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"lib/view/widgets/oscilloscope_graph.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"954588a89ec2ce33724bff439b1cf5a42eda82f941d37e9d50dcef9af30dcda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 27 shared lines): lib/view/ads1115_screen.dart:146-237 | lib/view/bmp180_screen.dart:167-268 | lib/view/ccs811_screen.dart:137-229 | lib/view/mlx90614_screen.dart:155-251 | lib/view/sht21_screen.dart:150-246 | lib/view/tsl2561_screen.dart:164-265 | lib/view/vl53l0x_screen.dart:141-232 \u2014 These 7 members are variants of one another: a block of 27 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/ads1115_screen.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cca3e6b45270a0769ad6e996901d81f819c79d1a7219545528077fcd5ea2e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 27 shared lines): rust/src/api/common.rs:330-374 | rust/src/api/common.rs:377-420 | rust/src/api/common.rs:423-466 \u2014 These 3 members are variants of one another: a block of 27 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":"rust/src/api/common.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48449b5d8c00076900a9028c7d9c9f826116338cbce1e89fd3b9ae8e33e266c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): lib/models/pin_details.dart:13-64 | lib/models/pin_details.dart:66-126 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"lib/models/pin_details.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f51269d41914a7f453c7eb82162b22c264d0161fa3515b21305f827b3a8c044"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): lib/view/ads1115_screen.dart:46-60 | lib/view/ads1115_screen.dart:62-76 | lib/view/apds9960_screen.dart:49-63 | lib/view/apds9960_screen.dart:65-79 | lib/view/bmp180_screen.dart:45-59 | lib/view/bmp180_screen.dart:61-75 | lib/view/ccs811_screen.dart:45-59 | lib/view/hmc5883l_screen.dart:45-59 | lib/view/hmc5883l_screen.dart:61-75 | lib/view/mlx90614_screen.dart:45-59 | lib/view/mlx90614_screen.dart:61-75 | lib/view/mpu925x_screen.dart:44-60 | lib/view/sht21_screen.dart:44-58 | lib/view/sht21_screen.dart:60-74 | lib/view/tsl2561_screen.dart:45-59 | lib/view/tsl2561_screen.dart:61-75 | lib/view/vl53l0x_screen.dart:43-57 | lib/view/vl53l0x_screen.dart:59-73 \u2014 These 18 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 18 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/ads1115_screen.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1461ca38910d8eb2a9e8b429797420e7386fba6dbf2c10378802fced96b814f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): lib/view/accelerometer_screen.dart:119-151 | lib/view/barometer_screen.dart:135-167 | lib/view/compass_screen.dart:106-138 | lib/view/gas_sensor_screen.dart:110-142 | lib/view/gyroscope_screen.dart:111-143 | lib/view/logic_analyzer_screen.dart:173-205 | lib/view/luxmeter_screen.dart:77-109 | lib/view/multimeter_screen.dart:129-161 | lib/view/power_source_screen.dart:194-226 | lib/view/soundmeter_screen.dart:63-95 | lib/view/thermometer_screen.dart:108-140 | lib/view/wave_generator_screen.dart:119-158 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_screen.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e486ab0351d16ab158f6a404b8193481a5cfe45260da153255b781d1dee92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): lib/providers/accelerometer_state_provider.dart:233-274 | lib/providers/barometer_state_provider.dart:322-376 | lib/providers/compass_provider.dart:237-308 | lib/providers/gas_sensor_state_provider.dart:317-371 | lib/providers/gyroscope_state_provider.dart:252-299 | lib/providers/luxmeter_state_provider.dart:316-367 | lib/providers/multimeter_state_provider.dart:432-478 | lib/providers/oscilloscope_state_provider.dart:978-1032 | lib/providers/power_source_state_provider.dart:289-347 | lib/providers/soundmeter_state_provider.dart:235-292 | lib/providers/thermometer_state_provider.dart:339-392 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ea20d127441c1a4ba808147dc417c279a6d2c449612e7cf09b1be63f3b0b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): lib/view/ads1115_screen.dart:35-44 | lib/view/apds9960_screen.dart:38-47 | lib/view/barometer_screen.dart:73-82 | lib/view/bmp180_screen.dart:34-43 | lib/view/ccs811_screen.dart:34-43 | lib/view/hmc5883l_screen.dart:34-43 | lib/view/max30102_screen.dart:36-45 | lib/view/mlx90614_screen.dart:34-43 | lib/view/sht21_screen.dart:33-42 | lib/view/tsl2561_screen.dart:34-43 | lib/view/vl53l0x_screen.dart:32-41 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/ads1115_screen.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"be560f863e93047abce7d33b0ce49a60db999290b13f8183a58154b175de1da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): lib/providers/ads1115_provider.dart:135-170 | lib/providers/apds9960_provider.dart:114-149 | lib/providers/bmp180_provider.dart:86-121 | lib/providers/ccs811_provider.dart:82-117 | lib/providers/hmc5883l_provider.dart:86-121 | lib/providers/mlx90614_provider.dart:82-117 | lib/providers/mpu6050_state_provider.dart:96-129 | lib/providers/mpu925x_provider.dart:105-138 | lib/providers/tsl2561_provider.dart:86-121 | lib/providers/vl53l0x_provider.dart:70-104 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/ads1115_provider.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e36408411b76cac3e50a0fd5417470ca52477ebb3419a78cd0d5a02e7413c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): lib/view/ads1115_screen.dart:78-144 | lib/view/apds9960_screen.dart:81-160 | lib/view/bmp180_screen.dart:77-165 | lib/view/ccs811_screen.dart:61-135 | lib/view/hmc5883l_screen.dart:77-128 | lib/view/max30102_screen.dart:83-157 | lib/view/mlx90614_screen.dart:77-153 | lib/view/sht21_screen.dart:76-148 | lib/view/tsl2561_screen.dart:77-162 | lib/view/vl53l0x_screen.dart:75-139 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/ads1115_screen.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db21f3dca948f465046a3846b2f77a74838e29f2e37771e0ce01bd012c753ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): lib/view/accelerometer_screen.dart:213-228 | lib/view/barometer_screen.dart:231-246 | lib/view/compass_screen.dart:201-216 | lib/view/gyroscope_screen.dart:205-220 | lib/view/luxmeter_screen.dart:172-187 | lib/view/multimeter_screen.dart:244-259 | lib/view/oscilloscope_screen.dart:371-386 | lib/view/power_source_screen.dart:309-324 | lib/view/soundmeter_screen.dart:157-172 \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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4010458df9bfe71d3a86b5e75aa24a6ac323ba26c1ade72017b596867db63224"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): lib/view/ads1115_screen.dart:78-144 | lib/view/bmp180_screen.dart:77-165 | lib/view/ccs811_screen.dart:61-135 | lib/view/max30102_screen.dart:83-157 | lib/view/mlx90614_screen.dart:77-153 | lib/view/mpu925x_screen.dart:62-159 | lib/view/sht21_screen.dart:76-148 | lib/view/tsl2561_screen.dart:77-162 | lib/view/vl53l0x_screen.dart:75-139 \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":"lib/view/ads1115_screen.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bb0fc7fa193ab79a61342f41ee23487a6f7e9378e1fbbaa1a57aec029228fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): lib/view/accelerometer_config_screen.dart:62-226 | lib/view/barometer_config_screen.dart:43-169 | lib/view/gas_sensor_config_screen.dart:29-111 | lib/view/gyroscope_config_screen.dart:61-221 | lib/view/luxmeter_config_screen.dart:44-164 | lib/view/multimeter_config_screen.dart:38-108 | lib/view/soundmeter_config_screen.dart:36-116 | lib/view/thermometer_config_screen.dart:39-156 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a140cdfdca4fcbcd205c18adf73ed476bf686da0932666a3f18036ed6c451b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): lib/view/accelerometer_screen.dart:178-202 | lib/view/barometer_screen.dart:196-220 | lib/view/compass_screen.dart:166-190 | lib/view/gas_sensor_screen.dart:170-194 | lib/view/gyroscope_screen.dart:170-194 | lib/view/luxmeter_screen.dart:137-161 | lib/view/soundmeter_screen.dart:122-146 | lib/view/thermometer_screen.dart:167-191 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_screen.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce7ad764f70c57bd58bce3df6737c74f8d7f4cfe05877d1645e0f77f62d8a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): lib/view/accelerometer_screen.dart:230-313 | lib/view/barometer_screen.dart:255-377 | lib/view/gyroscope_screen.dart:222-306 | lib/view/luxmeter_screen.dart:261-347 | lib/view/multimeter_screen.dart:261-584 | lib/view/power_source_screen.dart:697-819 | lib/view/soundmeter_screen.dart:218-295 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_screen.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d6c43e5ac0ce909d5bd68f6434ef852ac8997a0a5290bc4de6b4339c968f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/providers/ads1115_provider.dart:69-93 | lib/providers/apds9960_provider.dart:63-86 | lib/providers/bmp180_provider.dart:53-76 | lib/providers/hmc5883l_provider.dart:53-76 | lib/providers/tsl2561_provider.dart:53-76 | lib/providers/vl53l0x_provider.dart:39-60 \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":"lib/providers/ads1115_provider.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5b6ad1f0c9b1858cb760965451e9a3e106dfbef8bf88d49cc0ad7d08809f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/view/accelerometer_config_screen.dart:62-226 | lib/view/barometer_config_screen.dart:43-169 | lib/view/compass_config_screen.dart:19-103 | lib/view/gyroscope_config_screen.dart:61-221 | lib/view/luxmeter_config_screen.dart:44-164 | lib/view/thermometer_config_screen.dart:39-156 \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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc175947ae282ce7c5187be29b269faf6b2f429941bd962c102764d4ec5c1a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/view/widgets/analog_waveform_controls.dart:21-400 | lib/view/widgets/channel_parameters_widget.dart:110-339 | lib/view/widgets/data_analysis_widget.dart:19-566 | lib/view/widgets/digital_waveform_controls.dart:17-308 | lib/view/widgets/timebase_trigger_widget.dart:32-354 | lib/view/widgets/xyplot_widget.dart:31-156 \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":"lib/view/widgets/analog_waveform_controls.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda07d4854f83da07b1adcd76d900e7a990bc1fcc68f04cc4c8bc1c25bad7bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/providers/gas_sensor_config_provider.dart:33-41 | lib/providers/luxmeter_config_provider.dart:33-41 | lib/providers/multimeter_config_provider.dart:33-41 | lib/providers/settings_config_provider.dart:33-41 | lib/providers/thermometer_config_provider.dart:34-43 \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":"lib/providers/gas_sensor_config_provider.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18df28faa6d74087acdf6e0c91b62a64e3ddb02c39ef2ec5616a41cf2dc1ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/others/barometer_pressure_experiment.dart:35-46 | lib/others/barometer_pressure_experiment.dart:55-66 | lib/others/light_distance_experiment.dart:16-30 | lib/others/light_distance_experiment.dart:40-54 \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":"lib/others/barometer_pressure_experiment.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3acfaab14b639b619b96c6e39baf5f8f86cfeb4e72386e23b10e90477b17678"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/providers/barometer_state_provider.dart:298-320 | lib/providers/luxmeter_state_provider.dart:293-314 | lib/providers/soundmeter_state_provider.dart:211-233 | lib/providers/thermometer_state_provider.dart:324-337 \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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"922e0a8752f07a3c958a6821b5efedf47e858987bba819f90ecdd0e35d5923c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/providers/logic_analyzer_state_provider.dart:491-564 | lib/providers/logic_analyzer_state_provider.dart:566-659 | lib/providers/logic_analyzer_state_provider.dart:661-768 | lib/providers/logic_analyzer_state_provider.dart:770-887 \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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9c9334dda717c251f5c3e121ae7340481cefc7bcb36553bc9e6a1b8545b4e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/view/barometer_screen.dart:84-98 | lib/view/luxmeter_screen.dart:245-259 | lib/view/soundmeter_screen.dart:202-216 | lib/view/thermometer_screen.dart:67-81 \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":"lib/view/barometer_screen.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3821c73bd31a7c5bc85e96f9b97b77772da9a8f55b2d78aeee3fbaaa568af80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/view/connect_device_screen.dart:144-601 | lib/view/connect_device_screen.dart:603-750 | lib/view/connect_device_screen.dart:752-996 | lib/view/firmware_flasher_screen.dart:593-666 \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":"lib/view/connect_device_screen.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3c2773e1f64130253ed555f80f57a28ddfdc4568bb1b8ee45027c8d0f22e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/view/widgets/barometer_card.dart:20-81 | lib/view/widgets/luxmeter_card.dart:16-76 | lib/view/widgets/soundmeter_card.dart:51-108 | lib/view/widgets/thermometer_card.dart:21-91 \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":"lib/view/widgets/barometer_card.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"17329bc5f9a955475ac82ce4168ab249c099808fc1685f2e8e1c510d97eb8c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (160 corresponding lines): lib/view/widgets/accelerometer_card.dart:160-319 | lib/view/widgets/gyroscope_card.dart:164-323 \u2014 These two members are one piece of code written twice and then edited apart: 160 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":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6948eaf63b3e5c74d0661521c4cffa4b6e6baa68222c5c950015a767d48c1d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): rust/src/api/labrador.rs:55-115 | rust/src/api/labrador.rs:154-211 \u2014 These two members are one piece of code written twice and then edited apart: 58 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":"rust/src/api/labrador.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9b80686bdeaf884292a3473258f652bd0e7beab37532321526288f7ac9379e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (108 corresponding lines): lib/view/widgets/oscilloscope_graph.dart:83-219 | lib/view/widgets/oscilloscope_graph.dart:221-328 \u2014 These two members are one piece of code written twice and then edited apart: 108 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":"lib/view/widgets/oscilloscope_graph.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d3a75748d32f1172820dc9a7606dcb9978a6c0a63fd3c70e95b7078ed249c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): lib/providers/accelerometer_state_provider.dart:308-368 | lib/providers/gyroscope_state_provider.dart:337-406 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a8c378b5841f189dac8c352862425f96bf6d62e20627b9eab94a61c6619e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): lib/providers/accelerometer_state_provider.dart:94-168 | lib/providers/gyroscope_state_provider.dart:112-189 \u2014 These two members are one piece of code written twice and then edited apart: 75 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff38764b6d775e78a61f7edf660def3e6c96c21d2cc71205d6359b3c910fb3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): lib/view/compass_screen.dart:992-1075 | lib/view/widgets/compass_dial.dart:342-411 \u2014 These two members are one piece of code written twice and then edited apart: 70 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":"lib/view/compass_screen.dart"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"89abde1d9306266267fce1005e4823ccaad7059897210e9d2986c927b4820ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): lib/communication/pslab_communication/pslab_functions.dart:1150-1204 | lib/communication/pslab_communication/pslab_functions.dart:1206-1260 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac74c9db92cf16d8a8b8fc68f47e3a393c8d74906c3d167a8b568b93673faae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): lib/view/gas_sensor_screen.dart:222-292 | lib/view/thermometer_screen.dart:219-311 \u2014 These two members are one piece of code written twice and then edited apart: 71 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":"lib/view/gas_sensor_screen.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbf5f5e6a8ea72e3f11b98e8139f45ffa15132d1629a037e8322b9709f6d867"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/view/compass_screen.dart:718-764 | lib/view/widgets/compass_dial.dart:103-145 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"lib/view/compass_screen.dart"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e60731f2682d101641cc51201c284939be4b05c1fede257a805e5979886ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/communication/sensors/mpu6050.dart:63-96 | lib/communication/sensors/mpu925x.dart:94-128 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"lib/communication/sensors/mpu6050.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1970228ec7ad415daa320a94f0985864c5f0beffce6283c03bf01820d12412"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): lib/providers/luxmeter_state_provider.dart:169-220 | lib/providers/luxmeter_state_provider.dart:222-273 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"lib/providers/luxmeter_state_provider.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59a7a653b745fecd1da8b50343777bf32ddd4373a03458500d9a9ad79ffeeb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): lib/providers/barometer_state_provider.dart:439-494 | lib/providers/luxmeter_state_provider.dart:414-464 \u2014 These two members are one piece of code written twice and then edited apart: 51 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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c6e9339209dbc43fe22f1abb69423503622588b4a38b920cb12391a1f0c39a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): lib/view/apds9960_screen.dart:253-312 | lib/view/mpu925x_screen.dart:161-226 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"lib/view/apds9960_screen.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"25686c72a5cb830df6ad3dc9c8df825f174f107a83b61c16251dc529d83c1567"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/communication/analytics_class.dart:209-240 | lib/communication/analytics_class.dart:242-268 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"lib/communication/analytics_class.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a402926c20878bfa5c4335b5b7e5d2763092aeba980eff781ea27f8df799caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/providers/oled_display_provider.dart:716-731 | lib/providers/oled_display_provider.dart:824-844 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf474e7e25b84ceb2582836e1fab60430969b9f07002d7f5872820a083d036c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 47\u002B corresponding lines): lib/view/logic_analyzer_config_screen.dart:32-78 | lib/view/oscilloscope_config_screen.dart:32-78 | lib/view/wave_generator_config_screen.dart:32-78 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 47 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/logic_analyzer_config_screen.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f22d5911ff2e338c43197a0adb64b03caa01ad88d9947cfbfc59f70e27caf5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): rust/src/api/common.rs:119-154 | rust/src/api/common.rs:614-647 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"rust/src/api/common.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01798e865f510184b63ee2279c4189276e12fd16ac2c2dcad48410a28849b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/providers/accelerometer_state_provider.dart:170-200 | lib/providers/gyroscope_state_provider.dart:191-221 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd91ad932c0fbbf6ae466327f542954e3e0e9e8d1de2029e30da07d821c55082"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/view/multimeter_screen.dart:77-127 | lib/view/wave_generator_screen.dart:82-117 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"lib/view/multimeter_screen.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82c43c2f4753e1c4e5cab0a1a12f64bbb8a705d7a7ce05ef3a3fb6886c64587"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/view/ccs811_screen.dart:231-270 | lib/view/max30102_screen.dart:272-311 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"lib/view/ccs811_screen.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f8b88317f347484a3567fe2ee51ff2222dc4405b81db1886a6afc3fe2d7b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): lib/view/ads1115_screen.dart:307-358 | lib/view/mpu925x_screen.dart:369-407 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"lib/view/ads1115_screen.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d865b662ad20765c18ea8835792e73d236273e4053e5d99625e41b026d64e8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/communication/sensors/ads1115.dart:170-218 | lib/communication/sensors/ads1115.dart:220-255 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"lib/communication/sensors/ads1115.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b2c5090cacb5a6053913e58e93c5b1ab262dbed65c96546f968abeb39bce21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/providers/wave_generator_state_provider.dart:419-449 | lib/providers/wave_generator_state_provider.dart:451-478 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"lib/providers/wave_generator_state_provider.dart"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c548d3c40b95e35d4ad9e82a7381a9c804ce03e5587f53c8f75e8f5c602b396e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): rust/src/api/labrador.rs:556-575 | rust/src/api/labrador.rs:754-772 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"rust/src/api/labrador.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dcaa5b0c2bc0623358e6bb6ca75f6bbf54294d97231d5a21ef4cd5868d1b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ios/Runner/AppDelegate.swift:19-41 | macos/Runner/MainFlutterWindow.swift:10-40 \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/Runner/AppDelegate.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4fe086bea726bb08301cd2ab5bfafb92c1add41b132e1e3b0a059863a2475e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 33\u002B corresponding lines): lib/providers/barometer_state_provider.dart:72-104 | lib/providers/gyroscope_state_provider.dart:78-110 | lib/providers/luxmeter_state_provider.dart:74-106 | lib/providers/oscilloscope_state_provider.dart:336-368 | lib/providers/power_source_state_provider.dart:91-123 | lib/providers/thermometer_state_provider.dart:72-104 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e87845918d01bb73337ca46c9799eec934fbcd6d855e265b9aef15f88675d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/providers/compass_provider.dart:83-113 | lib/providers/gas_sensor_state_provider.dart:87-116 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/compass_provider.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d43583de3d6e7562ceacd2a979f8544e0f08ecfe33902f0414c30222325940e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/view/apds9960_screen.dart:383-422 | lib/view/mpu925x_screen.dart:310-345 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"lib/view/apds9960_screen.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6847b26bfa53c7b7392eb6ea89fb1f9ee1e123138b701d49bfe81438f8139e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/providers/power_source_state_provider.dart:125-152 | lib/providers/power_source_state_provider.dart:154-181 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"lib/providers/power_source_state_provider.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4125f2605508984f2d71b3c3413f3229eb9e35d167e6ffd15287e2c9e029d114"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/view/widgets/channel_parameters_widget.dart:37-71 | lib/view/widgets/channel_parameters_widget.dart:73-108 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/channel_parameters_widget.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5573e35a4fce497134d7625e4faad01512d3d8a95d89ffe16db1dd3d038e1a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/providers/logic_analyzer_state_provider.dart:987-1027 | lib/providers/wave_generator_state_provider.dart:622-645 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"80da726dc36fd9c1dd4b1e71409a1b2bc04710154c53584a9c3d145086295753"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/communication/pslab_communication/pslab_functions.dart:1088-1105 | lib/communication/pslab_communication/pslab_functions.dart:1107-1124 \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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b088c666c8b3186fbc2f954f4f03746f9beebbef380b44a91030da784bffa87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ios/Runner/AppDelegate.swift:96-118 | macos/Runner/MainFlutterWindow.swift:95-117 \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/Runner/AppDelegate.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f500788fa33d40cd7b16334ffd8f468848b6a2f8869faf02d3c51b1195f462"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/view/barometer_screen.dart:379-400 | lib/view/luxmeter_screen.dart:349-367 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"lib/view/barometer_screen.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afc0492850fde34824cc63276f27ea784800a66381d7a3797c71b9860c8a581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/hal/labrador_oscilloscope.dart:45-65 | lib/hal/labrador_oscilloscope.dart:67-87 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hal/labrador_oscilloscope.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfb4b3086f0af93cce2eb2355ce37de4d8071f929199eb67fd6625256bd21b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): lib/providers/gas_sensor_config_provider.dart:16-31 | lib/providers/luxmeter_config_provider.dart:16-31 | lib/providers/multimeter_config_provider.dart:16-31 | lib/providers/settings_config_provider.dart:16-31 | lib/providers/thermometer_config_provider.dart:17-32 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/gas_sensor_config_provider.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8313b60e5df65e43ebd93c665f2f3e229a87c25a9147c4f31c9ba21050f5834b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/view/compass_screen.dart:775-789 | lib/view/widgets/compass_dial.dart:81-101 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/compass_screen.dart"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce10434e3b29c59d84fef9780505da838498c2db84e44003a2e7a01f5e9a055"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/others/barometer_pressure_experiment.dart:15-26 | lib/others/light_distance_experiment.dart:64-78 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"lib/others/barometer_pressure_experiment.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1651349a644d5b749a42960843535d7ae2b745040e4d0c46566b0dd7eb0a1a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/communication/sensors/sht21.dart:25-35 | lib/communication/sensors/sht21.dart:37-47 \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":"lib/communication/sensors/sht21.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b42c64ad30c724593781dc89f205d3d0f547c55f9cb0c690df37424364d88d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/view/widgets/sensor_chart_widget.dart:363-373 | lib/view/widgets/sensor_chart_widget.dart:375-385 \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":"lib/view/widgets/sensor_chart_widget.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"26978c28acb6234e2e717743a37e510a2f66a9ea32a5915c3dee8c5be58ae680"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/communication/sensors/bmp180.dart:107-121 | lib/communication/sensors/max30102.dart:67-81 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/bmp180.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaae42a99355a0d34e5cbf6f992540cc190a4fa37cdb5bd57cdf532874401047"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/providers/wave_generator_state_provider.dart:283-299 | lib/providers/wave_generator_state_provider.dart:301-316 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/wave_generator_state_provider.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b861650faa15eb99d552ceab76e901cccb5e9a3a9a6cee600043ce5a42909d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ios/Runner/AppDelegate.swift:62-76 | macos/Runner/MainFlutterWindow.swift:61-75 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/AppDelegate.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"664347c3221b08b7b19bff9280ac7908f77a2377018a29e4f352d8f7d05a326c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/view/barometer_screen.dart:61-71 | lib/view/luxmeter_screen.dart:222-234 \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":"lib/view/barometer_screen.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caed422043f17e30fe03368a37bda2ce4d9d21d2d2c6cacec07b2869354f6b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): lib/providers/ccs811_provider.dart:49-72 | lib/providers/mlx90614_provider.dart:51-72 | lib/providers/mpu6050_state_provider.dart:63-78 | lib/providers/mpu925x_provider.dart:72-87 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/ccs811_provider.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34d7e1e9e7597861e1820be526902f4792f1f4cf9b3b9ade7a66eb6d56e749d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/view/widgets/config_widgets.dart:23-45 | lib/view/widgets/config_widgets.dart:126-153 \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":"lib/view/widgets/config_widgets.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5a934476122f5bc04e8ca701bf1c4be9c8e67af12d3e6bbb324936e318feb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/communication/sensors/apds9960.dart:305-319 | lib/communication/sensors/apds9960.dart:321-331 \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":"lib/communication/sensors/apds9960.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb99fccbbaaed8e976ef967afdba6a3c12a1cd80cea5bf9dec59bf36c44806e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/providers/accelerometer_state_provider.dart:276-290 | lib/providers/gyroscope_state_provider.dart:301-319 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3a21be671f00fc99e662429ffacc4725a831ebc9c675a1e62c5f8228350a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 21\u002B corresponding lines): lib/view/accelerometer_screen.dart:35-59 | lib/view/gas_sensor_screen.dart:42-63 | lib/view/gyroscope_screen.dart:34-58 | lib/view/multimeter_screen.dart:55-75 | lib/view/soundmeter_screen.dart:174-194 | lib/view/thermometer_screen.dart:37-59 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_screen.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"614e9b4a897a7bc2db03474c3ff2f9a771e51e77429398134af5e6b5cbb72426"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/others/sound_classification.dart:91-102 | lib/providers/soundmeter_state_provider.dart:187-202 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"lib/others/sound_classification.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bfeb719fe89d4a059b4aebc1028c59f939f8a289e5a9ee2d246f30790cbc14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/view/max30102_screen.dart:47-63 | lib/view/max30102_screen.dart:65-81 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/max30102_screen.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7daf4290ba7c1f755f2f1cd8b1ad453c52a2944f8290c2c306212b5816a8ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/providers/accelerometer_state_provider.dart:216-231 | lib/providers/gyroscope_state_provider.dart:231-250 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b397e9be27f565ebcea96109efcca5f8232816d06ea6df0fdcec010f8bee1a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/providers/logic_analyzer_state_provider.dart:1031-1050 | lib/providers/wave_generator_state_provider.dart:649-669 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7825ff1e4dcafbe1e447b388793a7535e81b7fafe06718f7e83c3378484b0c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/view/logged_data_chart_screen.dart:401-418 | lib/view/widgets/sensor_chart_widget.dart:138-158 \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":"lib/view/logged_data_chart_screen.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a54891a41ea3e66bb1da23eadd40acddaa8efcf15daadcfbfc92afc5297abb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/others/data_chart_analyzer.dart:335-344 | lib/providers/logic_analyzer_state_provider.dart:913-920 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"lib/others/data_chart_analyzer.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"050f75a00919bd100d087ee4db6fc2aea41cf03d1c2d648da7713fb01c870c7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/communication/sensors/mpu6050.dart:29-41 | lib/communication/sensors/mpu925x.dart:33-46 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"lib/communication/sensors/mpu6050.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3421eac319697f681b6675a848e69880eb90e1e81d783dc1ac0cd5c622217819"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/models/accelerometer_config.dart:52-62 | lib/models/gyroscope_config.dart:52-62 \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":"lib/models/accelerometer_config.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73f9d04d368941b55d5d4a347f2e9531dd78d112b7fecf7e001273fac295e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/providers/luxmeter_state_provider.dart:369-385 | lib/providers/soundmeter_state_provider.dart:341-358 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/luxmeter_state_provider.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0954a15d2eb2d007309484b25082a7d272d03504345b63bc8691164c09e8204"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/providers/mpu6050_state_provider.dart:191-202 | lib/providers/mpu925x_provider.dart:220-234 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"lib/providers/mpu6050_state_provider.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"408b1259f247706e6b831294eaca8fa535127cb88cb7ee8a97f25f3a9d7c74f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): lib/view/accelerometer_config_screen.dart:26-37 | lib/view/barometer_config_screen.dart:24-33 | lib/view/gyroscope_config_screen.dart:25-36 | lib/view/luxmeter_config_screen.dart:24-34 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"47993672e1bf61cb9217045cafe6922bce71b41734187267b2c3cf0aba5f5a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/communication/pslab_communication/pslab_functions.dart:500-510 | lib/communication/pslab_communication/pslab_functions.dart:978-988 \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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a95ffc0447a18fde02979449aa89d6b7180db62f684cac4d06e3b379be6968"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/providers/mpu6050_state_provider.dart:162-170 | lib/providers/mpu925x_provider.dart:186-199 \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":"lib/providers/mpu6050_state_provider.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc5c2805568dc957bddacf17f76737754a465db2c456cd3a465d118947fc50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lib/models/accelerometer_config.dart:20-38 | lib/models/gyroscope_config.dart:20-38 | lib/models/luxmeter_config.dart:16-30 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/accelerometer_config.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ee4597b252873b330cad308dee35360de87a7ec28539848a8da32abcb07f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/view/mpu925x_screen.dart:347-356 | lib/view/mpu925x_screen.dart:358-367 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/mpu925x_screen.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f294243ac91653a5de13c5595dcafa5edc3a84b62d3cc452a4669ae091d1d90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/view/widgets/multimeter_knob.dart:14-25 | lib/view/widgets/power_source_knob.dart:11-22 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"lib/view/widgets/multimeter_knob.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"40840ba186298de9e11a1355001534fc3b085ddcf68e97fe6161670890051762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/communication/peripherals/i2c.dart:90-101 | lib/communication/peripherals/i2c.dart:117-127 \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":"lib/communication/peripherals/i2c.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"35899afc1e8144bbd14dbbbb01c2f561123d86128ea9a5f5e0b5f41cfd4e29b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/communication/sensors/apds9960.dart:295-303 | lib/communication/sensors/apds9960.dart:333-341 \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":"lib/communication/sensors/apds9960.dart"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1fdef3afc478d272228f67d5119a2a00091221dab96f5c89a75d4686ab9540"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/view/widgets/sensor_chart_widget.dart:347-353 | lib/view/widgets/sensor_chart_widget.dart:355-361 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"lib/view/widgets/sensor_chart_widget.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a933841357e38cef159f4dfc84fe7882fdf83066ebd4d3afd90d5a8fd979dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): lib/providers/oled_display_provider.dart:684-689 | lib/providers/oled_display_provider.dart:733-738 | lib/providers/oled_display_provider.dart:767-774 | lib/providers/oled_display_provider.dart:776-781 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8cd4974c44e7ff514e55d4f88be1d9321b6b1b515bd5add0ce85c8b74cc8aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/view/logic_analyzer_screen.dart:137-150 | lib/view/wave_generator_screen.dart:40-52 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"lib/view/logic_analyzer_screen.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"279b113e21fa36c7ebb3405ab1d395701a3c0ccbc33b6f0d741e1d0783b56a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/communication/packet_handler.dart:134-146 | lib/communication/packet_handler.dart:176-188 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"lib/communication/packet_handler.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b1e3be3b369d2697a3325ec3482300e712d9b0eb838734720ab90883e6838b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/providers/oscilloscope_state_provider.dart:142-149 | lib/providers/oscilloscope_state_provider.dart:151-158 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a963b92b7d2ae0a1eeec397b11482e8acad9b0509acec696456b3a4725613c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ios/Runner/AppDelegate.swift:120-128 | macos/Runner/MainFlutterWindow.swift:119-127 \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/Runner/AppDelegate.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e344d9f6ce6a9dbefc117dcd17e260dc911c6f6d381525eba106c0eaea0459bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/communication/common.dart:22-38 | lib/communication/common.dart:40-51 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"lib/communication/common.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"688d066f52461aed992d1cd849e20aa741c6e7d88446f70d256c0b7a6d405bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/view/widgets/logic_analyzer_channel_selection.dart:117-133 | lib/view/widgets/logic_analyzer_channel_selection.dart:148-164 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/logic_analyzer_channel_selection.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b440123fa140322c89f4d052236c447cf76fb935553da3b142ea44fca9a95a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/providers/luxmeter_state_provider.dart:466-478 | lib/providers/soundmeter_state_provider.dart:71-83 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"lib/providers/luxmeter_state_provider.dart"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b12141220724055ab60e98da5dab52c74051eec7c2bc149c4ad1988a7181908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): lib/others/temperature_service.dart:17-27 | lib/others/temperature_service.dart:29-39 | lib/others/temperature_service.dart:41-54 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/temperature_service.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c9fabf469d81ca0768a3706d3150a32f9c613b3234bbb578565e8cb137f794"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/models/luxmeter_config.dart:42-50 | lib/models/barometer_config.dart:37-44 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"lib/models/luxmeter_config.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f95cef60de078752d5d18bf7e84984b7faca0e93479dbacf960df03eae30b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/communication/sensors/ads1115.dart:280-293 | lib/communication/sensors/max30102.dart:83-95 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"lib/communication/sensors/ads1115.dart"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f72d165663acd4be537b61613f570df43b19f99278a52bdf7f34b61da12a444"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/providers/oled_display_provider.dart:988-998 | lib/providers/oled_display_provider.dart:1081-1090 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3f7443a8012a142b5fc1af8ff147c9f99c2027291e604431e878ad2eccf129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/view/compass_screen.dart:238-243 | lib/view/widgets/compass_dial.dart:21-25 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"lib/view/compass_screen.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf7dbc6dce6e89fcce421611795141a20c92b336b2e3a2a5e432e6a768d06c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): lib/providers/barometer_state_provider.dart:513-522 | lib/providers/luxmeter_state_provider.dart:480-489 | lib/providers/multimeter_state_provider.dart:525-546 | lib/providers/soundmeter_state_provider.dart:437-453 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b026ece68cda8c53981489cb0b8d8c788eb10358558045cf4b9206cf54bd62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/view/widgets/accelerometer_card.dart:32-43 | lib/view/widgets/gyroscope_card.dart:32-43 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ac0cfb03eae9a9a22bc967f134c2a30f5eef4b7253ac9fe10f556673010a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/providers/gas_sensor_state_provider.dart:389-399 | lib/providers/thermometer_state_provider.dart:394-407 \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":"lib/providers/gas_sensor_state_provider.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4a1e8f9cfafbdec9d4b75e6d0327550d94a7d17302b8854c9ec1d3909600f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/providers/luxmeter_config_provider.dart:61-70 | lib/providers/thermometer_config_provider.dart:73-80 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"lib/providers/luxmeter_config_provider.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa8dbe5d4af786bc859fb36930df33e080109af638fbdebecc957a6a8b9446a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/providers/mpu6050_state_provider.dart:157-160 | lib/providers/mpu925x_provider.dart:181-184 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"lib/providers/mpu6050_state_provider.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"725defdc5c8522315aaa3806463421ebc2113e515472717534307cb91a6c5967"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/providers/barometer_state_provider.dart:428-437 | lib/providers/gyroscope_state_provider.dart:501-509 \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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9efde5e920d338eda2dd61634ead1cdf9a8269472ee06791495be482b53679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/models/multimeter_config.dart:10-18 | lib/models/soundmeter_config.dart:8-16 \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":"lib/models/multimeter_config.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"998a4525701b4d12373c5d96bbea746c2f46defc9cdd82716459e0faebec54c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/models/accelerometer_config.dart:40-50 | lib/models/gyroscope_config.dart:40-50 | lib/models/luxmeter_config.dart:32-40 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/accelerometer_config.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce51831d1a591d197e7ff5192282b6512cc5d54eb5ffc286df1a5f34c0baf904"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): lib/providers/ads1115_provider.dart:231-237 | lib/providers/ccs811_provider.dart:185-193 | lib/providers/mlx90614_provider.dart:185-193 | lib/providers/vl53l0x_provider.dart:167-173 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/ads1115_provider.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce29806ab62c7f89b22a76ede0b104962fd71ff2cdc6bbffc66647f287ce0d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/providers/accelerometer_state_provider.dart:202-207 | lib/providers/compass_provider.dart:218-223 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d10484edee0b05b829d90550bd6e8a472ad8029bd607d00b5adb818372ec87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (178\u2013179 lines \u00D7 2): lib/view/widgets/accelerometer_card.dart:334-511 | lib/view/widgets/gyroscope_card.dart:338-516 \u2014 before extracting anything, compare \u0060lib/view/widgets/accelerometer_card.dart\u0060 and \u0060lib/view/widgets/gyroscope_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 431 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 \u0060lib/view/widgets/accelerometer_card.dart:334\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 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":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"9508f0425307b5705b761a98bbeed92344c0c8ab4343a640e54e6d6554472dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (96 lines \u00D7 2): lib/view/widgets/accelerometer_card.dart:45-140 | lib/view/widgets/gyroscope_card.dart:45-140 \u2014 before extracting anything, compare \u0060lib/view/widgets/accelerometer_card.dart\u0060 and \u0060lib/view/widgets/gyroscope_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 431 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. 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":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8379be64d121518f15b43e7a9abb841f3293b03d703bb174d883e4ff60b29337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77\u201378 lines \u00D7 2): lib/view/compass_screen.dart:791-868 | lib/view/widgets/compass_dial.dart:161-237 \u2014 before extracting anything, compare \u0060lib/view/compass_screen.dart\u0060 and \u0060lib/view/widgets/compass_dial.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 301 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":"lib/view/compass_screen.dart"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"07918106ef75b929dcc002369283bbe94ca3639b856a342503e9ed265c94a530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69\u201373 lines \u00D7 2): lib/view/compass_screen.dart:1003-1075 | lib/view/widgets/compass_dial.dart:343-411 \u2014 before extracting anything, compare \u0060lib/view/compass_screen.dart\u0060 and \u0060lib/view/widgets/compass_dial.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 301 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 \u0060lib/view/compass_screen.dart:1003\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":"lib/view/compass_screen.dart"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"34746d91279a18f2f8b0e0c9b5c96e684f8ad7e215ba4b066b57c48fd753ddf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (119 lines \u00D7 2): lib/view/widgets/accelerometer_card.dart:160-278 | lib/view/widgets/gyroscope_card.dart:164-282 \u2014 before extracting anything, compare \u0060lib/view/widgets/accelerometer_card.dart\u0060 and \u0060lib/view/widgets/gyroscope_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 431 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 \u0060lib/view/widgets/accelerometer_card.dart:160\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"255f48a12c0f596ae962d97ba9eed72a2f2b8056888e0e7f3d2398de14109a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): lib/providers/accelerometer_state_provider.dart:119-168 | lib/providers/gyroscope_state_provider.dart:140-189 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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 \u0060lib/providers/accelerometer_state_provider.dart:119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dafdf1f06094f264d8126b1ff2e7abf854882d0a014a5ff467c46c82e10bbbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): lib/view/accelerometer_config_screen.dart:179-223 | lib/view/gyroscope_config_screen.dart:174-218 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/gyroscope_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 210 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 \u0060lib/view/accelerometer_config_screen.dart:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bee91c3d2b8e99a864f064f7bc57e98ce48a17d68dba8d56ba860344fd7890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201345 lines \u00D7 2): lib/view/widgets/oscilloscope_graph.dart:158-202 | lib/view/widgets/oscilloscope_graph.dart:282-324 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/oscilloscope_graph.dart:158\u0060 it begins part-way through the construct above it, so those exact 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, \u0060lib/view/widgets/oscilloscope_graph.dart:281\u0060 calls \u0060AxisTitles\u0060, \u0060SideTitles\u0060 and \u0060lib/view/widgets/oscilloscope_graph.dart:157\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":"lib/view/widgets/oscilloscope_graph.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ed60e31fba478d6399b4d1ba79df131bf9490380ae7faf7b4cb994067c0853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): lib/view/compass_screen.dart:870-912 | lib/view/widgets/compass_dial.dart:239-280 \u2014 before extracting anything, compare \u0060lib/view/compass_screen.dart\u0060 and \u0060lib/view/widgets/compass_dial.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 301 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":"lib/view/compass_screen.dart"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3f745ced16c96aaf15c7e37481a40adc62946e369ea8ab4e07dd7cfbd53cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): lib/view/compass_screen.dart:723-764 | lib/view/widgets/compass_dial.dart:104-145 \u2014 before extracting anything, compare \u0060lib/view/compass_screen.dart\u0060 and \u0060lib/view/widgets/compass_dial.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 301 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 \u0060lib/view/compass_screen.dart:723\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":"lib/view/compass_screen.dart"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76cef943d2f5224331b70dbb90d238420d9cb76a7567dd7ea90fe4eacf89c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): lib/communication/pslab_communication/pslab_functions.dart:1151-1191 | lib/communication/pslab_communication/pslab_functions.dart:1207-1247 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/communication/pslab_communication/pslab_functions.dart:1151\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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd86795d9596c490edbec8ea1513abf5dcaac0d32e12d04ceae038d8529445d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 6): lib/view/ads1115_screen.dart:360-398 | lib/view/bmp180_screen.dart:270-308 | lib/view/mlx90614_screen.dart:253-291 | lib/view/sht21_screen.dart:248-286 | lib/view/tsl2561_screen.dart:267-305 | lib/view/vl53l0x_screen.dart:234-272 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/bmp180_screen.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 296 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. 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":"lib/view/ads1115_screen.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"1204f937ae50052d7aa5a5c0c0713e2a5dab0a3c1210c918f89c6ec1ebfce28d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 3): lib/view/multimeter_screen.dart:195-233 | lib/view/oscilloscope_screen.dart:322-360 | lib/view/power_source_screen.dart:260-298 \u2014 before extracting anything, compare \u0060lib/view/multimeter_screen.dart\u0060 and \u0060lib/view/oscilloscope_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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":"lib/view/multimeter_screen.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b7097e8093975c0a5472758a85cd56ad505dd25c908d75248dcdc7b942bdf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): lib/view/widgets/analog_waveform_controls.dart:123-160 | lib/view/widgets/digital_waveform_controls.dart:168-204 \u2014 before extracting anything, compare \u0060lib/view/widgets/analog_waveform_controls.dart\u0060 and \u0060lib/view/widgets/digital_waveform_controls.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 100 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 \u0060lib/view/widgets/analog_waveform_controls.dart:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/analog_waveform_controls.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ef2094cb7799843cfc65e806c0db8de18938b549fd0c55b54c920cd6361268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lib/view/widgets/accelerometer_card.dart:283-319 | lib/view/widgets/gyroscope_card.dart:287-323 \u2014 before extracting anything, compare \u0060lib/view/widgets/accelerometer_card.dart\u0060 and \u0060lib/view/widgets/gyroscope_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 431 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 \u0060lib/view/widgets/accelerometer_card.dart:283\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":"lib/view/widgets/accelerometer_card.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"96478408762aab5f8b6871101c33ae71d4b8c62f669eefdefab04fc00e30f452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): lib/view/compass_screen.dart:939-973 | lib/view/widgets/compass_dial.dart:307-340 \u2014 before extracting anything, compare \u0060lib/view/compass_screen.dart\u0060 and \u0060lib/view/widgets/compass_dial.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 301 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":"lib/view/compass_screen.dart"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"da823c1a94387714a578a3342633807ef810ea223303fd8d44ea5f26b448cb61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 8): lib/view/ads1115_screen.dart:162-194 | lib/view/apds9960_screen.dart:269-301 | lib/view/bmp180_screen.dart:183-215 | lib/view/mlx90614_screen.dart:171-203 | lib/view/mpu925x_screen.dart:177-209 | lib/view/sht21_screen.dart:166-198 | lib/view/tsl2561_screen.dart:180-212 | lib/view/vl53l0x_screen.dart:157-189 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/apds9960_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 182 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060provider\u0060 to \u0060ADS1115Provider\u0060 in one and \u0060APDS9960Provider\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"13acb4f528fe56dca722fff3b5c16267787455b0a870a7c82a6f425e6452a8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): lib/view/widgets/robotic_arm_controls.dart:325-357 | lib/view/widgets/robotic_arm_controls.dart:420-452 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/robotic_arm_controls.dart:325\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":"lib/view/widgets/robotic_arm_controls.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"160276453e33a1c8fa9e7a0394ee9b063500a3da2a64b9d5be41db5eb02fa0a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): lib/providers/logic_analyzer_state_provider.dart:582-613 | lib/providers/logic_analyzer_state_provider.dart:682-713 | lib/providers/logic_analyzer_state_provider.dart:796-827 \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 after the matched lines, \u0060lib/providers/logic_analyzer_state_provider.dart:714\u0060 calls \u0060add\u0060 and \u0060lib/providers/logic_analyzer_state_provider.dart:828\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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7f7447b14d0c00d3a65aabe2c51a2182bf50366bd6bbaf57ac1555f97745b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/providers/logic_analyzer_state_provider.dart:195-226 | lib/providers/wave_generator_state_provider.dart:208-239 \u2014 before extracting anything, compare \u0060lib/providers/logic_analyzer_state_provider.dart\u0060 and \u0060lib/providers/wave_generator_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef9fa06607ecbfdc35476d134bd6754503fccb2e6ae04ae35a88d1edb8ff469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/view/accelerometer_screen.dart:275-305 | lib/view/gyroscope_screen.dart:268-298 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/gyroscope_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 177 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 \u0060lib/view/accelerometer_screen.dart:275\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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad05126d5d17d92dc29a3c0520e9c06f10a3409d08e8cc31ebc95faf3e5379c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 3): lib/view/accelerometer_config_screen.dart:68-95 | lib/view/compass_config_screen.dart:26-52 | lib/view/gyroscope_config_screen.dart:67-93 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/compass_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/view/compass_config_screen.dart:25\u0060 calls \u0060IconThemeData\u0060 and \u0060lib/view/accelerometer_config_screen.dart:67\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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b3fc1e7708f76be4c0e7d93e761a64a70139132e3e87b4931966555e79b288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): lib/view/widgets/analog_waveform_controls.dart:223-250 | lib/view/widgets/digital_waveform_controls.dart:214-240 \u2014 before extracting anything, compare \u0060lib/view/widgets/analog_waveform_controls.dart\u0060 and \u0060lib/view/widgets/digital_waveform_controls.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 100 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 \u0060lib/view/widgets/analog_waveform_controls.dart:223\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":"lib/view/widgets/analog_waveform_controls.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee881cb1827f622dc4957d90b5830b48aad730c8f59c028697d83f010062dec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 6): lib/view/ads1115_screen.dart:211-237 | lib/view/bmp180_screen.dart:242-268 | lib/view/mlx90614_screen.dart:225-251 | lib/view/sht21_screen.dart:220-246 | lib/view/tsl2561_screen.dart:239-265 | lib/view/vl53l0x_screen.dart:206-232 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/bmp180_screen.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 296 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 \u0060lib/view/ads1115_screen.dart:211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/ads1115_screen.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b59200ed43feb4be11065f77d5f026944611235cd9cebd4ebd9ec5bd731526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/view/widgets/data_analysis_widget.dart:341-367 | lib/view/widgets/timebase_trigger_widget.dart:154-180 \u2014 before extracting anything, compare \u0060lib/view/widgets/data_analysis_widget.dart\u0060 and \u0060lib/view/widgets/timebase_trigger_widget.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 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 \u0060lib/view/widgets/data_analysis_widget.dart:341\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acf01862ccfc69c942bdb466e892c9d40d1f9c16eb31d037bb1287352095459"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/others/labrador_firmware_flasher.dart:55-80 | lib/others/native_firmware_flasher.dart:33-58 \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 \u0060lib/others/labrador_firmware_flasher.dart:55\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":"lib/others/labrador_firmware_flasher.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83b4a0fed764f964e2e1b1a2a812c69f471a1ef553f3d2a030ab41c4dbaf39f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): lib/providers/oscilloscope_state_provider.dart:570-595 | lib/providers/oscilloscope_state_provider.dart:771-794 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/providers/oscilloscope_state_provider.dart:570\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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb8d15f8bef8c25fad1aa6156bee4335c657b0c15a7534050e0684192900655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 3): lib/providers/logic_analyzer_state_provider.dart:631-659 | lib/providers/logic_analyzer_state_provider.dart:739-768 | lib/providers/logic_analyzer_state_provider.dart:857-887 \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 \u0060lib/providers/logic_analyzer_state_provider.dart:631\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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"362541f2d0cf1937beb150ba2af857a1abebc19c73cba47f0c59b5d20d4165ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/providers/accelerometer_state_provider.dart:326-350 | lib/providers/gyroscope_state_provider.dart:358-382 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11e22ca0b11037fa33b5c576352a542ca7f839bc420df4703274049b1bf62b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 5): lib/view/barometer_config_screen.dart:89-111 | lib/view/gas_sensor_config_screen.dart:67-90 | lib/view/luxmeter_config_screen.dart:73-95 | lib/view/multimeter_config_screen.dart:67-89 | lib/view/soundmeter_config_screen.dart:75-97 \u2014 before extracting anything, compare \u0060lib/view/barometer_config_screen.dart\u0060 and \u0060lib/view/luxmeter_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 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 \u0060lib/view/barometer_config_screen.dart:89\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":"lib/view/barometer_config_screen.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d7aeb8471894a0dbd46cc6cca0d469f2cf4b581b9e839d66008209ac14a6fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 3): lib/view/connect_device_screen.dart:199-222 | lib/view/connect_device_screen.dart:645-665 | lib/view/connect_device_screen.dart:915-935 \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 \u0060lib/view/connect_device_screen.dart:199\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":"lib/view/connect_device_screen.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f68486bc7bd8b2d7be82ad32d835408ec7b1c29864cbe2cc60b2af96c85519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/providers/power_source_state_provider.dart:126-149 | lib/providers/power_source_state_provider.dart:155-178 \u2014 both copies are in the same file, so extract the block 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":"lib/providers/power_source_state_provider.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5388847903027e7f1e372869405e904e0e2a507eb4f4e8dd678b9939e5472d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/view/compass_screen.dart:914-937 | lib/view/widgets/compass_dial.dart:282-305 \u2014 before extracting anything, compare \u0060lib/view/compass_screen.dart\u0060 and \u0060lib/view/widgets/compass_dial.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 301 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":"lib/view/compass_screen.dart"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fceb35ff6a3cce52d80b6289c6a7818344e491c23bc69018584ff038cb8369b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): lib/view/instruments_screen.dart:226-249 | lib/view/instruments_screen.dart:256-278 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/instruments_screen.dart:226\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":"lib/view/instruments_screen.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6249461798850b2d87a6a7bc1905111d662a35b2da9bf9ab773532d4be1fe2b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/view/mpu6050_screen.dart:120-143 | lib/view/mpu925x_screen.dart:136-159 \u2014 before extracting anything, compare \u0060lib/view/mpu6050_screen.dart\u0060 and \u0060lib/view/mpu925x_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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 \u0060lib/view/mpu6050_screen.dart:120\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/mpu6050_screen.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e917707b0f72858df15f108646e722357d781c9ee659f03e5e6cbd225fff5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/view/widgets/data_analysis_widget.dart:121-144 | lib/view/widgets/data_analysis_widget.dart:159-182 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/data_analysis_widget.dart:121\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":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb354e7adeb5c5c9dd3b0e78941159afe2b1dbe92bba070fbef8ec86ac30849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 8): lib/view/widgets/navigation_drawer.dart:105-126 | lib/view/widgets/navigation_drawer.dart:138-159 | lib/view/widgets/navigation_drawer.dart:172-193 | lib/view/widgets/navigation_drawer.dart:205-227 | lib/view/widgets/navigation_drawer.dart:239-259 | lib/view/widgets/navigation_drawer.dart:272-292 | lib/view/widgets/navigation_drawer.dart:401-421 | lib/view/widgets/navigation_drawer.dart:491-513 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/view/widgets/navigation_drawer.dart:105\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 after the matched lines, \u0060lib/view/widgets/navigation_drawer.dart:160\u0060 calls \u0060Divider\u0060 and \u0060lib/view/widgets/navigation_drawer.dart:127\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":"lib/view/widgets/navigation_drawer.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1413f05fbfab6db9c2599065ea0418ce7b6b320327542df49464c507e1db7dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/providers/accelerometer_state_provider.dart:170-192 | lib/providers/gyroscope_state_provider.dart:191-213 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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 \u0060lib/providers/accelerometer_state_provider.dart:170\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"69df8cb80f48c24980abf9c13189f6ff2e9909078aea40a3721632b33ae1235b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/providers/mpu6050_state_provider.dart:102-124 | lib/providers/mpu925x_provider.dart:111-133 \u2014 before extracting anything, compare \u0060lib/providers/mpu6050_state_provider.dart\u0060 and \u0060lib/providers/mpu925x_provider.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/mpu6050_state_provider.dart:102\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":"lib/providers/mpu6050_state_provider.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b91a3a29b94859a49c24ae3c5c1bd0cc008a220ceb5e46a1ba298ffe7501058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): lib/view/wave_generator_screen.dart:376-397 | lib/view/wave_generator_screen.dart:399-421 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/wave_generator_screen.dart:399\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/wave_generator_screen.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3df5df0cbd9a140b26ba90d5c93fd3763176cdf195964a4130d16742ebad283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): lib/view/logic_analyzer_config_screen.dart:57-78 | lib/view/oscilloscope_config_screen.dart:57-78 | lib/view/wave_generator_config_screen.dart:57-78 \u2014 before extracting anything, compare \u0060lib/view/logic_analyzer_config_screen.dart\u0060 and \u0060lib/view/oscilloscope_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 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 \u0060lib/view/logic_analyzer_config_screen.dart:57\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":"lib/view/logic_analyzer_config_screen.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c92949496c5182063a718f4f283db131cde256fd0a36cdbf59b61730729a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/view/ads1115_screen.dart:255-276 | lib/view/apds9960_screen.dart:178-199 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/apds9960_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 182 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 \u0060lib/view/ads1115_screen.dart:255\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0c7a205d482608a1ad08e4df06ac51ffae26e995d6c38976112c389ab1657e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 2): lib/view/connect_device_screen.dart:239-260 | lib/view/firmware_flasher_screen.dart:617-634 \u2014 before extracting anything, compare \u0060lib/view/connect_device_screen.dart\u0060 and \u0060lib/view/firmware_flasher_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060lib/view/connect_device_screen.dart:239\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":"lib/view/connect_device_screen.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"298482e34d1b8817ad2c3273b27087ba4ac9ff602b17c9c4e9a6f89691bfffc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 7): lib/view/ads1115_screen.dart:309-329 | lib/view/ads1115_screen.dart:361-381 | lib/view/bmp180_screen.dart:271-291 | lib/view/mlx90614_screen.dart:254-274 | lib/view/sht21_screen.dart:249-269 | lib/view/tsl2561_screen.dart:268-288 | lib/view/vl53l0x_screen.dart:235-255 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/bmp180_screen.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 296 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 \u0060lib/view/ads1115_screen.dart:309\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cd6d16787f19c06f4233e70a0d5580f8fed61a48fc0b9fc201ad7b4ae79d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): lib/view/widgets/robotic_arm_controls.dart:317-337 | lib/view/widgets/robotic_arm_controls.dart:412-432 | lib/view/widgets/robotic_arm_controls.dart:481-501 \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 \u0060lib/view/widgets/robotic_arm_controls.dart:317\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/robotic_arm_controls.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b68383d6beb795f6ae2a3a4a92d1dc2644f844168f9c49ad5e6fd21338f8c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/view/accelerometer_config_screen.dart:109-129 | lib/view/gyroscope_config_screen.dart:104-124 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/gyroscope_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 210 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 \u0060lib/view/accelerometer_config_screen.dart:109\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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0d2c5d8eee7af6eb6bade825f2be541079678467d32faf5a4d46578b1d5036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): lib/view/connect_device_screen.dart:262-282 | lib/view/firmware_flasher_screen.dart:636-652 \u2014 before extracting anything, compare \u0060lib/view/connect_device_screen.dart\u0060 and \u0060lib/view/firmware_flasher_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"lib/view/connect_device_screen.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9befbadf2644a1fcbf42096e770a5574541bac4c86beb47b72cbf9847defa72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lib/view/multimeter_screen.dart:390-409 | lib/view/multimeter_screen.dart:466-486 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/view/multimeter_screen.dart:390\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":"lib/view/multimeter_screen.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0ae5147cb3e5bb6726ac5866adbdaf0bd21c42af9b9dfdf425ff106d4f221c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/view/soundmeter_config_screen.dart:40-60 | lib/view/thermometer_config_screen.dart:43-63 \u2014 before extracting anything, compare \u0060lib/view/soundmeter_config_screen.dart\u0060 and \u0060lib/view/thermometer_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 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 \u0060lib/view/soundmeter_config_screen.dart:40\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":"lib/view/soundmeter_config_screen.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0042e97dee000bc3afbdd08077f3a93eafcebe37973325bfc88a7e9a6142d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/view/widgets/logic_analyzer_graph.dart:104-124 | lib/view/widgets/wave_generator_graph.dart:68-88 \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 \u0060lib/view/widgets/logic_analyzer_graph.dart:104\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":"lib/view/widgets/logic_analyzer_graph.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90a7806a911fbbd72fb114ee85c09680b8037cfebbbb61d99e7e426f6b17972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 9): lib/view/ads1115_screen.dart:125-144 | lib/view/apds9960_screen.dart:141-160 | lib/view/bmp180_screen.dart:146-165 | lib/view/hmc5883l_screen.dart:109-128 | lib/view/max30102_screen.dart:138-157 | lib/view/mlx90614_screen.dart:134-153 | lib/view/sht21_screen.dart:129-148 | lib/view/tsl2561_screen.dart:143-162 | lib/view/vl53l0x_screen.dart:120-139 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/apds9960_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 182 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 \u0060lib/view/ads1115_screen.dart:125\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"651bc981902b599067134c5dbcc00f7907acf0d04ee8e8e71c5583b79c8f1afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 8): lib/view/accelerometer_screen.dart:183-202 | lib/view/barometer_screen.dart:201-220 | lib/view/compass_screen.dart:171-190 | lib/view/gas_sensor_screen.dart:175-194 | lib/view/gyroscope_screen.dart:175-194 | lib/view/luxmeter_screen.dart:142-161 | lib/view/soundmeter_screen.dart:127-146 | lib/view/thermometer_screen.dart:172-191 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/barometer_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 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 \u0060lib/view/accelerometer_screen.dart:183\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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"65255be098ee8c90c4f64d80853da47ada14b2dae36e5f1fd3efccce6b253cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 6): lib/providers/barometer_state_provider.dart:85-104 | lib/providers/gyroscope_state_provider.dart:91-110 | lib/providers/luxmeter_state_provider.dart:87-106 | lib/providers/oscilloscope_state_provider.dart:349-368 | lib/providers/power_source_state_provider.dart:104-123 | lib/providers/thermometer_state_provider.dart:85-104 \u2014 before extracting anything, compare \u0060lib/providers/barometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 100 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 \u0060lib/providers/barometer_state_provider.dart:85\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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c678877bf0b73636a898b4e8d1dfabb925861ba7f9c93a3180e2d06831e06af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): lib/view/accelerometer_config_screen.dart:169-188 | lib/view/gyroscope_config_screen.dart:164-183 | lib/view/luxmeter_config_screen.dart:121-140 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/gyroscope_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 210 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 \u0060lib/view/accelerometer_config_screen.dart:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9153d9bc9690d71a9dbfa7a2e8d5efd46400bd22192bce495c25cf864e6a9e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): lib/view/widgets/barometer_card.dart:36-55 | lib/view/widgets/luxmeter_card.dart:30-49 | lib/view/widgets/thermometer_card.dart:47-66 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/view/widgets/barometer_card.dart:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/view/widgets/luxmeter_card.dart:50\u0060 calls \u0060Padding\u0060, \u0060only\u0060 and \u0060lib/view/widgets/barometer_card.dart:56\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":"lib/view/widgets/barometer_card.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66560227b2e3f9c868b65fe9cc2c35dc3dcc3f500946d7546f51ae09ea8c158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): lib/view/accelerometer_screen.dart:249-267 | lib/view/gyroscope_screen.dart:241-260 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/gyroscope_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 177 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 \u0060lib/view/accelerometer_screen.dart:249\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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5eca42cdaff176951cb8c7aa004bb1c38b195f850d7c76cb7735aaf3414eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/view/widgets/analog_waveform_controls.dart:38-57 | lib/view/widgets/digital_waveform_controls.dart:21-40 \u2014 before extracting anything, compare \u0060lib/view/widgets/analog_waveform_controls.dart\u0060 and \u0060lib/view/widgets/digital_waveform_controls.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 100 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 \u0060lib/view/widgets/analog_waveform_controls.dart: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. 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":"lib/view/widgets/analog_waveform_controls.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca7fe50ab536694621a9297be5874935ce9fd1fe0ab79ba386556d6bf468794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 7): lib/view/ads1115_screen.dart:378-396 | lib/view/apds9960_screen.dart:401-419 | lib/view/bmp180_screen.dart:288-306 | lib/view/mlx90614_screen.dart:271-289 | lib/view/sht21_screen.dart:266-284 | lib/view/tsl2561_screen.dart:285-303 | lib/view/vl53l0x_screen.dart:252-270 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/apds9960_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 182 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 \u0060lib/view/ads1115_screen.dart:378\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41911dd83846a097f865520cd8506381455d3a1215289d6ca14c9a9e64a64ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 6): lib/view/barometer_config_screen.dart:90-107 | lib/view/gas_sensor_config_screen.dart:68-86 | lib/view/luxmeter_config_screen.dart:74-91 | lib/view/multimeter_config_screen.dart:68-85 | lib/view/soundmeter_config_screen.dart:76-93 | lib/view/thermometer_config_screen.dart:81-98 \u2014 before extracting anything, compare \u0060lib/view/barometer_config_screen.dart\u0060 and \u0060lib/view/luxmeter_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 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 \u0060lib/view/barometer_config_screen.dart:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/view/thermometer_config_screen.dart:80\u0060 calls \u0060SizedBox\u0060 and \u0060lib/view/barometer_config_screen.dart:89\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":"lib/view/barometer_config_screen.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"838675b98e5ad78564f2cff3aa6a9e7dc8c03ee8e49f6ce162cd5dd87bb7338b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): lib/view/accelerometer_config_screen.dart:208-226 | lib/view/barometer_config_screen.dart:151-169 | lib/view/compass_config_screen.dart:85-103 | lib/view/gyroscope_config_screen.dart:203-221 | lib/view/thermometer_config_screen.dart:138-156 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/compass_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 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 \u0060lib/view/accelerometer_config_screen.dart:208\u0060 it begins part-way through the construct above it, so those exact 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 \u0060value\u0060 to \u0060provider.config.autoScale\u0060 in one and \u0060\u0027BMP180\u0027\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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a41e7cdd0c9550947df0b56cdf71f9bdfcbe29be2d74a8ba3162c93d8187fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): lib/view/barometer_screen.dart:314-331 | lib/view/luxmeter_screen.dart:284-301 | lib/view/soundmeter_screen.dart:239-257 \u2014 before extracting anything, compare \u0060lib/view/barometer_screen.dart\u0060 and \u0060lib/view/luxmeter_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 137 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 \u0060lib/view/barometer_screen.dart:314\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":"lib/view/barometer_screen.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ec7f369989dc7a64ae1c10c1bd35ecc8b5185167f240bf1e7c178040dd57c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): lib/view/widgets/data_analysis_widget.dart:123-141 | lib/view/widgets/data_analysis_widget.dart:161-179 | lib/view/widgets/data_analysis_widget.dart:239-257 \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 \u0060lib/view/widgets/data_analysis_widget.dart:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9230901e344f7dd59327b20293874e2adf5244a4d4f890c45cd9942ebb6a4de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/communication/sensors/ads1115.dart:200-218 | lib/communication/sensors/ads1115.dart:237-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/communication/sensors/ads1115.dart:200\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":"lib/communication/sensors/ads1115.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de2e129d5c18c3ac079c2cf4b2693c522a3cdcfc8cd822fce2a0352df55626a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/others/permissions.dart:14-32 | lib/others/permissions.dart:35-52 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/others/permissions.dart:14\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":"lib/others/permissions.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe39a4da22ed549476f504146e40e0c64be2611a9fda87c85b5c5ef3daddee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/view/accelerometer_screen.dart:41-59 | lib/view/gyroscope_screen.dart:40-58 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/gyroscope_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 177 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 \u0060lib/view/accelerometer_screen.dart:41\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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a16bbdcce5c31f5494d1f84718be7c075318ed1c681625d9c23c852d230ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201319 lines \u00D7 4): lib/view/widgets/oscilloscope_screen_tabs.dart:184-202 | lib/view/widgets/oscilloscope_screen_tabs.dart:232-250 | lib/view/widgets/oscilloscope_screen_tabs.dart:288-306 | lib/view/widgets/oscilloscope_screen_tabs.dart:343-352 \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 \u0060lib/view/widgets/oscilloscope_screen_tabs.dart:184\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"lib/view/widgets/oscilloscope_screen_tabs.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fc8bc52624cf7faf2bded095c0f5b270f5b57b33889b9e966806465767a219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): lib/providers/compass_provider.dart:96-113 | lib/providers/gas_sensor_state_provider.dart:100-116 | lib/providers/soundmeter_state_provider.dart:97-113 \u2014 before extracting anything, compare \u0060lib/providers/compass_provider.dart\u0060 and \u0060lib/providers/gas_sensor_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 107 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 \u0060lib/providers/compass_provider.dart:96\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":"lib/providers/compass_provider.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5ddffc177c801fbbb4797672f55a377e6385cdcda772f36b2f1fe41df7a26c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/view/widgets/robotic_arm_controls.dart:159-176 | lib/view/widgets/robotic_arm_controls.dart:337-354 | lib/view/widgets/robotic_arm_controls.dart:432-449 \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 \u0060lib/view/widgets/robotic_arm_controls.dart:159\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/robotic_arm_controls.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2258f82a1780d46768d4fa5c43cdc5f54f88b212ba39087d1d8fa837780f42e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/view/hmc5883l_screen.dart:131-148 | lib/view/hmc5883l_screen.dart:211-228 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/hmc5883l_screen.dart:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"lib/view/hmc5883l_screen.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab02969c38c370033ee67a8c48ae8cd367f409d7fc04abf53cca40ef5b43226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): lib/view/widgets/data_analysis_widget.dart:31-48 | lib/view/widgets/xyplot_widget.dart:39-54 \u2014 before extracting anything, compare \u0060lib/view/widgets/data_analysis_widget.dart\u0060 and \u0060lib/view/widgets/xyplot_widget.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 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 \u0060lib/view/widgets/data_analysis_widget.dart:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d218a1a548989f2e28468ae82cb757e01b27899104e3b66e64554f2cbc42d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/view/widgets/robotic_arm_controls.dart:357-374 | lib/view/widgets/robotic_arm_controls.dart:385-402 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/robotic_arm_controls.dart:357\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/robotic_arm_controls.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7dcf9c7c28e0bbe71c4f0626ffa946de47dca8c1dedf32c95ec498415bdf02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 11): lib/view/ads1115_screen.dart:147-163 | lib/view/ads1115_screen.dart:240-256 | lib/view/apds9960_screen.dart:163-179 | lib/view/apds9960_screen.dart:254-270 | lib/view/bmp180_screen.dart:168-184 | lib/view/mlx90614_screen.dart:156-172 | lib/view/mpu925x_screen.dart:162-178 | lib/view/mpu925x_screen.dart:229-245 | lib/view/sht21_screen.dart:151-167 | lib/view/tsl2561_screen.dart:165-181 | lib/view/vl53l0x_screen.dart:142-158 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/apds9960_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 182 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 \u0060lib/view/ads1115_screen.dart:147\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d349c7ec38fc6f9c1d017fb2a74636642c4c1e3e623a655eed3fcadd86bcecfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 9): lib/providers/barometer_state_provider.dart:353-369 | lib/providers/compass_provider.dart:285-301 | lib/providers/gas_sensor_state_provider.dart:348-364 | lib/providers/luxmeter_state_provider.dart:344-360 | lib/providers/multimeter_state_provider.dart:455-471 | lib/providers/oscilloscope_state_provider.dart:1009-1025 | lib/providers/power_source_state_provider.dart:324-340 | lib/providers/soundmeter_state_provider.dart:269-285 | lib/providers/thermometer_state_provider.dart:369-385 \u2014 before extracting anything, compare \u0060lib/providers/barometer_state_provider.dart\u0060 and \u0060lib/providers/compass_provider.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060lib/providers/barometer_state_provider.dart:353\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0922c0886c0460bc5f1df5d673b3e15a198ea103436bd139365e83fdd23288dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 9): lib/view/ads1115_screen.dart:172-188 | lib/view/apds9960_screen.dart:279-295 | lib/view/bmp180_screen.dart:193-209 | lib/view/mlx90614_screen.dart:181-197 | lib/view/mpu6050_screen.dart:267-282 | lib/view/mpu925x_screen.dart:187-203 | lib/view/sht21_screen.dart:176-192 | lib/view/tsl2561_screen.dart:190-206 | lib/view/vl53l0x_screen.dart:167-183 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/apds9960_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 182 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 \u0060lib/view/ads1115_screen.dart:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060provider\u0060 to \u0060ADS1115Provider\u0060 in one and \u0060APDS9960Provider\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f407e76033fb09ae5efe78a5b9219dcee7ddf3771667cce984cc24f15c8d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): lib/view/widgets/data_analysis_widget.dart:84-100 | lib/view/widgets/data_analysis_widget.dart:125-141 | lib/view/widgets/data_analysis_widget.dart:163-179 | lib/view/widgets/data_analysis_widget.dart:241-257 | lib/view/widgets/timebase_trigger_widget.dart:200-216 \u2014 before extracting anything, compare \u0060lib/view/widgets/data_analysis_widget.dart\u0060 and \u0060lib/view/widgets/timebase_trigger_widget.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 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 \u0060lib/view/widgets/data_analysis_widget.dart:84\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":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb43e64b026345595a68e1ff933320602bcbca932d94bc808bae655901d7389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): lib/view/widgets/oscilloscope_screen_tabs.dart:146-162 | lib/view/widgets/oscilloscope_screen_tabs.dart:203-219 | lib/view/widgets/oscilloscope_screen_tabs.dart:259-275 | lib/view/widgets/oscilloscope_screen_tabs.dart:315-331 \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 \u0060lib/view/widgets/oscilloscope_screen_tabs.dart:146\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":"lib/view/widgets/oscilloscope_screen_tabs.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"985a2385aac30ff2020842b91f132466c7e670c4020be2180263f48f869f2eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/communication/sensors/mpu6050.dart:79-96 | lib/communication/sensors/mpu925x.dart:111-128 \u2014 before extracting anything, compare \u0060lib/communication/sensors/mpu6050.dart\u0060 and \u0060lib/communication/sensors/mpu925x.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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 \u0060lib/communication/sensors/mpu6050.dart:79\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":"lib/communication/sensors/mpu6050.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ff08d9e4376a1a93a4b708719b1a379ebb80137b7294fbee0851bdbc9af6eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/providers/barometer_state_provider.dart:334-350 | lib/providers/luxmeter_state_provider.dart:325-341 \u2014 before extracting anything, compare \u0060lib/providers/barometer_state_provider.dart\u0060 and \u0060lib/providers/luxmeter_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 142 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 \u0060lib/providers/barometer_state_provider.dart:334\u0060 it begins part-way through the construct above it, so those exact 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, \u0060lib/providers/barometer_state_provider.dart:332\u0060 calls \u0060tryParse\u0060, \u0060toString\u0060 and \u0060lib/providers/luxmeter_state_provider.dart:324\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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5decd5c634a321b14f60b98e782a33393216052059b5e641aeda6c94243650d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/view/connect_device_screen.dart:305-321 | lib/view/connect_device_screen.dart:507-523 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/connect_device_screen.dart:305\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":"lib/view/connect_device_screen.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e756ef5551b3191501d23191cef7b2293ee13c88b8b98f4bbee15f754a682b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/view/logic_analyzer_screen.dart:341-356 | lib/view/oscilloscope_screen.dart:794-810 \u2014 before extracting anything, compare \u0060lib/view/logic_analyzer_screen.dart\u0060 and \u0060lib/view/oscilloscope_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060lib/view/logic_analyzer_screen.dart:341\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":"lib/view/logic_analyzer_screen.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5d29fac72468dbe49971cd83c24caf1a3f8cc85f96ae5a2882e5f79feee2de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/view/logic_analyzer_screen.dart:357-373 | lib/view/oscilloscope_screen.dart:820-836 \u2014 before extracting anything, compare \u0060lib/view/logic_analyzer_screen.dart\u0060 and \u0060lib/view/oscilloscope_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060lib/view/logic_analyzer_screen.dart:357\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/logic_analyzer_screen.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c605a99713717393c78615c5dbb1fc2d5a5a09d93b1d6f19738d8b7d00b5b6ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/view/widgets/data_analysis_widget.dart:271-287 | lib/view/widgets/data_analysis_widget.dart:380-395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/view/widgets/data_analysis_widget.dart:271\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":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7835d972823f7b7214120b074c8772cbb2879ce10bacf2cc765f671337d7c262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/view/widgets/oscilloscope_graph.dart:124-140 | lib/view/widgets/oscilloscope_graph.dart:142-158 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/oscilloscope_graph.dart:124\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, \u0060lib/view/widgets/oscilloscope_graph.dart:122\u0060 calls \u0060AxisTitles\u0060, \u0060SideTitles\u0060 and \u0060lib/view/widgets/oscilloscope_graph.dart:140\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":"lib/view/widgets/oscilloscope_graph.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e5af373353faf91c6d8eb2aad746bc3b2f67c8036daa2a59cb03b58d9b5ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 10): lib/view/ads1115_screen.dart:119-134 | lib/view/apds9960_screen.dart:135-150 | lib/view/bmp180_screen.dart:140-155 | lib/view/ccs811_screen.dart:110-125 | lib/view/hmc5883l_screen.dart:103-118 | lib/view/max30102_screen.dart:132-147 | lib/view/mlx90614_screen.dart:128-143 | lib/view/sht21_screen.dart:123-138 | lib/view/tsl2561_screen.dart:137-152 | lib/view/vl53l0x_screen.dart:114-129 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/apds9960_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 182 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 \u0060lib/view/ads1115_screen.dart:119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/ads1115_screen.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"083b94f9ea05e60d2f283950595712e6f142ac9550d0f1226511dedae10c6b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 9): lib/providers/barometer_state_provider.dart:83-98 | lib/providers/compass_provider.dart:94-108 | lib/providers/gas_sensor_state_provider.dart:98-111 | lib/providers/gyroscope_state_provider.dart:89-104 | lib/providers/luxmeter_state_provider.dart:85-100 | lib/providers/oscilloscope_state_provider.dart:347-362 | lib/providers/power_source_state_provider.dart:102-117 | lib/providers/soundmeter_state_provider.dart:95-108 | lib/providers/thermometer_state_provider.dart:83-98 \u2014 before extracting anything, compare \u0060lib/providers/barometer_state_provider.dart\u0060 and \u0060lib/providers/compass_provider.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060lib/providers/barometer_state_provider.dart:83\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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fcdbad89ac36f09ab6680b175bef8873d12646e39f2f9f74c6679c0775dc12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 9): lib/view/accelerometer_screen.dart:213-228 | lib/view/barometer_screen.dart:231-246 | lib/view/compass_screen.dart:201-216 | lib/view/gyroscope_screen.dart:205-220 | lib/view/luxmeter_screen.dart:172-187 | lib/view/multimeter_screen.dart:244-259 | lib/view/oscilloscope_screen.dart:371-386 | lib/view/power_source_screen.dart:309-324 | lib/view/soundmeter_screen.dart:157-172 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/barometer_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 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. 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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8727a444b7e79d864882f831beea85973538a095a810856e09c1cdadc6cd06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 8): lib/providers/ads1115_provider.dart:138-153 | lib/providers/apds9960_provider.dart:117-132 | lib/providers/ccs811_provider.dart:85-100 | lib/providers/hmc5883l_provider.dart:89-104 | lib/providers/mlx90614_provider.dart:85-100 | lib/providers/mpu6050_state_provider.dart:98-113 | lib/providers/mpu925x_provider.dart:107-122 | lib/providers/tsl2561_provider.dart:89-104 \u2014 before extracting anything, compare \u0060lib/providers/ads1115_provider.dart\u0060 and \u0060lib/providers/apds9960_provider.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 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 \u0060lib/providers/ads1115_provider.dart:138\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":"lib/providers/ads1115_provider.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb1eecb9765910cd16ff9bbc852509e700b53fd4fa226d8e555355ec24694e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 7): lib/view/accelerometer_screen.dart:244-258 | lib/view/barometer_screen.dart:309-323 | lib/view/gyroscope_screen.dart:236-250 | lib/view/luxmeter_screen.dart:279-293 | lib/view/multimeter_screen.dart:281-296 | lib/view/power_source_screen.dart:760-775 | lib/view/soundmeter_screen.dart:233-248 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/barometer_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"228aacbd70233b47a4c301a3266ab8eaf03f98e845cd244aa56772d5f313e842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): lib/view/connect_device_screen.dart:559-574 | lib/view/connect_device_screen.dart:711-725 | lib/view/connect_device_screen.dart:968-982 \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 \u0060lib/view/connect_device_screen.dart:559\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/connect_device_screen.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"832b9324024122485fbd0f5a874075e91f838d31ba0a0830f9f8cf3108c47180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/view/widgets/timebase_trigger_widget.dart:80-95 | lib/view/widgets/xyplot_widget.dart:86-101 | lib/view/widgets/xyplot_widget.dart:108-123 \u2014 before extracting anything, compare \u0060lib/view/widgets/timebase_trigger_widget.dart\u0060 and \u0060lib/view/widgets/xyplot_widget.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 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 \u0060lib/view/widgets/timebase_trigger_widget.dart:80\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":"lib/view/widgets/timebase_trigger_widget.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb757a2422284d18fe7cf209a82d50a75aa164cedfbf07a5b7f36a8847885f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/providers/oled_display_provider.dart:506-521 | lib/providers/oled_display_provider.dart:577-592 \u2014 both copies are in the same file, so extract the block 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":"lib/providers/oled_display_provider.dart"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"4397788c41ada318aae2731dbf2fb690091d3e883d33f373ec81b3f95f32d8f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/view/barometer_screen.dart:362-377 | lib/view/luxmeter_screen.dart:332-347 \u2014 before extracting anything, compare \u0060lib/view/barometer_screen.dart\u0060 and \u0060lib/view/luxmeter_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 137 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 \u0060lib/view/barometer_screen.dart:362\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":"lib/view/barometer_screen.dart"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3a7623f0145178852fa09232378a507865028955bbbe563e2f1fcc3e093f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/view/ccs811_screen.dart:173-188 | lib/view/max30102_screen.dart:185-200 \u2014 before extracting anything, compare \u0060lib/view/ccs811_screen.dart\u0060 and \u0060lib/view/max30102_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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 \u0060lib/view/ccs811_screen.dart:173\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060provider\u0060 to \u0060CCS811Provider\u0060 in one and \u0060MAX30102Provider\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":"lib/view/ccs811_screen.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dcb4217bf0cf75ab752bb3f7337c96763b8a10686f43d20961670b5218297a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/view/widgets/oscilloscope_graph.dart:204-219 | lib/view/widgets/oscilloscope_graph.dart:343-358 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/oscilloscope_graph.dart:204\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/oscilloscope_graph.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"843412ea5401da6ad6cf4614a27072790c706381ac289190f411e4f0755cef4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/view/widgets/xyplot_graph.dart:77-92 | lib/view/widgets/xyplot_graph.dart:94-109 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/xyplot_graph.dart: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":"lib/view/widgets/xyplot_graph.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd1650ee0245e8a1d70a623013e97ea3927cc16205560ce10520ac6052f1948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 11): lib/providers/accelerometer_state_provider.dart:250-262 | lib/providers/barometer_state_provider.dart:344-358 | lib/providers/compass_provider.dart:276-290 | lib/providers/gas_sensor_state_provider.dart:339-353 | lib/providers/gyroscope_state_provider.dart:271-285 | lib/providers/luxmeter_state_provider.dart:335-349 | lib/providers/multimeter_state_provider.dart:446-460 | lib/providers/oscilloscope_state_provider.dart:1000-1014 | lib/providers/power_source_state_provider.dart:315-329 | lib/providers/soundmeter_state_provider.dart:260-274 | lib/providers/thermometer_state_provider.dart:360-374 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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 \u0060lib/providers/accelerometer_state_provider.dart:250\u0060 it begins part-way through the construct above it, so those exact 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, \u0060lib/providers/barometer_state_provider.dart:342\u0060 calls \u0060e\u0060, \u0060columns\u0060 and \u0060lib/providers/accelerometer_state_provider.dart:249\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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3d3442df0ce69ee9eadf92b45ccaeb94b59162c99ff05b19bd9eac7fbd3a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 11): lib/view/accelerometer_screen.dart:120-134 | lib/view/barometer_screen.dart:136-150 | lib/view/compass_screen.dart:107-121 | lib/view/gas_sensor_screen.dart:111-125 | lib/view/gyroscope_screen.dart:112-126 | lib/view/logic_analyzer_screen.dart:174-188 | lib/view/luxmeter_screen.dart:78-92 | lib/view/multimeter_screen.dart:130-144 | lib/view/power_source_screen.dart:195-209 | lib/view/soundmeter_screen.dart:64-78 | lib/view/thermometer_screen.dart:109-123 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/barometer_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 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 \u0060lib/view/accelerometer_screen.dart:120\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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f726079b48d70fa8fd281dd1b45fa10128925560ff9f37fec46a0b08b926376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 10): lib/providers/barometer_state_provider.dart:77-91 | lib/providers/compass_provider.dart:88-102 | lib/providers/gas_sensor_state_provider.dart:92-106 | lib/providers/gyroscope_state_provider.dart:83-97 | lib/providers/logic_analyzer_state_provider.dart:200-214 | lib/providers/luxmeter_state_provider.dart:79-93 | lib/providers/oscilloscope_state_provider.dart:341-355 | lib/providers/power_source_state_provider.dart:96-110 | lib/providers/thermometer_state_provider.dart:77-91 | lib/providers/wave_generator_state_provider.dart:213-227 \u2014 before extracting anything, compare \u0060lib/providers/barometer_state_provider.dart\u0060 and \u0060lib/providers/compass_provider.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060lib/providers/barometer_state_provider.dart:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82ad16018559b2b7b93c50ae0960b20b9886c5579eb300454fc3e845bfc4271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): lib/view/widgets/data_analysis_widget.dart:87-101 | lib/view/widgets/timebase_trigger_widget.dart:81-95 | lib/view/widgets/timebase_trigger_widget.dart:203-217 | lib/view/widgets/xyplot_widget.dart:87-101 | lib/view/widgets/xyplot_widget.dart:109-123 \u2014 before extracting anything, compare \u0060lib/view/widgets/data_analysis_widget.dart\u0060 and \u0060lib/view/widgets/timebase_trigger_widget.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 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 \u0060lib/view/widgets/data_analysis_widget.dart:87\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":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c9914c2548a71f0f574d5cfa41133ccb5b69c8eb0b5ff9c32592a9fc90be11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): lib/view/accelerometer_config_screen.dart:62-76 | lib/view/gyroscope_config_screen.dart:61-75 | lib/view/soundmeter_config_screen.dart:36-50 | lib/view/thermometer_config_screen.dart:39-53 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/gyroscope_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 210 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 \u0060lib/view/accelerometer_config_screen.dart:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed89d9e94ec12e1d2cd865173981155a52ad61f4de44d2612ae6852d0549633d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): lib/view/barometer_screen.dart:84-98 | lib/view/luxmeter_screen.dart:245-259 | lib/view/soundmeter_screen.dart:202-216 | lib/view/thermometer_screen.dart:67-81 \u2014 before extracting anything, compare \u0060lib/view/barometer_screen.dart\u0060 and \u0060lib/view/luxmeter_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 137 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":"lib/view/barometer_screen.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a685b3fba6d992aa666a04004d4b5d0b26ed64be6c4f971ee93f6c95cf57da86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/view/ads1115_screen.dart:91-105 | lib/view/vl53l0x_screen.dart:88-102 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/vl53l0x_screen.dart\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 311 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 \u0060lib/view/ads1115_screen.dart: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. 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":"lib/view/ads1115_screen.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda4a73bc3640dec34aeb78a5e4a2ddfa71523aaed8590cdfe87da9ff6fbdb02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 18): lib/view/ads1115_screen.dart:47-60 | lib/view/ads1115_screen.dart:63-76 | lib/view/apds9960_screen.dart:50-63 | lib/view/apds9960_screen.dart:66-79 | lib/view/bmp180_screen.dart:46-59 | lib/view/bmp180_screen.dart:62-75 | lib/view/ccs811_screen.dart:46-59 | lib/view/hmc5883l_screen.dart:46-59 | lib/view/hmc5883l_screen.dart:62-75 | lib/view/mlx90614_screen.dart:46-59 | lib/view/mlx90614_screen.dart:62-75 | lib/view/mpu925x_screen.dart:46-58 | lib/view/sht21_screen.dart:45-58 | lib/view/sht21_screen.dart:61-74 | lib/view/tsl2561_screen.dart:46-59 | lib/view/tsl2561_screen.dart:62-75 | lib/view/vl53l0x_screen.dart:44-57 | lib/view/vl53l0x_screen.dart:60-73 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/apds9960_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 182 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":"lib/view/ads1115_screen.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2542fe86ed663ab8d7c2d90384239698b87208f03ede679a3fa7989c4adc0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 12): lib/view/ads1115_screen.dart:151-164 | lib/view/ads1115_screen.dart:244-257 | lib/view/apds9960_screen.dart:167-180 | lib/view/apds9960_screen.dart:258-271 | lib/view/bmp180_screen.dart:172-185 | lib/view/ccs811_screen.dart:142-155 | lib/view/mlx90614_screen.dart:160-173 | lib/view/mpu925x_screen.dart:166-179 | lib/view/mpu925x_screen.dart:233-246 | lib/view/sht21_screen.dart:155-168 | lib/view/tsl2561_screen.dart:169-182 | lib/view/vl53l0x_screen.dart:146-159 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/apds9960_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 182 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 \u0060lib/view/ads1115_screen.dart:151\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac682e01672069a91db8fda831348a9cc1b008c0d543f82ca457be407a8a00e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 11): lib/providers/barometer_state_provider.dart:82-95 | lib/providers/compass_provider.dart:93-106 | lib/providers/gas_sensor_state_provider.dart:97-109 | lib/providers/gyroscope_state_provider.dart:88-101 | lib/providers/logic_analyzer_state_provider.dart:205-218 | lib/providers/luxmeter_state_provider.dart:84-97 | lib/providers/oscilloscope_state_provider.dart:346-359 | lib/providers/power_source_state_provider.dart:101-114 | lib/providers/soundmeter_state_provider.dart:95-106 | lib/providers/thermometer_state_provider.dart:82-95 | lib/providers/wave_generator_state_provider.dart:218-231 \u2014 before extracting anything, compare \u0060lib/providers/barometer_state_provider.dart\u0060 and \u0060lib/providers/compass_provider.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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. 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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"747a7d889ae81b382172f0ae90587835d65ae357bc01998dda1006edfa319133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): lib/view/widgets/data_analysis_widget.dart:87-100 | lib/view/widgets/data_analysis_widget.dart:128-141 | lib/view/widgets/data_analysis_widget.dart:166-179 | lib/view/widgets/data_analysis_widget.dart:244-257 | lib/view/widgets/timebase_trigger_widget.dart:81-94 | lib/view/widgets/timebase_trigger_widget.dart:203-216 | lib/view/widgets/xyplot_widget.dart:87-100 | lib/view/widgets/xyplot_widget.dart:109-122 \u2014 before extracting anything, compare \u0060lib/view/widgets/data_analysis_widget.dart\u0060 and \u0060lib/view/widgets/timebase_trigger_widget.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 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 \u0060lib/view/widgets/data_analysis_widget.dart:87\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":"lib/view/widgets/data_analysis_widget.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"673fa3058dfd7f3f8a2d712b2b934cdc1671f33f0d2256690e9d311acf60741e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): lib/providers/ads1115_provider.dart:69-82 | lib/providers/apds9960_provider.dart:63-76 | lib/providers/bmp180_provider.dart:53-66 | lib/providers/hmc5883l_provider.dart:53-66 | lib/providers/tsl2561_provider.dart:53-66 \u2014 before extracting anything, compare \u0060lib/providers/ads1115_provider.dart\u0060 and \u0060lib/providers/apds9960_provider.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 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 \u0060lib/providers/ads1115_provider.dart:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/ads1115_provider.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5a37d40031169b62a3d3dbb939bb19e421b7151ae4b732fddda7504ea75e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/communication/analytics_class.dart:62-75 | lib/communication/analytics_class.dart:174-187 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/communication/analytics_class.dart:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/analytics_class.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebc34c852f997b64e620f384963311c0e1718f0bdb9f8c33ed929068d1e30bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/communication/analytics_class.dart:210-233 | lib/communication/analytics_class.dart:243-266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/analytics_class.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2c23efe3b35eb3800c7a89708d6035d5a0ed6916aa78913bcf699dfbef81a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/providers/wave_generator_state_provider.dart:433-446 | lib/providers/wave_generator_state_provider.dart:462-475 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/providers/wave_generator_state_provider.dart:433\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/wave_generator_state_provider.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6190eee5d3e50c0502499d16a52cecace19cb2b9df72ba03f1f7e353f41a1fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/view/sensors_screen.dart:84-97 | lib/view/sensors_screen.dart:116-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/view/sensors_screen.dart:84\u0060 it begins part-way through the construct above it, so those exact 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, \u0060lib/view/sensors_screen.dart:99\u0060 calls \u0060readByte\u0060 and \u0060lib/view/sensors_screen.dart:130\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":"lib/view/sensors_screen.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35ab83ab7d36c4e5ef9c349f2ce2cab38d6f6746775976b3c390d80fb836f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/view/widgets/xyplot_graph.dart:31-44 | lib/view/widgets/xyplot_graph.dart:47-60 \u2014 both copies are in the same file, so extract the block 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":"lib/view/widgets/xyplot_graph.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e5c53382a2f6b330bfbd186247fb015117b3241174d9942d0b8a3b6aeba81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 10): lib/providers/ads1115_provider.dart:156-168 | lib/providers/apds9960_provider.dart:135-147 | lib/providers/bmp180_provider.dart:107-119 | lib/providers/ccs811_provider.dart:103-115 | lib/providers/hmc5883l_provider.dart:107-119 | lib/providers/mlx90614_provider.dart:103-115 | lib/providers/mpu6050_state_provider.dart:115-127 | lib/providers/mpu925x_provider.dart:124-136 | lib/providers/tsl2561_provider.dart:107-119 | lib/providers/vl53l0x_provider.dart:90-102 \u2014 before extracting anything, compare \u0060lib/providers/ads1115_provider.dart\u0060 and \u0060lib/providers/apds9960_provider.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 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 \u0060lib/providers/ads1115_provider.dart:156\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":"lib/providers/ads1115_provider.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"af09b62d0c1c9328886ff96285ce71d0163fce77d9ea6687df46c1b35f03a37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 8): lib/view/ads1115_screen.dart:319-331 | lib/view/ads1115_screen.dart:371-383 | lib/view/bmp180_screen.dart:281-293 | lib/view/mlx90614_screen.dart:264-276 | lib/view/mpu925x_screen.dart:381-392 | lib/view/sht21_screen.dart:259-271 | lib/view/tsl2561_screen.dart:278-290 | lib/view/vl53l0x_screen.dart:245-257 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/bmp180_screen.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 296 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 \u0060lib/view/ads1115_screen.dart:319\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/ads1115_screen.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb98590ca0925a702c6a20bb6096d34cfc8212e876dcb411628b42c2bbffdb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7): lib/view/ads1115_screen.dart:209-221 | lib/view/bmp180_screen.dart:240-252 | lib/view/ccs811_screen.dart:201-213 | lib/view/mlx90614_screen.dart:223-235 | lib/view/sht21_screen.dart:218-230 | lib/view/tsl2561_screen.dart:237-249 | lib/view/vl53l0x_screen.dart:204-216 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/bmp180_screen.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 296 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 \u0060lib/view/ads1115_screen.dart:209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/ads1115_screen.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d5f6b0ef7470e0df0dc8f4fa1944571194ea205b757b624bbb87959912f8f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7): lib/view/widgets/analog_waveform_controls.dart:374-386 | lib/view/widgets/channel_parameters_widget.dart:314-326 | lib/view/widgets/data_analysis_widget.dart:190-203 | lib/view/widgets/data_analysis_widget.dart:536-549 | lib/view/widgets/digital_waveform_controls.dart:282-294 | lib/view/widgets/timebase_trigger_widget.dart:328-340 | lib/view/widgets/xyplot_widget.dart:130-142 \u2014 before extracting anything, compare \u0060lib/view/widgets/analog_waveform_controls.dart\u0060 and \u0060lib/view/widgets/digital_waveform_controls.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 100 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 \u0060lib/view/widgets/analog_waveform_controls.dart:374\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/analog_waveform_controls.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"4054c59fe54304145503edcd777dcb98cfd68294db0405fee496b65c19d0063d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): lib/providers/ads1115_provider.dart:73-85 | lib/providers/apds9960_provider.dart:67-79 | lib/providers/bmp180_provider.dart:57-69 | lib/providers/hmc5883l_provider.dart:57-69 | lib/providers/tsl2561_provider.dart:57-69 | lib/providers/vl53l0x_provider.dart:42-54 \u2014 before extracting anything, compare \u0060lib/providers/ads1115_provider.dart\u0060 and \u0060lib/providers/apds9960_provider.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 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 \u0060lib/providers/ads1115_provider.dart:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/providers/ads1115_provider.dart:88\u0060 calls \u0060_updateCurrentSettings\u0060 and \u0060lib/providers/apds9960_provider.dart:82\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":"lib/providers/ads1115_provider.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0008891135fcc10110381f7ae3ce8d68632928f661162059398b1a4138b9ef13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/providers/wave_generator_state_provider.dart:284-296 | lib/providers/wave_generator_state_provider.dart:302-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/providers/wave_generator_state_provider.dart:297\u0060 calls \u0060setWave\u0060 and \u0060lib/providers/wave_generator_state_provider.dart:315\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":"lib/providers/wave_generator_state_provider.dart"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eef4bd03af93ff4f5d33dd5e4abccfe19f528d3d708cd0f37935c16e4e80d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/view/accelerometer_config_screen.dart:48-60 | lib/view/gyroscope_config_screen.dart:47-59 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/gyroscope_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 210 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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fa134a7fb55c6b8793c2e166ad2724fa78543db14cc96aa83d3231f8a56303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/view/accelerometer_config_screen.dart:136-148 | lib/view/gyroscope_config_screen.dart:131-143 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/gyroscope_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 210 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. 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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6605fa0ade9130c148947cbf5298ac174de2e0eae8c9a9c9d2508d79d5550a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/view/accelerometer_config_screen.dart:155-167 | lib/view/gyroscope_config_screen.dart:150-162 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/gyroscope_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 210 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. 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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd05d0d25433333e241b3bc72ac8cda1619fe615d79f7d09089f409677a038c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lib/view/connect_device_screen.dart:607-619 | lib/view/connect_device_screen.dart:755-765 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/connect_device_screen.dart:607\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":"lib/view/connect_device_screen.dart"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c24bb684cc3272fc109de0a9101aa39eb4b9e6f9b5de14db8947e832cee0ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): lib/view/logic_analyzer_screen.dart:330-339 | lib/view/oscilloscope_screen.dart:780-792 \u2014 before extracting anything, compare \u0060lib/view/logic_analyzer_screen.dart\u0060 and \u0060lib/view/oscilloscope_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060lib/view/logic_analyzer_screen.dart:330\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/logic_analyzer_screen.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2931eaff1c8461e672d5fbf491354805eb8dc340f77927dcee479af3feeed58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/view/widgets/robotic_arm_controls.dart:86-98 | lib/view/widgets/robotic_arm_controls.dart:129-141 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/robotic_arm_controls.dart:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"lib/view/widgets/robotic_arm_controls.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6352293515aaf582d928b5426fe571bdd77add253f49a8d84bfc5b236aa56f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12): lib/view/accelerometer_screen.dart:119-130 | lib/view/barometer_screen.dart:135-146 | lib/view/compass_screen.dart:106-117 | lib/view/gas_sensor_screen.dart:110-121 | lib/view/gyroscope_screen.dart:111-122 | lib/view/logic_analyzer_screen.dart:173-184 | lib/view/luxmeter_screen.dart:77-88 | lib/view/multimeter_screen.dart:129-140 | lib/view/power_source_screen.dart:194-205 | lib/view/soundmeter_screen.dart:63-74 | lib/view/thermometer_screen.dart:108-119 | lib/view/wave_generator_screen.dart:119-130 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/barometer_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 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 \u0060lib/view/accelerometer_screen.dart: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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c9f3eafad54edbec87ff5f3a4400899aa77b0b8b9764c818fd14295fee6ee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 11): lib/providers/barometer_state_provider.dart:73-84 | lib/providers/compass_provider.dart:84-95 | lib/providers/gas_sensor_state_provider.dart:88-99 | lib/providers/gyroscope_state_provider.dart:79-90 | lib/providers/logic_analyzer_state_provider.dart:196-207 | lib/providers/luxmeter_state_provider.dart:75-86 | lib/providers/multimeter_state_provider.dart:97-108 | lib/providers/oscilloscope_state_provider.dart:337-348 | lib/providers/power_source_state_provider.dart:92-103 | lib/providers/thermometer_state_provider.dart:73-84 | lib/providers/wave_generator_state_provider.dart:209-220 \u2014 before extracting anything, compare \u0060lib/providers/barometer_state_provider.dart\u0060 and \u0060lib/providers/compass_provider.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060lib/providers/barometer_state_provider.dart:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2641e8c2313371c37f3e9b44b575610a4de7062ac4f815e7aea7a90c5f8b2e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): lib/view/compass_config_screen.dart:19-30 | lib/view/logic_analyzer_config_screen.dart:32-43 | lib/view/luxmeter_config_screen.dart:44-55 | lib/view/multimeter_config_screen.dart:38-49 | lib/view/oscilloscope_config_screen.dart:32-43 | lib/view/power_source_config_screen.dart:38-49 | lib/view/wave_generator_config_screen.dart:32-43 \u2014 before extracting anything, compare \u0060lib/view/logic_analyzer_config_screen.dart\u0060 and \u0060lib/view/oscilloscope_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 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 \u0060lib/view/compass_config_screen.dart:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/view/multimeter_config_screen.dart:34\u0060 calls \u0060dispose\u0060 and \u0060lib/view/logic_analyzer_config_screen.dart:28\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":"lib/view/compass_config_screen.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4dca1c2d2edee6a8495eba79fe5b550e4e65eeb5eb09bf57dc3aa121454a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): lib/view/gas_sensor_config_screen.dart:34-45 | lib/view/logic_analyzer_config_screen.dart:34-45 | lib/view/luxmeter_config_screen.dart:46-57 | lib/view/multimeter_config_screen.dart:40-51 | lib/view/oscilloscope_config_screen.dart:34-45 | lib/view/power_source_config_screen.dart:40-51 | lib/view/wave_generator_config_screen.dart:34-45 \u2014 before extracting anything, compare \u0060lib/view/gas_sensor_config_screen.dart\u0060 and \u0060lib/view/luxmeter_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060lib/view/gas_sensor_config_screen.dart:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/view/gas_sensor_config_screen.dart:32\u0060 calls \u0060GasSensorConfigProvider\u0060 and \u0060lib/view/logic_analyzer_config_screen.dart:33\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":"lib/view/gas_sensor_config_screen.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ea2a7b3a37b4e404ce47cdd4325afac7d0c3d09cfcc4e99ee7f1e05afa0f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 4): lib/view/connect_device_screen.dart:205-216 | lib/view/connect_device_screen.dart:651-660 | lib/view/connect_device_screen.dart:921-930 | lib/view/firmware_flasher_screen.dart:596-604 \u2014 before extracting anything, compare \u0060lib/view/connect_device_screen.dart\u0060 and \u0060lib/view/firmware_flasher_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060lib/view/connect_device_screen.dart:205\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":"lib/view/connect_device_screen.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56e1bdc39abc87592d0b6b6bc61c5898e7c36fd8312f0d72053ebf638bebd3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): lib/view/mpu925x_screen.dart:273-284 | lib/view/mpu925x_screen.dart:287-296 | lib/view/mpu925x_screen.dart:299-308 \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. 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":"lib/view/mpu925x_screen.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"853570fc71c3fc2b24ae9eb7d5df6a00f7c96ef3426b09038efe54b0a6fef30b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/communication/digitalChannel/digital_channel.dart:119-129 | lib/communication/digitalChannel/digital_channel.dart:137-148 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/communication/digitalChannel/digital_channel.dart:119\u0060 it begins part-way through the construct above it, so those exact 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":"lib/communication/digitalChannel/digital_channel.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c6908a168fd32c8f745a354cf96ee8ea53eefe1cab62a31864a830d91f63af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/communication/packet_handler.dart:149-160 | lib/communication/packet_handler.dart:163-174 \u2014 both copies are in the same file, so extract the block 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":"lib/communication/packet_handler.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"808c26f77fed0e7f36cc88a1e2e9ff11779ed200e196b9a4442243562648fa44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/communication/pslab_communication/pslab_functions.dart:1301-1312 | lib/communication/pslab_communication/pslab_functions.dart:1314-1325 \u2014 both copies are in the same file, so extract the block 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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd570cb98fa87db0e7f54e1b80d109ed947fb0b072899053bbef59b018c6951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/communication/sensors/ads1115.dart:120-131 | lib/communication/sensors/bmp180.dart:124-135 \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. 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":"lib/communication/sensors/ads1115.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aebe3a6c3bf0977ca8694bcef9817d315fdedb541485bd8eed2014576d1a66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/communication/sensors/mpu6050.dart:63-75 | lib/communication/sensors/mpu925x.dart:94-106 \u2014 before extracting anything, compare \u0060lib/communication/sensors/mpu6050.dart\u0060 and \u0060lib/communication/sensors/mpu925x.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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 \u0060lib/communication/sensors/mpu6050.dart:63\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":"lib/communication/sensors/mpu6050.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7c3db2a89292efba75a598f0048590612f408780a86d7a44c13da8e3c64b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/providers/compass_provider.dart:148-159 | lib/providers/compass_provider.dart:174-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/compass_provider.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c41777efa67172ad2e9daf4d132e2737be5e6e9de74e4660471f4143152517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/view/compass_screen.dart:70-81 | lib/view/soundmeter_screen.dart:179-189 \u2014 before extracting anything, compare \u0060lib/view/compass_screen.dart\u0060 and \u0060lib/view/soundmeter_screen.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 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 \u0060lib/view/compass_screen.dart:70\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":"lib/view/compass_screen.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00615c561a1880e2a76515fface55f54863522130c39b8882f432e448fdb570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): lib/view/ads1115_screen.dart:94-105 | lib/view/bmp180_screen.dart:93-104 | lib/view/ccs811_screen.dart:77-88 | lib/view/max30102_screen.dart:99-110 | lib/view/mlx90614_screen.dart:93-104 | lib/view/mpu925x_screen.dart:78-89 | lib/view/sht21_screen.dart:92-102 | lib/view/tsl2561_screen.dart:93-104 | lib/view/vl53l0x_screen.dart:91-102 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/bmp180_screen.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 296 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 \u0060lib/view/ads1115_screen.dart:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060lib/view/tsl2561_screen.dart:106\u0060 calls \u0060Luminosity\u0060 and \u0060lib/view/ccs811_screen.dart:90\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddaa7c2e00d63aa752552e55f3ce5f2451a59fb7e63af977da73d21691e48bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): lib/view/ads1115_screen.dart:376-386 | lib/view/bmp180_screen.dart:286-296 | lib/view/mlx90614_screen.dart:269-279 | lib/view/mpu925x_screen.dart:325-335 | lib/view/sht21_screen.dart:264-274 | lib/view/tsl2561_screen.dart:283-293 | lib/view/vl53l0x_screen.dart:250-260 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/bmp180_screen.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 296 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 \u0060lib/view/ads1115_screen.dart:376\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec327ff2a0758621afafa9314c0c56ba2ab6a4d9937aeedcd1975504394c461e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): lib/view/accelerometer_config_screen.dart:108-118 | lib/view/barometer_config_screen.dart:85-95 | lib/view/gyroscope_config_screen.dart:103-113 | lib/view/luxmeter_config_screen.dart:69-79 | lib/view/multimeter_config_screen.dart:63-73 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/gyroscope_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 210 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 \u0060lib/view/accelerometer_config_screen.dart: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. 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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"883d2c7a6d52cbf215b5ced48e6efc8408585025b4719d733fb12d50c4c6f065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): lib/communication/pslab_communication/pslab_functions.dart:1178-1188 | lib/communication/pslab_communication/pslab_functions.dart:1234-1244 | lib/communication/pslab_communication/pslab_functions.dart:1303-1312 | lib/communication/pslab_communication/pslab_functions.dart:1316-1325 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The 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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7889b3352b635a1166d2fb68993bbbd79f00e185840f76d2d6d3cd0c717571b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): lib/others/barometer_pressure_experiment.dart:38-46 | lib/others/light_distance_experiment.dart:44-54 \u2014 before extracting anything, compare \u0060lib/others/barometer_pressure_experiment.dart\u0060 and \u0060lib/others/light_distance_experiment.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060lib/others/barometer_pressure_experiment.dart:38\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":"lib/others/barometer_pressure_experiment.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4deb675023a594ae925c34b29c8c32251098682429c6529fa9b7a721d20842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): lib/others/barometer_pressure_experiment.dart:58-66 | lib/others/light_distance_experiment.dart:20-30 \u2014 before extracting anything, compare \u0060lib/others/barometer_pressure_experiment.dart\u0060 and \u0060lib/others/light_distance_experiment.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060lib/others/barometer_pressure_experiment.dart:58\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":"lib/others/barometer_pressure_experiment.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d5eaa6d5ce7526f58aa87bbf80fa173bf59a290ed47d34d89c388ce3b33a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/view/firmware_flasher_screen.dart:750-760 | lib/view/firmware_flasher_screen.dart:837-847 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/view/firmware_flasher_screen.dart:750\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":"lib/view/firmware_flasher_screen.dart"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae6dca42376e86038fe119a4dfa4600e595585deb335707a36fbab7860fd414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/view/widgets/timebase_trigger_widget.dart:36-46 | lib/view/widgets/xyplot_widget.dart:35-45 \u2014 before extracting anything, compare \u0060lib/view/widgets/timebase_trigger_widget.dart\u0060 and \u0060lib/view/widgets/xyplot_widget.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 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 \u0060lib/view/widgets/timebase_trigger_widget.dart:36\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":"lib/view/widgets/timebase_trigger_widget.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e38985c866dc66280118a08c883419367b1708d849e05ee35be185ce81fbebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14): lib/view/accelerometer_config_screen.dart:77-87 | lib/view/compass_config_screen.dart:35-44 | lib/view/gyroscope_config_screen.dart:76-85 | lib/view/wave_generator_screen.dart:377-388 | lib/view/wave_generator_screen.dart:400-411 | lib/view/widgets/main_scaffold_widget.dart:236-247 | lib/view/widgets/navigation_drawer.dart:114-124 | lib/view/widgets/navigation_drawer.dart:147-157 | lib/view/widgets/navigation_drawer.dart:181-191 | lib/view/widgets/navigation_drawer.dart:214-225 | lib/view/widgets/navigation_drawer.dart:248-257 | lib/view/widgets/navigation_drawer.dart:281-290 | lib/view/widgets/navigation_drawer.dart:410-419 | lib/view/widgets/navigation_drawer.dart:500-511 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_config_screen.dart\u0060 and \u0060lib/view/compass_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/view/widgets/main_scaffold_widget.dart:235\u0060 calls \u0060initialize\u0060 and \u0060lib/view/widgets/navigation_drawer.dart:113\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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88d4fa37c3e95976914089bc376344908644b5885fbfaf7f95b5e1e64e54d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 11): lib/view/ads1115_screen.dart:35-44 | lib/view/apds9960_screen.dart:38-47 | lib/view/barometer_screen.dart:73-82 | lib/view/bmp180_screen.dart:34-43 | lib/view/ccs811_screen.dart:34-43 | lib/view/hmc5883l_screen.dart:34-43 | lib/view/max30102_screen.dart:36-45 | lib/view/mlx90614_screen.dart:34-43 | lib/view/sht21_screen.dart:33-42 | lib/view/tsl2561_screen.dart:34-43 | lib/view/vl53l0x_screen.dart:32-41 \u2014 before extracting anything, compare \u0060lib/view/ads1115_screen.dart\u0060 and \u0060lib/view/apds9960_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/view/max30102_screen.dart:48\u0060 calls \u0060addPostFrameCallback\u0060 and \u0060lib/view/ads1115_screen.dart:47\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":"lib/view/ads1115_screen.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c3762c6c45002de524cd8babc9d63e85974a0711b2e9133d27532663c6e671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): lib/providers/gas_sensor_config_provider.dart:33-41 | lib/providers/luxmeter_config_provider.dart:33-41 | lib/providers/multimeter_config_provider.dart:33-41 | lib/providers/settings_config_provider.dart:33-41 | lib/providers/thermometer_config_provider.dart:34-43 \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 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/gas_sensor_config_provider.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"73026a5232912f2df94e5f6d7732f0339b96dad203cb4dbbac20c77f6edf10a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201310 lines \u00D7 4): lib/providers/accelerometer_state_provider.dart:233-242 | lib/providers/compass_provider.dart:237-246 | lib/providers/compass_provider.dart:262-263 | lib/providers/gyroscope_state_provider.dart:252-261 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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 \u0060lib/providers/accelerometer_state_provider.dart:233\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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21b5f193bd92551d85a30c36e3404a6b5d2379c4354eb7db8ca07adff97c913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/communication/pslab_communication/pslab_functions.dart:1096-1105 | lib/communication/pslab_communication/pslab_functions.dart:1115-1124 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/communication/pslab_communication/pslab_functions.dart:1096\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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f679edeceab50157235f767845d931f90018ff4d730a7b86023b395cdcbff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/providers/accelerometer_state_provider.dart:359-368 | lib/providers/gyroscope_state_provider.dart:397-406 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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 \u0060lib/providers/accelerometer_state_provider.dart:359\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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba2610ff33492f4be78e831483c642a4395dee1e4735f3c2555db497dfb1183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 4): lib/providers/logic_analyzer_state_provider.dart:524-527 | lib/providers/logic_analyzer_state_provider.dart:617-620 | lib/providers/logic_analyzer_state_provider.dart:715-723 | lib/providers/logic_analyzer_state_provider.dart:828-837 \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. 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, \u0060lib/providers/logic_analyzer_state_provider.dart:621\u0060 calls \u0060delayed\u0060, \u0060Duration\u0060, \u0060fetchLAChannel\u0060 and \u0060lib/providers/logic_analyzer_state_provider.dart:528\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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21a46523ed128126e4eade33a84fe64c50057e500fe84d365b196f97a6be756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/providers/luxmeter_state_provider.dart:427-436 | lib/providers/soundmeter_state_provider.dart:400-408 \u2014 before extracting anything, compare \u0060lib/providers/luxmeter_state_provider.dart\u0060 and \u0060lib/providers/soundmeter_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 98 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 \u0060lib/providers/luxmeter_state_provider.dart:427\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":"lib/providers/luxmeter_state_provider.dart"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"0045c899535dc2a9e7b22c6b939d2a753f64e9cdc3068f1e1cd15c02c4a0d607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/view/mpu6050_screen.dart:37-46 | lib/view/mpu925x_screen.dart:33-42 \u2014 before extracting anything, compare \u0060lib/view/mpu6050_screen.dart\u0060 and \u0060lib/view/mpu925x_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/view/mpu925x_screen.dart:45\u0060 calls \u0060addPostFrameCallback\u0060 and \u0060lib/view/mpu6050_screen.dart:49\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":"lib/view/mpu6050_screen.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"158ef3b85cf67b0414e65d803d17b97c25da9ffcd96206d7f3c3810946707b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/view/mpu6050_screen.dart:324-333 | lib/view/mpu6050_screen.dart:338-347 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/mpu6050_screen.dart:324\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":"lib/view/mpu6050_screen.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea8332c2084f39e241d62761b355f99f8ddc09f4bd47e0bae61fa506f7f9f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/view/widgets/channel_parameters_widget.dart:123-132 | lib/view/widgets/xyplot_widget.dart:38-47 \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 \u0060lib/view/widgets/channel_parameters_widget.dart: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/channel_parameters_widget.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a5b730d277dd0425ad90dddc4509ba5b4c500151938b4a7e9b7703938dc203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/view/widgets/oled_control_panel.dart:186-194 | lib/view/widgets/oled_control_panel.dart:387-396 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/oled_control_panel.dart:186\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":"lib/view/widgets/oled_control_panel.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"433aaf2c3742105ec3534dc9d3d63f874a81992e2200ffe42ef41bc03dcf264b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/view/widgets/oled_control_panel.dart:197-206 | lib/view/widgets/oled_control_panel.dart:262-271 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/oled_control_panel.dart:197\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":"lib/view/widgets/oled_control_panel.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0586f43b714a6e559ce9003daa03ca14b5ddad3a336cd781db678df132e0b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): lib/view/widgets/barometer_card.dart:34-42 | lib/view/widgets/luxmeter_card.dart:28-36 | lib/view/widgets/soundmeter_card.dart:58-65 | lib/view/widgets/thermometer_card.dart:45-53 \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 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/view/widgets/barometer_card.dart:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/barometer_card.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ed0fa0cc3a851c0effafbfdd737a919f831c5ca50f47b4a4722283435612d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/communication/analytics_class.dart:52-60 | lib/communication/analytics_class.dart:162-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/communication/analytics_class.dart:52\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":"lib/communication/analytics_class.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d057c6305711f825eb26ee7543cfef9ad73231af618819a00247fb1623b5372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/communication/pslab_communication/pslab_functions.dart:360-368 | lib/communication/pslab_communication/pslab_functions.dart:546-553 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/communication/pslab_communication/pslab_functions.dart:360\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"788aea224751a7f51fc408200c5203595786ac316b4e406fe0850aaba15a751a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/communication/sensors/vl53l0x.dart:253-260 | lib/communication/sensors/vl53l0x.dart:289-297 \u2014 both copies are in the same file, so extract the block 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":"lib/communication/sensors/vl53l0x.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"603e2f01e073e11cd3c1474acb6029fd3dbc24142e4e0f84994f143f8df9982f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/providers/mpu6050_state_provider.dart:162-169 | lib/providers/mpu925x_provider.dart:186-194 \u2014 before extracting anything, compare \u0060lib/providers/mpu6050_state_provider.dart\u0060 and \u0060lib/providers/mpu925x_provider.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/mpu6050_state_provider.dart:162\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, \u0060lib/providers/mpu925x_provider.dart:196\u0060 calls \u0060removeRange\u0060 and \u0060lib/providers/mpu6050_state_provider.dart:170\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":"lib/providers/mpu6050_state_provider.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d7e30e2ab00ef29367738898706c39fa17c1755b87b3a8f4d577cfc3e2b470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): lib/providers/barometer_state_provider.dart:298-305 | lib/providers/luxmeter_state_provider.dart:293-299 | lib/providers/soundmeter_state_provider.dart:211-218 | lib/providers/thermometer_state_provider.dart:324-331 \u2014 before extracting anything, compare \u0060lib/providers/barometer_state_provider.dart\u0060 and \u0060lib/providers/luxmeter_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 142 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 \u0060lib/providers/barometer_state_provider.dart: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. 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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a513872193c9494f814e98c92419efca649a7075022fee24876b6d38462adbce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/others/barometer_pressure_experiment.dart:19-26 | lib/others/light_distance_experiment.dart:69-78 \u2014 before extracting anything, compare \u0060lib/others/barometer_pressure_experiment.dart\u0060 and \u0060lib/others/light_distance_experiment.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060lib/others/barometer_pressure_experiment.dart:19\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":"lib/others/barometer_pressure_experiment.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"51feb4edf674940593054ac81aec1df2c3bbc88a956fe834ce7c1dba3c1b995d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/providers/oscilloscope_state_provider.dart:987-994 | lib/providers/oscilloscope_state_provider.dart:1131-1138 \u2014 both copies are in the same file, so extract the block 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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8cc613a139982f418c206a731283559d8234fcf9328009be89f58ef86fcd6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/view/oled_display_screen.dart:156-163 | lib/view/oled_display_screen.dart:344-351 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/oled_display_screen.dart:156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/oled_display_screen.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5c7afbe82e8540e211f6877f3b5cf383652bede3bdd1d34fab071c50567b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/view/widgets/power_source_knob.dart:11-18 | lib/view/widgets/power_source_knob.dart:41-48 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/widgets/power_source_knob.dart:11\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":"lib/view/widgets/power_source_knob.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09f1480cdf5203b8181865b3c879640c886229663a74b3d3e6c0b469c2f3021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/communication/sensors/sht21.dart:29-35 | lib/communication/sensors/sht21.dart:41-47 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/communication/sensors/sht21.dart:29\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":"lib/communication/sensors/sht21.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"12eaea7fcdc543f3f147fab009110cfa32c5eec652e68b202599b59b1cca8e83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/providers/logic_analyzer_state_provider.dart:449-461 | lib/providers/logic_analyzer_state_provider.dart:464-476 \u2014 both copies are in the same file, so extract the block 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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d67816bc88ca7d3fbe4e62af17c1771031d02f708f96870be3f7e6517e604db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/providers/logic_analyzer_state_provider.dart:725-732 | lib/providers/logic_analyzer_state_provider.dart:841-848 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/providers/logic_analyzer_state_provider.dart:725\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"80876151501be50eb7290e2946ef13813fdf3a1329dd0e1ecf35058e69e07540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): lib/providers/mpu6050_state_provider.dart:143-148 | lib/providers/mpu925x_provider.dart:162-168 \u2014 before extracting anything, compare \u0060lib/providers/mpu6050_state_provider.dart\u0060 and \u0060lib/providers/mpu925x_provider.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/providers/mpu925x_provider.dart:170\u0060 calls \u0060_addDataPoint\u0060 and \u0060lib/providers/mpu6050_state_provider.dart:150\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":"lib/providers/mpu6050_state_provider.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4030369d79dc5f9580031b65ad1dc3013b65825e3f98d3b9bed555c28cc965bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/view/logged_data_screen.dart:186-192 | lib/view/logged_data_screen.dart:329-335 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/view/logged_data_screen.dart:186\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":"lib/view/logged_data_screen.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f28106597b4aec72a14c8cb090280a45ff254275fa40ea41ba6cf1b3c16e425"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/communication/digitalChannel/digital_channel.dart:98-103 | lib/communication/digitalChannel/digital_channel.dart:115-120 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/communication/digitalChannel/digital_channel.dart:98\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":"lib/communication/digitalChannel/digital_channel.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf5aa972ed94791c05e009d7e8c97d6dbe200380bcf5cad0a06388dccfb0c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/communication/pslab_communication/pslab_functions.dart:587-592 | lib/communication/pslab_communication/pslab_functions.dart:624-629 \u2014 both copies are in the same file, so extract the block 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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b934c882102374242579063ae5ef1de12585ececf513b49c02d396195a03f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/communication/pslab_communication/pslab_functions.dart:607-612 | lib/communication/pslab_communication/pslab_functions.dart:640-645 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/communication/pslab_communication/pslab_functions.dart:607\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":"lib/communication/pslab_communication/pslab_functions.dart"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2195ae7c0af80ebe055c139a59a256bc4774c5355f3bdea18615c49c3e9160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 4): lib/communication/sensors/hmc5883l.dart:62-64 | lib/communication/sensors/hmc5883l.dart:66-71 | lib/communication/sensors/hmc5883l.dart:74-79 | lib/communication/sensors/hmc5883l.dart:80-84 \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 \u0060lib/communication/sensors/hmc5883l.dart:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/communication/sensors/hmc5883l.dart:71\u0060 calls \u0060take\u0060, \u0060every\u0060 and \u0060lib/communication/sensors/hmc5883l.dart:64\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":"lib/communication/sensors/hmc5883l.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f453735d057c30de53fa42206e73a757113bf039a83821658b5200fd53bddf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/providers/logic_analyzer_state_provider.dart:915-920 | lib/providers/oscilloscope_state_provider.dart:971-976 \u2014 before extracting anything, compare \u0060lib/providers/logic_analyzer_state_provider.dart\u0060 and \u0060lib/providers/oscilloscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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 \u0060lib/providers/logic_analyzer_state_provider.dart:915\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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1409d5b2d1a8f711f9bf32bb943a801ec5ef490adf091979e45cbaf7a1cdd4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/providers/oled_display_provider.dart:535-540 | lib/providers/oled_display_provider.dart:609-614 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/providers/oled_display_provider.dart:535\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":"lib/providers/oled_display_provider.dart"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e9a9a8bdc9f3f24d3fb6b9ac0cf19af46fd34d263925a0fd2d70ae676b5112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/providers/soundmeter_state_provider.dart:309-314 | lib/providers/soundmeter_state_provider.dart:321-326 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/providers/soundmeter_state_provider.dart:309\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":"lib/providers/soundmeter_state_provider.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1178e4c42e1dc07bea6f32d39e702153bf9bf452d0f8274a5875b579b4aa0aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): lib/others/barometer_pressure_experiment.dart:35-39 | lib/others/barometer_pressure_experiment.dart:55-59 | lib/others/light_distance_experiment.dart:16-21 | lib/others/light_distance_experiment.dart:40-45 \u2014 before extracting anything, compare \u0060lib/others/barometer_pressure_experiment.dart\u0060 and \u0060lib/others/light_distance_experiment.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060lib/others/barometer_pressure_experiment.dart:35\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":"lib/others/barometer_pressure_experiment.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6a7aeb806935c419cdd9b6e7d2d10470a34693dea69911306c2f749e7b3a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/communication/sensors/mpu6050.dart:43-48 | lib/communication/sensors/mpu925x.dart:54-59 \u2014 before extracting anything, compare \u0060lib/communication/sensors/mpu6050.dart\u0060 and \u0060lib/communication/sensors/mpu925x.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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":"lib/communication/sensors/mpu6050.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e08ad79b565ba52c27b64862cc15e247af8c10f0cfd04c2d80422b10406b326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/communication/sensors/mpu6050.dart:50-55 | lib/communication/sensors/mpu925x.dart:61-66 \u2014 before extracting anything, compare \u0060lib/communication/sensors/mpu6050.dart\u0060 and \u0060lib/communication/sensors/mpu925x.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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":"lib/communication/sensors/mpu6050.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ecb62ab964b537e7598480c5f188cae5c907bae30c13f8a82f65f583480aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): lib/providers/gas_sensor_state_provider.dart:326-331 | lib/providers/soundmeter_state_provider.dart:244-248 | lib/providers/thermometer_state_provider.dart:348-350 \u2014 before extracting anything, compare \u0060lib/providers/gas_sensor_state_provider.dart\u0060 and \u0060lib/providers/soundmeter_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 94 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 \u0060lib/providers/gas_sensor_state_provider.dart:326\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"lib/providers/gas_sensor_state_provider.dart"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd8c98b6c7fdf1e6c24bd4a6a39eebbdc2c30b892a2eec42d675dbb0c1e2399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/providers/logic_analyzer_state_provider.dart:416-421 | lib/providers/logic_analyzer_state_provider.dart:430-435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"lib/providers/logic_analyzer_state_provider.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"250e581861a81a120a5d5eddfe82d7002787b04c5d063b38250888557b0bc25f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/view/widgets/sensor_chart_widget.dart:365-369 | lib/view/widgets/sensor_chart_widget.dart:388-392 \u2014 both copies are in the same file, so extract the block 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":"lib/view/widgets/sensor_chart_widget.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"48adb73fa5f64784e89df1394d7bd01d77c5509049a59a1fc92fa0d5ab467691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/communication/sensors/mpu6050.dart:57-61 | lib/communication/sensors/mpu925x.dart:68-72 \u2014 before extracting anything, compare \u0060lib/communication/sensors/mpu6050.dart\u0060 and \u0060lib/communication/sensors/mpu925x.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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. 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":"lib/communication/sensors/mpu6050.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"246ebb640d0e81dba1a0d7bbb78bf435a45abf1a49015990236a4397690433ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/providers/accelerometer_state_provider.dart:370-387 | lib/providers/gyroscope_state_provider.dart:408-425 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f1a4e04a6e99e3e606bf6fbd0a05f3729965806feb68e9529e353a42542c8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/providers/accelerometer_state_provider.dart:396-407 | lib/providers/gyroscope_state_provider.dart:436-447 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f952cd9390dddc8ab06e4da379a40086a295a1b08f2877c236369105d1e14eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/providers/accelerometer_state_provider.dart:409-420 | lib/providers/gyroscope_state_provider.dart:449-460 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffe8fcd46d541886430fd729103231be9d7075a060052024118e0156fb73fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/providers/accelerometer_state_provider.dart:422-433 | lib/providers/gyroscope_state_provider.dart:462-473 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"54964a044b9464befbfc4160e9d682b2f1eb7aa1218b7c739dc090f433107732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/providers/accelerometer_state_provider.dart:448-459 | lib/providers/gyroscope_state_provider.dart:488-499 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db660cfcf9b11ce2557382d5f7ec0d15d1f95e3dd9e4375bb10894e7b9ddd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): lib/providers/ads1115_provider.dart:195-200 | lib/providers/apds9960_provider.dart:192-197 | lib/providers/bmp180_provider.dart:153-158 | lib/providers/ccs811_provider.dart:147-152 | lib/providers/hmc5883l_provider.dart:153-158 | lib/providers/mlx90614_provider.dart:147-152 | lib/providers/tsl2561_provider.dart:153-158 | lib/providers/vl53l0x_provider.dart:131-136 \u2014 before extracting anything, compare \u0060lib/providers/ads1115_provider.dart\u0060 and \u0060lib/providers/apds9960_provider.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 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":"lib/providers/ads1115_provider.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfb846a8844a674e0badfa4fe6d3dcbe19bc8211d6635f5868e586d1acac508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): lib/providers/apds9960_provider.dart:214-223 | lib/providers/ccs811_provider.dart:169-178 | lib/providers/hmc5883l_provider.dart:176-185 | lib/providers/mlx90614_provider.dart:169-178 | lib/providers/mpu6050_state_provider.dart:177-184 | lib/providers/mpu925x_provider.dart:206-213 | lib/providers/tsl2561_provider.dart:176-183 | lib/providers/vl53l0x_provider.dart:151-160 \u2014 before extracting anything, compare \u0060lib/providers/apds9960_provider.dart\u0060 and \u0060lib/providers/ccs811_provider.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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":"lib/providers/apds9960_provider.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e4064c496133e97400a16718019771a109c8bb5c73c829a83d5f89f96401e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): lib/providers/barometer_state_provider.dart:524-531 | lib/providers/gas_sensor_state_provider.dart:285-292 | lib/providers/gyroscope_state_provider.dart:427-434 | lib/providers/luxmeter_state_provider.dart:491-498 | lib/providers/multimeter_state_provider.dart:548-555 | lib/providers/soundmeter_state_provider.dart:455-462 | lib/providers/thermometer_state_provider.dart:315-322 \u2014 before extracting anything, compare \u0060lib/providers/barometer_state_provider.dart\u0060 and \u0060lib/providers/gas_sensor_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 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. 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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"37123b4a05d3e9bbbffd6e4e53e19ac3b3ae6aeb43fc9e3da6a4c331c03f3051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/providers/luxmeter_state_provider.dart:403-412 | lib/providers/soundmeter_state_provider.dart:376-385 \u2014 before extracting anything, compare \u0060lib/providers/luxmeter_state_provider.dart\u0060 and \u0060lib/providers/soundmeter_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 98 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":"lib/providers/luxmeter_state_provider.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b6b3e0960e140a0d49539fb3e1ac615bccb333eeee6e6ea6fc49fb5a6b7dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/providers/multimeter_state_provider.dart:480-489 | lib/providers/power_source_state_provider.dart:349-358 \u2014 before extracting anything, compare \u0060lib/providers/multimeter_state_provider.dart\u0060 and \u0060lib/providers/power_source_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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":"lib/providers/multimeter_state_provider.dart"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f4183987b2c079022f2bdeca2eb4726fcc7572a45d50c87c6cd2725a3c69c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/view/accelerometer_screen.dart:61-70 | lib/view/gyroscope_screen.dart:60-69 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/gyroscope_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 177 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. 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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"31808a2fa0552af4355e95b33c6603c98156445fff7b488891013bc187ed81dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/view/accelerometer_screen.dart:72-78 | lib/view/gyroscope_screen.dart:71-77 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/gyroscope_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 177 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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ec79c4b5eddc995494d3bb932dbc50e13221a31392efe8e697fdae842c054d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/view/barometer_config_screen.dart:35-41 | lib/view/luxmeter_config_screen.dart:36-42 \u2014 before extracting anything, compare \u0060lib/view/barometer_config_screen.dart\u0060 and \u0060lib/view/luxmeter_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 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":"lib/view/barometer_config_screen.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c388c3dc65c9066cc1985f0bbfaad27e9b854fbea9cf07537f3878c7ff73bfbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/view/widgets/logic_analyzer_graph.dart:18-31 | lib/view/widgets/oscilloscope_graph.dart:17-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/logic_analyzer_graph.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8449424c58240f007d8a61655b32de6d20f21c1008de9cd54f935ca89a7152dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/view/widgets/logic_analyzer_graph.dart:33-46 | lib/view/widgets/oscilloscope_graph.dart:32-45 | lib/view/widgets/wave_generator_graph.dart:14-27 \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. 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":"lib/view/widgets/logic_analyzer_graph.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1633023acd3912f6d0f745a32c2d9cb7dbda9b074eed235aa01bbdaa46524ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/view/widgets/timebase_trigger_widget.dart:21-30 | lib/view/widgets/xyplot_widget.dart:20-29 \u2014 before extracting anything, compare \u0060lib/view/widgets/timebase_trigger_widget.dart\u0060 and \u0060lib/view/widgets/xyplot_widget.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 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":"lib/view/widgets/timebase_trigger_widget.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa7de7bb723530fe3d4bd560c199bd5c6efc67bfe0b303802be3cd6868c7ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/models/multimeter_config.dart:27-32 | lib/models/soundmeter_config.dart:25-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/multimeter_config.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"009af2bd240810053a5d503d29e187bddabf241297394825bbb0d70927cdb0da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/providers/accelerometer_state_provider.dart:435-446 | lib/providers/gyroscope_state_provider.dart:475-486 \u2014 before extracting anything, compare \u0060lib/providers/accelerometer_state_provider.dart\u0060 and \u0060lib/providers/gyroscope_state_provider.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 211 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"715ae7b4c389f580907b518bfc8e307b9f61b3a8f115d52d129ab1ab0a0acf7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/providers/ads1115_provider.dart:202-208 | lib/providers/vl53l0x_provider.dart:138-144 \u2014 before extracting anything, compare \u0060lib/providers/ads1115_provider.dart\u0060 and \u0060lib/providers/vl53l0x_provider.dart\u0060 as WHOLE FILES: this scan already matched 4 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":"lib/providers/ads1115_provider.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b70489e618d482d29a59d76496159d37c937481a931c4d1a106781544590599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/providers/apds9960_provider.dart:199-207 | lib/providers/ccs811_provider.dart:154-162 | lib/providers/mlx90614_provider.dart:154-162 \u2014 before extracting anything, compare \u0060lib/providers/apds9960_provider.dart\u0060 and \u0060lib/providers/ccs811_provider.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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":"lib/providers/apds9960_provider.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"934d53426a4c011c66627ba01731e3e9c43fca556f7ad5efe634b4860f976ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/providers/mpu6050_state_provider.dart:80-84 | lib/providers/mpu6050_state_provider.dart:86-90 | lib/providers/mpu925x_provider.dart:89-93 \u2014 before extracting anything, compare \u0060lib/providers/mpu6050_state_provider.dart\u0060 and \u0060lib/providers/mpu925x_provider.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/mpu6050_state_provider.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce6495fd75988adc7653b5a2925fae8c1bb318632bd9aae58a1a5706733b545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): lib/view/accelerometer_screen.dart:166-176 | lib/view/gyroscope_screen.dart:158-168 | lib/view/soundmeter_screen.dart:97-107 | lib/view/thermometer_screen.dart:142-152 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/gyroscope_screen.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 177 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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91c7352bbd24ddaaa669c833abab94a1509ab47645396fb290fa97af9d7e16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): lib/view/accelerometer_screen.dart:204-211 | lib/view/barometer_screen.dart:222-229 | lib/view/luxmeter_screen.dart:163-170 | lib/view/multimeter_screen.dart:235-242 | lib/view/oscilloscope_screen.dart:362-369 | lib/view/power_source_screen.dart:300-307 | lib/view/soundmeter_screen.dart:148-155 | lib/view/thermometer_screen.dart:193-200 \u2014 before extracting anything, compare \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/barometer_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 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":"lib/view/accelerometer_screen.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4f733bc156c72ae48ad8f9901bc56512316c18ad5dadcbc764376078e9f4f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/view/compass_screen.dart:140-151 | lib/view/gas_sensor_screen.dart:144-155 | lib/view/luxmeter_screen.dart:111-122 \u2014 before extracting anything, compare \u0060lib/view/compass_screen.dart\u0060 and \u0060lib/view/gas_sensor_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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":"lib/view/compass_screen.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3a5ec3d785857e476dbd8872c846c2beb3bdd93b09ca98c9f943a7fd7cbfdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): lib/view/logic_analyzer_screen.dart:207-218 | lib/view/multimeter_screen.dart:163-174 | lib/view/oscilloscope_screen.dart:215-226 | lib/view/power_source_screen.dart:228-239 | lib/view/wave_generator_screen.dart:160-171 \u2014 before extracting anything, compare \u0060lib/view/logic_analyzer_screen.dart\u0060 and \u0060lib/view/multimeter_screen.dart\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":"lib/view/logic_analyzer_screen.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a5600431918210365a55e96dd8a4d1c32f126d015300d21128538b04b48d94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/view/multimeter_config_screen.dart:22-30 | lib/view/soundmeter_config_screen.dart:19-28 | lib/view/thermometer_config_screen.dart:23-31 \u2014 before extracting anything, compare \u0060lib/view/multimeter_config_screen.dart\u0060 and \u0060lib/view/soundmeter_config_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 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":"lib/view/multimeter_config_screen.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d134623d1399d3d55e8577786b5e3b166b79139c17a1fb245ecf3db452bde6c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/communication/sensors/apds9960.dart:74-78 | lib/communication/sensors/apds9960.dart:94-98 \u2014 both copies are in the same file, so extract the block 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":"lib/communication/sensors/apds9960.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ca7f87e31b09f3dc7eb7be3fcca203f858c2b9a9e30efd48d37c8d6c382bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): lib/models/pin_details.dart:17-62 | lib/models/pin_details.dart:70-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/pin_details.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"838e63061332a961d9a7da4f711d11ebd8f0495de44907e5ec1727289ffcd45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/providers/oled_display_provider.dart:727-731 | lib/providers/oled_display_provider.dart:840-844 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/providers/oled_display_provider.dart:727\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":"lib/providers/oled_display_provider.dart"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"915964abe17214e6cdc44f0dfb29017feab5f5f813e3513e301165e799e5f90b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/providers/robotic_arm_state_provider.dart:335-339 | lib/providers/robotic_arm_state_provider.dart:341-345 \u2014 both copies are in the same file, so extract the block 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":"lib/providers/robotic_arm_state_provider.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede24fb4408195e38d46b035738e2d465b598c716fb12cd66cf6b714133e3e33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/view/compass_screen.dart:996-1001 | lib/view/widgets/compass_dial.dart:148-153 \u2014 before extracting anything, compare \u0060lib/view/compass_screen.dart\u0060 and \u0060lib/view/widgets/compass_dial.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 301 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":"lib/view/compass_screen.dart"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"518da95f3341b01b922f09d890cd91494bc9887ed45c9571aa71a895fe37d7ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ios/Runner/AppDelegate.swift:24-40 | macos/Runner/MainFlutterWindow.swift:19-35 \u2014 before extracting anything, compare \u0060ios/Runner/AppDelegate.swift\u0060 and \u0060macos/Runner/MainFlutterWindow.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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/Runner/AppDelegate.swift:24\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060macos/Runner/MainFlutterWindow.swift:37\u0060 calls \u0060RegisterGeneratedPlugins\u0060, \u0060awakeFromNib\u0060 and \u0060ios/Runner/AppDelegate.swift:41\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/Runner/AppDelegate.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0cb9ecb68320d7fd1193e12afc72cb487e5bc749b360319ed661493fe7ae43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ios/Runner/AppDelegate.swift:105-116 | macos/Runner/MainFlutterWindow.swift:104-115 \u2014 before extracting anything, compare \u0060ios/Runner/AppDelegate.swift\u0060 and \u0060macos/Runner/MainFlutterWindow.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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/Runner/AppDelegate.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/AppDelegate.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5afae8231c97517bb6f0010f4d02f570011738068eb1d9ba3665eb9514ae601"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/Runner/AppDelegate.swift:43-51 | macos/Runner/MainFlutterWindow.swift:42-50 \u2014 before extracting anything, compare \u0060ios/Runner/AppDelegate.swift\u0060 and \u0060macos/Runner/MainFlutterWindow.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060macos/Runner/MainFlutterWindow.swift:37\u0060 calls \u0060RegisterGeneratedPlugins\u0060, \u0060awakeFromNib\u0060 and \u0060ios/Runner/AppDelegate.swift:40\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/Runner/AppDelegate.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cfdade155492f870a5b8963b85952706b956ec263ad2ce7c57e29629f78173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/Runner/AppDelegate.swift:78-86 | macos/Runner/MainFlutterWindow.swift:77-85 \u2014 before extracting anything, compare \u0060ios/Runner/AppDelegate.swift\u0060 and \u0060macos/Runner/MainFlutterWindow.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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/Runner/AppDelegate.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dd46bbe4df30175416880c9519f1395a8889b07d6164fd6eabba4e8d7cb0da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/Runner/AppDelegate.swift:53-60 | macos/Runner/MainFlutterWindow.swift:52-59 \u2014 before extracting anything, compare \u0060ios/Runner/AppDelegate.swift\u0060 and \u0060macos/Runner/MainFlutterWindow.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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/Runner/AppDelegate.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2179627a544a68fafe3e79e8d094157d17decb3ed4df2ece71ee83deef43e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/Runner/AppDelegate.swift:88-94 | macos/Runner/MainFlutterWindow.swift:87-93 \u2014 before extracting anything, compare \u0060ios/Runner/AppDelegate.swift\u0060 and \u0060macos/Runner/MainFlutterWindow.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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/Runner/AppDelegate.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"560930974393a9923fc5a9f4d3d9b1a395496e0be00198fa2c21c4e0faaeb518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): rust/src/api/labrador.rs:56-75 | rust/src/api/labrador.rs:155-174 \u2014 both copies are in the same file, so extract the block 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 \u0060rust/src/api/labrador.rs:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/labrador.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7339b73f99fb52bcf7a4c4614b07bc573949ef3b05ae144ab9a6c8f3062a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): rust/src/api/common.rs:839-874 | rust/src/api/common.rs:886-921 \u2014 both copies are in the same file, so extract the block 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 \u0060rust/src/api/common.rs:839\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":"rust/src/api/common.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a069e5ce0974a2af472dc81ed454dc8eee34c700cf322157af85e4f1c54ddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): rust/src/api/common.rs:71-84 | rust/src/api/common.rs:159-172 \u2014 both copies are in the same file, so extract the block 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 \u0060rust/src/api/common.rs:71\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":"rust/src/api/common.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8ce2efcec879fbd67b2c1968a338674433d043bb1c1e744c0ee6234e4ffd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): rust/src/api/common.rs:363-374 | rust/src/api/common.rs:409-420 | rust/src/api/common.rs:455-466 \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 \u0060rust/src/api/common.rs:363\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":"rust/src/api/common.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff6f899c722df80f46f8f4b98917cf918851a83e3d46bb328a5cefec8f10d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): rust/src/api/common.rs:378-405 | rust/src/api/common.rs:424-451 \u2014 both copies are in the same file, so extract the block 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":"rust/src/api/common.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2c9f63a22a553d02af398b5ce7aab5fbe16ea8c2206de96861cb114f80d433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): rust/src/api/common.rs:550-561 | rust/src/api/common.rs:808-819 \u2014 both copies are in the same file, so extract the block 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":"rust/src/api/common.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"88909f63f5434a9d015fe260ed2e643e426a7b700d3470b3c640dda9ca48d44d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): rust/src/api/labrador.rs:57-66 | rust/src/api/labrador.rs:120-129 | rust/src/api/labrador.rs:156-165 \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 \u0060rust/src/api/labrador.rs:57\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":"rust/src/api/labrador.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a08df817e6587a2601852e25ddf7749cf63c30d030a2ef2611e5beaa5b6711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): rust/src/api/common.rs:353-361 | rust/src/api/common.rs:399-407 | rust/src/api/common.rs:445-453 \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 \u0060rust/src/api/common.rs:353\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":"rust/src/api/common.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"31865da79fa51a81142909d4b7d41dcfd6f7ce9658a9fed5a171e830f7da1cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): rust/src/api/labrador.rs:84-107 | rust/src/api/labrador.rs:181-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/api/labrador.rs:84\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":"rust/src/api/labrador.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"810a55024e02fe0af70c05a11d10df2319d9f382fc5b8cb80309eab390b736cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): rust/src/api/labrador.rs:140-146 | rust/src/api/labrador.rs:198-205 \u2014 both copies are in the same file, so extract the block 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 \u0060rust/src/api/labrador.rs:140\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060rust/src/api/labrador.rs:207\u0060 calls \u0060unwrap\u0060, \u0060clear\u0060 and \u0060rust/src/api/labrador.rs:148\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":"rust/src/api/labrador.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6276e7bce080a780fe49568f5e7aafd91e1b235fa59e138a485c97c1084df875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): rust/src/api/common.rs:334-339 | rust/src/api/common.rs:386-391 | rust/src/api/common.rs:432-437 \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 \u0060rust/src/api/common.rs:334\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":"rust/src/api/common.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98a9a93127c08a939feff3fc57ac08d03b1ca8b78f0c283beb4e09ec7ff3a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): rust/src/api/labrador.rs:563-568 | rust/src/api/labrador.rs:713-718 | rust/src/api/labrador.rs:759-764 \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":"rust/src/api/labrador.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0e679e72266a8534a139b871340a2625b91bae727bdaeba9e8f8ec6ce8a42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): rust/src/api/common.rs:123-129 | rust/src/api/common.rs:617-623 \u2014 both copies are in the same file, so extract the block 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 \u0060rust/src/api/common.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/common.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"812ebae170df9039b2aa5315bcd16923ce2fe5ebde64afb965c4ae00ea42a7aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): rust/src/api/labrador_bootloader.rs:188-192 | rust/src/api/labrador_bootloader.rs:195-199 \u2014 both copies are in the same file, so extract the block 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 \u0060rust/src/api/labrador_bootloader.rs:188\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":"rust/src/api/labrador_bootloader.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce840af4976fcda84e078d2565a6de459c7b3a265fe1931b829316224f3f550d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): rust/src/api/labrador.rs:569-575 | rust/src/api/labrador.rs:766-772 \u2014 both copies are in the same file, so extract the block 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 \u0060rust/src/api/labrador.rs:569\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":"rust/src/api/labrador.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2a333823aa20a24cce46ae97d74460953a6a3d5c685b4765b9efc3a9edad36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): rust/src/api/common.rs:135-139 | rust/src/api/common.rs:629-633 \u2014 both copies are in the same file, so extract the block 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 \u0060rust/src/api/common.rs:135\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/common.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08b73348ada844af3c2a894bf016456d628f8030b33f3f2ec203869cf76a4fa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LabradorPowerSource (LCOM4 8): LabradorPowerSource\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":"lib/hal/labrador_power_source.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8079b953478100c29779981487704dfdb654d6ae2beb84edb5ea754037574d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PSLabHardwareBoard (LCOM4 8): PSLabHardwareBoard\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":"lib/hal/pslab_board.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"794c2672975cd581519c8996fb4556ff0971cb9feb06624b08b339b7973c1977"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CommunicationHandler (LCOM4 7): CommunicationHandler\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":"lib/communication/handler/base.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c311c12ef40e860c61b2a2aaab01f1e31015ae8bcd66eba6407d08b5bf73e1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: IosNoOpCommunicationHandler (LCOM4 7): IosNoOpCommunicationHandler\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":"lib/communication/handler/ios_comms_handler.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f226329019080a4092e164c447dc55e97e2f46a59a45a57b072727f045a5cc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PSLabPowerSource (LCOM4 6): PSLabPowerSource\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":"lib/hal/pslab_power_source.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7994de117a39f584600126557e8a16a0e4b1cfed3cb65d6296e7e1719401ec9a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OscilloscopeStateProvider (LCOM4 6): OscilloscopeStateProvider\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":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3d83d099dde5e6f38d405ff612304babf8b7c1d547fa94d207730fcc8c2a08"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PacketHandler (LCOM4 5): PacketHandler\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":"lib/communication/packet_handler.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad75bb4d461ff30e0a3444daf56664b54d767edb475ed8db199882cb6d138bb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LabradorHardwareBoard (LCOM4 5): LabradorHardwareBoard\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":"lib/hal/labrador_board.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf131bde61c213b73a5ec4efd9daf389a149b825c7933944b526350718983474"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RingBuffer (LCOM4 5): RingBuffer\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":"lib/others/ringbuffer.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d0b74a7fd505b17a4e3e2e4d67560d388c4bef940abea9f8e1582d394ae3a0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PSLabLogicAnalyzer (LCOM4 4): PSLabLogicAnalyzer\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":"lib/hal/pslab_logic_analyzer.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecedd049c57836b0d36e17dc7cd5b79c45ae5f805384ce58bafb88b1c9f6aedb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RoboticArmStateProvider (LCOM4 4): RoboticArmStateProvider\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":"lib/providers/robotic_arm_state_provider.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef24378d8e52085fa8487e02408d3afb5c28ef14db5d8303dbfc1592c90a6ec"}},{"ruleId":"D12","level":"warning","message":{"text":"No Gemfile.lock committed by an application: This repository declares 1 gem(s) across 1 Bundler manifest(s) and ships no application \u0060.gemspec\u0060, so it is an APPLICATION \u2014 but no \u0060Gemfile.lock\u0060 is committed. Nothing records the versions a working build resolved to, so \u0060bundle install\u0060 re-resolves against whatever rubygems.org serves today and two deploys of this commit are not guaranteed to be the same deploy. Run \u0060bundle install\u0060 and commit the resulting \u0060Gemfile.lock\u0060. (A published GEM correctly omits its lock, which is why this is asked only of a repository that ships no .gemspec.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cce86a6764b0429f696055851835123ad1dee71ace60575c329aed06e5e6bcd7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/providers/oscilloscope_state_provider.dart: lib/providers/oscilloscope_state_provider.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 122 in OscilloscopeStateProvider.captureTask at line 485. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/providers/oscilloscope_state_provider.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ece1d3f53f994bebcf632f210079f0e6385433852d4ceba861fa412d407e46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/view/widgets/navigation_drawer.dart: lib/view/widgets/navigation_drawer.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in _NavDrawerState.build at line 26. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/view/widgets/navigation_drawer.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/navigation_drawer.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b6d6aad2ca00f7f2e46929a466d61b21f8832ae91982568ab0924bf78f3c3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/view/logged_data_screen.dart: lib/view/logged_data_screen.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in _LoggedDataScreenState.build at line 642. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/view/logged_data_screen.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/logged_data_screen.dart"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b6d6e548342050f7cbcbbd8fdb59d1736a0f18dbf912ae5714eb1c88130cfb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: rust/src/api/common.rs: rust/src/api/common.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in rust_lib_pslab::api::common::setup_device at line 216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- rust/src/api/common.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/common.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69db2209526a43fda086476e2b00c4aa35312c1be01e1bb9e78264513ac573a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/providers/multimeter_state_provider.dart: lib/providers/multimeter_state_provider.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in MultimeterStateProvider._performMeasurement at line 236. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/providers/multimeter_state_provider.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/multimeter_state_provider.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b269c9dbb2fb72e75386cd56b406a84fcd2c53f1114c50847cec543a07f366df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/view/oscilloscope_screen.dart: lib/view/oscilloscope_screen.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in _OscilloscopeScreenState.build at line 388. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/view/oscilloscope_screen.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/oscilloscope_screen.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d28c11f38b32810a329897022610ccac3fbc8b11ef0f7192461bde2ae8adcc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/providers/board_state_provider.dart: lib/providers/board_state_provider.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BoardStateProvider.initialize at line 108. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/providers/board_state_provider.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/board_state_provider.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdb9bd88b4ae6af80252e8425b9d88a972c364e5e4c1ff9d5639b375054bbc8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/view/widgets/common_scaffold_widget.dart: lib/view/widgets/common_scaffold_widget.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in _CommonScaffoldState._buildResponsiveActions at line 170. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/view/widgets/common_scaffold_widget.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/common_scaffold_widget.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce97b2a3fc94257716a37dc302f185f9b6b838e48ae9212eed40e728a48482f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/view/connect_device_screen.dart: lib/view/connect_device_screen.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in _HomeScreenState.build at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/view/connect_device_screen.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/connect_device_screen.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"475d809f357914484e8ed8e21df09211396d95a75b93058123dbd1aab0dbdeab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/view/wave_generator_screen.dart: lib/view/wave_generator_screen.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _WaveGeneratorScreenState.build at line 192. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/view/wave_generator_screen.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/wave_generator_screen.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46f9fe93340671f25f8f3419db18645209c5f82d575288b07960733dd06e97b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/others/data_chart_analyzer.dart: lib/others/data_chart_analyzer.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ScientificDataAnalyzer.analyze at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/others/data_chart_analyzer.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/data_chart_analyzer.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a7b61f0f3d5e02b32ffe041253276d8dd2e7b6595cc37ec8be08e58fdcea0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/view/widgets/sensor_controls.dart: lib/view/widgets/sensor_controls.dart changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is _SensorControlsWidgetState._buildPlayPauseButton at line 124), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Announce sensor time gap in milliseconds (#3571)\u201D; \u201Cfix: Enable keyboard sensor controls (#3565)\u201D; \u201Cfix: improve accessibility and touch targets in sensor controls (#3559)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:21:23 \u002B01:00\u0027 --until=\u00272026-11-16 21:21:23 \u002B01:00\u0027 --full-history --no-merges -- lib/view/widgets/sensor_controls.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/sensor_controls.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e48d5ad97de536113bebf1176676b43d4cbd64bc7084fec8f4b5258bbb5c42"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 26 significant file(s) lose their only recent owner: lib/providers/oled_display_provider.dart, rust/src/api/common.rs, lib/view/pin_layout_screen.dart, lib/providers/wave_generator_state_provider.dart, android/app/src/main/java/io/pslab/MainActivity.kt, lib/providers/gas_sensor_state_provider.dart, lib/view/widgets/data_chart.dart, lib/models/pin_details.dart (\u002B18 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f5f0700b659f3e3d2615c88937e06644cbd8e3e035d3a11f95175c42ce0eda40"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (27 single-owned of 182 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 182 of the 276 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: lib/view/map_screen.dart."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060build_tool\u0060 is runnable (\u0060executables:\u0060 or \u0060bin/\u0060 in its pub package) and neither \u0060rust_builder/cargokit/build_tool/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27aa1c7e7ba4eda4190c3e957fce869b7054c7c6e62bc6385a05727000502cc8"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060rust_builder/cargokit/build_tool/bin/build_tool.dart\u0060 makes this repository a deployable product (line 6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/bin/build_tool.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bd0e56c2508911e9c537d3c41194d64af078c3ac9450f3a6b7aab758bdd355"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (58278 LoC, 312 module-visible types across 18 directories) overshoots its size bounds. 1 of 6 build unit(s) (Bundler, Cargo, Gradle, Xcode, pub) overshoot their size bounds, lowering Project Cohesion to 6.7/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gemfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93967a6eaa12f32f163fcd4f79c6158b883c5a929bdba9448bfd9390b5ddd5c8"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7334ea47a89bfbcb4151c20ff5a08bc4675ef5d76df6aa17c024314ee7318c3e"},"properties":{"commitSha":"12563bdca40b0627925db639179b39f8d44fb549"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df4580b472ac15354d384c084fa830db7bcbbb04cfb17fa18acad858027a7ad3"},"properties":{"commitSha":"d20bdfacfbba5012f455e0f8ebc98354948582ca"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3400ae6e90488db1647ebaa8ed0d4e1f598e39c2aa240c8719869f7877d2d478"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"685f12839757f4ee339e23845cab7b5440547528bf72807b1f1ee7f8fc6639ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78c5db86d16cd1a7557a9cbba31238ef1e5648d985c4edb84a75464a8039af3d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"094854b2203644cb5dae5a36e2725f04340412a392fd8c4832c0372df37706f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b23f6a6eb461ccb46463daf8cd156ecebcf1a76faaea72000e6c70cf4447943b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46be3681315b93b2bb14799ffbaab566bfabefa544a41bfd0deae7665a32de23"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c480dbfbb08df6dfcda58c798b20d0286be00b20690133ebbd9d27b003f5ba4f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e9d9a60405c90f39a3d3686bb8ea78c50ec6fd4a1211f3ba265a7d44c003120"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0e659a52fa6c8284e2170c10d686ac4677c249fecca32c9b4d32c9536f035b6"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a0b4ff24244b664dc739cc505e387dcbc966b6a9593aa65be42243f98d08b53"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92fbfcd0e1e33ee01fc991ceb44bd34ca857dea4c7c55033efe8a6eccfc5322d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38d2a099bf645ae2da606f34bdd07f9767b6d6b8d39f55f08a4e81116eb065e1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93013997c1237d506e636c4746bc59c0f1f5a0a3be41c185df9fcab8ed1e1986"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1735d8ee729f55856628c32afa61ca419029e65f41f107776eaec33b3bca08ca"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"27839ac8dd73e3070de044c62b1e428d7f33bb901b07c36eb546279f98ad8cb8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a28411c6eabdab9bc0794bb4b0723b39ccb7055c98e0e9d7c7af525a4a3ee067"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"039264cdf08a90dbb3f772682f2e33eee92c5e6b3ef3e23f31279f61cb2c92f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0a962137a2da8b76491166a446ff0bff444a40c3926c5a477e5a1851ad2ec29"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f2d32d14cfb38e0682f226a57176b34d7b69e3c7bb0176cdc5c8cc17526bbf8"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4c912e81376a61385fae82608516a9fa7958a9ca690b4ed4568717faf81d2a5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89d60b457a614b34aae994bc22a1811fcbe0d35013977de72d98fce14d272b5e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77e8a5584b65300330744f9e3251ecc73d070468e051e6174bc0cafc8b33dbcc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35653a5f7e3188081556f88566d70a053d38ba06c165f22e6c89ff7dc8a65f44"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"475db5ad7521ea881b1fc2ef17f49f18230acdde068b69a922fc4793f84083a9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53451dd8175bacfe056de90e439f74accffdc5c11aeea2795b6b3b37a372aa4f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89c0dcbc08601e85b99414e524f8979683b7468c2319a78adee795c6be56460f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a98dc066b56e643ad51ed1f8119693f90f2e6389c1a2da8a4c42668627396603"},"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"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2505da1d1ab469fd0c13f4da7ae4b57e18348b555590e50c1e619127751b87f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19e1d3280b2dbf0390c9245f5659886864c5b57f02035ca03b6fb813fe887afc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b39daf292244af66d74fe812a6c485a7701c092cbac77aed04f69e4fb9c63ca1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b35277c1af252ac4d6d39be7778707cbc96c19d204f6f0caeac23adc46b278b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a88882467e65463ca9375663d4cd7c560b44ef28f1499eee8bfa80fe239e6f7"},"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"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8b7c61267495cce3c3bed4fe7dd0bc66a74d3afc4e4ee48f3d48b3771b8d6c5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d4973d23d3e5f414a513eedfd40858d5c51c87ed2e85c5154edf162553a6c61"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b40a9d3875145dce202992d846dbe07289d50d67c8fd489d934a9c20f7b4b5c4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70b12c1d6ed77d27e2f0ad4121b7abb5a4d7f1a5ab05e25833a1d769a59112b3"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3475419b52cc9ecf54ce78b6622ef98a59f12e72194dfc0e0193b514a7adff89"},"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"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26ea7e6c11494bc1fb260d6b29ba01d2103adf53e2eaf14dda50d8b145d93d03"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d1929f90ea0c78419389311aba43801af8729eca3202b3be831f302d5ec172f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f74edfc3b6ca20c51bb6a12c50056629f6e5dba58971ee9851937f8725e2a51b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bdaa13fd2b53de8bc59bd5226cf5f48ca727a3a5328de3dde1570107c1fd1b7"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ab75f138422335b15c74907ab5a9f3bfaddd8bd629326214243cbc2bbb5578b"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f64f5c152bd35aaf3a44da20f57219128b08b58f461c7e228e2ef1f717afb2e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ada6b331ec56998b8106496f734723400c9bbbb1eaa2b4a23409e7524f07135"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8881432d6edac8d8695ca71bbb5bf089773d4e6fdb4e57e11ecfa3b53e39b46"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8be5d59b128bc0f7b3367809b0540e2e3efacf9b6b07aa606247e2b26ada85c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b345973503cd540e1fa26d782e4130b6ca75382f693d528e9884d095e0a02c6c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"793f28f8b5c3216e0dabfb1924be293e75c711486dc49e9735c7cd91fef43559"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4302a00161e0d79044dc7dd48023e8c5329dd8cc661ea2bd25e20de844b0bb43"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a783d82aba2c41213fe0705e13948f671f7cc943767cc9ba6e3979a75f7e187"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f1240ee52a3bbaefe5734aea580728151ce92ac1597eb3353c6a02f27c59358"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbf27c52e159bad9a60b8d17ca22768255fcf3ecc4be34acc545ca7b8c25f5cd"},"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"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36f2bb1e7eedd26e312d4825a8725cbea3d06a8e680e42c08a3a64cb72aa3deb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95fe6a632d7d7a0f75ac1d29aef84c6a2e15d5c743bb709471e10964fe1e9894"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a07de16fb41aeb8b9117064d6298f56a1f36aea92eb7483aa9be37459c62b22"},"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"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2fc27064ae10e4badfe6bb5ca739bbd0014f970a2e858f17f829d8165efb50c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ac09b67fe3ed63c8e286e19cb1ceddfd77854ec9cf2c2cfe673ff65ad49d881"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5289b1278a06f067ed87873847767f2923b259d39aad7e4d6749445ab5492147"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f8e042ee2c3892c6658be055bcc8f07e53b27b418677691759d39299f643597"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"818c9cfa920a857e05d05db96e5ba4bf39a633fe223d62e25385737b1693af13"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d45c98906c1012499e4af67fe724f8adb92c7d2c3b431373ea2d2a67bfb343f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a09144a6964fc38177c67adcdb8d544ca3a3d6038dfb740f8ff88bf9e4172cb6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8b98f887187dc5028cf0e76245cb0cd76284c4d790456cdd10693768f147594"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d473338286184c64b60f3c0a40b77033b6ac1c6b68c00a093194b0b8b075c3cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed5e01f40c7ac83c72d462e7780f76de6379d45674fbceb802bd6f97a074bd7a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"559a02edd42a24fe028c47b6c743bb32ff987c7c2165681559ce5d8b480ba9d3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38fb376188461eabfa903b6e947810734b5bbb228786d8aeb15659a85effe5c8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ddf6d416965682e4faf6dc3190700f87dd9504abd73c1599fc877d3ee5d03c3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba7e53d209ee90372898432f57b5d079a852cf01620ba055bea9b103c87f3b3d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"687ddb5fee1ab091b228ac4581ded5af96fe1c0469689b3e978f66adc2c4469e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74801e597fbec7de10e1c4ca7e8fe9d9f8bcba947a7a97407f5db79645cad625"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab125ceca3ddac9afbf2ea0aab77778ea808cb0cdd9f5bc3e9eb9c7cfbf97faf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fb153f79f48af0873a1625051b58843f5d169494e5c7283d98b23f7aaea9a93"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cff571452abdb90be8f7857dd33daab5179dc28dfb4527eeaa45d30602a7678a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6302444365e71d3db19942ba517771432d5a2f63dbfa4a1c3a55720cd9a3c137"},"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"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"033854371f88c50d70c162c29d2ec99f25c5a11f2517004eab5c98170cb18fd7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39227bf86f71aab489ebc54d5a4526a405995b29fa93fe4f78c1c545ee00e350"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c3328910ab0ad01633b651794049a9cad7e2b8e971091f1cf2f215d259fbba1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24b4cfcd9c2502461becab6d4fdb235a1d68e0373720ecbe427c48cde169580f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7fbb68afacaac6a7c0d5a230a92cf5cd9e7029cfa21d657c0a3ae333acbbb74"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b8f96efddb4af253c2ea6e8e5ec503e3b0749645b37b2d9d10c8dc86eae9d95"},"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"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e888d816ffbf914fc0b4d06838ae35f7dfb6cb41f23585580807326467ba8569"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b10109a791510594abdb54caca73b1af4be5b5aacc98922a4aaf71656daa65e9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f375f8c59588a0f35c96996eea7f9a438d183cab5e28809b141d81812e4315ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2997195f3bb673c2b68287ed52fa8c7d9b0a40beab33ebf64953a5947fa35cf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aade2c258e5e096f4c31ec7f02363ac7339523a075fcc7204559ceace33a5d14"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8db5cca6ed82d7741ff1b394d09d12cebb49f8b18e005130adb68d4e498befd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c265d83bf5260efaa87a7b122fd26f6ed4c5d8f27898c4d29bfc14af572e287a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bacab6233e3b2ca6596f8c984e05707479d55e9a235390dc79e90bc1cc1b8028"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7c4f36a60e45be756f766a93b9d13271f86e971fce7855e84a2bc8b5eae1f5e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"add1097cad8e8a593c9485c7508caf598a6b3dc22ac2178e2e8275bb55830a02"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a63940d3bb07abb43a7a4d955af1fda42aff5d8bd9609fa4eca095bbf1fe0d06"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95577f514113cf44ae4c5d0e21827e18d2fa46c5accd5f3fe70787e7cb41f71e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccfe73cefd7d0ba56d85189ddb18993d4cdfda2143b0b0d764991e44c3577c07"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34a98bd76458cc59ad6de577d2ceece9e78a5967f1b4275274818adfc73ac8b4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6904592d08078fe27b899ff7c07a721b801bee4a24c8d72da7d20c447369d50"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5339e6b3adab20eac294f8119203f0f1829e13f9b231c7c14c5dc4ce63dad883"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f1789251428b0470d3307220e18ccf63730c8ff860fc700883a38c7fb50daca"},"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"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f051272aba2176f2ea7ebac4aa256d5e2e63c906cde747d7ac8cb505f92f4bc7"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d07359526ec33dfeb9ca173208559ebcf97c967cbc6e0ff6e8fb3597b08e9f8a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"338407871e9c53d2625a5754ccc8f84f16e799149817c1d1e310aef9e6213485"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70be6f68e1af819575c5ba69344eef6c637941fe3a5e2a71ff94ea6b5e864aa8"},"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"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6cd8cc6b257b12cebd92b809b5a11d21d74c8cb0237f88dea95fdde9fd726d1"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61521ddcb0652918cc8c3102d58d20260d96e06cd173aeba3656946ef2b7d4c7"},"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"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d82491121008444a7157f45a160ec8e0a85264be210125c92677b3587fdfb66e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c09410e61e72060ff20e197c3080de399117151c402cdd9a80c9fc948a4750b5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a56960bdf00b44a630a33e259b95f35aa3d05f7ee6fa55c179fa7e76e9f932a"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25f28b0582c17062effd5cd66d9eb3f5545752e00392a4dfababf0defe807d26"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea41360cab6d04ca2b1b420342d78f8854de67cb92bb000eaa361c985593e329"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"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":"4af2407695aad8de14a4df06d4dfe18697cd125bcb59584fac9e6ef2fed03e4d"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"d7ae53ef9973e268efcf244cb301bae5e263fd041214fc7472facf8a70282691"},"properties":{"dependency":{"package":"adler","version":"1.0.2","advisory":"RUSTSEC-2025-0056","severity":"medium","relation":"transitive","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":"6df4bd5aeb165131d68297191069e21dca7be60b9458676a895a3f43fe5fc56e"},"properties":{"dependency":{"package":"anyhow","version":"1.0.75","advisory":"RUSTSEC-2026-0190","severity":"medium","fixedVersion":"1.0.103","relation":"direct","declaredRange":"1.0.75","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":"d6dc665b9c9c621c52bd60342e3f7ac43e5efd1bf06f80ef7f5515c310772e8e"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","severity":"medium","relation":"transitive","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":"1666c1c293c2dcc7a2d976593300d527cea6dba1276aacb9cb016442b9a36a2b"},"properties":{"dependency":{"package":"tokio","version":"1.53.1","advisory":"RUSTSEC-2026-0386","severity":"medium","fixedVersion":"1.53.3","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 35 of 182 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 182 of the 276 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: lib/view/apds9960_screen.dart, lib/providers/power_source_state_provider.dart, lib/view/ads1115_screen.dart, lib/communication/sensors/apds9960.dart, lib/view/bmp180_screen.dart, lib/communication/analytics_class.dart, lib/communication/sensors/vl53l0x.dart, lib/view/vl53l0x_screen.dart (and 27 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/apds9960_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a9725b018aa34449a250dbebdbdcd5879d4acc1df05dae92c80085ea0da487"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/power_source_state_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c2d16f7d75883ffd3cc07fa040c1d37687138d962c182ad408d9b3c740f2ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/ads1115_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ce689b70a9358c317c92456dcb7adff21d4c5255dd1fd13f1d4c65d6c45d4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/apds9960.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7165a875e0c1dc6055eff83dd9b74e2c48157704de1ff44aa2d41f53bbbfe87"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/bmp180_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b285c473aae21af82d0cc0e24ff6db6ff4d26f1aff1fbb6a175de67b15df5e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/analytics_class.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b62fefe56cf87cf61435b7f5969a0994d6f5ea85738d55705c692cc741bfbb2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/vl53l0x.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bcb2ca1583ca53ce197b21a9076a42f627b9f3855b04092d56d6b1c8cf327c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/vl53l0x_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6b2f1695ef72f7cae15a5ad46f02beb90693f4d18b47fe86caf670a77c238c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/experiment_guide_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d0001f8e6849a9c5699ad237789cbe8fc836d75ddc8b9e40c961b3a83ac9af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/ads1115.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d651a52048223367edb8bada3997c22a19b3d0e5a546cfeac04ac232b4b66aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/bmp180.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50749e44aab3465ae7ce7addcd08013ed870900365f48b8ba4f5bbc7581c2e83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/luxmeter_config_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85540e721a999227dbb5d1befda4bb60e1122a9fb7d77b640ad1cb6c16df9803"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/config_widgets.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66fbabacfc9b87f80e261e14863723654fdae5edd00b8e85c803cce9d5970cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/experiment_overlay_widget.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3965cbaa911ce78f507ac6f2d70ebab0c748e05675f5b908404c8399d94e3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/logic_analyzer_graph.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faedbaa1d7f808ebe9cab14305a98c1933068f3072e67eedf23f8426dc44d74"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/experiments_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f895eae2c2f1acff45e6ea5f1c8cfa9af5a0297ec258b31e027b2160c4c4e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/xyplot_widget.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"185e9061c309af44b10a15a4eb27990a3f0c9f490ab67e28a541bf9726a13e70"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/bmp180_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"699c135bedd71bf7872cd744db71c1bec290166a2cb409ee24f015de4a24ed68"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/io/pslab/widget/WidgetProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed06ed5c63382fadb18f68bbb3ed592067154cebfb97f9b67b6dec9d5c8881ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/xyplot_graph.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b56f3a5eb674320840bd6f639cdd43f877e2de4c24db2b6614e3f7dd0c6fd7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/commands_proto.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"945974f286fd2e7c5dc32a5147a765cf2d27b60a23e9d5e7bda4e499718444a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/theme/colors.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1140eec43b2a067f89d6d9f0fd445555e3f1674ad31f93c5bc109519a56d592a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/digitalChannel/digital_channel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0899940970e34fe1df4c1280b68983a27bfa77f189ea8b9306b5e868e734886c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/multimeter_config_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e736d40c4558bcc65d51b8157243f6e41d2efa15ebaf6d273e4196187b0b8e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/power_source_config_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0442bed192ad2dcda17a32939b25ffc69e9dfb4569cda94516e947eb2c03dabc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/barometer_pressure_experiment.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b827a9e6362f1ec175eb56739a883ded3fef08e4b198b3d64ce6a08d021d5354"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/analogChannel/analog_input_source.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f8d8acc9aafe3f5f2a58e0e10a1df44a3dc3e0fcee26ebd65b17bd03d44101"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/light_distance_experiment.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c072acbce0d4dda22f5b716ea468e5fe0c467c4b2d217ba30ba3eed215c0fc61"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/temperature_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a7f90f9346c732cf5150eaba19913d48976d1e427b6ab938d68eabf0482b17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/widgets/wave_generator_graph.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00846842e9058fe35a0035fc65e6ff3e70c046acb7c1f9435157018b9ca8ca4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/oscilloscope_recording_metadata.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e38836ac57a2c9c8934b06d3d2c7b3a3888c74a9a37cc365061de8f48076703"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/luxmeter_config_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb4c27c58f478c46c43f91b83ff3d473a5578d88415a84bc869f7d9b7712de6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/logic_analyzer_config_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a2167664448e19c0d3d2159944f19223546bd84cb263f84b54824225a8b160"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/wave_generator_config_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"341ebe9e85dfcbb238eaaa28128a9d302ff602cdcedd5a8d3862c9ddb1ec7b84"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/oscilloscope_config_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2e05a4a9bae2b4d9b363c1c4dc20ececb9b87facaa78802f4f47975f7cd58e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: accelerometer_screen.dart \u2194 gyroscope_screen.dart: \u0060lib/view/accelerometer_screen.dart\u0060 and \u0060lib/view/gyroscope_screen.dart\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060ad105ea6\u0060 feat: allow saving recording when navigating back; \u00608d4a8034\u0060 fix: sensor initialization and icon mapping (#3442); \u00604b040744\u0060 fix: Enhance Accelerometer and Gyroscope Instrument (#3411) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c4140a2b41b342cb339fb15f3e2249e7f5ea0244aa6f60fc7097577613e64b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: oscilloscope_screen.dart \u2194 power_source_screen.dart: \u0060lib/view/oscilloscope_screen.dart\u0060 and \u0060lib/view/power_source_screen.dart\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060ad105ea6\u0060 feat: allow saving recording when navigating back; \u0060f27b3670\u0060 Add tool tips to all icons; \u00606670ca5a\u0060 refactor: deduplicate save filename dialog across instrument screens \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/oscilloscope_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e30afcfdf641d299df8170241224f2e5a9bc23976e91b7c4c30ae0ae4d0ccab"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: barometer_screen.dart \u2194 soundmeter_screen.dart: \u0060lib/view/barometer_screen.dart\u0060 and \u0060lib/view/soundmeter_screen.dart\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060ad105ea6\u0060 feat: allow saving recording when navigating back; \u00603acc5afd\u0060 fix: centralize instrument graph widget and improve UI (#3511); \u00606670ca5a\u0060 refactor: deduplicate save filename dialog across instrument screens \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/barometer_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd52fc17f4de92ff483ce15d956b138b9fa3e52687d00aa507649cd6567ad456"}},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f8d9e7c5c65ca4e24115e5f2ddfaaf56b501e60d87088259f10a0f4fa00377b"}},{"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":"32efb6dff66fd4de097ff4b3fe5ebe62e0eecaa874edf98a40528e933023ae27"}},{"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":"7ad4701c91f7eaa24aa7b7536975da3068c18dd1ab098025ae5c285286432c8e"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"065a3f28e605d51343f5bca092c1dfb4fd0d88d355df10dce586aa6c8305e928"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbb07c4afbdedb02d26e37a827754ead3a644c8d426b90f9a8dfe419eee21bf5"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea34ba14a14a7470168eda751f5dc09729ea857c5bc2565d96337a2057cc35a0"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe274ba5adebde25ca0b3db842e44cbb1aaeb7cfecfbb7215cd452596ba1f4c2"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RustLibApi (43 abstract methods): \u0060RustLibApi\u0060 declares 43 abstract methods: \u0060crateApiCommonCheckDesktopDevicePresent\u0060, \u0060crateApiCommonCloseUsb\u0060, \u0060crateApiBootloaderFlashFirmware\u0060, \u0060crateApiLabradorBootloaderFlashLabradorFirmware\u0060, \u0060crateApiCommonGetAvailablePorts\u0060, \u0060crateApiCommonInitAndroid\u0060, \u0060crateApiCommonInitDesktop\u0060, \u0060crateApiCommonInitDesktopByPort\u0060, \u0060crateApiCommonInitLabradorDesktop\u0060, \u0060crateApiLabradorLabradorCalculateDigitalOutState\u0060, \u0060crateApiLabradorLabradorCalculateGainMask\u0060, \u0060crateApiLabradorLabradorCalculatePsuDuty\u0060, \u0060crateApiLabradorLabradorCalculateWavePayload\u0060, \u0060crateApiLabradorLabradorFetchInterpolated\u0060, \u0060crateApiLabradorLabradorFetchRawBytes\u0060, \u0060crateApiLabradorLabradorGenerateAnalogWave\u0060, \u0060crateApiLabradorLabradorPushWebBulkData\u0060, \u0060crateApiLabradorLabradorSetDigitalOut\u0060, \u0060crateApiLabradorLabradorSetPsuVoltage\u0060, \u0060crateApiLabradorLabradorSetTriggerEnabled\u0060, \u0060crateApiLabradorLabradorStartLogicAnalyzer\u0060, \u0060crateApiLabradorLabradorStartMultimeter\u0060, \u0060crateApiLabradorLabradorStartOscilloscope\u0060, \u0060crateApiLabradorLabradorStopStreaming\u0060, \u0060crateApiLabradorLabradorWavePayloadDefault\u0060, \u0060crateApiCommonPopWebTxData\u0060, \u0060crateApiCommonPushWebData\u0060, \u0060crateApiCommonQueryScpiBinaryRawRust\u0060, \u0060crateApiCommonQueryScpiBinaryRust\u0060, \u0060crateApiCommonReadData\u0060, \u0060crateApiCommonReadWebData\u0060, \u0060crateApiCommonSendScpiRawRust\u0060, \u0060crateApiCommonSendScpiRust\u0060, \u0060crateApiCommonSetBaudRate\u0060, \u0060crateApiCommonSetDtr\u0060, \u0060crateApiCommonSetRts\u0060, \u0060crateApiAudioStartMicrophone\u0060, \u0060crateApiAudioStopMicrophone\u0060, \u0060crateApiCommonWifiConnect\u0060, \u0060crateApiCommonWifiDisconnect\u0060, and 3 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/rust/frb_generated.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd23d973596fce34dc85cd928dc9665b04c7164fac92fe8d9e515d6f31d94aa"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RustLibApiImplPlatform (51 abstract methods): \u0060RustLibApiImplPlatform\u0060 declares 51 abstract methods: \u0060dco_decode_AnyhowException\u0060, \u0060dco_decode_StreamSink_flash_state_Sse\u0060, \u0060dco_decode_StreamSink_list_prim_f_64_strict_Sse\u0060, \u0060dco_decode_String\u0060, \u0060dco_decode_bool\u0060, \u0060dco_decode_f_64\u0060, \u0060dco_decode_flash_state\u0060, \u0060dco_decode_i_32\u0060, \u0060dco_decode_labrador_wave_payload\u0060, \u0060dco_decode_list_String\u0060, \u0060dco_decode_list_prim_f_64_strict\u0060, \u0060dco_decode_list_prim_u_8_loose\u0060, \u0060dco_decode_list_prim_u_8_strict\u0060, \u0060dco_decode_u_16\u0060, \u0060dco_decode_u_32\u0060, \u0060dco_decode_u_8\u0060, \u0060dco_decode_unit\u0060, \u0060sse_decode_AnyhowException\u0060, \u0060sse_decode_StreamSink_flash_state_Sse\u0060, \u0060sse_decode_StreamSink_list_prim_f_64_strict_Sse\u0060, \u0060sse_decode_String\u0060, \u0060sse_decode_bool\u0060, \u0060sse_decode_f_64\u0060, \u0060sse_decode_flash_state\u0060, \u0060sse_decode_i_32\u0060, \u0060sse_decode_labrador_wave_payload\u0060, \u0060sse_decode_list_String\u0060, \u0060sse_decode_list_prim_f_64_strict\u0060, \u0060sse_decode_list_prim_u_8_loose\u0060, \u0060sse_decode_list_prim_u_8_strict\u0060, \u0060sse_decode_u_16\u0060, \u0060sse_decode_u_32\u0060, \u0060sse_decode_u_8\u0060, \u0060sse_decode_unit\u0060, \u0060sse_encode_AnyhowException\u0060, \u0060sse_encode_StreamSink_flash_state_Sse\u0060, \u0060sse_encode_StreamSink_list_prim_f_64_strict_Sse\u0060, \u0060sse_encode_String\u0060, \u0060sse_encode_bool\u0060, \u0060sse_encode_f_64\u0060, and 11 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/rust/frb_generated.io.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"83519a2a9952e2f62532825846622cf768ff1f16c947f6ed6c348f41c812414f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RustLibApiImplPlatform (51 abstract methods): \u0060RustLibApiImplPlatform\u0060 declares 51 abstract methods: \u0060dco_decode_AnyhowException\u0060, \u0060dco_decode_StreamSink_flash_state_Sse\u0060, \u0060dco_decode_StreamSink_list_prim_f_64_strict_Sse\u0060, \u0060dco_decode_String\u0060, \u0060dco_decode_bool\u0060, \u0060dco_decode_f_64\u0060, \u0060dco_decode_flash_state\u0060, \u0060dco_decode_i_32\u0060, \u0060dco_decode_labrador_wave_payload\u0060, \u0060dco_decode_list_String\u0060, \u0060dco_decode_list_prim_f_64_strict\u0060, \u0060dco_decode_list_prim_u_8_loose\u0060, \u0060dco_decode_list_prim_u_8_strict\u0060, \u0060dco_decode_u_16\u0060, \u0060dco_decode_u_32\u0060, \u0060dco_decode_u_8\u0060, \u0060dco_decode_unit\u0060, \u0060sse_decode_AnyhowException\u0060, \u0060sse_decode_StreamSink_flash_state_Sse\u0060, \u0060sse_decode_StreamSink_list_prim_f_64_strict_Sse\u0060, \u0060sse_decode_String\u0060, \u0060sse_decode_bool\u0060, \u0060sse_decode_f_64\u0060, \u0060sse_decode_flash_state\u0060, \u0060sse_decode_i_32\u0060, \u0060sse_decode_labrador_wave_payload\u0060, \u0060sse_decode_list_String\u0060, \u0060sse_decode_list_prim_f_64_strict\u0060, \u0060sse_decode_list_prim_u_8_loose\u0060, \u0060sse_decode_list_prim_u_8_strict\u0060, \u0060sse_decode_u_16\u0060, \u0060sse_decode_u_32\u0060, \u0060sse_decode_u_8\u0060, \u0060sse_decode_unit\u0060, \u0060sse_encode_AnyhowException\u0060, \u0060sse_encode_StreamSink_flash_state_Sse\u0060, \u0060sse_encode_StreamSink_list_prim_f_64_strict_Sse\u0060, \u0060sse_encode_String\u0060, \u0060sse_encode_bool\u0060, \u0060sse_encode_f_64\u0060, and 11 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/rust/frb_generated.web.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e855b899c8aa4b40c14d93f6072730e71ac9a0cf7bf1b5fc9b4c17eba830ff"}},{"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":"P12","level":"warning","message":{"text":"Test suite runs only after the merge: \u0060push-event.yml\u0060 run(s) the test suite, but no workflow that runs tests is triggered by a pull request (or a merge queue) \u2014 so the suite reports on code that is already on the default branch. A red build there blocks nothing and the only remedy is a revert. Add the pull-request trigger to the workflow that runs your suite so the gate applies before the merge, not after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"731ad560de6aa35d3e92103d5ad0fbec4c54f771b709281e852941847e03ef03"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060ios\u0060, \u0060macos\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 the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 8 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/pull-request-closed.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch cargo/bundler: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060cargo\u0060, \u0060bundler\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0588104b69680f1c555fcda388ef1c1d100eb0b29b9ef56aebd49f9e542781"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060saveDataFile\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/data_service.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7902caa7b26b045db91f8296a78010e421f59eac12e286416070223f3aa91a20"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060getSavedFiles\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/data_service.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fffe975c3e53db312f6933da9f8c825ea32503c9b8c3148532ed523860c9eef"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_getPrecompiledArtifacts\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/artifacts_provider.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a83dcbc7e505418d2484bc88e3c70e66842e829ea070efbe040e78cdf8fb1c3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_tryDownloadArtifacts\u0060 is async and calls writeAsBytesSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/artifacts_provider.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a228379f9755b5ea21f5d61388291821cdd9c9da6e9f9f1a86d17ba18dc494ce"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls copySync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/build_cmake.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"db82ca80b4cd2c3e1b0430ecbe149073e7883bb496a13983ba5ea4307fd527cc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls createSync, copySync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/build_gradle.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"293cc070a3258bc797e4cd6d82051d5a89ebb79fb3c90436b20bfef889e69206"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/build_pod.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1471f057236d68ddfd7e46939773d501e9ba20b4bf5a277f222181c2451240"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls createSync, readAsBytesSync, deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/precompile_binaries.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89316d25dced32f4ede5d5c269237474264701765182b85b137db2a761baf07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_isLooping \u0026\u0026 _collectedReadings \u003E= _numberOfReadings\u0060 appears character-identically in 10 files \u2014 lib/providers/ads1115_provider.dart, lib/providers/apds9960_provider.dart, lib/providers/bmp180_provider.dart, lib/providers/ccs811_provider.dart. 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":"lib/providers/ads1115_provider.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"60104f4cadc25eb52be7115adce0f25683ed6560a3c4beb1b3c32f652692f2c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Navigator.canPop(context) \u0026\u0026 ModalRoute.of(context)?.settings.name == \u0027/connectDevice\u0027\u0060 appears character-identically in 2 files \u2014 lib/view/widgets/main_scaffold_widget.dart, lib/view/widgets/navigation_drawer.dart. 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":"lib/view/widgets/main_scaffold_widget.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd901cdb857d62b4092fb3f835df3c46bf120ae11000fa6dc4fbe808364cf90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isWindows || Platform.isLinux || Platform.isMacOS\u0060 appears character-identically in 2 files \u2014 lib/main.dart, lib/others/audio_jack.dart. 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":"lib/main.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8113cfa8fd8264c5dcbd593a0a21d5ebda752cd02fe2caee083aa857b5d6fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_playbackIndex \u003C _playbackData!.length \u0026\u0026 _playbackIndex \u003E 1\u0060 appears character-identically in 11 files \u2014 lib/providers/accelerometer_state_provider.dart, lib/providers/barometer_state_provider.dart, lib/providers/compass_provider.dart, lib/providers/gas_sensor_state_provider.dart. 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd6c4f7b02390988942250ddd29e2bda2b8ea84a0377cc590f9a71f949bc795"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_scienceLab != null \u0026\u0026 _scienceLab!.isConnected()\u0060 appears character-identically in 15 files \u2014 lib/providers/gas_sensor_state_provider.dart, lib/view/ads1115_screen.dart, lib/view/apds9960_screen.dart, lib/view/barometer_screen.dart. 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":"lib/providers/gas_sensor_state_provider.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f8fc9ec0efc585c95e4a3b80ca06f5feea975519a3172ce8a8599230be4273"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_scienceLab == null || !_scienceLab!.isConnected()\u0060 appears character-identically in 2 files \u2014 lib/providers/gas_sensor_state_provider.dart, lib/providers/luxmeter_state_provider.dart. 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":"lib/providers/gas_sensor_state_provider.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbf9ed84ff26a034c5f7d6c0ee71471b35c82efc92aa544bfe5322daa1a463f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clean.startsWith(\u0027[\u0027) \u0026\u0026 clean.endsWith(\u0027]\u0027)\u0060 appears character-identically in 3 files \u2014 lib/others/data_chart_analyzer.dart, lib/providers/logic_analyzer_state_provider.dart, lib/providers/oscilloscope_state_provider.dart. 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":"lib/others/data_chart_analyzer.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"229980c10085abb7d35d850ffb8078da55f0102cf3c37d5b06d3930db923b772"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clean.startsWith(\u0027[[\u0027) \u0026\u0026 clean.endsWith(\u0027]]\u0027)\u0060 appears character-identically in 2 files \u2014 lib/others/data_chart_analyzer.dart, lib/providers/logic_analyzer_state_provider.dart. 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":"lib/others/data_chart_analyzer.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c952c220ee81c7ae67a9f0afc8b5aae14d06f6ca9f6502f48d9ce991fbc5aeac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentTimestamp != null \u0026\u0026 nextTimestamp != null\u0060 appears character-identically in 11 files \u2014 lib/providers/accelerometer_state_provider.dart, lib/providers/barometer_state_provider.dart, lib/providers/compass_provider.dart, lib/providers/gas_sensor_state_provider.dart. 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2802aaf43f5d76f6eb536e91555ba6b57d62fae498a8330c0bcc2e85abedfd3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultTargetPlatform == TargetPlatform.android || defaultTargetPlatform == TargetPlatform.iOS\u0060 appears character-identically in 2 files \u2014 lib/providers/accelerometer_state_provider.dart, lib/providers/gyroscope_state_provider.dart. 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f92e195bf6cb9d45ac778710fd976ac15a38f0fdd15c301643f897d46cf2ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultTargetPlatform == TargetPlatform.windows || defaultTargetPlatform == TargetPlatform.macOS || defaultTargetPlatform == TargetPlatform.\u2026\u0060 appears character-identically in 2 files \u2014 lib/providers/board_state_provider.dart, lib/view/widgets/guide_widget.dart. 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":"lib/providers/board_state_provider.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dcc1e31c1ced19fcd67fe71cd904b5fa3ec54b3ce5d5185167f9c36bd42d68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060doubleValue != null \u0026\u0026 doubleValue \u003E= 0 \u0026\u0026 doubleValue \u003C= 100\u0060 appears character-identically in 2 files \u2014 lib/view/accelerometer_config_screen.dart, lib/view/gyroscope_config_screen.dart. 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":"lib/view/accelerometer_config_screen.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15a67a776140742c82cb52ce282ab8cefe3cc6b54cd56c19605013a771ad155"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err.contains(\u0027access denied\u0027) || err.contains(\u0027securityerror\u0027)\u0060 appears character-identically in 2 files \u2014 lib/communication/labrador/labrador_manager_web.dart, lib/others/labrador_web_firmware_flasher.dart. 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":"lib/communication/labrador/labrador_manager_web.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"758b7f1fa26d1fd1963d7e486b33567a1aae93f18a495233043f0f8c56413e7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event is! KeyDownEvent \u0026\u0026 event is! KeyRepeatEvent\u0060 appears character-identically in 4 files \u2014 lib/view/logged_data_screen.dart, lib/view/power_source_screen.dart, lib/view/widgets/logic_analyzer_channel_selection.dart, lib/view/widgets/oscilloscope_screen_tabs.dart. 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":"lib/view/logged_data_screen.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"216e29fc4207dd15274e60eca4c201b34f94acc82621ec82ddff1dc05819a980"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.logicalKey == LogicalKeyboardKey.enter || event.logicalKey == LogicalKeyboardKey.numpadEnter\u0060 appears character-identically in 3 files \u2014 lib/view/logged_data_screen.dart, lib/view/widgets/logic_analyzer_channel_selection.dart, lib/view/widgets/oscilloscope_screen_tabs.dart. 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":"lib/view/logged_data_screen.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae147ec90018c10d47f77f41f4a7880e7ad2d6b18d52b8556adca3c4735ef971"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i2c == null \u0026\u0026 scienceLab != null \u0026\u0026 scienceLab.isConnected()\u0060 appears character-identically in 2 files \u2014 lib/providers/accelerometer_state_provider.dart, lib/providers/gyroscope_state_provider.dart. 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ab7a0aa52fbcb3f4017c979f775b5a5357074ab782875f72815dd61777bc39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i2c == null || scienceLab == null || !scienceLab.isConnected()\u0060 appears character-identically in 4 files \u2014 lib/providers/accelerometer_state_provider.dart, lib/providers/gyroscope_state_provider.dart, lib/providers/mpu6050_state_provider.dart, lib/providers/mpu925x_provider.dart. 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b14fca7bb63e013bf74a3736ae3c054e39c3edc165c9be40d67f4611abf019"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060intValue != null \u0026\u0026 intValue \u003E= 100 \u0026\u0026 intValue \u003C= 1000\u0060 appears character-identically in 5 files \u2014 lib/view/luxmeter_config_screen.dart, lib/view/multimeter_config_screen.dart, lib/view/power_source_config_screen.dart, lib/view/soundmeter_config_screen.dart. 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":"lib/view/luxmeter_config_screen.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f995a03795c7910d63b8f563e47a5b83525b70d0c20f3504ab024200f263f2fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kIsWeb || defaultTargetPlatform == TargetPlatform.windows || defaultTargetPlatform == TargetPlatform.linux || defaultTargetPlatform == Targe\u2026\u0060 appears character-identically in 2 files \u2014 lib/view/widgets/logic_analyzer_channel_selection.dart, lib/view/widgets/multimeter_knob.dart. 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":"lib/view/widgets/logic_analyzer_channel_selection.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4423fd513fffe33845e71d6c71d31341e6ec43b53765ed1439adbf8d85030062"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060minTimestamp == null || maxTimestamp == null\u0060 appears character-identically in 2 files \u2014 lib/others/data_service.dart, lib/others/recording_duration.dart. 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":"lib/others/data_service.dart"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efc65306c086a0016cf9d8a0c525d000d6e2376e2027fdf26406c47a2846ffa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060numBytesRead \u003C bytesToRead \u0026\u0026 elapsed \u003C timeoutMillis\u0060 appears character-identically in 2 files \u2014 lib/communication/handler/web_comms_handler.dart, lib/communication/handler/wifi_comms_handler.dart. 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":"lib/communication/handler/web_comms_handler.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2572b08d6d0a137ecdade8aa49a23ea09a6a4caacc3eef828fcb1e18420e1de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedSensor == \u0027MPU6050\u0027 \u0026\u0026 _mpu6050 != null\u0060 appears character-identically in 2 files \u2014 lib/providers/accelerometer_state_provider.dart, lib/providers/gyroscope_state_provider.dart. 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaad9668f3d1aa68abeccddf9cf7d03ac5196666ec3a31cbfc8c6e2a3a7ff51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shouldClip \u0026\u0026 highLimit != null \u0026\u0026 lowLimit != null\u0060 appears character-identically in 2 files \u2014 lib/providers/accelerometer_state_provider.dart, lib/providers/gyroscope_state_provider.dart. 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":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21dbcb53abfa7bfdedb9fb551e403d5ebded1f0b91245e580c5baeeaa01c670"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timestamp != null \u0026\u0026 _playbackStartTimestamp != null\u0060 appears character-identically in 5 files \u2014 lib/providers/barometer_state_provider.dart, lib/providers/gas_sensor_state_provider.dart, lib/providers/luxmeter_state_provider.dart, lib/providers/soundmeter_state_provider.dart. 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":"lib/providers/barometer_state_provider.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d2311bc90d95cf81b15824f430b0ccc2f6ec43e7358737836cf44135998a04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == .denied || status == .restricted\u0060 appears character-identically in 2 files \u2014 ios/Runner/AppDelegate.swift, macos/Runner/MainFlutterWindow.swift. 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":"ios/Runner/AppDelegate.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ef8b89a498192a12208c5c405226f2b31bcec5a745a241fecb10c4f7526a16"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_PowerSourceConfigScreenState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_updatePeriodController\u0060 itself (line 21, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_updatePeriodController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060TextEditingController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_updatePeriodController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/power_source_config_screen.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9281fd9fbd5795e98e5adf1cd449a61f740109a1ee93f404637cc3fddc7617"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060finer\u0060 at line 109 is called with an argument built by \u0060arguments.join(\u0027\u2026\u0027)\u0060 (line 109), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because finer is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/util.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd62326b7a6312f6bd0132d42d8bb0e41d2541cf0ad7c93565c183a55bc1d64"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/accelerometer_screen.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e7a48be856173917a7fed9be316d51f5adbe76b8b6c8431d9983636108802b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/barometer_screen.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a6e8d9b85bd141120384a04b172a197a88b24f0c9e31f83802eccd0aea424b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/compass_screen.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4523819e65f6869d1ab410e47b29635f2a85a2cb0e4aab86572b848c83133af3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/gas_sensor_screen.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5221aad112a2196d0e380ae6c5f67993221fc6c368aaa736096a17c48c6172be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/gyroscope_screen.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"586cb28afbe3cdc8e7eac6f11bf94907fdb5d69ce93bff12a13ca81f055386ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/logged_data_screen.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b443f72cf924521a3aa2181569b19ab08f933ae7f8d79a1111ca1f914999bc08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/luxmeter_screen.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a4b0252a584a1efbe86994457dd844dc3afcca932ddcc9cb682251991b0bbe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/multimeter_screen.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d77523a7d1a9b3879dff95097a77c793e514c73d9a73fb6870e4b1b109044e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/oscilloscope_screen.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece0ead0658aaf3ed5d96087a6ba22087a038c3b98d9e12ae2814b528baf5d2a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/pin_layout_screen.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3879aaf09611651c47ceff78b29b049d93240edbd1979342699954fd7b85b68"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/power_source_screen.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52f5a5ec84afac9d4fa563f23b575c3ba96813a1ac00f53d3e4be1db57408e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/soundmeter_screen.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"099a04de315e3a1536217b191a284c621f4d07d75ea104a55621dad989b6f33d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/thermometer_screen.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09adc3ababdc459958dbc4126156a4101e450de4e32dbe7c767ea9e6c85a9cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/accelerometer_state_provider.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d14867eb15f0dd57eace4573fcc6ad7c61b4499fb9b20a8acf7512f563bc12"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/instrument_filter_provider.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a697e2ece4fa151871839fa21011c69d11c2897f4f032df5aff13a9e316ad1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oled_display_provider.dart"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0c89c589793f0f1058e5deef6f4885fccc3f236bfdcb21ff8d48b31c7ff296"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/oscilloscope_state_provider.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c20b7cec6f85b2e6910d9130577bbc7b4bdee0106a1e1195b0728ff9c11feb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/about_us_version_resolver.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1f9ede11d412b2ab969cdf240c900b584284479625d35585b579cc254d91f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/labrador_web_firmware_flasher.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bc8db5b11acc2a324020671b1b1073f5323a9223da47e6be34c3eda011769a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/labrador_web_firmware_flasher.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"49df5690ad315481996462dce38e76048831a33f4cc43dbeb11d46c5e7b9460c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/labrador_web_firmware_flasher.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e272928ebb73604380ebaf4f08b065ec2c93426730ff10109d1e2b38d02762c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/labrador_web_firmware_flasher.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c8983e00d9bf557363926cf1258afd60c8eda32cba786c04c27d66b1bef851"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/labrador_web_firmware_flasher.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a3ae41fafd3cde4dae52f326f74a4cc47ab25686f79950fc22abb6274cd297"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/others/web_firmware_flasher.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"003756a1b6c19f4e28ba8d881823386d5fc6a3468958b31f1dbd7ebcb2608de0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/oscilloscope_recording_metadata.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"09be35e1e9384489bdcb6b574281f0d91868ab2021b4d7212cff1ba8647fd87e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hal/labrador_board.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f463c21c90aa2d1ac806c1c95ff5dc49707dfab4358d5d4ce113d420039c17b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/hmc5883l.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9539338394016139cebc6beda1b8271ae70d8d63aa5f3cbce1f940b0abbc14b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/hmc5883l.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b4f804bbf17b61c3ee823eca4cc50b9726f6814c3b9e5380605012a8e9e8fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/hmc5883l.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e4132af39654bb614326468c0b09cca54ab0ef84e4333c1401f11e699f8ecf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/sensors/sht21.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fd1c01a171414dae3898141d556d03bccd04ba98a11e9f60bdcb1b0b2cd05d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/labrador/labrador_manager_web.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f89f2a8b44830317859b1ae5217dc866ac54e0a2aa12a04b52b6e3b9a3e3817"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/labrador/labrador_manager_web.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e13b9db30f73b2bb8549f5ad5bb5aa7c8effa72c4997c163efed59af5877e43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/labrador/labrador_manager_web.dart"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb87cab344414ccf2c87b6eb7984614d814d0ac1138de95c312d8e318f11a21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/handler/web_comms_handler.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94052542ce789a0e89249e8fbdd12b20dedef0fd2ca268e40e7ca35be8005aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/communication/handler/web_comms_handler.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61993c86f9483f77807add7b1eb7a4a5865a443265f6f48d46ca6cdff7d2d02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/io/pslab/MainActivity.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"913ee147ac6273feb7f5513e15876150d48ac07a498e94d4863a59492e231d38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/io/pslab/MainActivity.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"3209d6c0583effffd5dfe21711d3a3ee68c91b4d279832dfe20fe57ed5dcc061"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/io/pslab/MainActivity.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf6045c992d4169440839db091ae9a4c59ccdf031cf3037b41693dc9f4eb0ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/io/pslab/MainActivity.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cdd037c385ef6b2812510934b9b924fb3e13a2f0c5d7fd26b867a618aeb8f4"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":129,"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."]}]}