{"$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":"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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"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":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"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":"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":"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":"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":"_LocalMeshPageState.build (cyclomatic 29): _LocalMeshPageState.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":"apps/mobile/lib/src/screens/chat_screen.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"583be71ccef0662162302f5285d1376702a66de6c07ee1952692787cc2bd9f98"}},{"ruleId":"D1","level":"warning","message":{"text":"MeshNode._onInbound (cyclomatic 27): MeshNode._onInbound has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mesh_protocol/lib/src/mesh_node.dart"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a264edc622a0bae6dd1329ef30af9c7fe96aeb4b617a7188e8630f0fb398e37"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidBleMeshTransport._onScanResults (cyclomatic 23): AndroidBleMeshTransport._onScanResults 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d775bd85bbd8a5cb7c590a4f900e7071aafa84e67dda47a63a104fba5b63edd1"}},{"ruleId":"D1","level":"warning","message":{"text":"_InternetDmScreenState.build (cyclomatic 22): _InternetDmScreenState.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":"apps/mobile/lib/src/screens/internet_dm_screen.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ced1a5695a63d9d17504d4fef94c943d0ef328184bcbec1e929fff971e2b117"}},{"ruleId":"D1","level":"warning","message":{"text":"BleMeshTransport._onScanResults (cyclomatic 21): BleMeshTransport._onScanResults 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":"packages/mesh_ble/lib/src/ble_mesh_transport.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"06702e91dc9c06a6fc4defd0cd3ea47712b9738bf541217af61a92fe6123a685"}},{"ruleId":"D1","level":"warning","message":{"text":"MeshController.startMesh (cyclomatic 16): MeshController.startMesh 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":"apps/mobile/lib/src/mesh_controller.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5f5a30d6c522ff57d310eab14c2a5cb00134aee172af24f297221ae90d0a71"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshNode._onInbound (cognitive 75): MeshNode._onInbound has cognitive complexity 75 (threshold 15). Drivers by points: if/else 18 (40 pts), error handling 4 (16 pts), ternaries 2 (15 pts), boolean chains 4 (nesting depth added 47). 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":"packages/mesh_protocol/lib/src/mesh_node.dart"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b541b55264ce083b9db33e9ae6e8be2408531f12753a98a53e314e5eb94fb290"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidBleMeshTransport._onScanResults (cognitive 70): AndroidBleMeshTransport._onScanResults has cognitive complexity 70 (threshold 15). Drivers by points: if/else 10 (38 pts), error handling 4 (15 pts), loops 3 (12 pts), boolean chains 5 (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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"075fa8a94e127804ff18847c5e3bf3d30603ad4d1bf2e321ff488f4d1f14293d"}},{"ruleId":"D2","level":"warning","message":{"text":"BleMeshTransport._onScanResults (cognitive 62): BleMeshTransport._onScanResults has cognitive complexity 62 (threshold 15). Drivers by points: if/else 8 (30 pts), error handling 4 (15 pts), loops 3 (12 pts), boolean chains 5 (nesting depth added 42). 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":"packages/mesh_ble/lib/src/ble_mesh_transport.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"61476124b11d5566f90f3ca9a0c4b1b2788070b8c5d93c59309be929d2d63edc"}},{"ruleId":"D2","level":"warning","message":{"text":"_LocalMeshPageState.build (cognitive 32): _LocalMeshPageState.build has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 12 (13 pts), boolean chains 5 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/mobile/lib/src/screens/chat_screen.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eea5344fc0d20ba8d12c7c71eb6d59fa675d6728734c3c742def6eb22c3072a"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshController.startMesh (cognitive 31): MeshController.startMesh has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 5, loops 1 (3 pts), ternaries 1 (2 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":"apps/mobile/lib/src/mesh_controller.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc404e66de88e26825c9ba5e2e9974ec683d67084be033a7c1f462a51cc425d"}},{"ruleId":"D2","level":"warning","message":{"text":"_InternetDmScreenState.build (cognitive 23): _InternetDmScreenState.build has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 14 (15 pts), if/else 6 (7 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/mobile/lib/src/screens/internet_dm_screen.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61dd4926151899deaf2f3890fade06ae6a42ed520fb9a476d234b874a575bd1"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageBubble.build (cognitive 17): MessageBubble.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":"apps/mobile/lib/src/widgets/message_bubble.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a548b4badd6a63b2d8c5737c8b7c3ecc724b7e399503b66be34216bae7273d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _InternetDmScreenState.build: MethodTooLong \u2014 build runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\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":"apps/mobile/lib/src/screens/internet_dm_screen.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2ff5e36ba4c456ee37127b48e377a2b165ff7b7b655b67b9598bc394d9aa71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LocalMeshPageState.build: MethodTooLong \u2014 build runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\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":"apps/mobile/lib/src/screens/chat_screen.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4846a35245b4f3e94dd51cf00eef0fed18fce332ab61a118f4a881622d5338"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppTheme.dark: MethodTooLong \u2014 dark runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"apps/mobile/lib/src/theme/app_theme.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a593c17adc60de36409f78c40c701507453c54abd95a6ed860066ed1367593f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MessageBubble.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":"apps/mobile/lib/src/widgets/message_bubble.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e7be89eea1a41a39ff8ce4a9ba36a669318c7c1c98345cf1befc42e0a0f505"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsScreenState.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":"apps/mobile/lib/src/screens/settings_screen.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"725389612152fa930a6a3905e378d678db611b8150c1e8d4ac3668521b89f657"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OnboardingScreenState.build: MethodTooLong \u2014 build runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/mobile/lib/src/screens/onboarding_screen.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a03a6c161dac1ccbebe8ac308947e1cbf7434c1e5db45d942903bf943a070c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:152-232 | packages/mesh_ble/lib/src/ble_mesh_transport.dart:98-173 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7e3a0c839c72da53467fc077025d3095ee8c5a91a68178711530446f212b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): packages/mesh_protocol/lib/src/mesh_node.dart:189-215 | packages/mesh_protocol/lib/src/mesh_node.dart:217-242 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mesh_protocol/lib/src/mesh_node.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bdcb682125b419a3dceac89a26fff8c4eb4d1c75782138f494aaee3fe5605e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:258-280 | packages/mesh_ble/lib/src/ble_mesh_transport.dart:195-210 \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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4edae00e49e6aacf138dfaff1c71ad5a9052ff13d6649db12979d77bf31270"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/mobile/lib/src/screens/chat_screen.dart:62-76 | apps/mobile/lib/src/screens/internet_dm_screen.dart:72-86 \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":"apps/mobile/lib/src/screens/chat_screen.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"589d16e76acf33f0de59499c6f4764ac50b80720cea7bad27c5e968d6473cc94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/mobile/lib/src/screens/chat_screen.dart:78-90 | apps/mobile/lib/src/screens/internet_dm_screen.dart:106-118 \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":"apps/mobile/lib/src/screens/chat_screen.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"92db142213682225133a8480bc68fb8b0d2dd332157234a7e2b9eaf80c9a431b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:234-256 | packages/mesh_ble/lib/src/ble_mesh_transport.dart:175-193 \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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a5e78060966ff41db56f281e12379702785d6dd95af53a423375cf6b05440c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:95-115 | packages/mesh_ble/lib/src/ble_mesh_transport.dart:68-85 \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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"355bc747752aa71987abca46f964d408c085e5e2d1e454ccfd25b542b6533fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): packages/mesh_protocol/lib/src/crypto_identity.dart:25-32 | packages/mesh_protocol/lib/src/e2e_crypto.dart:24-31 \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":"packages/mesh_protocol/lib/src/crypto_identity.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07beaaf099993c7aa2fcf413bf1bda4bd1bea1a6221262d8ef38d7c5f369b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): packages/mesh_protocol/lib/src/crypto_identity.dart:40-45 | packages/mesh_protocol/lib/src/packet.dart:75-82 \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":"packages/mesh_protocol/lib/src/crypto_identity.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9a0d0acfb7a571b1e9e3c4caf2d7c7b686a2a6c18b54e328a19dc8b230e78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/mobile/lib/src/screens/chat_screen.dart:54-60 | apps/mobile/lib/src/screens/internet_dm_screen.dart:62-70 \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":"apps/mobile/lib/src/screens/chat_screen.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eacbb92b3b6b6c0b765d5ee16b510b50fb1cc5c91ab55b55c7c141ec09e4f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 2\u002B corresponding lines): packages/mesh_internet/lib/src/internet_e2e_service.dart:171-172 | packages/mesh_internet/lib/src/nostr_keys.dart:35-36 | packages/mesh_protocol/lib/src/dedup_cache.dart:13-14 | packages/mesh_protocol/lib/src/file_packet.dart:166-167 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 2 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":"packages/mesh_internet/lib/src/internet_e2e_service.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6a300dc54aa8a2f19f7a6d4b26c4ea55dc794f87a0782247c3fb9004659bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:178-204 | packages/mesh_ble/lib/src/ble_mesh_transport.dart:111-137 \u2014 before extracting anything, compare \u0060packages/mesh_ble/lib/src/android_ble_mesh_transport.dart\u0060 and \u0060packages/mesh_ble/lib/src/ble_mesh_transport.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:178\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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0881007a2fddc0e346dd3007b511ec2e8f48e70955b6709c25149dc9a829bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): apps/mobile/lib/src/app.dart:48-70 | apps/mobile/lib/src/screens/onboarding_screen.dart:63-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/mobile/lib/src/screens/onboarding_screen.dart:63\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":"apps/mobile/lib/src/app.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"039e4e859707f8ae1595c9bb8c6b7f4001cd21e785b91989c07ab4f4c80b49e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:152-160 | packages/mesh_ble/lib/src/ble_mesh_transport.dart:98-105 \u2014 before extracting anything, compare \u0060packages/mesh_ble/lib/src/android_ble_mesh_transport.dart\u0060 and \u0060packages/mesh_ble/lib/src/ble_mesh_transport.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12e2926176d0842bfaf173f08328e2f387b8413566a92188393b1166c788885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:262-270 | packages/mesh_ble/lib/src/ble_mesh_transport.dart:199-206 \u2014 before extracting anything, compare \u0060packages/mesh_ble/lib/src/android_ble_mesh_transport.dart\u0060 and \u0060packages/mesh_ble/lib/src/ble_mesh_transport.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:262\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 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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e74c06dfa0a8bb6c915fca8f67bb0649e3e54d9b2767874e90104cbcb9d837c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/mobile/lib/src/screens/chat_screen.dart:43-52 | apps/mobile/lib/src/screens/internet_dm_screen.dart:51-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/mobile/lib/src/screens/chat_screen.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"80803444ed2a66ff4c29e3ce75e0dd1f9a00e6862a31f4ffe8926ab04f11fca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/mesh_ble/lib/src/android_ble_mesh_transport.dart:141-150 | packages/mesh_ble/lib/src/ble_mesh_transport.dart:87-96 \u2014 before extracting anything, compare \u0060packages/mesh_ble/lib/src/android_ble_mesh_transport.dart\u0060 and \u0060packages/mesh_ble/lib/src/ble_mesh_transport.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68dcb226a032f17d3e83c637d54346742e28c641a333e9104d2f3513c346953"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mesh_protocol: mesh_protocol: abstractness 0.04, instability 0.00, distance 0.96 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"931c46f544b7ab223ee90aaf0e2ae88b66b7f4e29b886c6cf62aa4ed99dd5045"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/mobile/lib/src/screens/chat_screen.dart: apps/mobile/lib/src/screens/chat_screen.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in _LocalMeshPageState.build at line 122. 2 of those changes were fix/bug commits, and the other 5 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-05-24..2026-08-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-24 21:10:25 \u002B05:30\u0027 --until=\u00272026-08-22 21:10:25 \u002B05:30\u0027 --full-history --no-merges -- apps/mobile/lib/src/screens/chat_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":"apps/mobile/lib/src/screens/chat_screen.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"05872cf4637bde9e3da29cab328c4f04fcd0943cc09d0162fc4c05fa10a07275"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/mobile/lib/src/screens/internet_dm_screen.dart: apps/mobile/lib/src/screens/internet_dm_screen.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in _InternetDmScreenState.build at line 120. 2 of those changes were fix/bug commits, 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-05-24..2026-08-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-24 21:10:25 \u002B05:30\u0027 --until=\u00272026-08-22 21:10:25 \u002B05:30\u0027 --full-history --no-merges -- apps/mobile/lib/src/screens/internet_dm_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":"apps/mobile/lib/src/screens/internet_dm_screen.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"051157c88772d5eb0eaf854f8bf19219deb7a943e3f0e4409c58219dacfbf7ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/mobile/lib/src/mesh_controller.dart: apps/mobile/lib/src/mesh_controller.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MeshController.startMesh at line 74. 2 of those changes were fix/bug commits, 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-05-24..2026-08-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-24 21:10:25 \u002B05:30\u0027 --until=\u00272026-08-22 21:10:25 \u002B05:30\u0027 --full-history --no-merges -- apps/mobile/lib/src/mesh_controller.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":"apps/mobile/lib/src/mesh_controller.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07068e0639eae15a78bc6efa79fd65bc0336ec21cb8b4f9118b58737ac28264"}},{"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 \u0060apps/mobile/lib/main.dart\u0060 makes this repository a deployable product (line 6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/mobile/lib/main.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e535ae3e5cc1e5f5acdd70a51b4cafecae43b01969e8aed642fcdfe419f39f00"}},{"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":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"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":"packages/mesh_protocol/lib/src/crypto_identity.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"736c6fe4fc6062c546f60c268f7b70564210d14bddecd49e8cf67d3bf586d2f3"}},{"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":"packages/mesh_protocol/lib/src/media_chunk.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cc306c3a0c7455558ffe8a94d7f1fd543f187e23fd5701b7a0263dfb4cf57b"}},{"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":"packages/mesh_protocol/lib/src/mesh_node.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b908eccbf861a68acd8759003e6d60bdc2ac10375cef10e1156950935b058f6"}},{"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":"packages/mesh_protocol/lib/src/mesh_node.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd32c130b0f2dd776daca3204a8ec91279dd4db375e3be6b5ec22df6a3a0f256"}},{"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":"packages/mesh_protocol/lib/src/mesh_node.dart"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7a6e1225e1346d13bcc3be29a78f8465e699c68a793a3a9b822be57add3f0a"}},{"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":"packages/mesh_internet/lib/src/nostr_client.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e836e32aad8087a75c3829d656c54dc8ac5b69ff926f9a8fea23d09dc332be1"}},{"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":"packages/mesh_internet/lib/src/nostr_client.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17050bc8e1b73cc47130eb0f4f8c2c6cb2858aff96e1c75e366ec7742d02133"}},{"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":"packages/mesh_internet/lib/src/nostr_client.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f38061c1f4ce553cbc5416b722022704e94862675303137bca936e404ef1a4"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec0d2b51406b4bc9591236b7bebcca8153510bf059dbbf2e47ea16a08790cca"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"77389867f95d2df4f83746c4a5b422dd36415ef1e641e20a6f994cb6c73e3beb"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4054366f2f9dd1f439a48bc23094f8a6715df774082bd08513e7b58ecdba599e"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c398ed26800c3f119587045c17edb3c7b6366603a3bf6b348fbf0de0c3ff1be7"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a029ae31875b01da76f0e309386f94f2cb8a18622f9e8aaaf44d17703317fb5"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa4f4bbb8817e71fbc5c3360392089bd0630e07f7b437f0c37b64a8ab243372"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde7e7641cefe7e64a77d53fae4c8b372e2ecd2fee1e6487c68e8f2c22f1d707"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a493203130a3ca10e4b3d5c198e9114a84ecaef8eebc56b6281981ca53207fde"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71e2820e26ce0941538b2a9358f6a223766f6733611fc1e6a3978c1a0c4ffc5"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c81260715478ee4b4f1bd78f299576f960c3916ac52e541c330e044e1de377d"}},{"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":"packages/mesh_ble/lib/src/android_ble_mesh_transport.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f08cb5bfd9702ba66001b18f093fa15795d0e83287825691ee8793a5ddf462"}},{"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":"packages/mesh_ble/lib/src/ble_mesh_transport.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd83548fda0bc89ef52d61d1f0e106cf6ca7232b479c6d8c56b47f60f68258c"}},{"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":"packages/mesh_ble/lib/src/ble_mesh_transport.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8478aad9438e17d6cd1e3ce786d2245df1c36d7a5b50bd4846f8a2f211ae350d"}},{"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":"packages/mesh_ble/lib/src/ble_mesh_transport.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d59c02498d95c10bfdc575e27c561828e64873bde91a92a26b4ef638573b90"}},{"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":"packages/mesh_ble/lib/src/ble_mesh_transport.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca108cdc9a972dc292fdfb0c5cf9b7e7adf68a76e0f1e12cdacd3ccf347d9eb1"}},{"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":"packages/mesh_ble/lib/src/ble_mesh_transport.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed78bf85d91b308b8b42c5260c2112524401caae85cf8712c58b79388586e274"}},{"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":"packages/mesh_ble/lib/src/ble_mesh_transport.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1532ba45095c6cb3aea90849aa039553c8057fec639b880d88a863d351c543c3"}},{"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":"packages/mesh_ble/lib/src/ble_mesh_transport.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a767908204bef6b1a587a653ddcedbc8efd3da34f711c29e6f216de7595df440"}},{"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":"packages/mesh_ble/lib/src/ble_mesh_transport.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ee33fe193c8c1168571d02195d79f521af8c094c5ec5fa2edcab020c33538b"}},{"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":"apps/mobile/lib/src/mesh_controller.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5a8db77d088d71843c85ee287a95641b009c7a5192f2305eb0f54214c17473"}},{"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":"apps/mobile/android/app/src/main/kotlin/app/netless/netless/BleMeshServer.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7bc23d4883679bfe3edfedd6ec7333c49e33f5a5a259c01a41f8d692125517"}},{"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":"apps/mobile/android/app/src/main/kotlin/app/netless/netless/BleMeshServer.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67b4d42abf8ddbc36b66e902270f02038d8e4c44efff95935b571be595538c3"}},{"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":"apps/mobile/android/app/src/main/kotlin/app/netless/netless/BleMeshServer.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3807742cf23e32ceac650581ae26e02c48eb36eec561ff5ea920afbcdf45a141"}}],"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-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-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-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-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-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":"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":"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/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}