{"$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":"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":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"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":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"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":"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D2","level":"warning","message":{"text":"AppDao.getNewsVersion (cognitive 25): AppDao.getNewsVersion has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 2 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/common/dao/app_dao.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f0f75ece909b2216d2bd5515fe1c46348794415c3c0dc0a92c05813f174c77"}},{"ruleId":"D2","level":"warning","message":{"text":"_MessagePageState._onScroll (cognitive 25): _MessagePageState._onScroll has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/message/message_page.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9963de52a7402a6acbe9c10c7cb370582e930f1be43f873aaeb7494e655b66"}},{"ruleId":"D2","level":"warning","message":{"text":"_MyPageState._onScroll (cognitive 25): _MyPageState._onScroll has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ef2478f43204145ec6fcf134cf5a101268ac76a6abb4d7ba892853a02d2ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShoppingCartPageState.build (cognitive 25): _ShoppingCartPageState.build has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/ui/page/shopping_cart/shopping_cart_page.dart holds 2 of the 7 methods over the threshold \u2014 including the worst \u2014 and 20 of the 58 points over it (34%), 2\u00D7 the next-largest file (lib/common/dao/app_dao.dart at 10). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/shopping_cart/shopping_cart_page.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22cdfc59fa71aee6a7468f9b253df8f2e06de2e40258fa323ae4315128f1667"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShoppingCartPageState._onScroll (cognitive 25): _ShoppingCartPageState._onScroll has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/ui/page/shopping_cart/shopping_cart_page.dart holds 2 of the 7 methods over the threshold \u2014 including the worst \u2014 and 20 of the 58 points over it (34%), 2\u00D7 the next-largest file (lib/common/dao/app_dao.dart at 10). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/shopping_cart/shopping_cart_page.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ce00f9204b93f2ef0eb3b248626fe731483cc3018118222b46732d0e4ae910"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonUtils.getTimeDuration (cognitive 21): CommonUtils.getTimeDuration has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (21 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/common/utils/common_utils.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1525a05a6a57774d7e1d0094294fea37c41030e6e0af12e180c8b98f3e30d3ab"}},{"ruleId":"D2","level":"warning","message":{"text":"_DiffText.paint (cognitive 17): _DiffText.paint has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/widget/animation/diff_scale_text.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad01b59ad60a624f7d0d4c4cd9c174761fece004fc90cb5c4a39204ea15cbe68"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MyPageState._buildContent: MethodTooLong \u2014 _buildContent runs 345 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 245 over it, 3.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5b12f069c302342412c1a365e60695aa0211eb5131074388f07a67680e2ee7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShoppingCartPageState.build: MethodTooLong \u2014 build runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/shopping_cart/shopping_cart_page.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"32507ca6e4520a104fe6cd4936939ce31429ec28b8b3ef4b46191ceedc96205f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: my/my_page.dart: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: _MyPageState (29-824). The bar is 500 significant lines; this is 262 over it, 1.52\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05629c50c817c8becf31137ce40e618c50e7573f3b63a493c64d20be8e1ca4a1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _MyPageState: ClassTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 126 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59d34d3a9aa0be8a54a3819e4df43fe04d1588f75829308bd67be3fc1aeaf40"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GZXChatPageState.build: MethodTooLong \u2014 build runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/message/gzx_chat_page.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cbde27c242e38f859db80cb4afd6318b7ad63263247cc32a292adbeadf8612"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shopping_cart/shopping_cart_page.dart: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/shopping_cart/shopping_cart_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1830a7cb6b05c520aad5b4e8b3b4b9583100aa16850970db63c6373fc944b5c5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _GZXFilterGoodsPageState: ClassTooLong \u2014 437 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 37 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/drawer/gzx_filter_goods_page.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b808a869bc46bf6ee5eb8cfa7bea2007173e28b38c339da18dbcb0d3b734d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GZXSearchResultListWidget.build: MethodTooLong \u2014 build runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/widget/gzx_searchresult_list_widget.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a2a3d91a3013142666d0903cad4665d26c950fcfd36773270a5e1a03bbbf3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): lib/ui/page/weitao/weitao_list_page.dart:317-372 | lib/ui/page/weitao/weitao_page.dart:311-367 \u2014 These two members are one piece of code written twice and then edited apart: 56 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/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"de370da119b0dff262554bf35c48aa9b0f916f9b15f611a23c9d7fd12d017f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): lib/ui/page/drawer/gzx_filter_goods_page.dart:203-242 | lib/ui/page/drawer/gzx_filter_goods_page.dart:244-286 | lib/ui/page/drawer/gzx_filter_goods_page.dart:531-573 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 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/ui/page/drawer/gzx_filter_goods_page.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9510774b9b37fcce273b7a3dbfd77a21b37fb69c80f7ad87379f59d6bce1c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/ui/page/weitao/weitao_list_page.dart:26-62 | lib/ui/page/weitao/weitao_page.dart:28-57 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfb9cd9c826278e524056f72017d800ef04b08d3dcdec9be8c3814190f43bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/ui/page/home/searchlist_page.dart:212-239 | lib/ui/page/home/searchlist_page.dart:241-268 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/home/searchlist_page.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de5c15c2221e885d6d2fbfe85b49d5279060b4124752677d2b9c63a211ea58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/ui/page/shopping_cart/shopping_cart_page.dart:684-711 | lib/ui/page/weitao/weitao_page.dart:607-636 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/shopping_cart/shopping_cart_page.dart"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f08feff0d5df20d9eaee251030eca1889bdd507f44d4e89fe62d61751c7d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/ui/page/weitao/weitao_list_page.dart:127-155 | lib/ui/page/weitao/weitao_page.dart:115-135 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb04c33afd2cc50829225380f56d80c4cf49fb2762afe419b1df0390b9b71540"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/ui/page/weitao/weitao_list_page.dart:241-255 | lib/ui/page/weitao/weitao_page.dart:235-248 \u2014 These two members are one piece of code written twice and then edited apart: 14 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/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"60de8e89654934950f5ec63036d68b3deaf42a64eea81394cb7db0b2baa7d7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/ui/page/weitao/weitao_list_page.dart:257-275 | lib/ui/page/weitao/weitao_page.dart:250-265 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2699fd21f0659f102c22b2269831950a691d4a304ba36e756d1efa3aeb2b02b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/ui/page/my/my_page.dart:786-800 | lib/ui/page/shopping_cart/shopping_cart_page.dart:520-534 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a380d154ee2cedc311d40e3b8dae770b83a0f056871e38bc98401b092cd062c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/ui/page/my/my_page.dart:814-823 | lib/ui/page/shopping_cart/shopping_cart_page.dart:548-557 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"5533db94d17a489a759b136ef1d9ac6e47bb9064c38980695ccd3c42bd72d48c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (142\u2013150 lines \u00D7 2): lib/ui/page/message/message_page.dart:599-748 | lib/ui/page/shopping_cart/shopping_cart_page.dart:720-861 \u2014 \u0060lib/ui/page/message/message_page.dart\u0060 and \u0060lib/ui/page/shopping_cart/shopping_cart_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 357 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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/ui/page/message/message_page.dart"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e60f8207751225f648f8fe5a775db510e5bd9b0b49e96d5de735839871139e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 3): lib/ui/page/message/message_page.dart:206-277 | lib/ui/page/my/my_page.dart:662-733 | lib/ui/page/shopping_cart/shopping_cart_page.dart:396-467 \u2014 \u0060lib/ui/page/message/message_page.dart\u0060 and \u0060lib/ui/page/my/my_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 187 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/message/message_page.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a147cac58075c4d0d78a4d6007ad53479134845ac2545887d871c5e67ec60919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55\u201362 lines \u00D7 2): lib/ui/page/weitao/weitao_list_page.dart:64-125 | lib/ui/page/weitao/weitao_page.dart:59-113 \u2014 before extracting anything, compare \u0060lib/ui/page/weitao/weitao_list_page.dart\u0060 and \u0060lib/ui/page/weitao/weitao_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fe5dabe413a19c1e1dc3a578a089a8a1ef32471a6f145cec5348effbeafe22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201360 lines \u00D7 2): lib/ui/page/weitao/weitao_list_page.dart:158-203 | lib/ui/page/weitao/weitao_page.dart:138-197 \u2014 before extracting anything, compare \u0060lib/ui/page/weitao/weitao_list_page.dart\u0060 and \u0060lib/ui/page/weitao/weitao_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"259e172aa99c5e20bf482b0d52d398fe48638e6a98803d6e90f90f633adc4073"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 3): lib/ui/page/message/message_page.dart:477-530 | lib/ui/page/my/my_page.dart:992-1045 | lib/ui/page/shopping_cart/shopping_cart_page.dart:629-682 \u2014 \u0060lib/ui/page/message/message_page.dart\u0060 and \u0060lib/ui/page/my/my_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 187 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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/ui/page/message/message_page.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49fc8632798cf59ace15e338052d87683d10f9a69e48e948882c10abf74b77a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 3): lib/ui/page/message/message_page.dart:99-144 | lib/ui/page/my/my_page.dart:92-137 | lib/ui/page/shopping_cart/shopping_cart_page.dart:200-245 \u2014 \u0060lib/ui/page/message/message_page.dart\u0060 and \u0060lib/ui/page/my/my_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 187 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/page/message/message_page.dart:99\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/message/message_page.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"744d4ab54ffd18ef0de2e4748f4cd47add905128f1d33e6ce8ade2e2d2852366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): lib/ui/page/my/my_page.dart:374-411 | lib/ui/page/my/my_page.dart:419-456 \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/ui/page/my/my_page.dart:374\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/ui/page/my/my_page.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"516469faa2bb959727b878e002758d16cfdacc406d958aa740791ef4f4c039b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): lib/ui/page/weitao/weitao_list_page.dart:317-353 | lib/ui/page/weitao/weitao_page.dart:311-348 \u2014 before extracting anything, compare \u0060lib/ui/page/weitao/weitao_list_page.dart\u0060 and \u0060lib/ui/page/weitao/weitao_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 237 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/ui/page/weitao/weitao_list_page.dart:317\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/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f8d6a88880377a0104bb84a61ab4c8783228b0108027427253a95430f19d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201336 lines \u00D7 2): lib/ui/widget/gzx_searchresult_gridview_widget.dart:104-136 | lib/ui/widget/gzx_searchresult_list_widget.dart:68-103 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/widget/gzx_searchresult_gridview_widget.dart:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/widget/gzx_searchresult_gridview_widget.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63e2b998f410187bd915a7189759b13495a18ff1df14f23e25b296564731fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/ui/page/my/my_page.dart:204-231 | lib/ui/page/my/my_page.dart:234-261 \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/ui/page/my/my_page.dart:204\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/ui/page/my/my_page.dart:203\u0060 calls \u0060BoxDecoration\u0060, \u0060Border\u0060, \u0060BorderSide\u0060 and \u0060lib/ui/page/my/my_page.dart:233\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"739b7de9e02daf98c715cab70fab345d0943f723096a6b4541a637f8e86e78cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/ui/widget/gzx_searchresult_gridview_widget.dart:139-165 | lib/ui/widget/gzx_searchresult_list_widget.dart:103-129 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/widget/gzx_searchresult_gridview_widget.dart:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/ui/widget/gzx_searchresult_gridview_widget.dart:137\u0060 calls \u0060SizedBox\u0060 and \u0060lib/ui/widget/gzx_searchresult_list_widget.dart:102\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/widget/gzx_searchresult_gridview_widget.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"114a14007b4493a61d0f22d54ab11176236cfcb3e815ee5a65760f65e9db4a25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/ui/page/weitao/weitao_list_page.dart:38-62 | lib/ui/page/weitao/weitao_page.dart:33-57 \u2014 before extracting anything, compare \u0060lib/ui/page/weitao/weitao_list_page.dart\u0060 and \u0060lib/ui/page/weitao/weitao_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 237 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/ui/page/weitao/weitao_list_page.dart:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"942bd4d01cd7a131c07914f5cff4de3e851ef1233364927176f171f927ca7bf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/ui/page/my/my_page.dart:625-648 | lib/ui/page/shopping_cart/shopping_cart_page.dart:359-382 \u2014 \u0060lib/ui/page/my/my_page.dart\u0060 and \u0060lib/ui/page/shopping_cart/shopping_cart_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 246 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/page/my/my_page.dart:625\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd9f95860d758b2d95f5717a68bb1a5d7a224338b9a33c4b1799dbf6339bdfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/ui/page/shopping_cart/shopping_cart_page.dart:81-102 | lib/ui/page/shopping_cart/shopping_cart_page.dart:140-161 \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/ui/page/shopping_cart/shopping_cart_page.dart:81\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/shopping_cart/shopping_cart_page.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c4660dfd4a01c1512088fe3625c59103db5782179e702459594ef675253472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/ui/page/weitao/weitao_list_page.dart:206-227 | lib/ui/page/weitao/weitao_page.dart:200-221 \u2014 before extracting anything, compare \u0060lib/ui/page/weitao/weitao_list_page.dart\u0060 and \u0060lib/ui/page/weitao/weitao_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf33b39cfde66cb06bffc2e382327c69819d1833bad9cafff000579fda0eb4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/ui/page/home/search_goods_page.dart:43-63 | lib/ui/page/home/search_goods_result_page.dart:37-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/page/home/search_goods_page.dart:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/ui/page/home/search_goods_result_page.dart:36\u0060 calls \u0060GZXFilterGoodsPage\u0060 and \u0060lib/ui/page/home/search_goods_page.dart:42\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/home/search_goods_page.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae12df3163e42255780ceefc50afcf8c974bab012df40268323b31251ccde071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/ui/page/message/message_page.dart:168-188 | lib/ui/page/message/message_page.dart:568-588 \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/ui/page/message/message_page.dart:168\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/message/message_page.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9550ffc57ad66bfac77523934f6636453ab03123276c753ce9e4243af9ff09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): lib/ui/page/my/my_page.dart:405-424 | lib/ui/page/my/my_page.dart:507-526 | lib/ui/page/my/my_page.dart:575-594 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/page/my/my_page.dart:405\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12eae45fc3f4e5c16c3a287fc43cdea78b452fe9919b43c2b45e580763be9fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): lib/ui/page/shopping_cart/shopping_cart_page.dart:71-90 | lib/ui/page/shopping_cart/shopping_cart_page.dart:130-149 | lib/ui/page/shopping_cart/shopping_cart_page.dart:166-185 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/page/shopping_cart/shopping_cart_page.dart:71\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/ui/page/shopping_cart/shopping_cart_page.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5558eb07a0b05a792aedfea4a8737da59fc0100beb8d10c7b109b8961bbb34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): lib/ui/page/message/message_page.dart:409-427 | lib/ui/page/shopping_cart/shopping_cart_page.dart:590-609 \u2014 \u0060lib/ui/page/message/message_page.dart\u0060 and \u0060lib/ui/page/shopping_cart/shopping_cart_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 357 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/page/message/message_page.dart:409\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/ui/page/message/message_page.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0bfe9b112973dd443183dedcc345e1481c8e1619c8902da56b65c8ec0bee47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): lib/ui/page/my/my_page.dart:364-381 | lib/ui/page/my/my_page.dart:465-483 | lib/ui/page/my/my_page.dart:548-566 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/page/my/my_page.dart:364\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/ui/page/my/my_page.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaca5f2a96848c02c1c6fb47fa6b3a1ad6ef09837e31284bd56e77a1594202e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): lib/ui/page/my/my_page.dart:401-418 | lib/ui/page/my/my_page.dart:446-463 | lib/ui/page/my/my_page.dart:503-520 | lib/ui/page/my/my_page.dart:571-588 | lib/ui/page/my/my_page.dart:600-617 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/page/my/my_page.dart:401\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"91db64453d0c92d6cf2671b3bd790b12318637527481015ed50a774e4700ab38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/ui/page/home/home_page.dart:527-543 | lib/ui/page/home/home_page.dart:545-561 \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/ui/page/home/home_page.dart:527\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/home/home_page.dart"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95bc8815b1cdd114e924e6dad2be38c61a60da8a01958fe7966c0a4ee0562fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/ui/page/my/my_page.dart:521-536 | lib/ui/page/my/my_page.dart:559-574 \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/ui/page/my/my_page.dart:521\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/ui/page/my/my_page.dart:537\u0060 calls \u0060SizedBox\u0060 and \u0060lib/ui/page/my/my_page.dart:575\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd52df33195221f26a294c76f252f8d172c393c969ef22b46d3528bdd6eae0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/ui/page/message/message_page.dart:314-328 | lib/ui/page/my/my_page.dart:770-784 | lib/ui/page/shopping_cart/shopping_cart_page.dart:504-518 \u2014 \u0060lib/ui/page/message/message_page.dart\u0060 and \u0060lib/ui/page/my/my_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 187 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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/ui/page/message/message_page.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64efaf00d53049e5ef38b6bc3c3fd89625c70683a6999fc7838be6607f69b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/ui/page/drawer/gzx_filter_goods_page.dart:214-229 | lib/ui/page/drawer/gzx_filter_goods_page.dart:260-274 \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/ui/page/drawer/gzx_filter_goods_page.dart:214\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/drawer/gzx_filter_goods_page.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"190fcf5609d73b508103d740fc19b3e00c2bbb2f9b2aca21891693c09257a7fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/ui/page/weitao/weitao_list_page.dart:359-372 | lib/ui/page/weitao/weitao_page.dart:354-367 \u2014 before extracting anything, compare \u0060lib/ui/page/weitao/weitao_list_page.dart\u0060 and \u0060lib/ui/page/weitao/weitao_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 237 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/ui/page/weitao/weitao_list_page.dart:359\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b9ee3f992756fed229ce8cb6550c45c1439900fa4d95faf3dc503281768b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/ui/page/drawer/gzx_filter_goods_page.dart:204-216 | lib/ui/page/drawer/gzx_filter_goods_page.dart:384-396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ui/page/drawer/gzx_filter_goods_page.dart:204\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/drawer/gzx_filter_goods_page.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca3fcac8891300499813063262ff8a0cb9a0ab1584102533d5b557274d67ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/ui/page/drawer/gzx_filter_goods_page.dart:302-312 | lib/ui/page/drawer/gzx_filter_goods_page.dart:319-330 \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/ui/page/drawer/gzx_filter_goods_page.dart:302\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/drawer/gzx_filter_goods_page.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec17a2a61939a7f8d158667fe96bbde3f4ad0b3256704499a1a98789b783e67d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): lib/ui/page/home/search_goods_page.dart:113-124 | lib/ui/page/weitao/weitao_page.dart:585-594 \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 \u0060lib/ui/page/home/search_goods_page.dart:113\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/ui/page/home/search_goods_page.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a795cb2ab908a2c9f88a7e30660de14057beca408b843bf9b99ebc1c3c4305e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/ui/page/home/home_page.dart:277-286 | lib/ui/page/message/gzx_chat_page.dart:154-163 \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 \u0060lib/ui/page/home/home_page.dart:277\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/ui/page/message/gzx_chat_page.dart:151\u0060 calls \u0060BoxDecoration\u0060, \u0060all\u0060, \u0060Color\u0060 and \u0060lib/ui/page/home/home_page.dart:276\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/home/home_page.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"3298e6a47d54e686b528712889dca2002d3eca308f715922f31f0b92289c7488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/ui/page/my/my_page.dart:169-178 | lib/ui/page/my/my_page.dart:185-194 \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/ui/page/my/my_page.dart:169\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"addce1c67e9241e2efe5acd4c9311e4f7d33b7a99f824b69cfe80a92b4fa99fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/ui/page/my/my_page.dart:152-159 | lib/ui/page/my/my_page.dart:177-184 \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/ui/page/my/my_page.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. 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/ui/page/my/my_page.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f28c4d7e6c90f62ad8a7c14c40abc834345e88030344b6b9c8015034796a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): lib/ui/page/home/home_page.dart:124-128 | lib/ui/page/home/searchlist_page.dart:81-85 | lib/ui/page/my/my_page.dart:44-48 | lib/ui/page/shopping_cart/shopping_cart_page.dart:39-43 \u2014 \u0060lib/ui/page/my/my_page.dart\u0060 and \u0060lib/ui/page/shopping_cart/shopping_cart_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 246 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/home/home_page.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0751e949788e5a7ccd7aaad5a668acacd054788efbd028b43ecb378ccef84ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/ui/page/my/my_page.dart:50-58 | lib/ui/page/shopping_cart/shopping_cart_page.dart:45-53 \u2014 \u0060lib/ui/page/my/my_page.dart\u0060 and \u0060lib/ui/page/shopping_cart/shopping_cart_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 246 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8220893ccbfca6255cece73b42e487abd1b657ae0a273b5de8306c8e968201aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/ui/page/my/my_page.dart:742-762 | lib/ui/page/shopping_cart/shopping_cart_page.dart:476-496 \u2014 \u0060lib/ui/page/my/my_page.dart\u0060 and \u0060lib/ui/page/shopping_cart/shopping_cart_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 246 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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/ui/page/my/my_page.dart"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"1931d7b82f577a4f0cae629b6f2e290de4a3c93416293c4e192dca9053c10c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/ui/page/weitao/weitao_list_page.dart:229-239 | lib/ui/page/weitao/weitao_page.dart:223-233 \u2014 before extracting anything, compare \u0060lib/ui/page/weitao/weitao_list_page.dart\u0060 and \u0060lib/ui/page/weitao/weitao_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47161f76eafebd01ee022e55e81cc9a03384acac4a3c078e93b0f3100b31cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/ui/page/weitao/weitao_list_page.dart:374-378 | lib/ui/page/weitao/weitao_page.dart:369-373 \u2014 before extracting anything, compare \u0060lib/ui/page/weitao/weitao_list_page.dart\u0060 and \u0060lib/ui/page/weitao/weitao_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb98e58919734c5bd337e1a5e267e101fbd71bbf4a5f43b0b8b6141c72eb121"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _MessagePageState (LCOM4 6): _MessagePageState\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/message/message_page.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"80875108839509ae892371aff78fc8dbdaa6c5fc7b23be19a0a02ece8ca7a31b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _MyPageState (LCOM4 6): _MyPageState\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"468e88e1b6d43fbd9325b0e45b2afee256479c621a7cba9ae8c0d47fb0657a69"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ShoppingCartPageState (LCOM4 6): _ShoppingCartPageState\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/shopping_cart/shopping_cart_page.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ef7c166b5d0ea3c869831d8af98df475de7868e27911a332aa3ee0889121d9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _WeiTaoListPageState (LCOM4 4): _WeiTaoListPageState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffa8626b37904999b08b33826faf3892d303bf7711cc9e1424deb9bb5aff090"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 15 files: The identical TodoComment appears in 15 files (15 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 15 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO: implement initState\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/widget/animation_headlines.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcee196cd47ba037bec3bff84ac90573026f5e142dbfe4ba69ee5823de06f985"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement preferredSize \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":"lib/ui/widget/gzx_tabbar.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e22fdfb997837730f5aa61a951701f37fd6fb98d62c415aa4cd1b338aedbe3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement didChangeDependencies \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":"lib/ui/page/gzx_bottom_navigation_bar.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aa8ad90acbfeb107e1445741635fbd59a7c8578c96c439a28309c5b3a12b35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement wantKeepAlive \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":"lib/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac238b256208483911aeafbc3b35ba65a8915c3f55e40cdd339418f49be384b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement wantKeepAlive \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":"lib/ui/page/weitao/weitao_page.dart"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d7e676bfed8c129bbdbf002622b6b3ace52b8fc07a58782af58bb968044fdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement wantKeepAlive \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":"lib/ui/page/home/home_page.dart"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"772b2174b06217ff379bf9aec7722b23b37da081674cc1bc05d8555fd28f6c77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement wantKeepAlive \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":"lib/ui/page/home/searchlist_page.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecd0e5af39aaca67e155642f04c6e44faebbd324f7d230209bb12de611b5cb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement setState \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":"lib/ui/page/test/test_page.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"75519f7f12bfccfe9fa1d3d1f4603aeb8a40014aac342eb7f76669f36957dad0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement setState \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":"lib/ui/page/shopping_cart/shopping_cart_page.dart"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8f4d9d1b5514851ef4b537fefb2c2180252f80f4635b5aaada2d8b4f2d43de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement setState \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":"lib/ui/page/my/my_page.dart"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c491961684ebf8d8283d747a10c3987716f6a9502eb00e6511bf84f745a1cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement setState \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":"lib/ui/page/message/message_page.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"5642f131f77b33e72d84478f46ee601c2c74da0284f4b2bf20685d47ad39f839"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement dispose \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":"lib/ui/page/home/home_page.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"398c652456a8bd421bfe160d9a79be83aa80813cc6b5828f2437692c9581fae3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement transitionDuration \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":"lib/common/utils/navigator_utils.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bf98e730ba08edca2ce5246b9cc9114ef2555403aae27cb6a35bdad7c1e01c"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"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 \u0060lib/main.dart\u0060 makes this repository a deployable product (line 26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8716bba673c3075887c415d08f1c9dd48ba3b1fdb124bf3e079c529efec988ec"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.4/10. The most over is \u0060(repository root)\u0060 (10383 LoC, 89 module-visible types across 19 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5bc911e7166819ab91a3a944099b39307ef58364bced1040ab68f6b7513e9a8d"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d35c507b5f7ad8a895a46669ec3b7d0aed155205ae8e49915493592d91fd85f7"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9885afa31fdb53e075963ae5828286a0b73153c8bb68df4e16075c298f434d8"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ee762da3b74456c30f4b2cc1dadfc5432c431be7bbc40a2be0e71992b7f2ed8"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e43f10cfde27cadbf95e267aa167a65b7e597b704c573d45eed6112cba4b572d"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d82c411bcf6648ee20facf994204a511849bcb3e3ec6844190e70f4c50af76af"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f4968233d7cdf94440ffe125be966edaf22fbdee9fbf24ea8a75ba74423cfa2"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3921e3cc2114acefd952daf9368d72c8b96a507752438d5e79628c4cc1d04c81"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73b9f3f38ad97bd72d6aee50fb6e1f87329c6afa7d3a1378303a0568115914ac"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88aad38611304354ecf81a1d7d6fc522bf81002dd13d52cc4e06bd222e429182"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9b4331ab439d32a0c6d0dc1c91c3bb149dbcd290d210447385d049d8a95341e"},"properties":{"dependency":{"package":"dio","version":"2.1.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9e18197c2b773fad7467dbf7d56f1b1154fa95474e7db8ccd8261c7c78f6300"},"properties":{"dependency":{"package":"http","version":"0.12.0\u002B2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 36 of 36 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 36 separate risks. Counted over 36 of the 73 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/my/my_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6488647607bb1b9b529652ba4a3a7d16304e9261e84e0f7933f88c72bccdbed"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/shopping_cart/shopping_cart_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efd6b9057e29f28d4af10f17cb0cca9edf2b7cdea4643c9f89cffd02ab803a0"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/message/message_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df796e0d60ec3d3ff9ee5cb444c4e9904a272a2cf9097d65640bb1509bb46755"}},{"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/ui/page/weitao/weitao_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b72f3b6da7ab915065dfd2cf31abe8186a37e3b52d9357eadda1d701b73569"}},{"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/ui/page/drawer/gzx_filter_goods_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5be32c3850979ef6226acedb4192f1f22220381a3bbf5d9ce0cda287b4edb2"}},{"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/ui/page/home/home_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f860222324d9178fd1b2047549a87c54edf1b56097e7efd69d16d7d46f0fa6b"}},{"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/ui/page/weitao/weitao_list_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b7bd8221e299cef0aeaa29958e04f2586003fe3151b37b6ed294bc5f8ce77f"}},{"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/common/style/gzx_style.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0317848db60b1f0161d8a2cfd6db3515b7343bd2979cd81a9426fe901d21e16f"}},{"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/ui/page/message/gzx_chat_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fe94f66f6fae4d37cc32a1b325e22d2e67ff2e585a8f5dd3d1da1aae7f1e01"}},{"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/ui/page/home/searchlist_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c3753a814fd60df943974623cb9b97ec9345a0d34dd67251e24704c516db3b"}},{"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/ui/widget/gzx_shopping_cart_item.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7f0b5acf024a859cbba1978771a3d82b373040f361ebd666273c96accdcb7a"}},{"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/ui/widget/gzx_searchresult_list_widget.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97011ed5cea27e09c57e46a6e93fd3bb75f182ed60268627514dada2455ea5d6"}},{"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/ui/widget/gzx_card.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece138c6d8b557e78b5c65384923f65b43828043e969faeab30f580cb502e865"}},{"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/ui/widget/gzx_searchresult_gridview_widget.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25345a9b0c028fd749a43df7e7d563bec0a64aaab0f445b19a993c5f69f1ec30"}},{"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/ui/widget/animation/diff_scale_text.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04f752c78b7b46baf0425b510308cc277cf59a1f492d130e7e65b26fd936765"}},{"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/main.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7640bdf659bc2ebf7ab791fe9de8b4a3b244b3456b58da3fb45dc1cf30f2c6b"}},{"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/ui/widget/pull_load/PullLoadWidget.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348e7ab3b34ae82c2982db01867815b3240e2a6e189116dfeaa7ad8817023ce8"}},{"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/ui/widget/gzx_search_card.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"607afc1b019aaa88d5297dfe1ae340d028deb902619b34142234e65ad75cb825"}},{"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/ui/page/home/search_suggest_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fc676f44de5802d4774abd80a25fe466fc79174b2d09bc3dfffad7eb08bc1f"}},{"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/ui/page/home/search_goods_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f00bd6766261665cbd25c57ac61034e5bbed213096a478d7bac20f71a98ab3"}},{"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/common/utils/common_utils.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c168a2c2cb9a673173ac3e36b2c43247a63a5fc57f4385eda6fec6a176468e61"}},{"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/ui/page/gzx_bottom_navigation_bar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1b69f06fd87ed444954e09e002902e049d4acf0a43270ae803c4aec0360343"}},{"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/ui/page/home/search_goods_result_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbffa6e8bc315345d20c1681a5ad3da15158bb0a8e92748927efbd73900e5d7"}},{"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/common/model/conversation.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9f88f03c1ca08948c106435f55c99390e59532653c24ad54e538be99000c66"}},{"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/ui/widget/gzx_tabbar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beed7977d59c3c559ad818af7a21511489f9f037e5fd8849c0abfce43441571"}},{"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/ui/widget/gzx_topbar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d013a8dfd9f781d21378eb6b6a4b9eac5145b373e4a2fcbc036762c0fcf0864e"}},{"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/ui/widget/recommed.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2a338a88dac2c69c69144ea3da47dc79c1f3b1fbb92bc1c09aa523f165fb9e"}},{"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/common/utils/screen_util.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3421b40cf4f342defdb4db2541c00a9eecf7310ccfd567a3cb9189267198f3e4"}},{"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/ui/widget/pull_load/ListState.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a144a3ecc8396610fe9ea3a8e24646c66567df31f3452df12c13c52330ec97"}},{"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/common/dao/app_dao.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc8234723661bac84f91fa54cc05927482fa9e9c0e09cc38ccdf18e113b0de6"}},{"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/common/data/shopping_cart.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0166686958d48b3b1ea8d72645816d9d57d9f5f200df1266645ee485fe912c0"}},{"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/common/utils/provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bb845a9d07ea2369bbce0915891eeb0364b3b9af0c9e522e17eda37f4ad94a"}},{"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/common/utils/sql.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b72caa225bd51bc7706d6c5d628fca59ff402050dd15eb3515caafd01d6b70"}},{"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/ui/widget/banner.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dc0b07390dcbe0e2b70f419b377bf7f1df94f3ee36e9e0736aabbc995e2d0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc8f9fc6d706f9b5cb5624cb38062db14b5d8c113a932fd1351aa2e6b488583"}},{"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/common/utils/shared_preferences.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"727ef4df02bbade621e2b92eb72b6a3b0a6e634e9bd922ca158752575985de00"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Dart 2.19: pubspec.yaml declares Dart 2.19 as this project\u0027s pubspec.yaml SDK ceiling, and Dart 2.19, superseded by Dart 3.0 on 2023-05-10 (the Dart team supports only the latest stable). An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2023-05-10 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd2ba51a80e15d6892223bf108aebdc69a3aef9cdbb9a164102ae67d7f81657"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"static/font/taobao/demo_index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d9b315b4844ff5eb5cf8dd8e80be3d84cd18b70dd030920204ad4d6740b164"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"static/font/taobao/demo_index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"161ff9519521db784489f954c820a29674e99f4693cd84c913fb9d413d94594b"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"static/font/weixin_font/demo_index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4a0dac7b4f4b67f6c5ef3268096d21140277bb60c24da85d260a85967f3bf4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"static/font/weixin_font/demo_index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d61b6affa94f6130730dfd12f729d377ad2b6171a9e7a0127f7291ddcc5b22"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.icon_lists .icon\u0060 moves (\u0060transition: font-size 0.25s linear, width 0.25s linear\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"static/font/weixin_font/demo.css"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7780abc73ff2d7a8ac43fd3b0bdcbfb3e9225bb187a9f393955d9b25de052353"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.icon_lists .icon\u0060 moves (\u0060transition: font-size 0.25s linear, width 0.25s linear\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"static/font/taobao/demo.css"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc7074e6da5209f0a1e4e15953f7b87e5cdb860a3f48368b94904f418c9b704"}},{"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":"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":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://a1.alicdn.com/oss/uploads/2018/12/26/7bfddb60-08e8-11e9-9b04-53e73bb6408b.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository. 4 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"static/font/taobao/demo_index.html"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"106d9eccfeccd9058d68692af88a3bac8d84e374876202babcc751f1d4d43c12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentExtent \u003C 0 \u0026\u0026 _mainGradient != GZXColors.primaryGradient\u0060 appears character-identically in 3 files \u2014 lib/ui/page/message/message_page.dart, lib/ui/page/my/my_page.dart, lib/ui/page/shopping_cart/shopping_cart_page.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/ui/page/message/message_page.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6711e4c1a80d6baf699350fdb3777432602bb929e6c7b18ba9be3569303e25c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentExtent \u003E= 0 \u0026\u0026 _mainGradient == GZXColors.primaryGradient\u0060 appears character-identically in 3 files \u2014 lib/ui/page/message/message_page.dart, lib/ui/page/my/my_page.dart, lib/ui/page/shopping_cart/shopping_cart_page.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/ui/page/message/message_page.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7692ee4745f10de5a6193d7468225b8dbdc35e34d0d999c2051220741fda52f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mockConversation != null \u0026\u0026 mockConversation.length \u003C 25\u0060 appears character-identically in 3 files \u2014 lib/ui/page/message/message_page.dart, lib/ui/page/my/my_page.dart, lib/ui/page/shopping_cart/shopping_cart_page.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/ui/page/message/message_page.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"30935c8d5fc58441aef7869161042ac5e35bdcb1ef20131058bdb11f4f1201ee"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_PullLoadWidgetState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_scrollController\u0060 itself (line 40, \u0060ScrollController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_scrollController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060ScrollController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_scrollController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/widget/pull_load/PullLoadWidget.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4881183056aceb8b0b80ed4441d67f3f53f42095c88bc819ee20f18bb75d1ec"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_GZXBottomNavigationBarState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_controller\u0060 itself (line 29, \u0060PageController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_controller.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060PageController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_controller.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/gzx_bottom_navigation_bar.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba294ab3ef527c7f1218fd8e8c0c5c96f3df29bfffb8e15223cbe6fae0d7c89f"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_WeiTaoPageState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_tabController\u0060 itself (line 305, \u0060TabController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_tabController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060TabController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_tabController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/weitao/weitao_page.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eeb35f734853675d65f9a81e0a8c7a8e47e681be5c8d921f8206eb25e5b7d3"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_HomePageState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_animationController\u0060 itself (line 158, \u0060AnimationController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_animationController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060AnimationController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_animationController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/home/home_page.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64041855a30fbca365bf1918155de0d0ff592e36b3093b5d075a14b652c7b30"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_HomePageState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_controller\u0060 itself (line 163, \u0060TabController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_controller.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060TabController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_controller.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/home/home_page.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ee71d129000f5897db7deaec8f7c23c765e112a8c88c455c4885e4684e5c64"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_HomePageState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_scrollController\u0060 itself (line 105, \u0060ScrollController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_scrollController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060ScrollController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_scrollController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/home/home_page.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2de65708344c9facc304b602087ad4c0399cb48d591c0641ee00a116fd9ea89"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_SearchGoodsPageState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_keywordsTextEditingController\u0060 itself (line 26, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_keywordsTextEditingController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060TextEditingController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_keywordsTextEditingController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/home/search_goods_page.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"af556039bf6a04367ec47e2be95aed321cefe125635293f0cba0e67172019c20"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_SearchGoodsResultPageState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_keywordTextEditingController\u0060 itself (line 21, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_keywordTextEditingController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060TextEditingController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_keywordTextEditingController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ui/page/home/search_goods_result_page.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"74728505d200fdad6f4e92ba4d6a647fbd3724233e7991b884823972e8155e11"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a CancelToken: Only 0/1 functions that make a cancellable request (Dio, AbortableRequest) accept a CancelToken or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. Take a \u0060CancelToken? cancelToken\u0060 and hand it to the request as \u0060cancelToken:\u0060 (or hold one and cancel it in \u0060dispose\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"767a6f188a93a9fdcf866e430f9755aeab7ca6acdd21a1a80f8ac4ef4cc6cf7c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: netFetch: \u0060netFetch\u0060 calls \u0060_dio.request(\u2026)\u0060 but takes no CancelToken and hands the request none its caller can reach, so its caller cannot cancel the request once it has started. Take \u0060CancelToken? cancelToken\u0060 and pass it on as \u0060cancelToken: cancelToken\u0060 \u2014 or, in a widget\u0027s State or a notifier, hold one and cancel it in \u0060dispose\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/common/services/api.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba85811fdb7a826dfde43f18e1781d180dcbf0ce6f13421d40ab951ecc438947"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/common/services/search.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6567921ecaea17ac439deeec5f23872826cf39e4f5bc41e69a5574158d4d20c9"}},{"ruleId":"X5","level":"note","message":{"text":"Sound null safety is not on in every Dart package: 0/1 of this repository\u0027s Dart packages (a \u0060pubspec.yaml\u0060 with product Dart beneath it) declare a language version of 2.12 or above in \u0060environment: sdk:\u0060, which is what turns sound null safety on. A pubspec with no SDK constraint, or a lower bound below 2.12, runs its code unsound: every type admits null, and a null reaching a method call throws \u0060NoSuchMethodError\u0060 with nothing in the analyzer having said so."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8be79fe8f9034b7669bf16e523e4dff76ac2d9d4b807484b8eba7e0a39c13034"}}],"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-561","guid":"522a7ba7-45e9-ab53-9088-45d86e04b53a","name":"CWE-561","shortDescription":{"text":"CWE-561"},"helpUri":"https://cwe.mitre.org/data/definitions/561.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":12,"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."]}]}