{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"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":"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":"_AttachWidgetState._handleLocation (cyclomatic 19): _AttachWidgetState._handleLocation 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/src/widget/helper/attach_widget.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfe9b7acb9b50c1a3081b47d2d66a367d9e86c3e6aec05e9a16773a334c66ca"}},{"ruleId":"D1","level":"warning","message":{"text":"DialogProxy.dismiss (cyclomatic 18): DialogProxy.dismiss 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/src/helper/dialog_proxy.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"44758aab63250b39be428fc52f8134fb747fcebc44ebdc584aa8238713fdfaff"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomDialog._getDialogsForCloseAll (cyclomatic 17): CustomDialog._getDialogsForCloseAll 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/src/custom/custom_dialog.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd273f6ea74578ed9413c9a82e55829a5f3f5546a0f48b684cdd8c891dbf5b9"}},{"ruleId":"D1","level":"warning","message":{"text":"DialogKit.checkExist (cyclomatic 16): DialogKit.checkExist 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/src/kit/dialog_kit.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"294615cb3f79bc12f2cae4ca91bd1e4abe50358c37c4d6529f1dc54596a8175e"}},{"ruleId":"D2","level":"warning","message":{"text":"DialogProxy.dismiss (cognitive 31): DialogProxy.dismiss has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 4, loops 1 (4 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/src/helper/dialog_proxy.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5535d5f4adf1fdbd0ac0e51dbf434e35453c79e6d4e49675b375a116f577bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomDialog._getDialogsForCloseAll (cognitive 26): CustomDialog._getDialogsForCloseAll has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 6, loops 2 (3 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/src/custom/custom_dialog.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0391d17f2fac7015086d485b64018a2acf0b923f34d8eb4895609207f293e8d9"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomDialog._getDialog (cognitive 22): CustomDialog._getDialog has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (5 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/src/custom/custom_dialog.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9404d6f2e8fcf90a6686a32879b9dc560cdfe08a50e5090e80e967af3534dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"MonitorPopRoute.handBackEvent (cognitive 22): MonitorPopRoute.handBackEvent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/helper/pop_monitor/monitor_pop_route.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b827ea1e132e7d1eb04819a586b0ad3882cfe7c3c933bb06faed2fc4e08234a"}},{"ruleId":"D2","level":"warning","message":{"text":"MonitorPopRoute.handleSmartDialog (cognitive 21): MonitorPopRoute.handleSmartDialog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 2, error handling 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/src/helper/pop_monitor/monitor_pop_route.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e77f8f72b05b85c1f2e536e81aac655da16ca9ea71c0cc2459ba92a7420fe42"}},{"ruleId":"D2","level":"warning","message":{"text":"DialogKit.checkExist (cognitive 21): DialogKit.checkExist has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, loops 2 (4 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/src/kit/dialog_kit.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d704519ce9051b6b8f757d77f8c09a80da5717d45e193258615036d31d8e58e5"}},{"ruleId":"D2","level":"warning","message":{"text":"_AttachWidgetState._adjustReactInfo (cognitive 19): _AttachWidgetState._adjustReactInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3 (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/src/widget/helper/attach_widget.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6419d6333ce0ad6a7282868f74a1b322ae602dcd6a9d4249efa0d40fe1bd96"}},{"ruleId":"D2","level":"warning","message":{"text":"_AttachWidgetState._handleLocation (cognitive 18): _AttachWidgetState._handleLocation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 3, ternaries 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/src/widget/helper/attach_widget.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a4894431f7795ed55a178780525a1436e8a8ba8261f4fe2587110c63cf22a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.dart.copyProperties: FunctionTooLong \u2014 copyProperties runs 62377 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62277 over it, 623.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":"docs/web/main.dart.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"274969b9816a606080e1935fef03ca3a47bbf89bd42f1f3b0b06311f95f1e2f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.dart.initializeDeferredHunk: FunctionTooLong \u2014 initializeDeferredHunk runs 19996 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19896 over it, 199.96\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":"docs/web/main.dart.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68f85a6bf3d7c18e54c2647fa37770c0fa1b604cae7ea0fa14b41cc9974dc97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/main.dart.js: FileTooLong \u2014 62377 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 61877 over it, 124.75\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":"docs/web/main.dart.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b820fbe413d804c35c7b14889e2dc2e0043da974edf82adea5e2a66d34080623"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/src/widget/default/notify_alter.dart:10-33 | lib/src/widget/default/notify_error.dart:10-29 | lib/src/widget/default/notify_failure.dart:10-29 | lib/src/widget/default/notify_success.dart:10-29 | lib/src/widget/default/notify_warning.dart:10-33 \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/src/widget/default/notify_alter.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cd76c84b409958dd97b9208ad9aaf45069a144030b06ac711c64a0d23043de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): lib/src/custom/custom_dialog.dart:25-83 | lib/src/custom/custom_notify.dart:22-74 \u2014 These two members are one piece of code written twice and then edited apart: 53 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/src/custom/custom_dialog.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"39201e2f16634b65fae6e959eef36f9241ba34788d467e62fbe60fe5f5df9a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/src/custom/main_dialog.dart:30-64 | lib/src/custom/main_dialog.dart:66-105 \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/src/custom/main_dialog.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b9855f14b939ccc60889e059c55324c59fc1b235c4e377ba128fa496cc0cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/src/widget/attach_dialog_widget.dart:250-284 | lib/src/widget/smart_dialog_widget.dart:155-185 \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/src/widget/attach_dialog_widget.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0901982f536270d064f720021a66634e3f549f06fd4c53c2960e82bdbc489e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/src/custom/custom_dialog.dart:149-171 | lib/src/custom/custom_notify.dart:76-98 \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/src/custom/custom_dialog.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a00ac4d5ece1c0e03702964d7776c21d13a5954d832ad7364d9630493caebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/custom/custom_dialog.dart:294-305 | lib/src/custom/custom_dialog.dart:307-323 \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/src/custom/custom_dialog.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f53c9137d5b464be938c89387916ea4e2d7c2149c49ad18e188ece2953f8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): lib/src/helper/dialog_proxy.dart:128-135 | lib/src/helper/dialog_proxy.dart:137-144 | lib/src/helper/dialog_proxy.dart:146-153 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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/src/helper/dialog_proxy.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6be3c53a960ea53322a5508a71acb3674382daac8580002c5556e1972119f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/src/widget/attach_dialog_widget.dart:319-322 | lib/src/widget/smart_dialog_widget.dart:221-224 \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/src/widget/attach_dialog_widget.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aee8d6ef3c7baaadf170a442ec95ccb5a326cdc0e33bd083058e00d100bd22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/src/widget/attach_dialog_widget.dart:123-145 | lib/src/widget/smart_dialog_widget.dart:95-117 \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":"lib/src/widget/attach_dialog_widget.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8d4bd59fe7820ca0226db9c269daded6e3f9d52744ea98136993b1278a0dab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/src/custom/custom_dialog.dart:42-63 | lib/src/custom/custom_notify.dart:34-55 \u2014 before extracting anything, compare \u0060lib/src/custom/custom_dialog.dart\u0060 and \u0060lib/src/custom/custom_notify.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/custom/custom_dialog.dart:42\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/custom/custom_dialog.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee13861a52bc87855a6b8fd9326bfe60b73d06f6410bf14166a24e8144039108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/custom/custom_dialog.dart:153-171 | lib/src/custom/custom_notify.dart:80-98 \u2014 before extracting anything, compare \u0060lib/src/custom/custom_dialog.dart\u0060 and \u0060lib/src/custom/custom_notify.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/custom/custom_dialog.dart:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/custom/custom_dialog.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b294f110914bf8a147a04cafd066ad709026d1827320ed8b4f21df85d9093b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/src/custom/main_dialog.dart:50-64 | lib/src/custom/main_dialog.dart:91-105 \u2014 both copies are in the same file, so extract the block 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/src/custom/main_dialog.dart:50\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/src/custom/main_dialog.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c341a4f5bac972607d2f78193c00bdf1e731cd307d78cba73d3801c4a53977a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): lib/src/widget/default/notify_alter.dart:10-21 | lib/src/widget/default/notify_error.dart:10-20 | lib/src/widget/default/notify_failure.dart:10-20 | lib/src/widget/default/notify_success.dart:10-20 | lib/src/widget/default/notify_warning.dart:10-21 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/widget/default/notify_alter.dart:10\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/src/widget/default/notify_alter.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7797b4217a6db180f209f1d5b7e5479f99af901ee3c1818471044b550e33fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/src/custom/custom_dialog.dart:47-58 | lib/src/custom/custom_notify.dart:39-50 | lib/src/custom/toast/custom_toast.dart:43-54 \u2014 before extracting anything, compare \u0060lib/src/custom/custom_dialog.dart\u0060 and \u0060lib/src/custom/custom_notify.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/custom/custom_dialog.dart:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/custom/custom_dialog.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9498fd43d27058ac907d81dfa95b7958c2ad74ee1f30bb06f776c50b3de66d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/custom/custom_dialog.dart:70-80 | lib/src/custom/custom_dialog.dart:124-134 \u2014 both copies are in the same file, so extract the block 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/src/custom/custom_dialog.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"baafb8de72f195cd1ac59608e81d71141fcb01de359d4baa204f35667e13aaf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/src/widget/animation/fade_animation.dart:21-28 | lib/src/widget/animation/highlight_mask_animation.dart:41-48 | lib/src/widget/animation/mask_animation.dart:27-34 | lib/src/widget/animation/scale_animation.dart:24-31 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/animation/fade_animation.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e591d5353808871d169c284d67e97612ab5323e142f9ca74d987369d99a5e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): example/lib/demo/issue165_animation.dart:9-23 | example/lib/demo/issue188_quick_close.dart:9-23 | example/lib/demo/issue191_toast.dart:9-23 | example/lib/demo/issue209.dart:9-23 \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":"example/lib/demo/issue165_animation.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"641c6034cf5796435ec45820c3c808efdab9fd65eb422aeb84806ad13aedecdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): example/lib/demo/issue235_toast.dart:17-31 | example/lib/demo/issue251_tag.dart:17-32 \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":"example/lib/demo/issue235_toast.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf75812820eeb52325350ac54f2f8c4067d115d28399eda021785e516439731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): example/lib/demo/issue165_animation.dart:9-23 | example/lib/demo/issue188_quick_close.dart:9-23 | example/lib/demo/issue191_toast.dart:9-23 | example/lib/demo/issue209.dart:9-23 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/demo/issue165_animation.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2cb8ae6b5773d694de25bf389ebacf5267e9176ab37fc4472e34d004524bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/lib/demo/issue181_overstep.dart:9-17 | example/lib/demo/issue200_loading.dart:9-16 \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":"example/lib/demo/issue181_overstep.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9beb94a3c8dcf1cd7920a7001cdd9e91ad2a702fd78830b604ce3c6918d448"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/widget/helper/attach_widget.dart: lib/src/widget/helper/attach_widget.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in _AttachWidgetState._handleLocation at line 179. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 21:51:58 \u002B08:00\u0027 --until=\u00272026-11-05 21:51:58 \u002B08:00\u0027 --full-history --no-merges -- lib/src/widget/helper/attach_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/src/widget/helper/attach_widget.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f795d58e88f8cb7f82070f805766392a94d2caecf82cf05b91f689d98e73f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/src/custom/toast/toast_tool.dart: lib/src/custom/toast/toast_tool.dart changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ToastTool._close at line 132), 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(toast): track shown toasts through replacement cleanup\u201D; \u201Cfix(toast): serialize last/onlyRefresh replacement during close\u201D; \u201Cfix: make toast lifecycle deterministic\u201D; \u201Ctest: establish dialog behavior regression suite\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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 21:51:58 \u002B08:00\u0027 --until=\u00272026-11-05 21:51:58 \u002B08:00\u0027 --full-history --no-merges -- lib/src/custom/toast/toast_tool.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/src/custom/toast/toast_tool.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3913bf5ca6e04572d4119a3d899bf0773ec066b7bf1d6467063a00d1a3f7a2d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 7 significant file(s) lose their only recent owner: lib/src/data/show_param.dart, lib/src/helper/dialog_proxy.dart, lib/src/custom/main_dialog.dart, lib/src/custom/custom_notify.dart, lib/src/widget/smart_dialog_widget.dart, lib/src/custom/custom_loading.dart, lib/src/helper/monitor_widget_helper.dart. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ca7b71e18eb0a76570404d981a197ed1a71c37eb3e2eb5d43254a784878abd58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement build \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/demo/issue183_visibility.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"771345e02c6209aded38ab2366f8f64ef9d24c17524900c703af30d39924bd26"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 2 of 25 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; 25 of the 60 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/src/widget/animation/highlight_mask_animation.dart, lib/src/data/animation_param.dart. 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/src/data/animation_param.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"365d3f6fcda75915c79d1c4ad1a924a253c7e55dd8af680dbfe15715bf09cef8"}},{"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/src/widget/animation/highlight_mask_animation.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae6a22d0645518b3d5a5e9d1d7e1755074cf7e7d9cdbf82cf2ef9d8250b5520"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d343f526d59c7e380ae7cdd10678e65735b7b87666cfe3c00ede5e827cc629"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"8983bdefd5231d1171094a7194267593ba64c6a17413cd94fa284dfaceef8960"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":2120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd064221441740c93ef41c031ef9b78e2cc6f4da1d52d28f9ed76ae4d42534b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6998a45e2aed91e086182122455b3ec48622f53965e2e5b112496965b02e90"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c1057637622f0422d0288ca5bab13c1ed4e66bbac8ab05cd6862714c24a903"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":2447}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63c758f5338040e204aa53a21a04c4ac7d8085586617fd4c22ecbca95abda33"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":4964}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb68f4c70b8ce505c8373f47de6dc58f75894c9209aa6e18da8165cc426b3791"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":6424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33f4958aa88cbcabbcb2284d02a6f9ee13d51de80bf854f762eafb170e311f2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":6598}}}],"partialFingerprints":{"codehealthFindingId/v1":"452ca877a2a692944fe265b25d8b41b4cd1f2b16b17b4db10d2e337d03828bf9"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":6745}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a43586b6acf6951c436e28bd118bc86e7aa3294fa7aa2109f292ba85a62b940"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":6811}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e578324982971d3aa55f9b831d17f60d04b6553dbaf8bc6412f486ced5b124"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":6819}}}],"partialFingerprints":{"codehealthFindingId/v1":"87578fb3c121c0bf7fd210c0d33f99e0d122ffbfbb0c947925956e5d5859e0eb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":7252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c46f0c833e4f64e504453010e05a77b68ad00eba4937afb140cad3544b53d84"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":7286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e32ff5aee270b39d1d5488603f832f162e7b903207a2c7886d866ef5f5a7263"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":7316}}}],"partialFingerprints":{"codehealthFindingId/v1":"791683188359ccfb4a7a74bf4a4746b9870ff18d6c3b75e4e034957bbc18316f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":7366}}}],"partialFingerprints":{"codehealthFindingId/v1":"009fb5faedf88799abb7195b76440c9b29fc094118e6e9ee48b6fedab2781f28"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: The \u0060if\u0060 and its \u0060else\u0060 contain the same statements, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":22888}}}],"partialFingerprints":{"codehealthFindingId/v1":"000e9e64ad2e6edacef8cda8c7bdb61dcb6197cfdfae9b38aabaa54584b85788"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":25322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc452df5a2cb6982e8d002d3bc38d4ef74297937a73776dcda7e600dbc6a68d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":28547}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3639c645846f6ac50f6b260e425b5783d6fc3c463ae88f90e8eee29b8a77c8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":28686}}}],"partialFingerprints":{"codehealthFindingId/v1":"25672fb0c4ad01b1609ddc7ec3001b77e7a1879957ce32624125b4120b6c6059"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":31557}}}],"partialFingerprints":{"codehealthFindingId/v1":"10409098a24a914c1d611c9d094d2f8305c63e19d8ad33a0d5dee20802308b40"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":31558}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe34a392167eb15c22a009ee430ec7495dc9310620af3a9f85e3110559b62bc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":32163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74df3c5102f57d276ae2b2bf951e64a6d593bb2a77ebae21af0ee2e0e4e165f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":33485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27dce1cb00dcd5e5fe22350a91042c3d0402e0b4920e60831122b862e6041d2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":33961}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be00be2efc50d1a354b69046ca8807cde4fa71fbce39b203a7b99b1c642329f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":34004}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1fc5b029f348c12c0383dd640bf321a5030a52524a69ea64d1c6138c6ad734"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":34191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b878f0e907978f1c98838d0671202b73c12de0b0e0aacb5a17ca2ffa73a6a627"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":34348}}}],"partialFingerprints":{"codehealthFindingId/v1":"438254bdc22f8e74fbf59a4742ac04496a6e27b5ba215ccacb3653e50f571c51"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":34513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33f391217d80a6ba074d0ad265c808a9085cc26e42c3f2f830c178a25b78bac"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":34727}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c85e2c6b7099ed73b9067ed62547786bcd7f00935495310263b10e58f92e0e2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":34759}}}],"partialFingerprints":{"codehealthFindingId/v1":"2121f45d741b649622c072f5feef75bc0fa2320bf0f55b82e79232aa28b9043e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":35282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b32da30aa840a845babcf3d05144da6d6d3467ba09c2bdf7c9a242e87635b5c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":36942}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea8d63e641ad9a4c19f26d167412cf3372dcb9a477bf485ed7694d36395905e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return 1;\u0060 also returns \u00601\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":39614}}}],"partialFingerprints":{"codehealthFindingId/v1":"853d04a615b6c3a9a14ff9165ae6665821fda66d9e4f12dcbe6ca8c43ce07da3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":42879}}}],"partialFingerprints":{"codehealthFindingId/v1":"323cf63a6ad8cca1c84052f499ae819b6b30abea17c442de89488802524b39fb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":42890}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b74b5cf2eb3d7b9300bb8b90e564024403457dd14423c9adbff487b1e408b6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":43517}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71a65aa6365209d60e1f715da4760c1b3cf907d49b89a31868e77c51c0c959e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":43537}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8c5045479491fc9f286032c43c14f333639dc671101c3f72ef980342dd427e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":46251}}}],"partialFingerprints":{"codehealthFindingId/v1":"77983ce375f9e61844341da90f534a9a92d457f6ab57f09d4ff6dad8d3a1fa29"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/web/main.dart.js"},"region":{"startLine":47813}}}],"partialFingerprints":{"codehealthFindingId/v1":"685980b2567c2107d70cc601e533e422ec51e5190112c3bad302ef7c8d8a35e7"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"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 1 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/code-analysis.yml"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!param.clickMaskDismiss || DebounceUtils.instance.banContinue(DebounceType.mask, true)\u0060 appears character-identically in 2 files \u2014 lib/src/custom/custom_notify.dart, lib/src/custom/toast/custom_toast.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/src/custom/custom_notify.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88d18a09a08f8ee5fa92dc057acba2e39059a98f467879afdc6af6623ca983e"}},{"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/src/init_dialog.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"263c7d66f25767768e4661fc74a31267fd3382f803506ba82820914751894e78"}},{"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/src/widget/helper/attach_widget.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae81c1a3668a4dc9f4048ed909a9d039b2d989f21d224b2e73641d3e0bb65365"}},{"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/src/widget/helper/toast_helper.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f70870bf14c571ee322e41ecdd96d4e10c99eaa26065ca66eb5c94891db744"}},{"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/src/kit/view_utils.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7627ccfe23af0999424f6f1e51d5b0a43109628aefac422e0c3f94a8eb86e17"}}],"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-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-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-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-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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"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":1,"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."]}]}