{"$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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"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":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"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":"D1","level":"warning","message":{"text":"_GradientAppBarState.build (cyclomatic 23): _GradientAppBarState.build has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/gradient_appbar.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f0741cbb493d97014a39c21f399742746aa0830fd24362a785f503a1151c15"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpUtils.request (cyclomatic 21): HttpUtils.request has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/http/http_utils.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"151702683be2d0bed44eb2c9e352a544ca06b5c4302bbb748557262999d7a87a"}},{"ruleId":"D1","level":"warning","message":{"text":"SetPage.build (cyclomatic 16): SetPage.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/set_page.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac50fd33ae4898c326b255564cca3e35624ffe3268e1d4ee67773b23a170dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"_GradientAppBarState.build (cognitive 26): _GradientAppBarState.build has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 3 (7 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/gradient_appbar.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"edacaf08f56dc6fc2aeaed70f77295cbb55c83bf4aa7ec299fecdf6d65076972"}},{"ruleId":"D2","level":"warning","message":{"text":"LogUtils._printMap (cognitive 22): LogUtils._printMap has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 4 (9 pts), boolean chains 2 (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/http/log_utils.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b329dec8d5713ef59c3805b6e049290de40bccaa09c3f801a45ec20bfd38394"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpUtils.request (cognitive 21): HttpUtils.request has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, boolean chains 9, ternaries 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/http/http_utils.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42a0562290f76915fef87717eaa7647c87f909b6cb9bb7058764d12250818aa"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenInterceptor.onResponse (cognitive 21): TokenInterceptor.onResponse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, error handling 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/http/intercept.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c673aec68f857514bf19aded1ba7761ed96d81af264089b353d6400a678bf38"}},{"ruleId":"D2","level":"warning","message":{"text":"_JhLoginTextFieldState._body (cognitive 19): _JhLoginTextFieldState._body has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 5 (6 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/jh_form/jh_login_text_field.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"371d8b1cf2622380c30527e51b11dd3bebe48030d0e9ae3cb0f22087887548b2"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseRefreshViewState._handleRefresh (cognitive 17): BaseRefreshViewState._handleRefresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 1 (4 pts) (nesting depth added 10). 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/jh_common/widgets/base_refresh_view.dart"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9813cb3eb11a83b236549d85443e927beb56f0a2aca967764b4209721a7f5d20"}},{"ruleId":"D2","level":"warning","message":{"text":"SetPage.build (cognitive 17): SetPage.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16 (17 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/set_page.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c448439ea407fa05e15160a7abd39f460a1da5b604c9d3c77b60728ec733653d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GradientAppBarState.build: MethodTooLong \u2014 build runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/gradient_appbar.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0df5c7c45785982d163e082d57a5973ac07c0d7c67b90f796ae4626dc52d3b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 18 shared lines): lib/demos/other/animation/ball_3d_page.dart:149-172 | lib/demos/other/animation/ball_3d_page3.dart:160-183 | lib/demos/other/animation/ball_3d_page4.dart:160-183 | lib/jh_common/widgets/tag_cloud_widget.dart:129-152 \u2014 These 4 members are variants of one another: a block of 18 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"466a9bbd3cf941134f11f979d8aa9315eb98dd3f46c8c7f64367afc21e5cec77"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): lib/demos/topTabBar/personal_center_page5.dart:273-333 | lib/project/three/pages/wx_friends_circle_page.dart:206-267 \u2014 These two members are variants of one another: 54 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/personal_center_page5.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"22711080d0d8300b130f5551533e7704d5fb47d5837fab4c66ec3b8a481a16db"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): lib/jh_common/jh_form/jh_form_input_cell.dart:111-195 | lib/jh_common/jh_form/jh_form_select_cell.dart:86-165 \u2014 These two members are variants of one another: 48 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/jh_form/jh_form_input_cell.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc26ca094f2d0e6cc6a9657f433e5f90629ac414ebbe1b433ee9b88a5ef2d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): lib/jh_common/widgets/jh_cascade_picker.dart:219-277 | lib/jh_common/widgets/jh_cascade_tree_picker.dart:355-416 \u2014 These two members are variants of one another: 45 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_cascade_picker.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3f8997a6a77cdd01ce658e1b4edfa54f42cec6e34793a0786b7cf89ca0a0f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): lib/demos/http/http_page_test_header_follow_page.dart:46-73 | lib/demos/http/http_page_test_page.dart:37-64 | lib/demos/listView/listview_group_page3.dart:93-120 | lib/demos/topTabBar/content_page.dart:78-105 | lib/demos/topTabBar/personal_center_page4.dart:95-122 | lib/demos/topTabBar/personal_center_page5.dart:99-126 | lib/project/three/pages/wx_friends_circle_page.dart:100-127 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8ab0cd9fffe5ca4d5989506513be482b873468a4a11f6b206f25d3dc1ecec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/demos/listView/listview_test_custom_vc.dart:51-84 | lib/demos/search/search_test4_page.dart:131-154 | lib/demos/search/search_test5_page.dart:133-156 | lib/project/four/pages/wx_pay_page.dart:123-148 | lib/project/two/pages/wx_add_friend_page.dart:95-118 | lib/project/two/pages/wx_new_friend_page.dart:116-142 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_test_custom_vc.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"734b47fdac46375f17e913d9d7ad80095770bf11af50e8aa4ded0986e1a9a1f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/demos/http/http_page_test_header_follow_page.dart:229-250 | lib/demos/http/http_page_test_header_follow_page.dart:252-273 | lib/jh_common/widgets/base_refresh_view.dart:178-213 | lib/jh_common/widgets/base_refresh_view.dart:215-251 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf34e83722897607c1e4728fe4297f9faf100fbbb27c8f86596116d21ac61cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/demos/other/animation/ball_3d_page.dart:84-105 | lib/demos/other/animation/ball_3d_page3.dart:95-116 | lib/demos/other/animation/ball_3d_page4.dart:95-116 | lib/jh_common/widgets/tag_cloud_widget.dart:63-85 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe003af6348f0e62dee08b745902c9f5898af39b4c3b41c18a9d778ac9dea567"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/demos/other/animation/ball_3d_page.dart:124-147 | lib/demos/other/animation/ball_3d_page3.dart:135-158 | lib/demos/other/animation/ball_3d_page4.dart:135-158 | lib/jh_common/widgets/tag_cloud_widget.dart:104-127 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"89130e2a2c44e862a0c88612080445379bb9237ca014d07bda0d208687080536"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/demos/other/animation/ball_3d_page.dart:181-208 | lib/demos/other/animation/ball_3d_page3.dart:192-223 | lib/demos/other/animation/ball_3d_page4.dart:192-223 | lib/jh_common/widgets/tag_cloud_widget.dart:165-193 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19bfed58c110904f9949643f783b1bde907f80c9fe1913c7577c39a7b737b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): lib/jh_common/widgets/jh_photo_allscreen_show.dart:52-134 | lib/jh_common/widgets/jh_photo_browser.dart:88-185 \u2014 These two members are one piece of code written twice and then edited apart: 83 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/jh_common/widgets/jh_photo_allscreen_show.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"06964b1cd1de8d6aa61ed17ea1bff29c3d5a89e91a6e52290d0a914c528a869b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): lib/jh_common/widgets/jh_update_dialog.dart:107-164 | lib/jh_common/widgets/jh_update_dialog.dart:254-316 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_update_dialog.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"df81f6c1230a1656d062d9a714b2df02f6e5fa029622672dc883293498cd63af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): lib/jh_common/widgets/mobile_scanner_page.dart:88-151 | lib/jh_common/widgets/qr_code_grid_scanner_page.dart:88-154 \u2014 These two members are one piece of code written twice and then edited apart: 64 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/jh_common/widgets/mobile_scanner_page.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ea9dd695e24709faa00420b3c689fdbeb1797dc2c8e71e4288038c9e390969"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): lib/project/one/widgets/wx_home_cell.dart:99-153 | lib/project/one/widgets/wx_subscription_number_list_cell.dart:25-80 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/one/widgets/wx_home_cell.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b101a6d35f0611e9f8943b08a563f46b97be8c88b0403feb2d1f30a28a723baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): lib/jh_common/widgets/jh_cascade_picker.dart:169-217 | lib/jh_common/widgets/jh_cascade_tree_picker.dart:296-353 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_cascade_picker.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02cdd5a14be9e2edc1ef389b98674a1e70120360de3ecb0f4376c535725fae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): lib/project/one/pages/wx_motion_top_page.dart:112-164 | lib/project/three/pages/wx_friends_circle_page2.dart:110-157 \u2014 These two members are one piece of code written twice and then edited apart: 48 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/project/one/pages/wx_motion_top_page.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60a6cf1f2b95efa25e6d20800083f256704744d553b6480fd84615ecf356548"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/demos/other/animation/ball_3d_page3.dart:247-366 | lib/jh_common/widgets/tag_cloud_widget.dart:207-249 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/animation/ball_3d_page3.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1c48dfc32e2710cc381816907b7fdbc4722416dbb36b3ae0530941e8f73888"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/jh_common/widgets/jh_form.dart:150-187 | lib/jh_common/widgets/jh_form.dart:281-327 \u2014 These two members are one piece of code written twice and then edited apart: 38 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/jh_common/widgets/jh_form.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fbc8a1177068251ff178ae1f34f3947567feefaffd6cc048106a24c11a9d72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/project/four/pages/img_pull_down_big_page2.dart:91-132 | lib/project/four/pages/img_pull_down_big_page3.dart:58-98 \u2014 These two members are one piece of code written twice and then edited apart: 41 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/project/four/pages/img_pull_down_big_page2.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3ef812a0f99410692b3c38401589f4505bd7162365bbf1784a51657cb87e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/project/four/pages/about_ios_page.dart:80-122 | lib/project/four/pages/about_page.dart:135-178 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/about_ios_page.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7494542b4e62d37c57a769c9c15439d9327a1b411c67a50cc73fb8b3520adc0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): lib/jh_common/widgets/jh_cascade_picker.dart:25-65 | lib/jh_common/widgets/jh_cascade_tree_picker.dart:38-92 | lib/jh_common/widgets/jh_multi_picker.dart:37-83 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 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/jh_common/widgets/jh_cascade_picker.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bf7875e7b6a48e28041c06029b3599bf9fb1c19e99abf75b09cd7dbe8e489c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): lib/project/provider/theme_provider.dart:131-185 | lib/project/provider/theme_provider.dart:187-289 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/provider/theme_provider.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"350403a5041cf2fc90db8f316a4cff776ae60e726741f2b4dbe2b656a06aa990"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/demos/topTabBar/personal_center_page5.dart:145-177 | lib/project/three/pages/wx_friends_circle_page.dart:146-173 \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/demos/topTabBar/personal_center_page5.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eade5cc533d176febdbbdfdfe66a7eefdde7051e770bac032b7e4035038b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/jh_common/jh_form/jh_login_text_field.dart:148-183 | lib/jh_common/jh_form/jh_text_field.dart:144-189 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/jh_form/jh_login_text_field.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3a13868cebe18c0efb7d4486bc7760e9d47f5b5db7c70ad152eb63893f50f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/jh_common/widgets/jh_media_browser.dart:154-177 | lib/jh_common/widgets/jh_media_browser2.dart:140-163 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7b5fb7b43aa92c6a58895e78dccfcf1027674a1ce4eef5c80441ae57d1df89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): lib/jh_common/widgets/jh_media_browser.dart:251-272 | lib/jh_common/widgets/jh_media_browser2.dart:237-258 | lib/jh_common/widgets/jh_media_browser3.dart:323-344 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec99948a05e660cf0393eab4c4a7f385b281c738689963425c1e39231ef1fdec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/project/login/pages/code_login_page.dart:83-129 | lib/project/login/pages/login_page.dart:180-197 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/login/pages/code_login_page.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b734f96580a122600bd8e8306be4109fc25d2290adb2f079d10af802fd20c27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/jh_common/widgets/jh_pulse_animation_view.dart:48-56 | lib/jh_common/widgets/jh_shake_animation_view.dart:55-63 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_pulse_animation_view.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3d8e9eaccd8c472e5e0329b4e5b2544381ab618bc1f873bc6f6a47c27fa8da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/project/three/pages/wx_friends_circle_page.dart:65-98 | lib/project/three/pages/wx_friends_circle_page2.dart:59-94 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/three/pages/wx_friends_circle_page.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ac5e5ba9775406284a558c00e01bc27da202a703611964088b168ecbd9cfc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/jh_common/widgets/jh_media_browser2.dart:21-48 | lib/jh_common/widgets/jh_media_browser3.dart:23-53 \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/jh_common/widgets/jh_media_browser2.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58a16502b49081c259600528bbcbccafaabb74f25175b4dcc4a5a5864c6825f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/project/four/pages/img_pull_down_big_page2.dart:42-75 | lib/project/one/pages/wx_motion_top_page.dart:62-96 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/img_pull_down_big_page2.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c209647f207de07e7def7822f9daf14862d42ac518eeb5d8954e0115b5e1dae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/project/model/user_model.dart:41-53 | lib/project/two/models/wx_contacts_model.dart:52-67 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/model/user_model.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8e7d666088057ccfe9744db9209ac0f16c81d5937cab20934b91ac0a02d235"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/project/model/user_model.dart:29-39 | lib/project/two/models/wx_contacts_model.dart:37-50 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/model/user_model.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbc7a71615476666b7cf79bdbd9e06cffed5a199b8a5bf1dcfd27ef341e9a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/project/one/models/wx_motion_top_model.dart:35-45 | lib/project/three/models/wx_friends_circle_model.dart:32-41 \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/project/one/models/wx_motion_top_model.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dafeb9ebf7064c1266deb77a4c102bc55fd6681b03fb785ea99e10eaee38a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/demos/listView/listview_group_model.dart:19-27 | lib/project/four/models/wx_pay_model.dart:25-32 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_group_model.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b15a8c49465bb5ffeca6df6e2803add8b73bd298005c8561e205fd5a2290479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/project/one/pages/wx_motion_page.dart:73-88 | lib/project/one/pages/wx_subscription_number_page.dart:94-109 \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/project/one/pages/wx_motion_page.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"051ce0af90b771c3d32c4dcf70d2bed0f8fdce058185834ba8e14aea5814c979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/demos/listView/listview_group_page2.dart:22-34 | lib/demos/listView/listview_group_page3.dart:74-85 | lib/jh_common/widgets/jh_top_tabbar.dart:88-103 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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/demos/listView/listview_group_page2.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9feba2d45ea4a1abb32f3e9692c04f8affdd62b63171c1d142aae9ebc9c04928"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/jh_common/jh_form/jh_login_text_field.dart:185-199 | lib/jh_common/jh_form/jh_text_field.dart:191-205 \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/jh_common/jh_form/jh_login_text_field.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b430226c484b3736c3f9422103663bc7039e987058c1c556e7dc3fb214be2824"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): lib/demos/listView/listview_test_custom_cell.dart:24-33 | lib/project/one/models/wx_home_model.dart:32-41 | lib/project/one/models/wx_subscription_number_model.dart:32-41 | lib/project/two/models/wx_new_friend_model.dart:26-33 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_test_custom_cell.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc0a9ef9dc929935636a973941a012feb75082beca03489660019ff98daf535"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/project/one/pages/wx_motion_page.dart:58-71 | lib/project/three/pages/wx_discover_page.dart:14-21 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/one/pages/wx_motion_page.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f5019c3a257099c5d596fc95b43dc82a310d19b877e78ca64167c6409b80d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): lib/demos/other/city_select_list_page.dart:74-85 | lib/project/four/pages/wx_pay_page.dart:49-61 | lib/project/one/pages/wx_subscription_number_list_page.dart:43-55 | lib/project/one/pages/wx_subscription_number_page.dart:82-92 | lib/project/two/pages/wx_new_friend_page.dart:55-64 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/city_select_list_page.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c776679954cc7b0d44cc7f404980c085e8878efedf8a03f3837dda0b8695d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/project/login/pages/find_pwd_page.dart:50-59 | lib/project/login/pages/register_page.dart:35-44 \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/project/login/pages/find_pwd_page.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"480879a41030ace29e489634a00efe5dc02c5fc068c5b6211db166f7e96b8267"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/project/login/pages/find_pwd_page.dart:123-136 | lib/project/login/pages/register_page.dart:124-138 \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/project/login/pages/find_pwd_page.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3cee57627ec5fdc0f3cd8a800b3a8437d290f606016099d39c28f5062c21b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/project/one/models/wx_motion_top_model.dart:25-33 | lib/project/three/models/wx_friends_circle_model.dart:23-30 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/one/models/wx_motion_top_model.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52363a5a0d3658d68ebd744e9aa108c9ee342e01f81cd9344f9e170cc1cdf4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/jh_common/widgets/jh_dialog.dart:333-351 | lib/jh_common/widgets/jh_pop_menus.dart:161-174 \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/jh_common/widgets/jh_dialog.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"33686d9680acbf133099fd6f5444a6ce46fcf40ab83a588f01ad722467faeb5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/jh_common/jh_form/jh_login_text_field.dart:87-97 | lib/jh_common/jh_form/jh_text_field.dart:95-104 \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/jh_common/jh_form/jh_login_text_field.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d569fe3f2379da4faf6cfc41a2e84740d914382b18cf750d8dbbd9e0ec920f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/project/one/pages/wx_qq_message_page.dart:26-37 | lib/project/two/pages/wx_user_info_page.dart:19-29 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/one/pages/wx_qq_message_page.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e44c8c068c7de81ed98ba5d3a1c762ec44a9c65f817fa35b0681664c4391633"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/project/four/pages/fade_app_bar_page.dart:225-237 | lib/project/four/pages/img_pull_down_big_page2.dart:166-177 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/fade_app_bar_page.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"586e0d2cfaeff1b8919cc9a4972b567487becfcbcb62d20d27d96015cc58a890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/jh_common/widgets/mobile_scanner_page.dart:41-51 | lib/jh_common/widgets/qr_code_grid_scanner_page.dart:41-51 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/mobile_scanner_page.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cc02d456bd9052408a7d6217332dd4fee559ce2eaf86cf719f47f5d6025c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/project/one/models/wx_qq_message_model.dart:20-25 | lib/project/two/models/wx_add_friend_model.dart:23-29 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/one/models/wx_qq_message_model.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf458d71771d16417813a224cf01e0d5ec11ed922465671f750f0e30169a0ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/jh_common/widgets/jh_scale_animation_view.dart:70-79 | lib/jh_common/widgets/jh_scale_animation_view2.dart:64-73 \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/jh_common/widgets/jh_scale_animation_view.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ca59bf8292eab8d56b07f1b39a88ec77d519da85ab78c4f5b8710d55a1ac21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): lib/project/one/models/wx_home_model.dart:23-30 | lib/project/one/models/wx_subscription_number_list_model.dart:19-24 | lib/project/two/models/wx_new_friend_model.dart:19-24 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/one/models/wx_home_model.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c572b5f4441941f01118e26703acea40097eaf0e7fb377f2aa208e89f3bab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/project/three/pages/wx_friends_circle_page.dart:325-327 | lib/project/three/pages/wx_friends_circle_page2.dart:215-217 \u2014 These two members are one piece of code written twice and then edited apart: 3 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/project/three/pages/wx_friends_circle_page.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e4ac16bce409e5651923000ab26a5cd0c99649d08d010cc92b605c05bb298b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/project/four/pages/about_ios_page.dart:132-135 | lib/project/four/pages/about_page.dart:188-191 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/about_ios_page.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7708dd3edf5cc45cb8f327b3c43a8e61cf09aa6e8f1cf89fc5fda24f9691a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 3): lib/jh_common/widgets/jh_media_browser.dart:294-362 | lib/jh_common/widgets/jh_media_browser2.dart:280-348 | lib/jh_common/widgets/jh_media_browser3.dart:366-434 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b3043681acce017ccaf7c4782921b9f06f8f578a9973907df5fd3ce545f0eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 3): lib/jh_common/widgets/jh_media_browser.dart:100-152 | lib/jh_common/widgets/jh_media_browser2.dart:86-138 | lib/jh_common/widgets/jh_media_browser3.dart:91-143 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"109437c0f9a844bf9dc0a2e53b651ada6c70703dcab951aff060fa587a979d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): lib/jh_common/widgets/mobile_scanner_page.dart:101-151 | lib/jh_common/widgets/qr_code_grid_scanner_page.dart:104-154 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/mobile_scanner_page.dart\u0060 and \u0060lib/jh_common/widgets/qr_code_grid_scanner_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 138 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/jh_common/widgets/mobile_scanner_page.dart:101\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/jh_common/widgets/mobile_scanner_page.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0cf02a2112c1bb5c70a3e82a259041333612d14061b87d1ebe26ea2d948fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): lib/project/three/pages/wx_friends_circle_page.dart:270-318 | lib/project/three/pages/wx_friends_circle_page2.dart:160-208 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/three/pages/wx_friends_circle_page.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c45a3949ce8972c009607a8e878a74ae62150a071617f878b37f79a3b8c6246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): lib/jh_common/widgets/jh_cascade_picker.dart:169-212 | lib/jh_common/widgets/jh_cascade_tree_picker.dart:296-339 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_cascade_picker.dart\u0060 and \u0060lib/jh_common/widgets/jh_cascade_tree_picker.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jh_common/widgets/jh_cascade_picker.dart:169\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/jh_common/widgets/jh_cascade_picker.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49bc3be84ba089d453723f3e6b1019ed5f8ea06100afe20d27dc65a35bfc0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/demos/swiper/swiper_test7_page.dart:33-66 | lib/project/new_feature/new_feature_page.dart:46-79 \u2014 before extracting anything, compare \u0060lib/demos/swiper/swiper_test7_page.dart\u0060 and \u0060lib/project/new_feature/new_feature_page.dart\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/swiper/swiper_test7_page.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"161cba2c34869d6bb55b1b89b744f5eee3d74e6bbc263158d611497670e29a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2): lib/jh_common/widgets/mobile_scanner_page.dart:182-251 | lib/jh_common/widgets/qr_code_grid_scanner_page.dart:182-251 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/mobile_scanner_page.dart\u0060 and \u0060lib/jh_common/widgets/qr_code_grid_scanner_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 138 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/jh_common/widgets/mobile_scanner_page.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"517fe8e8b157f2666d79cf6e2c393bee683cb49e8f4b34a8217a5ba175e98e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/project/provider/theme_provider.dart:146-175 | lib/project/provider/theme_provider.dart:197-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/provider/theme_provider.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98a9e19ff95f56e6dc9289fedf98927c11c4926848f9032fe4a3afa03372b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): lib/project/four/pages/img_pull_down_big_page3.dart:58-85 | lib/project/four/pages/person_center_page2.dart:58-83 \u2014 before extracting anything, compare \u0060lib/project/four/pages/img_pull_down_big_page3.dart\u0060 and \u0060lib/project/four/pages/person_center_page2.dart\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/project/four/pages/img_pull_down_big_page3.dart:58\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/project/four/pages/img_pull_down_big_page3.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cefbb87932bfa1d193d51e74ba8b009504a718e5fd6ca258949e0788526529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/demos/topTabBar/personal_center_page5.dart:307-333 | lib/project/three/pages/wx_friends_circle_page.dart:241-267 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 and \u0060lib/project/three/pages/wx_friends_circle_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/topTabBar/personal_center_page5.dart:307\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/personal_center_page5.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"948ccd3397ab05aabc3390f2b66ae36d522a54c11dca3b5f7dbb4e9c4c694836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): lib/project/four/pages/about_ios_page.dart:85-110 | lib/project/four/pages/about_page.dart:144-170 \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/project/four/pages/about_ios_page.dart:85\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/project/four/pages/about_ios_page.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"015b1c1d79afaf62b9d7382fd7386b028e7961139e92675ce269e74f66e2b980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/project/four/pages/img_pull_down_big_page2.dart:42-68 | lib/project/one/pages/wx_motion_top_page.dart:62-88 \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/project/four/pages/img_pull_down_big_page2.dart:42\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/project/four/pages/img_pull_down_big_page2.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"829fb3495c963856467dbac2423d0c3cab0d14153dcc668d192fc6697943ade3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/jh_common/widgets/jh_media_browser.dart:388-412 | lib/jh_common/widgets/jh_media_browser2.dart:374-398 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"633b3f1dd819670b64c4cd7678488605216bd30cf657287bdd2ca181400bdcf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): lib/project/one/widgets/wx_home_cell.dart:120-144 | lib/project/one/widgets/wx_subscription_number_list_cell.dart:41-64 \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/project/one/widgets/wx_home_cell.dart:120\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/one/widgets/wx_home_cell.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fba9f2c1dae5aadec4ee94e8991ed38b43c071f71237989775d761ff46ab4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): lib/jh_common/jh_form/jh_form_input_cell.dart:144-165 | lib/jh_common/jh_form/jh_form_select_cell.dart:121-143 \u2014 before extracting anything, compare \u0060lib/jh_common/jh_form/jh_form_input_cell.dart\u0060 and \u0060lib/jh_common/jh_form/jh_form_select_cell.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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/jh_common/jh_form/jh_form_input_cell.dart:144\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/jh_common/jh_form/jh_form_input_cell.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0851b961a2300617a4e9239ce205d9248c55fa04a9d25c7b9c10202a8bbd31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): lib/jh_common/widgets/jh_cascade_picker.dart:228-246 | lib/jh_common/widgets/jh_cascade_tree_picker.dart:364-385 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_cascade_picker.dart\u0060 and \u0060lib/jh_common/widgets/jh_cascade_tree_picker.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jh_common/widgets/jh_cascade_picker.dart:228\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/jh_common/widgets/jh_cascade_picker.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b41d8652649f142726ac8de83307c579e9883feab2e080d4e0fc0a11bc5c0b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201322 lines \u00D7 2): lib/jh_common/widgets/jh_media_browser.dart:33-54 | lib/jh_common/widgets/jh_media_browser2.dart:24-40 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart:33\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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a46493d3a8963cbea0cc235b17321fc4d5b157a83e45c65ea5eec7a2e16bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/jh_common/widgets/jh_cascade_picker.dart:35-54 | lib/jh_common/widgets/jh_cascade_tree_picker.dart:55-74 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_cascade_picker.dart\u0060 and \u0060lib/jh_common/widgets/jh_cascade_tree_picker.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jh_common/widgets/jh_cascade_picker.dart:35\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_cascade_picker.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deae17167e3ab630faaf9c6e5b42c855604dd2ea18187f7cd77d30a7d21d078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): lib/demos/http/http_page_test_header_follow_page.dart:54-72 | lib/demos/topTabBar/content_page.dart:86-104 | lib/demos/topTabBar/personal_center_page4.dart:103-121 | lib/demos/topTabBar/personal_center_page5.dart:107-125 | lib/project/three/pages/wx_friends_circle_page.dart:108-126 \u2014 before extracting anything, compare \u0060lib/demos/http/http_page_test_header_follow_page.dart\u0060 and \u0060lib/demos/topTabBar/content_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/http/http_page_test_header_follow_page.dart:54\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/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b752c8c41c3d64f64df0587e2e8e99fde6dca80922d160f504476d30bbed2b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): lib/demos/other/animation/ball_3d_page.dart:87-105 | lib/demos/other/animation/ball_3d_page3.dart:98-116 | lib/demos/other/animation/ball_3d_page4.dart:98-116 | lib/jh_common/widgets/tag_cloud_widget.dart:67-85 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 147 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/demos/other/animation/ball_3d_page.dart:87\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"249ae39ae0a4b84a082fb344f558ae67097360754cbd706f8a175906af2710a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): lib/demos/topTabBar/personal_center_page4.dart:170-188 | lib/demos/topTabBar/personal_center_page5.dart:179-197 | lib/project/three/pages/wx_friends_circle_page.dart:175-193 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page4.dart\u0060 and \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 206 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/demos/topTabBar/personal_center_page4.dart:170\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/personal_center_page4.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baeb011d33f1b200f9fba078d0d38ba16872047f86933c441927d22ae7f36be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/demos/swiper/swiper_test7_page.dart:68-86 | lib/project/new_feature/new_feature_page.dart:81-99 \u2014 before extracting anything, compare \u0060lib/demos/swiper/swiper_test7_page.dart\u0060 and \u0060lib/project/new_feature/new_feature_page.dart\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/demos/swiper/swiper_test7_page.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa2c94bf7bfc6cf0c1637f9ca3b9a05027cdc9921e77a1c9c7b6fa2f1fa94d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/jh_common/jh_form/jh_login_text_field.dart:106-124 | lib/jh_common/jh_form/jh_text_field.dart:106-124 \u2014 before extracting anything, compare \u0060lib/jh_common/jh_form/jh_login_text_field.dart\u0060 and \u0060lib/jh_common/jh_form/jh_text_field.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/jh_common/jh_form/jh_login_text_field.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c0963676cef5fb8387e2716009fe20bccc1cde658b9974999258c930f78d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): lib/demos/other/animation/ball_3d_page.dart:149-166 | lib/demos/other/animation/ball_3d_page3.dart:160-177 | lib/demos/other/animation/ball_3d_page4.dart:160-177 | lib/jh_common/widgets/tag_cloud_widget.dart:129-146 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 147 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/demos/other/animation/ball_3d_page.dart:149\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/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aae8239694704d8a816bceba7f74a1f7ff536c12df27087d5299b740f1901d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/jh_common/widgets/jh_media_browser.dart:255-272 | lib/jh_common/widgets/jh_media_browser2.dart:241-258 | lib/jh_common/widgets/jh_media_browser3.dart:327-344 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart:255\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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfeb64558ffc7042e70db3deacf0af995048043b04da8c3653f810bc2c3b8701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/demos/topTabBar/personal_center_page5.dart:278-295 | lib/project/three/pages/wx_friends_circle_page.dart:211-228 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 and \u0060lib/project/three/pages/wx_friends_circle_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/topTabBar/personal_center_page5.dart:278\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/demos/topTabBar/personal_center_page5.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f8bf7f7b397a6cf69d811dc2653deed369229ff178f3ca6afbc34a37629eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/jh_common/widgets/jh_cascade_picker.dart:260-277 | lib/jh_common/widgets/jh_cascade_tree_picker.dart:399-416 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_cascade_picker.dart\u0060 and \u0060lib/jh_common/widgets/jh_cascade_tree_picker.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jh_common/widgets/jh_cascade_picker.dart:260\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/jh_common/widgets/jh_cascade_picker.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf3e44754ea0709547ff777ad8dfb05e984a8ca012198889eee1d50e3c68cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/jh_common/jh_form/jh_login_text_field.dart:161-177 | lib/jh_common/jh_form/jh_text_field.dart:154-170 \u2014 before extracting anything, compare \u0060lib/jh_common/jh_form/jh_login_text_field.dart\u0060 and \u0060lib/jh_common/jh_form/jh_text_field.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jh_common/jh_form/jh_login_text_field.dart:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060oldWidget\u0060 to \u0060covariant JhLoginTextField\u0060 in one and \u0060covariant JhTextField\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/jh_common/jh_form/jh_login_text_field.dart:159\u0060 calls \u0060addListener\u0060 and \u0060lib/jh_common/jh_form/jh_text_field.dart:153\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/jh_common/jh_form/jh_login_text_field.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bf330093e72eede3913c810ee61e9de10e02c5252c6dac3d14e6e9d0caa140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/jh_common/jh_form/jh_login_text_field.dart:277-293 | lib/jh_common/jh_form/jh_text_field.dart:249-265 \u2014 before extracting anything, compare \u0060lib/jh_common/jh_form/jh_login_text_field.dart\u0060 and \u0060lib/jh_common/jh_form/jh_text_field.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/jh_form/jh_login_text_field.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"932fb3bebcef136a0e509f7292f79c2928db51c0c57500f605ba5ff10d521a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/jh_common/widgets/mobile_scanner_page.dart:57-73 | lib/jh_common/widgets/qr_code_grid_scanner_page.dart:57-73 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/mobile_scanner_page.dart\u0060 and \u0060lib/jh_common/widgets/qr_code_grid_scanner_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 138 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/jh_common/widgets/mobile_scanner_page.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ae94ae45cf644889664d99fb22f931a2d7ce35eb7d59c81108b27b64fd8701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/demos/topTabBar/personal_center_page5.dart:128-143 | lib/project/three/pages/wx_friends_circle_page.dart:129-144 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 and \u0060lib/project/three/pages/wx_friends_circle_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/personal_center_page5.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dff03b3a8e8ee75af9002dfa116b4a3275fd78238abf5b851db2fb407d42815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/jh_common/widgets/jh_cascade_tree_picker.dart:51-66 | lib/jh_common/widgets/jh_multi_picker.dart:47-62 \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/jh_common/widgets/jh_cascade_tree_picker.dart:51\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_cascade_tree_picker.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c6bbe3f68a2ddcd038e107dce72e469743014d66bcbfebff0c98a4d3eb27b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/jh_common/widgets/jh_form.dart:172-187 | lib/jh_common/widgets/jh_form.dart:240-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jh_common/widgets/jh_form.dart:172\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/jh_common/widgets/jh_form.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"13de67ea55fe31d3e264336be236c2abfbea1df2d67427a331630737fec9d0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): lib/project/login/pages/code_login_page.dart:89-104 | lib/project/login/pages/login_page.dart:187-197 \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/project/login/pages/code_login_page.dart:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/login/pages/code_login_page.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9775e31f09a52c718d4b385d2a75110f9b217b280373ea40793f969b509fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/project/two/pages/wx_user_info_page.dart:122-136 | lib/project/two/pages/wx_user_info_page.dart:139-154 \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/project/two/pages/wx_user_info_page.dart:122\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/project/two/pages/wx_user_info_page.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f970e4b210c9979321f16946d4651b08581f7f23ea3bb1687607c91ccd81f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): lib/jh_common/widgets/jh_cascade_picker.dart:33-47 | lib/jh_common/widgets/jh_cascade_tree_picker.dart:53-67 | lib/jh_common/widgets/jh_multi_picker.dart:49-62 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_cascade_picker.dart\u0060 and \u0060lib/jh_common/widgets/jh_cascade_tree_picker.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jh_common/widgets/jh_cascade_picker.dart:33\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_cascade_picker.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb7769efb800d0c352b1c83fcbb5d4d1e6b228161b64b8bb1788a09b1601f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/project/three/pages/wx_friends_circle_page.dart:330-344 | lib/project/three/pages/wx_friends_circle_page2.dart:220-234 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/three/pages/wx_friends_circle_page.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"614352230a41181307a392436ec24611cd0ab1ff877d1d9a1c87bc595a6e896d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/jh_common/widgets/base_refresh_view.dart:184-197 | lib/jh_common/widgets/base_refresh_view.dart:221-234 \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/jh_common/widgets/base_refresh_view.dart:184\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/base_refresh_view.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab47700c285804bd73e9c0f0e023604cba9ce09fceb14558f75f23e60d5acb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/jh_common/widgets/jh_update_dialog.dart:143-156 | lib/jh_common/widgets/jh_update_dialog.dart:295-308 \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/jh_common/widgets/jh_update_dialog.dart:143\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/jh_common/widgets/jh_update_dialog.dart:294\u0060 calls \u0060only\u0060 and \u0060lib/jh_common/widgets/jh_update_dialog.dart:142\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/jh_common/widgets/jh_update_dialog.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac9c5239c153d7cc9f61ce729caa529ffe3e840bcb967b71f966c22746d0e27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): lib/demos/http/http_page_test_header_follow_page.dart:61-73 | lib/demos/listView/listview_group_page3.dart:108-120 | lib/demos/topTabBar/content_page.dart:93-105 | lib/demos/topTabBar/personal_center_page4.dart:110-122 | lib/demos/topTabBar/personal_center_page5.dart:114-126 | lib/project/three/pages/wx_friends_circle_page.dart:115-127 \u2014 before extracting anything, compare \u0060lib/demos/http/http_page_test_header_follow_page.dart\u0060 and \u0060lib/demos/topTabBar/content_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/http/http_page_test_header_follow_page.dart:61\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/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed9b4413916fc9b133f6d40d1571d965da42341b4ced5004a48d2e381319d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/demos/http/http_page_test_header_follow_page.dart:231-243 | lib/jh_common/widgets/base_refresh_view.dart:184-196 \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/demos/http/http_page_test_header_follow_page.dart:231\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/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf200463cb60a892acb4fb0c4dc0955098e5712546a2c048a6a43f3d9f4ef5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/demos/http/http_page_test_header_follow_page.dart:254-266 | lib/jh_common/widgets/base_refresh_view.dart:221-233 \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/demos/http/http_page_test_header_follow_page.dart:254\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/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfbe7bb15074c846be3439002f564eb10bd9f2a4b5e848b3ca31a0573f1547b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/project/four/pages/img_pull_down_big_page2.dart:116-128 | lib/project/four/pages/person_center_page2.dart:82-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/img_pull_down_big_page2.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"78797d6c2f232d5020f20ed79fb7e74044dbd253b2ac12f1712ba8267e6df9c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/project/two/pages/wx_group_chat_page.dart:79-90 | lib/project/two/widgets/wx_contacts_cell.dart:70-82 \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/project/two/pages/wx_group_chat_page.dart:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/project/two/pages/wx_group_chat_page.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb46131bb9fd238d456348f10d26f12ef466c89e862af8460b66b94310b0f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): lib/demos/other/animation/ball_3d_page.dart:193-204 | lib/demos/other/animation/ball_3d_page3.dart:208-219 | lib/demos/other/animation/ball_3d_page4.dart:208-219 | lib/jh_common/widgets/tag_cloud_widget.dart:166-177 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 147 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/demos/other/animation/ball_3d_page.dart:193\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/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcf1e53501815efff3725c4c9c55408c8b99050d337509788df25c686d97cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/jh_common/widgets/jh_media_browser.dart:51-62 | lib/jh_common/widgets/jh_media_browser2.dart:37-48 | lib/jh_common/widgets/jh_media_browser3.dart:42-53 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart:51\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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3f4820c63f3a677737261a71df78f1c9404cccc1b08fabe867dd9098c9ce93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/jh_common/widgets/jh_media_browser.dart:423-434 | lib/jh_common/widgets/jh_media_browser2.dart:409-420 | lib/jh_common/widgets/jh_media_browser3.dart:501-512 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e95c5a9f2a09b5a7fcf77aa5f01f66447de0c810fba486371cd25241589cf78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/demos/topTabBar/personal_center_page5.dart:145-156 | lib/project/three/pages/wx_friends_circle_page.dart:146-157 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 and \u0060lib/project/three/pages/wx_friends_circle_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/topTabBar/personal_center_page5.dart:145\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/demos/topTabBar/personal_center_page5.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"949613281b78d11bb551e669263deac7163614d62f3aa8992a3e72592e7c2aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/jh_common/widgets/jh_update_dialog.dart:184-195 | lib/jh_common/widgets/jh_update_dialog.dart:222-233 \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/jh_common/widgets/jh_update_dialog.dart:184\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/jh_common/widgets/jh_update_dialog.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1dfb1abc2f06cd160c0d3dadbf522e15c9746e5e2f20489d6a766ccdfcd250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/project/four/pages/img_pull_down_big_page3.dart:31-42 | lib/project/four/pages/person_center_page2.dart:31-42 \u2014 before extracting anything, compare \u0060lib/project/four/pages/img_pull_down_big_page3.dart\u0060 and \u0060lib/project/four/pages/person_center_page2.dart\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/img_pull_down_big_page3.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12ad72e39cd5a84342d19f9bd14cb62d7826313d12ce7004cf2468b27b33d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/project/four/pages/wx_pay_page.dart:125-135 | lib/project/two/pages/wx_add_friend_page.dart:97-107 | lib/project/two/pages/wx_new_friend_page.dart:118-128 \u2014 before extracting anything, compare \u0060lib/project/two/pages/wx_add_friend_page.dart\u0060 and \u0060lib/project/two/pages/wx_new_friend_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/project/four/pages/wx_pay_page.dart:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/wx_pay_page.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"572a47c4e94dc1593a92806296affced543ae36c01cc7db90a57d2d915bfc543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/jh_common/widgets/jh_update_dialog.dart:108-118 | lib/jh_common/widgets/jh_update_dialog.dart:255-265 \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/jh_common/widgets/jh_update_dialog.dart:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_update_dialog.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fd08f8bd2837e9e6776c0dee60cd612ef9800454083157eaabf2fb30654dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/project/one/pages/wx_motion_top_page.dart:121-131 | lib/project/three/pages/wx_friends_circle_page2.dart:118-128 \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/project/one/pages/wx_motion_top_page.dart:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/project/one/pages/wx_motion_top_page.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"004144dbc570d2b0342968a63321dd5b758b963e96f11428653ee1eebb3dc905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/project/one/widgets/wx_qq_message_cell.dart:27-37 | lib/project/one/widgets/wx_subscription_number_cell.dart:82-92 \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/project/one/widgets/wx_qq_message_cell.dart:27\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/project/one/widgets/wx_qq_message_cell.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be439878f967e79caccfbd1c44ca05df225352a1b40188c5e56867a3bf44414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): lib/demos/other/animation/ball_3d_page.dart:124-147 | lib/demos/other/animation/ball_3d_page3.dart:135-158 | lib/demos/other/animation/ball_3d_page4.dart:135-158 | lib/jh_common/widgets/tag_cloud_widget.dart:104-127 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 147 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/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"53aecb9ba72852d4f51a0cdbb4390c80294ecf13c6bcb66771922386fc30bc61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/jh_common/jh_form/jh_form_input_cell.dart:133-142 | lib/jh_common/jh_form/jh_form_select_cell.dart:110-119 \u2014 before extracting anything, compare \u0060lib/jh_common/jh_form/jh_form_input_cell.dart\u0060 and \u0060lib/jh_common/jh_form/jh_form_select_cell.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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/jh_common/jh_form/jh_form_input_cell.dart:133\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/jh_common/jh_form/jh_form_input_cell.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0695ad3ab8dfe098ab61747428174fb0a478273977d8d019e2a4263ab4c323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/jh_common/widgets/jh_cascade_picker.dart:290-299 | lib/jh_common/widgets/jh_cascade_tree_picker.dart:434-443 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_cascade_picker.dart\u0060 and \u0060lib/jh_common/widgets/jh_cascade_tree_picker.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jh_common/widgets/jh_cascade_picker.dart:290\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/jh_common/widgets/jh_cascade_picker.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f131d4a702edff3936c20ddbd925830154a77418e33b1765be610cfd2777ea06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/jh_common/widgets/jh_tabbar.dart:110-119 | lib/jh_common/widgets/jh_top_tabbar.dart:94-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/jh_common/widgets/jh_tabbar.dart:110\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/jh_common/widgets/jh_tabbar.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba99db808b84ca9ec0dee348174c4ea445fd7780f366b02bbfc1391b8d4f96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/demos/base/base_refresh_view_header_fixed_page.dart:61-69 | lib/project/widgets/searchbar_view.dart:64-72 \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/demos/base/base_refresh_view_header_fixed_page.dart:61\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/demos/base/base_refresh_view_header_fixed_page.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d303fa9690d1b70074cca32a55253d77bb5e13a9a03128c616df509ded453f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/demos/topTabBar/personal_center_page5.dart:297-305 | lib/project/three/pages/wx_friends_circle_page.dart:230-238 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 and \u0060lib/project/three/pages/wx_friends_circle_page.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/topTabBar/personal_center_page5.dart:297\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/demos/topTabBar/personal_center_page5.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e882dc1a9e1d78ccb3fcdc7a1a10d56e709aa9a785fe9d6db30419835d3a6b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 3): lib/jh_common/jh_form/jh_form_input_cell.dart:121-129 | lib/jh_common/jh_form/jh_form_select_cell.dart:96-104 | lib/jh_common/jh_form/jh_login_text_field.dart:208-210 \u2014 before extracting anything, compare \u0060lib/jh_common/jh_form/jh_form_input_cell.dart\u0060 and \u0060lib/jh_common/jh_form/jh_form_select_cell.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note 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/jh_common/jh_form/jh_form_input_cell.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb231b91e05686f953220996c852e609d1d85097fada515fb1f32bf8be42b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/project/one/widgets/wx_home_cell.dart:100-107 | lib/project/one/widgets/wx_subscription_number_list_cell.dart:25-33 \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/project/one/widgets/wx_home_cell.dart:100\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/project/one/widgets/wx_home_cell.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21f7a248de195c11214e2ed65efee3c3d08c291a4b1885e4fc56c1d5120ed16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/project/two/widgets/wx_add_friend_cell.dart:26-36 | lib/project/two/widgets/wx_new_friend_cell.dart:49-59 \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/project/two/widgets/wx_add_friend_cell.dart:26\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/project/two/widgets/wx_add_friend_cell.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"88696ca84811ebf06523dad6e602336ca61b1523a5b252d69f6694b9b1edf987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): lib/demos/search/search_test4_page.dart:131-138 | lib/demos/search/search_test5_page.dart:133-140 | lib/project/four/pages/wx_pay_page.dart:123-130 | lib/project/two/pages/wx_add_friend_page.dart:95-102 | lib/project/two/pages/wx_new_friend_page.dart:116-123 \u2014 before extracting anything, compare \u0060lib/demos/search/search_test4_page.dart\u0060 and \u0060lib/demos/search/search_test5_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 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/demos/search/search_test4_page.dart:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/search/search_test4_page.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8513d754918e904bdf3c6537139149705e95ccd2c04e3042ed1ba41bdf5bf6d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/project/four/pages/wx_pay_page.dart:93-100 | lib/project/four/pages/wx_pay_page.dart:104-110 \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/project/four/pages/wx_pay_page.dart:93\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/project/four/pages/wx_pay_page.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb74b45547a60caa353c0e6de053664db788306f230900d963b0f19fa0532af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/project/three/widgets/wx_friends_circle_cell.dart:56-63 | lib/project/two/widgets/wx_contacts_cell.dart:124-131 \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/project/three/widgets/wx_friends_circle_cell.dart:56\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/project/three/widgets/wx_friends_circle_cell.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff35206c2965ab25cd1cdfd4408e3e7194757c186b6149a26c4613cd81d8052b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): lib/jh_common/jh_form/jh_form_input_cell.dart:111-117 | lib/jh_common/jh_form/jh_form_select_cell.dart:86-92 | lib/jh_common/jh_form/jh_set_cell.dart:84-86 \u2014 before extracting anything, compare \u0060lib/jh_common/jh_form/jh_form_input_cell.dart\u0060 and \u0060lib/jh_common/jh_form/jh_form_select_cell.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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/jh_common/jh_form/jh_form_input_cell.dart:111\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/jh_common/jh_form/jh_set_cell.dart:83\u0060 calls \u0060dynamicColor\u0060 and \u0060lib/jh_common/jh_form/jh_form_input_cell.dart:111\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/jh_form/jh_form_input_cell.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"468ba3b0b5f0eb2bb839f11d81ba104e1848295c0264917977a2aaed6de02ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): lib/demos/listView/listview_test_custom_vc.dart:55-61 | lib/demos/search/search_test4_page.dart:133-138 | lib/demos/search/search_test5_page.dart:135-140 | lib/project/four/pages/wx_pay_page.dart:125-130 | lib/project/two/pages/wx_add_friend_page.dart:97-102 | lib/project/two/pages/wx_new_friend_page.dart:118-123 \u2014 before extracting anything, compare \u0060lib/demos/search/search_test4_page.dart\u0060 and \u0060lib/demos/search/search_test5_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 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/demos/listView/listview_test_custom_vc.dart:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_test_custom_vc.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffa5177c05d0403d75b815ac8e1601bdebc5f9d295412625873e61e2b651766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/jh_common/widgets/jh_media_browser.dart:287-292 | lib/jh_common/widgets/jh_media_browser2.dart:273-278 | lib/jh_common/widgets/jh_media_browser3.dart:359-364 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"640de1f06fbae82a24224222bc40dd7e894a3cd9cff1a934866cf87a35256332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/demos/other/animation/ball_3d_page.dart:107-114 | lib/demos/other/animation/ball_3d_page3.dart:118-125 | lib/demos/other/animation/ball_3d_page4.dart:118-125 | lib/jh_common/widgets/tag_cloud_widget.dart:87-94 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 147 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/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e3fb8adee4e7a6ca708ab8291aad8b31453fd7fa397dc3726af6a93853f0ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lib/demos/other/animation/ball_3d_page.dart:116-122 | lib/demos/other/animation/ball_3d_page3.dart:127-133 | lib/demos/other/animation/ball_3d_page4.dart:127-133 | lib/jh_common/widgets/tag_cloud_widget.dart:96-102 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 147 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/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"30727fcd7623427c9315bc2b3085ca6284e1d6a3215eb0273f8601a349999d73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/jh_common/widgets/jh_media_browser.dart:281-285 | lib/jh_common/widgets/jh_media_browser2.dart:267-271 | lib/jh_common/widgets/jh_media_browser3.dart:353-357 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"de64a3cd2656a67b7318e9aa6cd13c4326a80d50dde6e11127b1ab322506552d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/jh_common/widgets/jh_media_browser.dart:414-421 | lib/jh_common/widgets/jh_media_browser2.dart:400-407 | lib/jh_common/widgets/jh_media_browser3.dart:492-499 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fe83f6b9d53514690429839480c85f31891a14d1d406f1c53082fa2fcb5e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/jh_common/widgets/jh_media_browser.dart:442-449 | lib/jh_common/widgets/jh_media_browser2.dart:428-435 | lib/jh_common/widgets/jh_media_browser3.dart:520-527 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_media_browser.dart\u0060 and \u0060lib/jh_common/widgets/jh_media_browser2.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 238 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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"95275ec87822d282df0230777958a32d23d56d2a4b38f0a2b31188a6c3c99319"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/jh_common/widgets/jh_photo_allscreen_show.dart:37-43 | lib/jh_common/widgets/jh_photo_browser.dart:73-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_photo_allscreen_show.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa44c58d30fa0911bc30e3897e2e9193b77443fecfb9ebac170a92143ebc755"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/jh_common/widgets/jh_pulse_animation_view.dart:58-65 | lib/jh_common/widgets/jh_shake_animation_view.dart:65-72 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_pulse_animation_view.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"255dfd932dad142b08b8f9ef45569753e1281dae01f7f8e2407ddeee50a430d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/project/four/pages/about_ios_page.dart:124-130 | lib/project/four/pages/about_page.dart:180-186 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/about_ios_page.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f930221906a8d68fa155f9b630d1ba82399367589cd0c23fae0b4ade33d842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/project/four/pages/info_page.dart:40-57 | lib/project/four/pages/wx_mine_page.dart:48-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/info_page.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2209cac66549ec0b2f848b2da93c2eab264a31bbebe476126cabe7bcd5dadee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/project/one/pages/wx_motion_top_page.dart:33-42 | lib/project/three/pages/wx_friends_circle_page2.dart:35-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/one/pages/wx_motion_top_page.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"508b7f5746eeed4ade922d9fd1ca6ad98cd27c112a02fb153dfc8f24f650108d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/project/two/pages/wx_add_friend_page.dart:49-56 | lib/project/two/pages/wx_group_chat_page.dart:48-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/two/pages/wx_add_friend_page.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bcf9cd14dd0d1a1f67574f47cd8cedd2d32f6e2a8865677c03ef5743b2445d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/project/two/pages/wx_add_friend_page.dart:58-69 | lib/project/two/pages/wx_new_friend_page.dart:66-77 \u2014 before extracting anything, compare \u0060lib/project/two/pages/wx_add_friend_page.dart\u0060 and \u0060lib/project/two/pages/wx_new_friend_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/project/two/pages/wx_add_friend_page.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccd438a321708f15d0a45d3499ef4ea83f8b3ca275ea69791ff9ae9f4f964bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/demos/listView/listview_group_model.dart:45-52 | lib/project/one/models/wx_subscription_number_list_model.dart:26-33 \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. 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/demos/listView/listview_group_model.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"157260decd1d1d4684f757a6f3e5777a6e03da955e351fb1e9b84a37559e86e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/jh_common/widgets/jh_pulse_animation_view.dart:83-91 | lib/jh_common/widgets/jh_scale_animation_view.dart:81-89 | lib/jh_common/widgets/jh_shake_animation_view.dart:92-100 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_pulse_animation_view.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edcdbacd978d46fea2a2eae1a89ca98bcf8d503500b9ad3f115f7e172cb8649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/project/four/pages/info_page.dart:28-38 | lib/project/four/pages/wx_mine_page.dart:37-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/four/pages/info_page.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d955f4263dbf974380b5d37ecafef366ed049534d92efc922c89c6171211431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/jh_common/widgets/jh_cascade_picker.dart:219-226 | lib/jh_common/widgets/jh_cascade_tree_picker.dart:355-362 \u2014 before extracting anything, compare \u0060lib/jh_common/widgets/jh_cascade_picker.dart\u0060 and \u0060lib/jh_common/widgets/jh_cascade_tree_picker.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jh_common/widgets/jh_cascade_picker.dart:219\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/jh_common/widgets/jh_cascade_picker.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ebf34223fa155d21ad9332a057116484dd839cb2d608bfde10ed845319ac25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/jh_common/widgets/jh_pulse_animation_view.dart:48-52 | lib/jh_common/widgets/jh_shake_animation_view.dart:55-59 \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/jh_common/widgets/jh_pulse_animation_view.dart:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_pulse_animation_view.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e594902f867adb6848f7f7ebf70915c7bd36618d22c74f9d3b47dd6bff2b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/demos/base/base_gridview_shimmer_test_page.dart:93-112 | lib/demos/base/base_listview_shimmer_test_page.dart:78-96 | lib/demos/base/base_refresh_view_header_fixed_page.dart:175-194 | lib/demos/base/base_refresh_view_header_follow_page.dart:119-138 | lib/demos/base/base_refresh_view_test_page.dart:105-124 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/base/base_gridview_shimmer_test_page.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c89310515dcb0ac59662a2fd4077e69f2b82b2b075dc1a021ec9611efbd0c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/demos/base/base_gridview_shimmer_test_page.dart:75-91 | lib/demos/base/base_listview_shimmer_test_page.dart:59-76 | lib/demos/base/base_refresh_view_header_fixed_page.dart:156-173 | lib/demos/base/base_refresh_view_header_follow_page.dart:100-117 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/base/base_gridview_shimmer_test_page.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacbf38a7d6467f52807cce5b276b6f9f64d8bb8497d6fd5a306e5d0480c9dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/demos/topTabBar/content_page.dart:158-184 | lib/demos/topTabBar/personal_center_page3.dart:269-295 | lib/demos/topTabBar/personal_center_page4.dart:236-262 | lib/demos/topTabBar/personal_center_page5.dart:245-271 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/content_page.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae7b630912d4c236a201907110165c56c87a56d6426c84381ce2ad03fda3346"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/demos/listView/listview_group_page2.dart:139-183 | lib/demos/listView/listview_group_page3.dart:207-248 \u2014 These two members are one piece of code written twice and then edited apart: 42 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/demos/listView/listview_group_page2.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c320fb8ae35d795736685a8a3431b52d455db408d03d04b124a29d66c266c422"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/demos/listView/listview_test3.dart:64-97 | lib/demos/listView/listview_test_custom_cell.dart:41-74 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_test3.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"27981831fe5d7dba1dcc2a4c3e973dc0297b5e107ea52ea190243311ba3b3e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/demos/listView/listview_group_page2.dart:92-127 | lib/demos/listView/listview_group_page3.dart:162-195 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_group_page2.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a3656917398b636edccaf1d484b7f41c98eab062ef116fe5ceada9be6f02c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/demos/listView/listview_group_page2.dart:185-213 | lib/demos/listView/listview_group_page3.dart:250-290 \u2014 These two members are one piece of code written twice and then edited apart: 29 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/demos/listView/listview_group_page2.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf3cfb3b9f4bd3acee0b0490aaecbdc48aee8c90ba8f1c596f7f9abc6ddb143"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/demos/signature/hand_signature_test_page.dart:153-199 | lib/demos/signature/signature_test_page.dart:151-190 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/signature/hand_signature_test_page.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a669a13723706245df1a2419ecf9b319477140d27c2ef591288c81d132a58da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/demos/gridView/gridview_test2.dart:52-86 | lib/demos/gridView/gridview_test3.dart:52-92 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/gridView/gridview_test2.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"095bd21ed667daa618dc524550d5be89748e23f41f55e4159abe8a36914dff32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/demos/topTabBar/personal_center_page4.dart:170-199 | lib/demos/topTabBar/personal_center_page5.dart:179-208 \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/demos/topTabBar/personal_center_page4.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6253284c7fff0b0ac5307138a78625dcbc71517b20117b9f6c3ce0c0928b49ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/demos/listView/listview_group_page.dart:24-44 | lib/demos/listView/listview_group_page2.dart:36-57 \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/demos/listView/listview_group_page.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f533de560e6e0e57deee2a6a8a8ad5d64e201dd5be2c840c37a58776c838935b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): lib/demos/base/base_refresh_view_header_fixed_page.dart:125-154 | lib/demos/search/search_test4_page.dart:201-228 | lib/demos/search/search_test5_page.dart:203-231 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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/demos/base/base_refresh_view_header_fixed_page.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"910202c271f3f48c9729ad4a80f0fec507aa2c9899620cea2d7dbc636f6cc777"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/demos/signature/hand_signature_test_page.dart:63-88 | lib/demos/signature/signature_test_page.dart:60-88 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/signature/hand_signature_test_page.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf82e02d3a3c85428aecdc6ff84b93282508cb168f341320f2d3d9a606786375"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): lib/demos/other/animation/ball_3d_page.dart:26-58 | lib/demos/other/animation/ball_3d_page3.dart:37-69 | lib/demos/other/animation/ball_3d_page4.dart:37-69 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25f8a04c072279674d6c4de9acc8dbd154ec9eaa2484b0c291f49dfe5972877"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/demos/alert/dialog_test_page.dart:212-241 | lib/demos/alert/dialog_test_page.dart:243-285 \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/demos/alert/dialog_test_page.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"479f67eaad9840c5472c903f1b736fa8a90e03c51be120885be5ac0a5d285466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lib/demos/swiper/swiper_test4_page.dart:37-68 | lib/demos/swiper/swiper_test4_page.dart:70-101 \u2014 These two members are one piece of code written twice and then edited apart: 32 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/demos/swiper/swiper_test4_page.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e1a6c96c311d79bc78cfc9ad619657af91af46f8ca3213378d047aafeac003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/demos/topTabBar/personal_center_page1.dart:45-69 | lib/demos/topTabBar/personal_center_page2.dart:50-74 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/demos/topTabBar/personal_center_page1.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9ff1fe9498a1ab70161b8d7b7cc112f75d9c4d5b5b0e8fb99616f86b9a2fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/demos/signature/hand_signature_test_page.dart:125-151 | lib/demos/signature/signature_test_page.dart:125-149 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/demos/signature/hand_signature_test_page.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce53dd59c60b475d8976aab224ca3cf4cf93fd37b6b3a3ba4bfc0cb6d75cff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/demos/http/http_page_test_header_follow_page.dart:144-174 | lib/demos/http/http_page_test_page.dart:86-112 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"903bab1d1d8ff2652b9cc5a23cf5c6165716b6ad4f03bddc455ac2ae31edf47e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/demos/base/base_gridview_shimmer_test_page.dart:44-73 | lib/demos/base/base_refresh_view_test_page.dart:64-91 \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/demos/base/base_gridview_shimmer_test_page.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2d83b96debe3a14b0d4adcffc5c06656942acc31e2f01da06b35ab7ae94fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/demos/search/search_test4_page.dart:28-49 | lib/demos/search/search_test5_page.dart:31-54 \u2014 These two members are one piece of code written twice and then edited apart: 22 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/demos/search/search_test4_page.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e88abc0aedf97824c14d5b5c404c1eecc6f451be3fe0d9e0e5f2966d592c213"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/demos/search/search_test1_page.dart:9-41 | lib/demos/search/search_test2_page.dart:9-35 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/search/search_test1_page.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7beb74f9d1b3247ecbe5a5c6a7fd5b389a50de60e457694d2828ba0f802ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/demos/dragSort/listview_drag_sort_page.dart:64-82 | lib/demos/dragSort/listview_drag_sort_page2.dart:62-86 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/dragSort/listview_drag_sort_page.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2026c9de2e9913fa479af0f155e969f3c5c20fc5ec64780f44793320be0ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): lib/demos/search/debounce_throttle_test_page.dart:111-130 | lib/demos/search/debounce_throttle_test_page.dart:132-155 | lib/demos/search/search_test4_page.dart:77-95 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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/demos/search/debounce_throttle_test_page.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f8bf230b28c49306ff6063bef77613538b27e329242cff28dd1acad1099903"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/demos/http/http_page_test_header_follow_page.dart:102-120 | lib/demos/topTabBar/content_page.dart:115-134 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19517de6b307ef70fd6f3de47f724b7fc0c7a777dda8fc04daf747e1ccce855"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/demos/gridView/gridview_test1.dart:35-60 | lib/demos/gridView/gridview_test5.dart:64-84 \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/demos/gridView/gridview_test1.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3656265ba06cd3d16ef75879731d33436256f60538fcbf0366ef0d9b349ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/demos/listView/listview_group_page2.dart:77-89 | lib/demos/listView/listview_group_page3.dart:135-148 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_group_page2.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"448957764c980f83fddb9ebc0cb5c75d38e3a7dabeddb749fc8113b0fa88027d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/demos/base/base_refresh_view_header_fixed_page.dart:72-87 | lib/demos/search/search_test4_page.dart:97-113 \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/demos/base/base_refresh_view_header_fixed_page.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1aae4314b0bb29f3c5de62ca4fe31f1374c8863fab3a204261d1dba2622adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/demos/topTabBar/personal_center_page3.dart:110-129 | lib/demos/topTabBar/personal_center_page3.dart:131-149 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/personal_center_page3.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1d608fd7052936c54e058d944306e2ee21eea25f3a1303c3d7806ecd1f648a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/demos/base/base_refresh_view_header_fixed_page.dart:35-53 | lib/demos/base/base_refresh_view_header_follow_page.dart:29-45 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/base/base_refresh_view_header_fixed_page.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd333ea1742b7f577021990fc54ad5f178f77609875561589e29670929ebf12f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/demos/topTabBar/personal_center_page3.dart:94-108 | lib/demos/topTabBar/personal_center_page4.dart:124-139 \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/demos/topTabBar/personal_center_page3.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"affb832f7096db0f7d42228ab93e613d552aec8d508f068a39614de8c2c40fa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/demos/base/base_listview_shimmer_test_page.dart:44-57 | lib/demos/base/base_refresh_view_test_page.dart:51-62 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/base/base_listview_shimmer_test_page.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"665da3b73d1824d99c3a8963fc14d51113ae4bc24ae3f309bc93788d7a8fd890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/demos/topTabBar/personal_center_page2.dart:32-48 | lib/demos/topTabBar/personal_center_page1.dart:32-43 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/personal_center_page2.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"447b79aa6939b53ec1bc6a10043e6c584bd76adcdefd2e5356fe811fe2251904"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/demos/base/base_refresh_view_header_follow_page.dart:47-56 | lib/demos/listView/listview_header_page.dart:32-43 \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/demos/base/base_refresh_view_header_follow_page.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7331c9e86dbc1aa177a1f78e1389f4564d630ec2687995537f00d7415ff6d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/demos/listView/listview_group_page2.dart:65-74 | lib/demos/listView/listview_group_page3.dart:122-132 \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/demos/listView/listview_group_page2.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab9b31bf75183b6d8114d937fff9ade9702886d28b9e35360a4bd81a14267ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/demos/http/http_page_test_page.dart:74-84 | lib/demos/listView/listview_group_page3.dart:151-159 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/http/http_page_test_page.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d31828c58b88957602f872484368232ba1c3da62be68e89e54e433639aa188"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/demos/swiper/swiper_test3_page.dart:28-39 | lib/demos/swiper/swiper_test4_page.dart:23-35 | lib/demos/swiper/swiper_test5_page.dart:24-32 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/swiper/swiper_test3_page.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6f5734ea6f16a9bed6a803ecbe422d5a1f144091fb7bbb3a8b6d1694feaf4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/demos/dragSort/listview_drag_sort_page.dart:52-62 | lib/demos/dragSort/listview_drag_sort_page2.dart:53-60 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/dragSort/listview_drag_sort_page.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d810d9db1cb83d52372aefbb8a79f50fbf6b983f222ee28eacc6a3713698c738"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/demos/route_test_page/pass_value_page2.dart:19-28 | lib/demos/route_test_page/pass_value_page3.dart:18-28 \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/demos/route_test_page/pass_value_page2.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"914892f8eab2ca2204661df24ab4a6fff4ed066410025f3858943d524ea15caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): lib/demos/http/http_page_test_model.dart:20-27 | lib/demos/listView/listview_group_model.dart:38-43 | lib/demos/listView/listview_test_custom_cell.dart:15-22 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/http/http_page_test_model.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c8824932491b5bdbca6c36f5857f8f58376c41f2c45fcd1af73d8567201a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): lib/demos/chart/echarts/echart_page1.dart:24-97 | lib/demos/chart/echarts/echart_page2.dart:55-138 \u2014 These two members are one piece of code written twice and then edited apart: 74 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/demos/chart/echarts/echart_page1.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"031d15bd766f7bf8850c0d909323d38563caba3cb5532c452914501291a0b103"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/demos/base/empty_demo_list_page.dart:61-70 | lib/demos/ui/grammar_test_page.dart:46-52 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/base/empty_demo_list_page.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9d1f692095911d080bb68b9882c9003636ab9046bdb51944735ac8a438a815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69\u201376 lines \u00D7 2): lib/demos/chart/echarts/echart_page3.dart:101-176 | lib/demos/chart/echarts/echart_page4.dart:253-321 \u2014 before extracting anything, compare \u0060lib/demos/chart/echarts/echart_page3.dart\u0060 and \u0060lib/demos/chart/echarts/echart_page4.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 128 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/demos/chart/echarts/echart_page3.dart:101\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/demos/chart/echarts/echart_page3.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed75990a3fbbd1935d4103a90d33f761e6b9c7037a0ba3c21f32a0a21b235ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): lib/demos/dragSort/listview_drag_sort_page.dart:84-146 | lib/demos/dragSort/listview_drag_sort_page2.dart:88-150 \u2014 before extracting anything, compare \u0060lib/demos/dragSort/listview_drag_sort_page.dart\u0060 and \u0060lib/demos/dragSort/listview_drag_sort_page2.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 120 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/demos/dragSort/listview_drag_sort_page.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"022aeaf6cef8f197a0f8d7a67f4ccbd1f21601ac397627a5e5e6b9051833ff8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): lib/demos/search/search_test4_page.dart:156-199 | lib/demos/search/search_test5_page.dart:158-201 \u2014 before extracting anything, compare \u0060lib/demos/search/search_test4_page.dart\u0060 and \u0060lib/demos/search/search_test5_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 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/demos/search/search_test4_page.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ff0fec6d87456d3c7596faf461489bcd0c92ad2da7f14446f36de54f95dade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/demos/topTabBar/personal_center_page4.dart:60-93 | lib/demos/topTabBar/personal_center_page5.dart:64-97 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page4.dart\u0060 and \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 206 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/demos/topTabBar/personal_center_page4.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"028b3b622fe953ce0dc544631ef5e582d67bf969263d06c7b5f427cbcb734cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201332 lines \u00D7 2): lib/demos/listView/listview_group_page2.dart:139-170 | lib/demos/listView/listview_group_page3.dart:207-235 \u2014 before extracting anything, compare \u0060lib/demos/listView/listview_group_page2.dart\u0060 and \u0060lib/demos/listView/listview_group_page3.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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/demos/listView/listview_group_page2.dart:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_group_page2.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa3086d2fa8e9990238c68ecc154436290edc6ae7f7cccdf581f803bbedf001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): lib/demos/topTabBar/content_page.dart:158-184 | lib/demos/topTabBar/personal_center_page3.dart:269-295 | lib/demos/topTabBar/personal_center_page4.dart:236-262 | lib/demos/topTabBar/personal_center_page5.dart:245-271 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/content_page.dart\u0060 and \u0060lib/demos/topTabBar/personal_center_page3.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/topTabBar/content_page.dart:158\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/demos/topTabBar/content_page.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3606f3cd24a1df682268de22c234b01107d6c8e1d8adcea75c060fb04b3b7b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): lib/demos/chart/echarts/echart_page3.dart:56-80 | lib/demos/chart/echarts/echart_page4.dart:217-240 \u2014 before extracting anything, compare \u0060lib/demos/chart/echarts/echart_page3.dart\u0060 and \u0060lib/demos/chart/echarts/echart_page4.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 128 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/demos/chart/echarts/echart_page3.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7364ec5c34eb42e4cc56dee30d8a3262ac25d104fb8a12ca55d5de79fc8f1133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/demos/search/search_test1_page.dart:43-67 | lib/demos/search/search_test2_page.dart:37-61 \u2014 before extracting anything, compare \u0060lib/demos/search/search_test1_page.dart\u0060 and \u0060lib/demos/search/search_test2_page.dart\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/demos/search/search_test1_page.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d46a8fa476be59611cca9effce966942b39299ad8926c06c9b8921bb6fe29c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): lib/demos/signature/hand_signature_test_page.dart:176-199 | lib/demos/signature/signature_test_page.dart:168-190 \u2014 before extracting anything, compare \u0060lib/demos/signature/hand_signature_test_page.dart\u0060 and \u0060lib/demos/signature/signature_test_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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/demos/signature/hand_signature_test_page.dart:176\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/demos/signature/signature_test_page.dart:167\u0060 calls \u0060_fitExport\u0060 and \u0060lib/demos/signature/hand_signature_test_page.dart:175\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/signature/hand_signature_test_page.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e10dd66dde7cffade9182cb71ac7498dcec04f6373db9bc2319a7d917f59971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/demos/topTabBar/personal_center_page4.dart:176-199 | lib/demos/topTabBar/personal_center_page5.dart:185-208 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page4.dart\u0060 and \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 206 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/demos/topTabBar/personal_center_page4.dart:176\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/personal_center_page4.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aae2013590a5583521adbb74d77c1b3f4eab9655e618d8dc053343108dcb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/demos/dragSort/listview_drag_sort_page.dart:159-180 | lib/demos/dragSort/listview_drag_sort_page2.dart:163-184 \u2014 before extracting anything, compare \u0060lib/demos/dragSort/listview_drag_sort_page.dart\u0060 and \u0060lib/demos/dragSort/listview_drag_sort_page2.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 120 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/demos/dragSort/listview_drag_sort_page.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e625781cdeb8ce91c07827759a93fe3cb0e7fda88ccf097c44fe6740e3dd3c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/demos/other/animation/ball_3d_page3.dart:43-64 | lib/demos/other/animation/ball_3d_page4.dart:43-64 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page4.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 186 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/demos/other/animation/ball_3d_page3.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/animation/ball_3d_page3.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"785fc4715e0542deb658a278bac6ce4aeef3e6bdd7ea28d0bed490ff3613492c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): lib/demos/other/animation/ball_3d_page.dart:188-208 | lib/demos/other/animation/ball_3d_page3.dart:203-223 | lib/demos/other/animation/ball_3d_page4.dart:203-223 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 147 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/demos/other/animation/ball_3d_page.dart:188\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de2005147bbad2a98226848f475c96da9eb01996658d670682c2914845a52ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/demos/base/base_gridview_shimmer_test_page.dart:45-65 | lib/demos/base/base_refresh_view_test_page.dart:65-85 \u2014 before extracting anything, compare \u0060lib/demos/base/base_gridview_shimmer_test_page.dart\u0060 and \u0060lib/demos/base/base_refresh_view_test_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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/demos/base/base_gridview_shimmer_test_page.dart:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/base/base_gridview_shimmer_test_page.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec392e05f209e937d2f41991f0a0dab9058ab5595601da2aac39071a529ae82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): lib/demos/listView/listview_group_page2.dart:95-115 | lib/demos/listView/listview_group_page3.dart:165-181 \u2014 before extracting anything, compare \u0060lib/demos/listView/listview_group_page2.dart\u0060 and \u0060lib/demos/listView/listview_group_page3.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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/demos/listView/listview_group_page2.dart:95\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_group_page2.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a0b0908038ea6025054a9ab9561bd79333b89ac0bb1ea0f4d9e82310f4febc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/demos/search/search_test4_page.dart:134-154 | lib/demos/search/search_test5_page.dart:136-156 \u2014 before extracting anything, compare \u0060lib/demos/search/search_test4_page.dart\u0060 and \u0060lib/demos/search/search_test5_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 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/demos/search/search_test4_page.dart:134\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/demos/search/search_test4_page.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1b6ce2452ca89ae116cd90a92a3df0f2d9640155a71d5452dd4c590ebe4396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): lib/demos/base/base_refresh_view_header_fixed_page.dart:125-144 | lib/demos/search/search_test4_page.dart:201-220 | lib/demos/search/search_test5_page.dart:203-222 \u2014 before extracting anything, compare \u0060lib/demos/base/base_refresh_view_header_fixed_page.dart\u0060 and \u0060lib/demos/search/search_test4_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/base/base_refresh_view_header_fixed_page.dart:125\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/demos/base/base_refresh_view_header_fixed_page.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"291d5843e308af17801983a5f6ac0f39b0baf8b8e2d6c49a379b434ff1af0c48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/demos/gridView/gridview_test2.dart:57-76 | lib/demos/gridView/gridview_test3.dart:59-78 \u2014 before extracting anything, compare \u0060lib/demos/gridView/gridview_test2.dart\u0060 and \u0060lib/demos/gridView/gridview_test3.dart\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/gridView/gridview_test2.dart:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/gridView/gridview_test2.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab9c77000994d6593c965699a3e6233759cb465a22cc17d25a443f1405e8f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/demos/swiper/swiper_test1_page.dart:43-61 | lib/demos/swiper/swiper_test2_page.dart:42-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/swiper/swiper_test1_page.dart:43\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/demos/swiper/swiper_test1_page.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e8e5e6e023370768f2265a5ba6aed60c969231ae8dc77a43f0b9348f5f5ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/demos/topTabBar/personal_center_page1.dart:51-69 | lib/demos/topTabBar/personal_center_page2.dart:56-74 \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/demos/topTabBar/personal_center_page1.dart:51\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/demos/topTabBar/personal_center_page1.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f3a79fbbfc5b5bd5b8152fdf35c1f3dd220b4eec26efb94761adc59b70a9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): lib/demos/base/base_gridview_shimmer_test_page.dart:95-112 | lib/demos/base/base_refresh_view_header_fixed_page.dart:177-194 | lib/demos/base/base_refresh_view_header_follow_page.dart:121-138 | lib/demos/base/base_refresh_view_test_page.dart:107-124 \u2014 before extracting anything, compare \u0060lib/demos/base/base_gridview_shimmer_test_page.dart\u0060 and \u0060lib/demos/base/base_refresh_view_header_fixed_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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/demos/base/base_gridview_shimmer_test_page.dart:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/base/base_gridview_shimmer_test_page.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"672c8cd0ca122a742a1daf214292f760597a83defc116fd90d95102077f86ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/demos/other/animation/ball_3d_page.dart:41-58 | lib/demos/other/animation/ball_3d_page3.dart:52-69 | lib/demos/other/animation/ball_3d_page4.dart:52-69 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 147 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/demos/other/animation/ball_3d_page.dart:41\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f1636d78d357b55114bfbdc6d3aecb1ef1e2a453b5a4e9f801df7dbbf125aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201318 lines \u00D7 2): lib/demos/chart/echarts/echart_page3.dart:82-99 | lib/demos/chart/echarts/echart_page4.dart:242-251 \u2014 before extracting anything, compare \u0060lib/demos/chart/echarts/echart_page3.dart\u0060 and \u0060lib/demos/chart/echarts/echart_page4.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 128 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/demos/chart/echarts/echart_page3.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"09928564950bf0076c955bed1de12d4df35e91782ab708b2c03569d97753deec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/demos/listView/listview_test4.dart:38-64 | lib/demos/listView/listview_test5.dart:38-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/demos/listView/listview_test4.dart:74\u0060 calls \u0060of\u0060 and \u0060lib/demos/listView/listview_test5.dart:68\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/demos/listView/listview_test4.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"098f40d8cdf000036439b61d929d41c5c12fa22ff2678a933c18ac4a76fd74dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/demos/ui/ui_page3.dart:871-887 | lib/demos/ui/ui_page3.dart:892-908 | lib/demos/ui/ui_page3.dart:913-929 \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/demos/ui/ui_page3.dart:871\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/demos/ui/ui_page3.dart"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceaf149ac6537cddf4bd8e0d0ebf0c5ddeb7bc0b9128b0a201c711999749417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/demos/http/http_page_test_header_follow_page.dart:158-174 | lib/demos/http/http_page_test_page.dart:96-112 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/http/http_page_test_header_follow_page.dart:158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/demos/http/http_page_test_header_follow_page.dart:156\u0060 calls \u0060NeverScrollableScrollPhysics\u0060 and \u0060lib/demos/http/http_page_test_page.dart:95\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/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7582633ab178dce15a2d62ad9570a4d15a8a458be572d3c761c727540fc7bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/demos/other/animation/ball_3d_page3.dart:334-350 | lib/demos/other/animation/ball_3d_page4.dart:334-350 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page4.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 186 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/demos/other/animation/ball_3d_page3.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"30661a0da8006de7ba9afb17aa07cd2460e01ad293bfe6dd0dc1a5a1444fc810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/demos/signature/hand_signature_test_page.dart:72-88 | lib/demos/signature/signature_test_page.dart:72-88 \u2014 before extracting anything, compare \u0060lib/demos/signature/hand_signature_test_page.dart\u0060 and \u0060lib/demos/signature/signature_test_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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/demos/signature/hand_signature_test_page.dart:72\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/demos/signature/hand_signature_test_page.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4053576cd41c6bb42003be8ca986e79a4f4b8cbd308e4ebb5da596a385b05dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/demos/topTabBar/personal_center_page4.dart:145-161 | lib/demos/topTabBar/personal_center_page5.dart:155-171 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page4.dart\u0060 and \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 206 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/demos/topTabBar/personal_center_page4.dart:145\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/demos/topTabBar/personal_center_page4.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4957e2d516c7174b4258ee8703363f903c557fff19b70c393258f4cf1c63fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/demos/ui/ui_page3.dart:610-626 | lib/demos/ui/ui_page3.dart:644-660 \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/demos/ui/ui_page3.dart:610\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/demos/ui/ui_page3.dart"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"4308610b92a47330eec79b6531d91fa5845b2af5f60d5fcd0845c9addb1473be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/demos/base/base_gridview_shimmer_test_page.dart:27-42 | lib/demos/base/base_listview_shimmer_test_page.dart:27-42 \u2014 before extracting anything, compare \u0060lib/demos/base/base_gridview_shimmer_test_page.dart\u0060 and \u0060lib/demos/base/base_listview_shimmer_test_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/base/base_gridview_shimmer_test_page.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8464dc06838e69c68586c4eb236cffe77cebf5767a33c57fdf76badc14e48636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/demos/search/search_test1_page.dart:26-41 | lib/demos/search/search_test2_page.dart:20-35 \u2014 before extracting anything, compare \u0060lib/demos/search/search_test1_page.dart\u0060 and \u0060lib/demos/search/search_test2_page.dart\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/search/search_test1_page.dart:26\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/demos/search/search_test1_page.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4853dc5878a4bece5ed4a5f13771cddae54fe7f2e07c239eb541768fdbe488e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/demos/signature/hand_signature_test_page.dart:90-105 | lib/demos/signature/signature_test_page.dart:90-105 \u2014 before extracting anything, compare \u0060lib/demos/signature/hand_signature_test_page.dart\u0060 and \u0060lib/demos/signature/signature_test_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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/demos/signature/hand_signature_test_page.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"463dee78c23cdf977d204be8deb229f44c89e73d6427ca32b7b679d05c0d8a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/demos/signature/hand_signature_test_page.dart:108-123 | lib/demos/signature/signature_test_page.dart:108-123 \u2014 before extracting anything, compare \u0060lib/demos/signature/hand_signature_test_page.dart\u0060 and \u0060lib/demos/signature/signature_test_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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/demos/signature/hand_signature_test_page.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"441717d11de2ae6abee54ba4136957af0918854aee9752200b750fceec50dea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/demos/base/base_refresh_view_header_fixed_page.dart:73-87 | lib/demos/search/search_test4_page.dart:99-113 \u2014 before extracting anything, compare \u0060lib/demos/base/base_refresh_view_header_fixed_page.dart\u0060 and \u0060lib/demos/search/search_test4_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/search/search_test4_page.dart:99\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/demos/base/base_refresh_view_header_fixed_page.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa28da7ed904ab0ec173ae06756aefc661cfac2e9c48e5e16f533a35b67da983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): lib/demos/form/form_input_cell_test_page.dart:47-61 | lib/demos/form/form_test_page.dart:28-40 \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/demos/form/form_input_cell_test_page.dart:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/demos/form/form_input_cell_test_page.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd1ade911928789a282fa576fe264488a73de3580211d30ecbb266550d36fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/demos/route_test_page/pass_value_page.dart:35-49 | lib/demos/route_test_page/route_test_page1.dart:110-124 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/route_test_page/pass_value_page.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ea175ffecd48faee9ab2750b44859375ee2c49b890382e0d8aa9d3df0b6077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/demos/search/search_test4_page.dart:115-129 | lib/demos/search/search_test5_page.dart:117-131 \u2014 before extracting anything, compare \u0060lib/demos/search/search_test4_page.dart\u0060 and \u0060lib/demos/search/search_test5_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 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/demos/search/search_test4_page.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6095a0d0de0afe658ef7f469c50c3082ae6c8d645bde0da0f3b7484b3734ae7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): lib/demos/base/base_gridview_shimmer_test_page.dart:78-91 | lib/demos/base/base_listview_shimmer_test_page.dart:63-76 | lib/demos/base/base_refresh_view_header_fixed_page.dart:160-173 | lib/demos/base/base_refresh_view_header_follow_page.dart:104-117 \u2014 before extracting anything, compare \u0060lib/demos/base/base_gridview_shimmer_test_page.dart\u0060 and \u0060lib/demos/base/base_listview_shimmer_test_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/base/base_gridview_shimmer_test_page.dart:78\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/demos/base/base_gridview_shimmer_test_page.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdb03ffa6689d943c6d44df7bc76a84aff37b0a00c3e49deb01e590e6f916be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/demos/other/animation/ball_3d_page.dart:26-39 | lib/demos/other/animation/ball_3d_page3.dart:37-50 | lib/demos/other/animation/ball_3d_page4.dart:37-50 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 147 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/demos/other/animation/ball_3d_page.dart:26\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/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c03cc2948a19d6a03e26e9a80fd6f51bc73712b3cca718d9ea47121057b8ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/demos/chart/graphic/graphic_pie_page.dart:88-101 | lib/demos/chart/graphic/graphic_pie_page.dart:127-139 \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/demos/chart/graphic/graphic_pie_page.dart:88\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/demos/chart/graphic/graphic_pie_page.dart:102\u0060 calls \u0060LinearScale\u0060 and \u0060lib/demos/chart/graphic/graphic_pie_page.dart:140\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/chart/graphic/graphic_pie_page.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"50265608a24917c6f2fd9dd1a876d6224b05142b0068e66370ba8c52915f8b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/demos/dragSort/listview_drag_sort_page.dart:68-80 | lib/demos/dragSort/listview_drag_sort_page2.dart:70-83 \u2014 before extracting anything, compare \u0060lib/demos/dragSort/listview_drag_sort_page.dart\u0060 and \u0060lib/demos/dragSort/listview_drag_sort_page2.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 120 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/demos/dragSort/listview_drag_sort_page.dart:68\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/demos/dragSort/listview_drag_sort_page.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e9fca69fd57589a73802eb93306e597af7b4c6fbb29ab58c98297a72fb4cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/demos/listView/listview_test3.dart:65-78 | lib/demos/listView/listview_test_custom_cell.dart:43-55 \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/demos/listView/listview_test3.dart:65\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/demos/listView/listview_test3.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"03056c1c9372cfb7d35ef87e37503b52b39f93ae400a843169873fa2fc959123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/demos/ui/ui_page3.dart:297-310 | lib/demos/ui/ui_page3.dart:324-337 \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/demos/ui/ui_page3.dart:297\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/demos/ui/ui_page3.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a792fa7b3fa0006cc1e46c20d98d0193f49b082d65e428c9db97b75cfcd3bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): lib/demos/topTabBar/personal_center_page1.dart:45-57 | lib/demos/topTabBar/personal_center_page2.dart:50-62 | lib/demos/topTabBar/personal_center_page3.dart:184-195 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/topTabBar/personal_center_page1.dart:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/demos/topTabBar/personal_center_page1.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f889b5de089a310ee30990dc96dc78f68e845813ceeec87faf277de04e0ba329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/demos/base/base_refresh_view_header_fixed_page.dart:35-47 | lib/demos/base/base_refresh_view_header_follow_page.dart:29-41 \u2014 before extracting anything, compare \u0060lib/demos/base/base_refresh_view_header_fixed_page.dart\u0060 and \u0060lib/demos/base/base_refresh_view_header_follow_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 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/demos/base/base_refresh_view_header_fixed_page.dart:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/demos/base/base_refresh_view_header_fixed_page.dart:48\u0060 calls \u0060PreferredSize\u0060, \u0060fromHeight\u0060, \u0060_header\u0060 and \u0060lib/demos/base/base_refresh_view_header_follow_page.dart:42\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/demos/base/base_refresh_view_header_fixed_page.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dde02a85bf96a39b65a94e209783d25d54d71612a6fc69c6fa53781b9fe6c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/demos/http/http_page_test_header_follow_page.dart:231-243 | lib/demos/http/http_page_test_header_follow_page.dart:254-266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/http/http_page_test_header_follow_page.dart:231\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/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec098373e5fdda0cba9227a60d0d0d0b714ad9850302bf41fdfb8576e6b1716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): lib/demos/http/http_page_test_header_follow_page.dart:46-57 | lib/demos/http/http_page_test_page.dart:37-48 | lib/demos/topTabBar/content_page.dart:78-89 | lib/demos/topTabBar/personal_center_page4.dart:95-106 | lib/demos/topTabBar/personal_center_page5.dart:99-110 \u2014 before extracting anything, compare \u0060lib/demos/http/http_page_test_header_follow_page.dart\u0060 and \u0060lib/demos/topTabBar/content_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/http/http_page_test_header_follow_page.dart:46\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/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e15fc8a4900ae8620d396764a8e41961530a7c63ee4ae23fafe34538e594aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/demos/chart/graphic/graphic_pie_page.dart:61-72 | lib/demos/chart/graphic/graphic_pie_page.dart:134-145 \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/demos/chart/graphic/graphic_pie_page.dart:61\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/demos/chart/graphic/graphic_pie_page.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d472398f0723495bf0cd4e05b3d3193049957f01f93fabba3328643ad6b90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): lib/demos/signature/hand_signature_test_page.dart:125-136 | lib/demos/signature/signature_test_page.dart:125-134 \u2014 before extracting anything, compare \u0060lib/demos/signature/hand_signature_test_page.dart\u0060 and \u0060lib/demos/signature/signature_test_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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/demos/signature/hand_signature_test_page.dart:125\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/demos/signature/hand_signature_test_page.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eefa7498a6357442f842cc7a326b93eb036337f5c5d0f44d82d734943a2bba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/demos/dragSort/listview_drag_sort_page.dart:20-30 | lib/demos/dragSort/listview_drag_sort_page2.dart:21-31 \u2014 before extracting anything, compare \u0060lib/demos/dragSort/listview_drag_sort_page.dart\u0060 and \u0060lib/demos/dragSort/listview_drag_sort_page2.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 120 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/demos/dragSort/listview_drag_sort_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be79b3e65d23acbf36d88531c262479e06576248d8bbbf96ccc2fed13f02502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/demos/listView/listview_group_page2.dart:77-87 | lib/demos/listView/listview_group_page3.dart:135-145 \u2014 before extracting anything, compare \u0060lib/demos/listView/listview_group_page2.dart\u0060 and \u0060lib/demos/listView/listview_group_page3.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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/demos/listView/listview_group_page2.dart:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_group_page2.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6d68a136dfd24fe99653481aa7e191a84fe55e63adae6e03094d2ef47388b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/demos/ui/ui_page3.dart:670-680 | lib/demos/ui/ui_page3.dart:685-694 \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/demos/ui/ui_page3.dart:685\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/demos/ui/ui_page3.dart"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"15aa2fd0a083cb3bc51b9bea86607b88085953a501bba25648ee2fd7f813506e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): lib/demos/base/base_gridview_shimmer_test_page.dart:93-102 | lib/demos/base/base_listview_shimmer_test_page.dart:78-87 | lib/demos/base/base_refresh_view_header_fixed_page.dart:175-184 | lib/demos/base/base_refresh_view_header_follow_page.dart:119-128 | lib/demos/base/base_refresh_view_test_page.dart:105-114 \u2014 before extracting anything, compare \u0060lib/demos/base/base_gridview_shimmer_test_page.dart\u0060 and \u0060lib/demos/base/base_listview_shimmer_test_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/base/base_gridview_shimmer_test_page.dart:93\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/demos/base/base_gridview_shimmer_test_page.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3f7135f44a5907c3a4661d31adf06ecf0d00493ee94fc495868dd50a66ecd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/demos/form/form_select_cell_test_page.dart:31-40 | lib/demos/form/form_test_page.dart:62-73 \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/demos/form/form_select_cell_test_page.dart:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/form/form_select_cell_test_page.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ba6b6721deb50b4f595dbde40248c937ba15a1fcf6228b0e5adad9cd13a84c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/demos/listView/listview_group_page.dart:35-44 | lib/demos/listView/listview_group_page2.dart:48-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/demos/listView/listview_group_page.dart:35\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/demos/listView/listview_group_page2.dart:47\u0060 calls \u0060getRandomInt\u0060, \u0060toString\u0060 and \u0060lib/demos/listView/listview_group_page.dart:34\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_group_page.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"272b0ee505826685bab7936caa55ea7770fa6b83bbe19922baca3e240749d820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/demos/listView/listview_group_page2.dart:172-181 | lib/demos/listView/listview_group_page3.dart:237-245 \u2014 before extracting anything, compare \u0060lib/demos/listView/listview_group_page2.dart\u0060 and \u0060lib/demos/listView/listview_group_page3.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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/demos/listView/listview_group_page2.dart:172\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/demos/listView/listview_group_page2.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d64b3d298493d8be639aa3a5bb95d6693bef1489859e79c9463f19203c4da32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/demos/topTabBar/top_tabbar_test2_page.dart:41-50 | lib/demos/topTabBar/top_tabbar_test3_page.dart:62-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/top_tabbar_test2_page.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0201419c6a15337416f15f88d09a04a7f3560cd85abe1a7196686f92fb04ba79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/demos/chart/graphic/graphic_pie_page.dart:67-75 | lib/demos/chart/graphic/graphic_pie_page.dart:103-111 \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/demos/chart/graphic/graphic_pie_page.dart:67\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/demos/chart/graphic/graphic_pie_page.dart:102\u0060 calls \u0060LinearScale\u0060 and \u0060lib/demos/chart/graphic/graphic_pie_page.dart:66\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/chart/graphic/graphic_pie_page.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"caabe66415405f52553ba7404ebd607214c1a4ff2983c41f2a7df397070d2929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/demos/form/form_validate_page.dart:172-180 | lib/demos/form/form_validate_page.dart:186-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/demos/form/form_validate_page.dart:172\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/demos/form/form_validate_page.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffce7cc497367baa8826293a4c0dc9db16ee18f2d1af15b8b87ea7282f1049a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/demos/other/red_dot_page.dart:44-52 | lib/demos/other/red_dot_page.dart:127-134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/other/red_dot_page.dart:44\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/demos/other/red_dot_page.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db18d722813b3ae1594bd4081267f2458c5367742287ec31175844b7d6e89f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/demos/search/search_test4_page.dart:34-42 | lib/demos/search/search_test5_page.dart:38-46 \u2014 before extracting anything, compare \u0060lib/demos/search/search_test4_page.dart\u0060 and \u0060lib/demos/search/search_test5_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 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/demos/search/search_test4_page.dart:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/search/search_test4_page.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f735cbd73437e496e9b3687cbdba1cf5d14e6ecf1b327977cfe8df0ac3d94f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/demos/alert/dialog_test_page.dart:222-230 | lib/demos/alert/dialog_test_page.dart:259-266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/alert/dialog_test_page.dart:222\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/demos/alert/dialog_test_page.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eea53a6e19b79a3529d51c0c3bc6062ca142f98571d30ef0fc3a7d0e6e51cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/demos/form/form_input_cell_test_page.dart:132-139 | lib/demos/form/form_input_cell_test_page.dart:149-156 \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/demos/form/form_input_cell_test_page.dart:132\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/demos/form/form_input_cell_test_page.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1fe76ea9fe44d4c2cf80dcf0b785fac2ac2e1126c8841e98ae711abfd879e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/demos/http/http_page_test_header_follow_page.dart:103-110 | lib/demos/topTabBar/content_page.dart:116-123 \u2014 before extracting anything, compare \u0060lib/demos/http/http_page_test_header_follow_page.dart\u0060 and \u0060lib/demos/topTabBar/content_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/demos/http/http_page_test_header_follow_page.dart:103\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/demos/topTabBar/content_page.dart:124\u0060 calls \u0060all\u0060 and \u0060lib/demos/http/http_page_test_header_follow_page.dart:111\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"da683d23d21ecb5cd18b80fb91c762b95a825f292e4dcc63901c97efa3001526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/demos/listView/listview_test_custom_vc.dart:55-62 | lib/demos/search/search_test4_page.dart:133-139 | lib/demos/search/search_test5_page.dart:135-141 \u2014 before extracting anything, compare \u0060lib/demos/search/search_test4_page.dart\u0060 and \u0060lib/demos/search/search_test5_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 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/demos/listView/listview_test_custom_vc.dart:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_test_custom_vc.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a773f3f0bc7ebb61d4901f8c624ac20eb66e26cf4fc6acb3fdc5de494ca40e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 13): lib/demos/alert/alert_demo_list_page.dart:27-36 | lib/demos/components/component_demo_list_page.dart:19-28 | lib/demos/dragSort/drag_sort_demo_list_page.dart:19-28 | lib/demos/form/form_demo_list_page.dart:27-36 | lib/demos/gridView/gridview_demo_list_page.dart:11-21 | lib/demos/http/http_demo_list_page.dart:15-24 | lib/demos/listView/listview_demo_list_page.dart:37-46 | lib/demos/other/animation/animation_demo_list_page.dart:29-38 | lib/demos/search/search_demo_list_page.dart:18-27 | lib/demos/signature/signature_demo_list_page.dart:17-26 | lib/demos/swiper/swiper_demo_list_page.dart:29-38 | lib/demos/topTabBar/top_tabbar_demo_list_page.dart:31-40 | lib/demos/ui/ui_demo_list_page.dart:11-20 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 13 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 13 times. 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/demos/alert/alert_demo_list_page.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaeabf0c91693fef79f3ebe75fb87f98f0e366df85ae68732c1cf59d5441cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/demos/base/base_gridview_shimmer_test_page.dart:18-25 | lib/demos/base/base_listview_shimmer_test_page.dart:18-25 | lib/demos/base/base_refresh_view_header_fixed_page.dart:26-33 | lib/demos/base/base_refresh_view_header_follow_page.dart:20-27 \u2014 before extracting anything, compare \u0060lib/demos/base/base_gridview_shimmer_test_page.dart\u0060 and \u0060lib/demos/base/base_listview_shimmer_test_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/base/base_gridview_shimmer_test_page.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a076391e76dcea89b09b68b32ab057c5e8402baf599efe43ecf2ab6a4e8eafd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/demos/base/base_refresh_view_header_fixed_page.dart:196-207 | lib/demos/search/search_test4_page.dart:51-63 \u2014 before extracting anything, compare \u0060lib/demos/base/base_refresh_view_header_fixed_page.dart\u0060 and \u0060lib/demos/search/search_test4_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/base/base_refresh_view_header_fixed_page.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6ed34d0e493c7dadebe7da878894f0341d54e53bbdcc33ac6a07ec613d25d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): lib/demos/base/base_refresh_view_header_follow_page.dart:58-65 | lib/demos/http/http_page_test_header_follow_page.dart:135-142 | lib/demos/topTabBar/content_page.dart:149-156 | lib/demos/topTabBar/personal_center_page3.dart:260-267 | lib/demos/topTabBar/personal_center_page4.dart:227-234 | lib/demos/topTabBar/personal_center_page5.dart:236-243 \u2014 before extracting anything, compare \u0060lib/demos/http/http_page_test_header_follow_page.dart\u0060 and \u0060lib/demos/topTabBar/content_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/demos/base/base_refresh_view_header_follow_page.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"88778febbe03fd0b51e8a38cd685dd440cfd4b0ed714ff17329b00ecfa079a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/demos/chart/echarts/echart_page2.dart:18-26 | lib/demos/chart/echarts/echart_page3.dart:46-54 | lib/demos/chart/echarts/echart_page4.dart:207-215 \u2014 before extracting anything, compare \u0060lib/demos/chart/echarts/echart_page3.dart\u0060 and \u0060lib/demos/chart/echarts/echart_page4.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 128 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/demos/chart/echarts/echart_page2.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1e920a27e46bbe6ebd3d70a5e801dba8768deb38de230164e40bdc5199010d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/demos/components/collapse_view_test_page.dart:17-24 | lib/demos/components/slide_menu_test_page.dart:113-120 | lib/demos/components/tag_view_test_page.dart:13-20 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/components/collapse_view_test_page.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a76da39b3f8a3392e591b14b7efcf98ff80d81a5ef35d2faeb7ea56f982656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/demos/dragSort/listview_drag_sort_page.dart:148-157 | lib/demos/dragSort/listview_drag_sort_page2.dart:152-161 \u2014 before extracting anything, compare \u0060lib/demos/dragSort/listview_drag_sort_page.dart\u0060 and \u0060lib/demos/dragSort/listview_drag_sort_page2.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 120 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/demos/dragSort/listview_drag_sort_page.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ecedc6fa34f357f17044bd3f9d87fa152518f5e80a586b6b5d19e8ac1ea39c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): lib/demos/http/http_page_test_header_follow_page.dart:122-133 | lib/demos/topTabBar/content_page.dart:136-147 | lib/demos/topTabBar/personal_center_page3.dart:247-258 | lib/demos/topTabBar/personal_center_page4.dart:214-225 | lib/demos/topTabBar/personal_center_page5.dart:223-234 \u2014 before extracting anything, compare \u0060lib/demos/http/http_page_test_header_follow_page.dart\u0060 and \u0060lib/demos/topTabBar/content_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/demos/http/http_page_test_header_follow_page.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe03c25a37e7a3b874bad7955c9c439a84acc0a7e84b814b6c523981ad41ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/demos/other/animation/ball_3d_page.dart:174-179 | lib/demos/other/animation/ball_3d_page3.dart:185-190 | lib/demos/other/animation/ball_3d_page4.dart:185-190 \u2014 before extracting anything, compare \u0060lib/demos/other/animation/ball_3d_page.dart\u0060 and \u0060lib/demos/other/animation/ball_3d_page3.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 147 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/demos/other/animation/ball_3d_page.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a951a2b2f89828ca651b2fc0d18ff051a9e004f3086e62010ccedb8f8a4595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/demos/other/sideslip_test_page.dart:11-17 | lib/demos/route_test_page/pass_value_page.dart:15-21 | lib/demos/route_test_page/route_test_page1.dart:87-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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/demos/other/sideslip_test_page.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30b5af11195e2e24669250baf5b5d507cdc3f1d07e566d28cf6a49ba994b129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/demos/route_test_page/pass_value_page.dart:146-151 | lib/demos/route_test_page/route_demo_list_page.dart:31-36 | lib/demos/route_test_page/route_test_page1.dart:130-135 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/route_test_page/pass_value_page.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b27aa156ab0b52b2dda7a3dae2ca497fbf229d4012deb8bac5f26ac55a4ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/demos/search/search_test4_page.dart:65-75 | lib/demos/search/search_test5_page.dart:73-83 \u2014 before extracting anything, compare \u0060lib/demos/search/search_test4_page.dart\u0060 and \u0060lib/demos/search/search_test5_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 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/demos/search/search_test4_page.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"628cf20b8b310b3c45756434859af2348328ac5193180d255afcdf53129ed426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/demos/signature/hand_signature_test_page.dart:52-61 | lib/demos/signature/signature_test_page.dart:49-58 \u2014 before extracting anything, compare \u0060lib/demos/signature/hand_signature_test_page.dart\u0060 and \u0060lib/demos/signature/signature_test_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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/demos/signature/hand_signature_test_page.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcb49d88ce46a6de0d531bc6e38bd5a6b890d1d4be0711b2f3f82694e01248e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/demos/topTabBar/personal_center_page4.dart:43-51 | lib/demos/topTabBar/personal_center_page5.dart:47-55 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page4.dart\u0060 and \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/demos/topTabBar/personal_center_page5.dart:45\u0060 calls \u0060IndicatorStateListenable\u0060 and \u0060lib/demos/topTabBar/personal_center_page4.dart:41\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/personal_center_page4.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56b14a71a90405f006b49709570a5e5653f6ffea09fc355c05fd427be07f431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/demos/topTabBar/personal_center_page4.dart:201-212 | lib/demos/topTabBar/personal_center_page5.dart:210-221 \u2014 before extracting anything, compare \u0060lib/demos/topTabBar/personal_center_page4.dart\u0060 and \u0060lib/demos/topTabBar/personal_center_page5.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 206 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/demos/topTabBar/personal_center_page4.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc69394af54f62d9ea2bd70060c0a187f2995e783b596e4a5361c05804f2e4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/demos/topTabBar/top_tabbar_test1_page.dart:31-45 | lib/demos/topTabBar/top_tabbar_test2_page.dart:21-35 | lib/demos/topTabBar/top_tabbar_test4_page.dart:21-35 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/topTabBar/top_tabbar_test1_page.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"318df0ee03963c14b80af3af381aa6a5a1b0b8b9986f2624cf76a0a549e36211"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NinePictureAllScreenShow (LCOM4 5): NinePictureAllScreenShow\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_photo_allscreen_show2.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6338245e6ab4702fe3e7f35d0f3aa0e9b1782db69bcaf69266e1166871fd09"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _RouteTestPage1State (LCOM4 4): _RouteTestPage1State\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/demos/route_test_page/route_test_page1.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bde239bb9656ada8e7a1f711a1f65fa7e6fdd5c9266608f7a43a9776af0265b"}},{"ruleId":"D13","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":"fece2a2ec5ad65c6c06ecf404f8e2111746c56ffa1187bd7df34967d5a551a41"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D16","level":"warning","message":{"text":"bus factor 1 \u2014 one contributor carries this repository: 2 contributor(s) have commits in this repository (automation and bot accounts excluded), but the commits of a single one of them cover most of its history \u2014 95% of the 127 commit(s) sampled \u2014 so the number of people who actually carry it is 1. This is not the ambient state of a solo project: there ARE other contributors, and if the one who carries the repository becomes unavailable, the knowledge behind most of its history goes with them. Spread the next changes deliberately \u2014 have a second contributor review or pair on them \u2014 and write down the parts only one person can currently change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a99f114ab4dfee37ae0bf0665b44c7468d85b809d361949e2b6258101fa1e5a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 17 files: The identical TodoComment appears in 17 files (17 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 17 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO: \u901A\u8FC7ThemeProvider\u8FDB\u884C\u4E3B\u9898\u7BA1\u7406\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/base_appbar.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e9d7b5006ecdf7c3a719981e462b74d46b6f3a30c0c2e59cb1e13bade346fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 44 files: The identical TodoComment appears in 44 files (45 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 45 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/main.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e54176db426f01fb580d55999eea716d7ac7a2709b73c847f0a7def6b84933"}},{"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/project/routes/app_route_observer.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60c7d36b6be6bbf57e43a40d0369d743e22990908a96e0f2749dc96830a4c2c"}},{"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/demos/route_test_page/route_test_page1.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2534a258c1aa1304c011aee31e27a6a613a363a8b97d68e8b9e3b01fe3c9cd6d"}},{"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/project/routes/app_route_observer.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c0e917d420e0f2b42fa82ce91762cae8b82548bbe499954139c62b215ed2af"}},{"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/project/login/pages/login_page.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d1ed68c30e8d0133f39861828386d29ede181da44ed74a3ab26b4ce729c1ae"}},{"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/jh_common/jh_form/jh_login_text_field.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"39194a2b37d91577f2a6506c8126992a5631d573f25c7edf767530aa3af6ff4e"}},{"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/jh_common/jh_form/jh_text_field.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fd0500a2d906e2883883b84138c8e9b577bbc63bb73a8e1c0d196463294895"}},{"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/demos/route_test_page/route_test_page1.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63ccdb1c904145edf7ee2cbb622b6dbe6b217dcaa159e80735986d54dbef8ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement buildWidget \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/project/new_feature/full_screen_swiper_widget.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f996b8644d443197ab00c35d575126432de8d0b604884d4f82d5ab8f23811238"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u9879\u76EE\u4E2D\u5206\u9875\u90FD\u7528\u7684\u540C\u4E00\u4E2A\u63A5\u53E3\uFF0C\u6240\u4EE5\u4E0A\u62C9\u52A0\u8F7D\u5B8C\u6210\u72B6\u6001\u5224\u65AD\u6309\u540C\u4E00\u79CD\u65B9\u5F0F\u5904\u7406 \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/jh_common/widgets/base_refresh_view.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbd262bf6e7b9b7f6116f889af96f8605029270ac60720f684f74e02c4e0306"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle this case. \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/jh_common/widgets/gradient_appbar.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4b677a6b86db923c7daf27bd857a1e1051261fac3efa230e5c281c721f39d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle this case. \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/jh_common/widgets/gradient_appbar.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1622220dfe912580087ee1f58681efa141fdc7f8ea55af87a5c66fe53168a3e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle this case. \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/jh_common/widgets/gradient_appbar.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"63752f5635a7fcd21a8a9dfdb1c2e431404f527db185e63cccc21259c8a7c99e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle this case. \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/jh_common/widgets/gradient_appbar.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a041caf6c983656c5d03b1fe7c6a829839ccde3d25bd1bfaa10ec1bec7cb6458"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle this case. \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/jh_common/widgets/gradient_appbar.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0c0aaf1e5d29603fe6391acfeaa64388baf93eed8db44c6be9498e61a42aac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle this case. \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/jh_common/widgets/gradient_appbar.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"231ca353defb2fff9ddf3a88e73fb888dc00d7046ac23a96330935db15bdec8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement didUpdateWidget \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_collapse_view.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"de417200dfdf662fd9be568407c0ab01ea3af92e24447748506e04f166e43c3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement didUpdateWidget \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_pulse_animation_view.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"793cf2f2883d943b22ffe6a694ee7ffa0c4475030b0d873aa296103517d2ffc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement didUpdateWidget \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_scale_animation_view.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ff2fffedd76c77146ee97f6eb295fe0a2ed218fb521685f781d30c1ef55c92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement didUpdateWidget \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_scale_animation_view2.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5122e877b0234f0d2f58ed06a62d8d1242600d3eac3d56df1b1ac6771afff176"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement didUpdateWidget \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/widgets/jh_shake_animation_view.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c6c404ac54122f4094d2469c9f678fa680168d5b5c1ad051f5a37bd534bc95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement didUpdateWidget \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/jh_form/jh_login_text_field.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2066e5d9de3e7546059295a94a570a75d6f0d480806b7cb9a30258a0441fe0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement didUpdateWidget \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/jh_form/jh_text_field.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0533f11c119bf318aaa1c6ce31994a0eec769a4a0eaa9806dc1f3e30a945461"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     // TODO: implement initState \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/jh_common/widgets/jh_photo_picker.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b697fe467da3fd7e8c6cf8740831426323ab8127caf539dcc3291655a3cdf005"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     // TODO: implement initState \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/jh_common/widgets/jh_photo_picker2.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62aad050ae54b66c9035fbd3f795ef22711c244adfd24f270ef3925d6f8ef6e"}},{"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/jh_common/widgets/jh_photo_picker.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fdc4e8695ccd79dd5f3fd47a1d2667a68beb38bd960ae413364a5ee02a7272"}},{"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/jh_common/widgets/jh_tabbar.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32059c99cd3ad3d852cd3905618ac805cd0a65d66a1fff505535f6cdf8399c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement build \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/demos/listView/listview_test_card.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1d54d5b7c44e25788312bfbcf2e04b2f48d563bcf61ba3d43689ed35004fa7"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (42408 LoC, 413 module-visible types across 55 directories) overshoots its size bounds. 1 of 2 build unit(s) (Gradle, pub) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9fee3010c053c10733ebad6b156234032ce361c46f8c03bb63f2bdc3c8adbd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3099993dd2de79492c67723173d4260fd12974a53c270e8f9fd8296251df1660"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"9434f4c854396ad2445939fad70ef6d087e257a18ff13a35e042ce80837529d1"},"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":"477a9aa0cea874953787fcf48e94ad57a2f96b11e21bde7c479c3cbfe1db0973"},"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":"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":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060android/app/build.gradle\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/build.gradle"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad662af1302d0b0cd9c8eb340e0467f381e386c855803db76d90d42612ff59e6"}},{"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":"error","message":{"text":"TLS certificate validation disabled: \u0060badCertificateCallback\u0060 returning \u0060true\u0060 is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the callback so \u0060dart:io\u0060 validates the peer. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: load its CA into a \u0060SecurityContext\u0060 (\u0060setTrustedCertificatesBytes\u0060) and pass it as \u0060HttpClient(context: \u2026)\u0060 / \u0060SecureSocket.connect(\u2026, context: \u2026)\u0060, which keeps the chain and hostname checks on. A callback that must exist should compare the presented certificate with a pinned fingerprint, never return \u0060true\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/http/dio_utils.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be20559992f5c3e1fd2eb44516a86a22df5daa1964b0d79c18a474c43ee8d2d"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060badCertificateCallback\u0060 returning \u0060true\u0060 is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the callback so \u0060dart:io\u0060 validates the peer. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: load its CA into a \u0060SecurityContext\u0060 (\u0060setTrustedCertificatesBytes\u0060) and pass it as \u0060HttpClient(context: \u2026)\u0060 / \u0060SecureSocket.connect(\u2026, context: \u2026)\u0060, which keeps the chain and hostname checks on. A callback that must exist should compare the presented certificate with a pinned fingerprint, never return \u0060true\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/http/dio_utils.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73e79b28cc5b5b31d0a485ab7fa44aacfdee48a6ae078207ca10355ecbe33aa"}},{"ruleId":"S1","level":"error","message":{"text":"Cryptographic key material is a compile-time constant: \u0060_key\u0060 is the symmetric cipher key and is a compile-time constant, so the secret this operation depends on is published with the source. A key that ships with the source is not secret: every contributor, fork, mirror and released binary carries it, so anyone holding the repository can decrypt what any installation encrypted, and there is no way to invalidate what was already protected because every deployment built from this source shares the value. Where the constant is a password salt the consequence differs but is no smaller \u2014 one global salt means precomputation amortises across every installation, which is the property salting exists to destroy. Read the value from configuration, an environment variable or a secrets manager at startup and FAIL FAST when it is absent, so a missing key stops the process instead of silently falling back to a shared default; treat the committed value as disclosed and rotate it rather than only deleting the line. For a salt, generate a fresh random one per password and store it alongside the hash."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jh_common/utils/jh_encrypt_utils.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c246598a6a724542a9515431446fe2c7fba23e6fb78f8401e23b03d9886bf1"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://unpkg.com/@zxing/library@0.19.1\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/index.html"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e0c1eeacccdcd8e7d8e903fd400ff304fb2db41e062071e8346f109d98fad7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_chewieController != null \u0026\u0026 _chewieController!.videoPlayerController.value.isInitialized\u0060 appears character-identically in 3 files \u2014 lib/jh_common/widgets/jh_media_browser.dart, lib/jh_common/widgets/jh_media_browser2.dart, lib/jh_common/widgets/jh_media_browser3.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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d019f9cad1764eac616ac85dd57bfa830d77d6f0fe63b4f9f0bc40ec41a419"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060details.primaryDelta != null \u0026\u0026 details.primaryDelta! \u003E 16\u0060 appears character-identically in 3 files \u2014 lib/jh_common/widgets/jh_media_browser.dart, lib/jh_common/widgets/jh_media_browser2.dart, lib/jh_common/widgets/jh_media_browser3.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/jh_common/widgets/jh_media_browser.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbed7ae674071d65aab462e88775e2cffbb5932290aa14e775e413504beed2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.showRedStar == false \u0026\u0026 widget.title.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/jh_common/jh_form/jh_form_input_cell.dart, lib/jh_common/jh_form/jh_form_select_cell.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/jh_common/jh_form/jh_form_input_cell.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8fb64b5a0ba0643870870c057354055fbccda2713e662d2d174a0abfbc88d1"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_FullScreenSwiperWidgetState\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 14, \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/project/new_feature/full_screen_swiper_widget.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f689235788a06e7647483b7f937624161b38ea63c77ed5bac0f7ce6268fdea8a"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_FindPwdPageState\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_nameController\u0060 itself (line 17, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_nameController.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_nameController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/login/pages/find_pwd_page.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"017b77d65de3cd951cb10201f9e58eabaac4721e462af2aec9bfac6237443bf1"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_FindPwdPageState\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_pwdController\u0060 itself (line 18, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_pwdController.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_pwdController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/login/pages/find_pwd_page.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"137b9c63bfc07cdb77f1de5bbc380edd29eb27f90bac1a6ff110c1ab7f5aec11"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_LoginPageState\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_nameController\u0060 itself (line 33, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_nameController.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_nameController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/login/pages/login_page.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dac13ba7b36f020c051c622010e678ea1616a4b35718cde7eaf347b4e1354de"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_LoginPageState\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_passwordController\u0060 itself (line 34, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_passwordController.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_passwordController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/login/pages/login_page.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"69352d6906bc4074c3d0272f09abe271ea488e817e7885c9b84311b8012327bf"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_RegisterPageState\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_phoneController\u0060 itself (line 18, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_phoneController.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_phoneController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/login/pages/register_page.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e957c14b575924fbcc65230093f28e0a6559bcda801756300a594f2bff06b2be"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_RegisterPageState\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_codeController\u0060 itself (line 19, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_codeController.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_codeController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/login/pages/register_page.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c20ccc5eb9f4f0eb3794e0060f2e07a2dc6948f244486cf63931f3523eb13b4"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_RegisterPageState\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_pwdController\u0060 itself (line 20, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_pwdController.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_pwdController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/login/pages/register_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31c0018df0301f7e41c77e7f93d82d70900d5bb903a12777bf69069267aa190"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a CancelToken: Only 2/4 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: _getAPPStoreVersion: \u0060_getAPPStoreVersion\u0060 calls \u0060Dio(\u2026).post(\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/project/four/pages/about_ios_page.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f04cb3ab3958594fc8f94aff053fd8e8ee3c86050e1bead3bbef3a368d67a47"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: androidCheckUpdate: \u0060androidCheckUpdate\u0060 calls \u0060dio.get(\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/jh_common/utils/jh_version_utils.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d1da12effd724d97795d5142662b47f3a8c421fb848bb2fe6492e05b485495"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060tempList\u0060 is enumerated directly, and line 82 calls \u0060tempList.remove(\u2026)\u0060 inside the loop body \u2014 a structural change to a \u0060List\u0060. Dart\u0027s collection iterators check that the collection has not changed since the loop began, so the next \u0060moveNext()\u0060 throws \u0060ConcurrentModificationError\u0060 (an unmodifiable or fixed-length one rejects the change itself with \u0060UnsupportedError\u0060): every pass that reaches this call ends the loop by exception instead of by running out of elements, and the remaining elements are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/two/pages/wx_contacts_page.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1d200844238411f63d86523971f7ad6f3e30b119d0aafa5619cdbdb15feb8b"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060tempList\u0060 is enumerated directly, and line 83 calls \u0060tempList.insert(\u2026)\u0060 inside the loop body \u2014 a structural change to a \u0060List\u0060. Dart\u0027s collection iterators check that the collection has not changed since the loop began, so the next \u0060moveNext()\u0060 throws \u0060ConcurrentModificationError\u0060 (an unmodifiable or fixed-length one rejects the change itself with \u0060UnsupportedError\u0060): every pass that reaches this call ends the loop by exception instead of by running out of elements, and the remaining elements are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/two/pages/wx_contacts_page.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"307d2f35d778d2a05c21741b6985c97606704de6d45671beafb22549c8d878ab"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060dataArr\u0060 is enumerated directly, and line 53 calls \u0060dataArr.remove(\u2026)\u0060 inside the loop body \u2014 a structural change to a \u0060List\u0060. Dart\u0027s collection iterators check that the collection has not changed since the loop began, so the next \u0060moveNext()\u0060 throws \u0060ConcurrentModificationError\u0060 (an unmodifiable or fixed-length one rejects the change itself with \u0060UnsupportedError\u0060): every pass that reaches this call ends the loop by exception instead of by running out of elements, and the remaining elements are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/one/pages/wx_motion_top_page.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"88afa419f23cd9288f748c74fb6ee10d1484334c2bb8541cf06b36d64a9beecc"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060dataArr\u0060 is enumerated directly, and line 54 calls \u0060dataArr.insert(\u2026)\u0060 inside the loop body \u2014 a structural change to a \u0060List\u0060. Dart\u0027s collection iterators check that the collection has not changed since the loop began, so the next \u0060moveNext()\u0060 throws \u0060ConcurrentModificationError\u0060 (an unmodifiable or fixed-length one rejects the change itself with \u0060UnsupportedError\u0060): every pass that reaches this call ends the loop by exception instead of by running out of elements, and the remaining elements are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/project/one/pages/wx_motion_top_page.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce363d2c8cf8fbaaff32c94dceb827dcfa8faf1f8470818be130c730aa75d1cb"}}],"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-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-321","guid":"0ce564a5-a44c-3358-b3db-317712e6e019","name":"Use of Hard-coded Cryptographic Key","shortDescription":{"text":"Use of Hard-coded Cryptographic Key"},"helpUri":"https://cwe.mitre.org/data/definitions/321.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-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":"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/"}]}],"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":4,"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."]}]}