{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"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":"_BezierChartPainter.paint (cyclomatic 48): _BezierChartPainter.paint has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/widgets/bezier_chart/bezier_chart_widget.dart holds 4 of the 7 methods over the threshold \u2014 including the worst \u2014 and 74 of the 82 points over it (90%), 24.7\u00D7 the next-largest file (lib/login/widgets/my_text_field.dart at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"87283b37c35d170aeeeeb6bb64afe04aca4a6569f15e01a50fe246227942de27"}},{"ruleId":"D1","level":"warning","message":{"text":"BezierChartState.build (cyclomatic 38): BezierChartState.build has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/widgets/bezier_chart/bezier_chart_widget.dart holds 4 of the 7 methods over the threshold \u2014 including the worst \u2014 and 74 of the 82 points over it (90%), 24.7\u00D7 the next-largest file (lib/login/widgets/my_text_field.dart at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbaff6df5a62aea9498a12c2475ae4dffdfec6969784b6066a0711dcf407743"}},{"ruleId":"D1","level":"warning","message":{"text":"BezierChartState._computeSeries (cyclomatic 29): BezierChartState._computeSeries has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/widgets/bezier_chart/bezier_chart_widget.dart holds 4 of the 7 methods over the threshold \u2014 including the worst \u2014 and 74 of the 82 points over it (90%), 24.7\u00D7 the next-largest file (lib/login/widgets/my_text_field.dart at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b79a755addbb39c738b6c1e6e785915870cd7f7ce5aa64f1c60eb07e037f3d1"}},{"ruleId":"D1","level":"warning","message":{"text":"BezierChartState._onLayoutDone (cyclomatic 19): BezierChartState._onLayoutDone has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/widgets/bezier_chart/bezier_chart_widget.dart holds 4 of the 7 methods over the threshold \u2014 including the worst \u2014 and 74 of the 82 points over it (90%), 24.7\u00D7 the next-largest file (lib/login/widgets/my_text_field.dart at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"818ef10c3ea402b9960503116c02e6b5b794b2eb0e76bee47437e6bbad2b2a7c"}},{"ruleId":"D1","level":"warning","message":{"text":"_MyTextFieldState.build (cyclomatic 18): _MyTextFieldState.build has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/login/widgets/my_text_field.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da05a6fdfda9bbf9bcfe688bf76c4e414538b7e73cce314a0ff031ede4409ca"}},{"ruleId":"D1","level":"warning","message":{"text":"_FreightConfigPageState._buildItem (cyclomatic 18): _FreightConfigPageState._buildItem has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/shop/page/freight_config_page.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf98b8d9881f0c84b6d49665d732e2c3bb05bdff352a801e63403e73d39617e"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeProvider.getTheme (cyclomatic 17): ThemeProvider.getTheme has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/setting/provider/theme_provider.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4893728a68e7efdbe442c1390d3308c32c112c47d5983d2a7886a3942d363a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"_BezierChartPainter.paint (cognitive 118): _BezierChartPainter.paint has cognitive complexity 118 (threshold 15). Drivers by points: if/else 36 (91 pts), loops 5 (10 pts), ternaries 4 (10 pts), boolean chains 6, error handling 1 (nesting depth added 66). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/widgets/bezier_chart/bezier_chart_widget.dart holds 6 of the 13 methods over the threshold \u2014 including the worst \u2014 and 233 of the 277 points over it (84%), 12.3\u00D7 the next-largest file (lib/net/intercept.dart at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6fd63c04ace59a32ef193b4f76977588ed1cc5a059fe704c4ed4d890898e0a"}},{"ruleId":"D2","level":"warning","message":{"text":"BezierChartState.build (cognitive 71): BezierChartState.build has cognitive complexity 71 (threshold 15). Drivers by points: ternaries 18 (34 pts), if/else 15 (26 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/widgets/bezier_chart/bezier_chart_widget.dart holds 6 of the 13 methods over the threshold \u2014 including the worst \u2014 and 233 of the 277 points over it (84%), 12.3\u00D7 the next-largest file (lib/net/intercept.dart at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0fbcbd125a0fb0c89f420cb65ca1bdb5e26b57a44f975a975072c9dce26b57"}},{"ruleId":"D2","level":"warning","message":{"text":"BezierChartState._computeSeries (cognitive 59): BezierChartState._computeSeries has cognitive complexity 59 (threshold 15). Drivers by points: if/else 20 (36 pts), loops 5 (11 pts), ternaries 3 (9 pts), boolean chains 3 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/widgets/bezier_chart/bezier_chart_widget.dart holds 6 of the 13 methods over the threshold \u2014 including the worst \u2014 and 233 of the 277 points over it (84%), 12.3\u00D7 the next-largest file (lib/net/intercept.dart at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbacd1ba0749b6618e9311b9b4c0039da39a9147607585be2f9e1513ab5659a4"}},{"ruleId":"D2","level":"warning","message":{"text":"AdapterInterceptor.adapterData (cognitive 34): AdapterInterceptor.adapterData has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (29 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 19). 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/net/intercept.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"905fb235f42b085baada75542d2c3dd9fcf57b6f8d9d569684b8c19349a1dcf0"}},{"ruleId":"D2","level":"warning","message":{"text":"BezierChartState._onLayoutDone (cognitive 29): BezierChartState._onLayoutDone has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 2 (8 pts), boolean chains 7 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/widgets/bezier_chart/bezier_chart_widget.dart holds 6 of the 13 methods over the threshold \u2014 including the worst \u2014 and 233 of the 277 points over it (84%), 12.3\u00D7 the next-largest file (lib/net/intercept.dart at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97f177c4a6de8c0f36abf533398dc592a1bb211e969629f993cecdd99d23bea"}},{"ruleId":"D2","level":"warning","message":{"text":"BezierChartState._onPinchZoom (cognitive 24): BezierChartState._onPinchZoom has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/widgets/bezier_chart/bezier_chart_widget.dart holds 6 of the 13 methods over the threshold \u2014 including the worst \u2014 and 233 of the 277 points over it (84%), 12.3\u00D7 the next-largest file (lib/net/intercept.dart at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73e52f68b43b36ce25be1f736c697808fc56c16d1c15da93b96df81e32e60f4"}},{"ruleId":"D2","level":"warning","message":{"text":"_MyTextFieldState.build (cognitive 23): _MyTextFieldState.build has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 8, 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/login/widgets/my_text_field.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e983fb1307c1588e53a043b7bbbd8a970cf70a0045a34b58a732d2d8fd9536"}},{"ruleId":"D2","level":"warning","message":{"text":"Log._printMap (cognitive 23): Log._printMap has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 4 (9 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/util/log_utils.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e8f5b8db917d9534bbf576b2b954979fabc0671fbbaebf80acb02a371345d2"}},{"ruleId":"D2","level":"warning","message":{"text":"_BezierChartPainter._getInfoTitleText (cognitive 22): _BezierChartPainter._getInfoTitleText has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/widgets/bezier_chart/bezier_chart_widget.dart holds 6 of the 13 methods over the threshold \u2014 including the worst \u2014 and 233 of the 277 points over it (84%), 12.3\u00D7 the next-largest file (lib/net/intercept.dart at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"c310b4a9ce1211ac61041ab084af969602965f014f20b97711fa366c3e95950e"}},{"ruleId":"D2","level":"warning","message":{"text":"_FreightConfigPageState._buildItem (cognitive 19): _FreightConfigPageState._buildItem has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 13, if/else 4, boolean chains 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/shop/page/freight_config_page.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e513a104aaa840331144f382919daf5541010c9802f8901f28ee5c79316fee"}},{"ruleId":"D2","level":"warning","message":{"text":"FractionallyAlignedSizedBox.build (cognitive 18): FractionallyAlignedSizedBox.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/fractionally_aligned_sized_box.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a1c6ca800df3f6c9579ff1c648d395c7e28248d409368203ad26da9f2b2716"}},{"ruleId":"D2","level":"warning","message":{"text":"_WithdrawalPasswordSettingState._buildButton (cognitive 16): _WithdrawalPasswordSettingState._buildButton has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), loops 2 (4 pts), ternaries 4, boolean chains 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/account/widgets/withdrawal_password_setting.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbe306d50b9252b22dd068895db6791183e8e86f094607c79ed8108f5cd6753"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeProvider.getTheme (cognitive 16): ThemeProvider.getTheme has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 16. 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/setting/provider/theme_provider.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"529a355a5332c7862ed5ecff3915b48d17a0b1adf531b1fa9690fe69aed8631a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BezierChartPainter.paint: MethodTooLong \u2014 paint runs 292 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 192 over it, 2.92\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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2db7126835270e865c50e1660d09dc2cfe42b46e2f973c5d79257316d6dec9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bezier_chart/bezier_chart_widget.dart: FileTooLong \u2014 1148 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 648 over it, 2.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a41e00fc3135836f1fa60fdabc22822c2e1073ad8cccfaf1b9194d5c14751d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BezierChartState.build: MethodTooLong \u2014 build runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba402766c4337f2699e16ce65696a523fc1db5b263366c6cb19469399c11e8c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BezierChartState: ClassTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 166 over it, 1.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"861d550a14cdf94fb1cc757ae06051a9224dc8ccc38c256ed52633c841212dc4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SMSVerifyDialogState.build: MethodTooLong \u2014 build runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/account/widgets/sms_verify_dialog.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca49fe1784182e48c2fd2667ad1b8dbc987857047702bd4d38ff372d57e63ce0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BezierChartState._computeSeries: MethodTooLong \u2014 _computeSeries runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd63a73982c99ed5475b1e538cc12a6dbd809a62af88d6e4b4a01f1f2d673862"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _BezierChartPainter: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 38 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9be3c32094c2bac2d0cc6ed520a6974c26a3cb81ff0bda5ffd26840772428e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShopSettingPageState.build: MethodTooLong \u2014 build runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/shop/page/shop_setting_page.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bed788e5bec4e1b1cb3f4cfcf91f7c4ce1e07a52bd6863ec61b68dd659087c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _RenderSingleChildViewport: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/bezier_chart/my_single_child_scroll_view.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e24ff40505d2323d29ad33ee12c1bac2acaa2cf68b38053e4b26f3173c887eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OrderInfoPageState.build: MethodTooLong \u2014 build runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/order/page/order_info_page.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a42433beb0d6022caa34ee17ae4943f4b3bcfb2095d413222bfcc1489edc19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShopPageState.build: MethodTooLong \u2014 build runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/shop/page/shop_page.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"009aea011cf503fc66e16c491a4a6181591fcac5d0bc1b5469a33ca857585c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/account/page/withdrawal_result_page.dart:18-57 | lib/store/page/store_audit_result_page.dart:19-60 \u2014 These two members are one piece of code written twice and then edited apart: 33 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/account/page/withdrawal_result_page.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4da78e120902fb133eabf700897277697990952bac280e68baf408a806f4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): lib/setting/page/locale_page.dart:21-71 | lib/setting/page/theme_page.dart:20-71 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/setting/page/locale_page.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b988b2742e03c455719b1613e0a87ebaa6871f452bd402b9be14e4acbba726e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/home/home_page.dart:59-89 | lib/home/home_page.dart:91-122 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/home/home_page.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9f5b3e395fb82b4d5b7374a0d156bf710482e00bc138977264ebcf6facc5d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/order/page/order_info_page.dart:276-304 | lib/order/widgets/order_item.dart:155-183 \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/order/page/order_info_page.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"613f94da00d3983dee35739ea68f20bad2bcb0f24123bd5f9ef7649be7a1c8f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/account/page/bank_select_page.dart:144-174 | lib/account/page/city_select_page.dart:93-123 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/account/page/bank_select_page.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26f85232977ec22401c328eb4e89fe3cb007ec66a19c7900f87e3fb5f58dd45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/account/page/withdrawal_account_page.dart:104-149 | lib/goods/widgets/goods_delete_bottom_sheet.dart:16-57 \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/account/page/withdrawal_account_page.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1b95c7fdd105ca604a254df598ea0e0f3314dfbb66abaf9e3d8fe400750470"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/account/page/bank_select_page.dart:76-105 | lib/account/page/city_select_page.dart:67-91 \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/account/page/bank_select_page.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"96683d02a1348469715561e13037ed8a9a141a79da3e6abe1a6f942ac2e9dc5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/store/page/store_audit_page.dart:39-68 | lib/util/other_utils.dart:39-57 \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/store/page/store_audit_page.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b855b206b3f346b5fb1fca1cfbdb59310eb4254895b7d6b521d97fc11f2d8ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lib/goods/page/goods_size_page.dart:261-276 | lib/goods/widgets/goods_item.dart:223-243 | lib/order/page/order_info_page.dart:242-256 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/goods/page/goods_size_page.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8ffcd48f92edb6ceb4a0f8b364d7f4b04f1d0dc7f9bb75f5fd0f53f3f1af9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lib/login/page/login_page.dart:56-73 | lib/login/page/sms_login_page.dart:43-58 | lib/login/page/update_password_page.dart:41-56 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/login/page/login_page.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1cf98658b02d93fdb9aa20b70c8a65b61fe9c9f61dae9c7306eb06c0411dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): lib/login/page/login_page.dart:80-96 | lib/login/page/register_page.dart:69-82 | lib/login/page/reset_password_page.dart:70-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 14 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/login/page/login_page.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda9d2e40b93c883c4cc256f128efd7faed0677e78d848c8d9bc1870b772d616"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/goods/page/goods_list_page.dart:73-82 | lib/goods/page/goods_list_page.dart:84-93 \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/goods/page/goods_list_page.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2909a9a1aade169e7bc5488f396bef71393603aaf9e63c03631d672cb6b404e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lib/order/widgets/pay_type_dialog.dart:63-77 | lib/shop/widgets/pay_type_dialog.dart:68-82 | lib/shop/widgets/send_type_dialog.dart:63-77 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/order/widgets/pay_type_dialog.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"157651fe1e8c7e9f587fe279d03b268227a5a126af6f071b992628a32d61f897"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/account/widgets/rise_number_text.dart:26-34 | lib/widgets/pie_chart/pie_chart.dart:37-45 \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/account/widgets/rise_number_text.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59b4b05c0a4b9d5ea4940b1cdec373d6fdbb480c0970d07624d9ab8512eff1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/shop/page/freight_config_page.dart:213-232 | lib/shop/page/freight_config_page.dart:234-250 \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/shop/page/freight_config_page.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19da944143dfd00cb62b80eaec59c5c7725662caef0fc9cc205d5d1fe53a005"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): android/app/src/main/java/com/weilu/deer/FileProvider7.java:33-44 | android/app/src/main/java/com/weilu/deer/FileProvider7.java:46-57 \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":"android/app/src/main/java/com/weilu/deer/FileProvider7.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"420a143cbee59b52a9320ce6913d95eb869f93e7b4dfb0f8fd163383b4bfb552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/goods/models/goods_size_model.dart:27-38 | lib/shop/models/freight_config_model.dart:20-28 | lib/shop/models/poi_search.dart:35-46 \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/goods/models/goods_size_model.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36f6702fb1c07ca8c706f9f6e28c8e6828af4ff28349ec0fdfb952a9d9f70ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lib/login/page/login_page.dart:35-44 | lib/login/page/sms_login_page.dart:32-41 | lib/login/page/update_password_page.dart:30-39 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/login/page/login_page.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"db376f34902511c594881fb29ea455ce37597829c2f11be73f5d6992c14cca3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/util/change_notifier_manage.dart:48-63 | lib/util/change_notifier_manage.dart:65-78 \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/util/change_notifier_manage.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"457d12c7b76f08e7577b95371fa4b03326e096037ad0ef83913aa79ab8b80b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/account/page/withdrawal_account_page.dart:27-34 | lib/account/page/withdrawal_account_list_page.dart:24-30 \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/account/page/withdrawal_account_page.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d210c453fcab38f670d02899a11cc15b36341862b347d8b97655865de2f611f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/account/models/withdrawal_account_model.dart:17-24 | lib/goods/models/goods_item_entity.dart:15-21 \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/account/models/withdrawal_account_model.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6caa3ab71df1f2d101bd7caac647501c4f95f33f10327108c194235d5ec8f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/login/page/login_page.dart:46-54 | lib/demo/demo_page.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/login/page/login_page.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab61268c4decf55ba0aa94f61b37ea6c53713f7e05e3cd0331a6cc61a1452d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): lib/order/widgets/pay_type_dialog.dart:27-61 | lib/shop/widgets/send_type_dialog.dart:27-61 \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/order/widgets/pay_type_dialog.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8910082f1cb47c353fe755f37f2d2cc4f5361340b31a2ab7219ceff7d3a846e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/account/page/withdrawal_result_page.dart:18-49 | lib/store/page/store_audit_result_page.dart:19-50 \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/account/page/withdrawal_result_page.dart:18\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/account/page/withdrawal_result_page.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b23e5f8230a3b76b23226bd3bd5b55b62299f3544519efd0e9e2a3357af5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/account/page/account_record_list_page.dart:32-57 | lib/account/page/withdrawal_record_list_page.dart:32-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. 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/account/page/account_record_list_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f4828149390a13e72a381b79454de79a8d6cdd778ee2e57ba297ca2e34fe49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): lib/order/page/order_info_page.dart:277-302 | lib/order/widgets/order_item.dart:156-180 \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/order/page/order_info_page.dart:277\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/order/page/order_info_page.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5be41bd3515b1a39dd6bbd173a6c0e04637ba0b02c7c403943b688d22d184a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/setting/page/locale_page.dart:49-71 | lib/setting/page/theme_page.dart:49-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/setting/page/locale_page.dart:49\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/setting/page/locale_page.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38abeb8435039710c722ac3e7e03bde95a20de1e5faa16a292cde0c78322422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/setting/page/locale_page.dart:24-45 | lib/setting/page/theme_page.dart:23-44 \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/setting/page/locale_page.dart:24\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/setting/page/locale_page.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8198b7c0a2f8fbc6fa4763d9cd6e3a323b738d33a4c714a68c5a0def38f610cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/account/page/withdrawal_account_page.dart:108-128 | lib/goods/widgets/goods_delete_bottom_sheet.dart:18-38 \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/account/page/withdrawal_account_page.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/account/page/withdrawal_account_page.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"702a08ff657f8ce58e6f85badbe511dc93904c7ac60ef94a41d2446b20ca7d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/login/page/register_page.dart:44-63 | lib/login/page/reset_password_page.dart:45-64 \u2014 before extracting anything, compare \u0060lib/login/page/register_page.dart\u0060 and \u0060lib/login/page/reset_password_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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/login/page/register_page.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3023a4259ecaad02b2268928bcb64504fffc24ead8df6a7891046b0e956d301d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/goods/page/goods_edit_page.dart:101-117 | lib/goods/page/goods_size_edit_page.dart:45-61 \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/goods/page/goods_edit_page.dart:101\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/goods/page/goods_size_edit_page.dart:62\u0060 calls \u0060numberWithOptions\u0060 and \u0060lib/goods/page/goods_edit_page.dart:118\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/goods/page/goods_edit_page.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"083e5756eeff423d152a6e37ab0b98ae6e08b1dd9a9668dd54bbc6df3b1bcbaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): lib/login/page/login_page.dart:59-73 | lib/login/page/sms_login_page.dart:46-58 | lib/login/page/update_password_page.dart:44-56 \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/login/page/login_page.dart:59\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/login/page/login_page.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"76adc718838f55a007e2988fe66fcc76f2d68bdbd2fa03f2a5fbdbea3dd3da2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/goods/widgets/goods_add_menu.dart:54-68 | lib/goods/widgets/goods_add_menu.dart:75-88 \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/goods/widgets/goods_add_menu.dart:54\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/goods/widgets/goods_add_menu.dart:74\u0060 calls \u0060Container\u0060, \u0060SizedBox\u0060 and \u0060lib/goods/widgets/goods_add_menu.dart:54\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/goods/widgets/goods_add_menu.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9df75289f1047814e420bc8169b06cf9ef66bfae181f8defd0c05a658b6daa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/account/page/bank_select_page.dart:92-105 | lib/account/page/city_select_page.dart:78-91 \u2014 before extracting anything, compare \u0060lib/account/page/bank_select_page.dart\u0060 and \u0060lib/account/page/city_select_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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/account/page/bank_select_page.dart:92\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/account/page/bank_select_page.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd081db72027d1e26a777b9a7cd4172a90ef26b672b9c8a401e4dfbe688802c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lib/goods/page/goods_edit_page.dart:79-92 | lib/goods/page/goods_size_edit_page.dart:28-39 \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/goods/page/goods_edit_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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/goods/page/goods_edit_page.dart:78\u0060 calls \u0060Key\u0060 and \u0060lib/goods/page/goods_size_edit_page.dart:27\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/goods/page/goods_edit_page.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"251d45ab266f5b005967dde73e15320bc03e43ecbe65d121db0a80f7bce1758d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/order/page/order_page.dart:155-168 | lib/statistics/page/statistics_page.dart:59-71 \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/order/page/order_page.dart:155\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/order/page/order_page.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc02a16272be34910c3ff73d7403fb5d1f57c112bd39732ce34a1e13ebcd46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/goods/page/goods_size_page.dart:265-276 | lib/order/page/order_info_page.dart:245-256 \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/goods/page/goods_size_page.dart:265\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/goods/page/goods_size_page.dart:264\u0060 calls \u0060only\u0060 and \u0060lib/order/page/order_info_page.dart:244\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/goods/page/goods_size_page.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"db12c89e17245dacac729ed173b1ed69e1a6d7092adab079499254514c177fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/login/page/register_page.dart:31-42 | lib/login/page/reset_password_page.dart:32-43 \u2014 before extracting anything, compare \u0060lib/login/page/register_page.dart\u0060 and \u0060lib/login/page/reset_password_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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/login/page/register_page.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"918101d838a33522251859acc5a1dca73ae52f1af239dbb8bd36c5f98d099000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/order/widgets/pay_type_dialog.dart:63-73 | lib/shop/widgets/pay_type_dialog.dart:68-78 | lib/shop/widgets/send_type_dialog.dart:63-73 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/order/widgets/pay_type_dialog.dart:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/order/widgets/pay_type_dialog.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdd746a8ff9892096bb979640c7c19260c844d887dd149e9df999bf652c6258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/goods/widgets/goods_item.dart:180-190 | lib/goods/widgets/goods_item.dart:192-202 \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/goods/widgets/goods_item.dart:180\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/goods/widgets/goods_item.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d2d9a6697d0a57ae6e2c50dccc4c8462a9b6839cf9e277912bb92d03ff2e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/shop/page/freight_config_page.dart:153-163 | lib/shop/page/freight_config_page.dart:172-182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/shop/page/freight_config_page.dart:153\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060label\u0060 to \u0060\u0027\u9009\u62E9\u6BD4\u7387\u0027\u0060 in one and \u0060\u0027\u9009\u62E9\u91D1\u989D\u0027\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/shop/page/freight_config_page.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01c96c14bfcc775aaebbb84134126a55d4e4025fad0f64f4c84e15822558db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/account/page/bank_select_page.dart:154-162 | lib/account/page/city_select_page.dart:103-111 \u2014 before extracting anything, compare \u0060lib/account/page/bank_select_page.dart\u0060 and \u0060lib/account/page/city_select_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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/account/page/bank_select_page.dart:154\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/account/page/bank_select_page.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc5aa259b15d1eb5acd656234862e093f71497e9071bf0f8742f8a44234a6a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/login/page/register_page.dart:74-82 | lib/login/page/reset_password_page.dart:75-83 \u2014 before extracting anything, compare \u0060lib/login/page/register_page.dart\u0060 and \u0060lib/login/page/reset_password_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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/login/page/register_page.dart:74\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/login/page/register_page.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a011835eb93dd4c513534ea2dc7b95606a17c3cca21ac2a2ccfa63668ec90c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/account/page/bank_select_page.dart:146-152 | lib/account/page/city_select_page.dart:95-101 \u2014 before extracting anything, compare \u0060lib/account/page/bank_select_page.dart\u0060 and \u0060lib/account/page/city_select_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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/account/page/bank_select_page.dart:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/account/page/bank_select_page.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c10d88a67f987612e141d005a898c5330fc6155957b9961997f1ad8b525543c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): lib/shop/page/shop_setting_page.dart:179-183 | lib/store/page/store_audit_page.dart:133-138 \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/shop/page/shop_setting_page.dart:179\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/shop/page/shop_setting_page.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1a4cf5d69defe43a06dc976f8160704e6a8b4a11a3c43a6ea0ac3ee96749f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/account/page/account_record_list_page.dart:17-30 | lib/account/page/withdrawal_record_list_page.dart:17-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/account/page/account_record_list_page.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9478c89bfd621199c5a4f855063556403753980d129fe90fd9d1a3193ab372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/account/page/withdrawal_password_page.dart:72-78 | lib/setting/page/setting_page.dart:128-134 \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/account/page/withdrawal_password_page.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"118c1ed808ca8219940daf0d84de91f2fead0bd68336d20dfb81be6c5c62ab7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/demo/lottie/bunny.dart:27-43 | lib/demo/lottie/bunny.dart:77-93 \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/demo/lottie/bunny.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"719100564603235189118c09578bc337d24bbb4c1b69130620689fa3f3bc71f2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _RenderSingleChildViewport (LCOM4 20): _RenderSingleChildViewport\u0027s methods fall into 20 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 20 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/widgets/bezier_chart/my_single_child_scroll_view.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a48082e06a5b527c9c6f33a966f0bc671966b356e682aa9f3910a301d8c0bfc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PowerPresenter (LCOM4 6): PowerPresenter\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mvp/power_presenter.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d61bc8120d9910c69d8040e5e9196c0a3ffe03d65d52de4ec5efeaf9c5c97cb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BasePresenter (LCOM4 5): BasePresenter\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/mvp/base_presenter.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e793ab36da89b6030f26ac39198646580fbe569fa7dc4ee3067ce000848273"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ShopPageState (LCOM4 5): _ShopPageState\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/shop/page/shop_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed215d50bcefa38e977eb320f20d0a5db537d0076f6a3ce1c21cac4a6def0474"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _PopupWindowRoute (LCOM4 5): _PopupWindowRoute\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/widgets/popup_window.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3793cde2312492cee951e41be9b283d6391b600350817d33d12505e7f644a85"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InnerRouterDelegate (LCOM4 4): InnerRouterDelegate\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/demo/navigator/delegate/inner_router_delegate.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb430d644e70ab01a042602f210a16d40b61d5e56c348dca6bffb1651597fe14"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _OrderSearchPageState (LCOM4 4): _OrderSearchPageState\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/order/page/order_search_page.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf68d4aba4fe152facd2d434e3de148030c20655010ab943725835bb604a281"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(weilu): \u542F\u52A8\u4F53\u9A8C\u4E0D\u4F73\u3002\u72B6\u6001\u680F\u3001\u5BFC\u822A\u680F\u5728\u51B7\u542F\u52A8\u5F00\u59CB\u7684\u4E00\u77AC\u95F4\u4E3A\u9ED1\u8272\uFF0C\u4E14\u65E0\u6CD5\u901A\u8FC7\u9690\u85CF\u3001\u4FEE\u6539\u989C\u8272\u7B49\u65B9\u5F0F\u8FDB\u884C\u5904\u7406\u3002\u3002\u3002 \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/main.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56635109adecb015bf0c9baee8d8678306af7f7ff2b87cf4aeadab34b90068a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(weilu): \u4FEE\u6539\u5904 horizontalPadding = 50.0; \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"79513dd38264787fddff620c4c4e96bb5dcc4dbcd2c0d822740dce0c3594d6cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(weilu): \u4FEE\u6539\u5904 \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e7802acd439d20db279d27ea45b6e071cfdd504ba2c50cf8f5ce45d8037b9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(weilu): \u4FEE\u6539\u5904 \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"23917ac8ea9b1f6baa65612d34e4c7cdebd981d075cf2ac2c9796522dc0e23b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(weilu): \u4FEE\u6539\u5904 \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"21283cba4e99fac5fc30b2888bfddbdc22d2a4e0ff0cd3af7da85c228b47697c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //        if (!kIsWeb) { // TODO(weilu): web\u5DF2\u652F\u6301 \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"614b2ad6b42f2498b0583cd42f10c5d5835db4a26710911f35f3b622fc31091c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO 28 \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"70511b980f53151d9b6914bbe425a4b4b2f7180d77c6a6ce0746441c007928ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO 42 \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e693ed7fd135db38474b01899e8270483ee59234b91c9c3769d5ef1354ce91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(weilu): \u4FEE\u6539\u5904 infoHeight / (8.75) \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"22df4b855c05e6e238a2233dcc07cc590319274443918c3b82c6a6c780f8eb12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(weilu): \u4FEE\u6539\u5904 9.5 \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d532d869e277b1a48f514fef549685eb309b94b11e5690fe19e75738042426"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO 0 \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2e88bc08a913f3ebf20c7cade5228ef2316383fcf60fed856fbf0f499b66aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO 4 \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/widgets/bezier_chart/bezier_chart_widget.dart"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"063e6f4320ad2274a8de3d60854b0bc9443cb5a32cfd5bd57f10d97c37f24255"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 4 project(s) overshoot their size bounds, lowering Project Cohesion to 5.0/10. The most over is \u0060(repository root)\u0060 (17818 LoC, 222 module-visible types across 65 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"b2207fe564de70007da58bfb316b5016746bfbe27ff983d77375bbe391d72ec3"},"properties":{"commitSha":"db447794c84513d942fcf7ae401518b2d14dd038"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc7364ac9f5276b8a4c214b40ebe75e984eb6be5baae002aea3cb5da1b6aad73"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ccf45e94b93543a3027ae3855a95bf419085d56b42498d78a59ea7d2efedf5a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9eef2dbb5f1ded30a5d420ce1ff72adabd7b8169ed226438286a2259d867de36"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a739df9ab6776a0570e980c2c85fa6b8a42aff420b788167faf2d790d676710"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"667808281296f9630b3ad950478872954f754c6767ee234ae53f8d937a48acd1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64470dd6df06d55a57b03813150a2aff1622f167f95896923d7b2b6387ae8fdb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f48f4263a49ddbe9ac1749373f1e03af4d7e0dd2abea433a4b73dd4e90f1b2b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d0342244dd5b4c54d3b4f77ff00ea15841ec92b5a69da9959faab8368f442e7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"920dacc0aec8676c0b5f87150782dba00159d6306d1ec4f9b4e9342a8fd4e819"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f57abc61e566c96e40c1e83f471604fff1553a020da8552b5e955bd8a5b0f67e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2c6a924ec63f25647989eded83d8933e870d98a2a9f764df8d38156fafaecd3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e7f1fcfca5be7a95d8ebadd7807d96bf3ebb7aec249cbe9eb870464b638ce95"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce2ef350346dcabcb4c6c32624f350c475f625bcc0668cf2bb52f33f2368834e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"522a2a9bfae62539a21f5175c757aa35b3741a880cb5545fc5e53f856baa8efc"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8490cab713e828751fa163ed458ad1b0d1ac717adb2f90670197a2a5093d7e95"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b54fe6b0b3e8678c20e1aee987024665fc19bc8578d599eec088ae6bb4c650f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bad6902cc39457ffa8a4b9399271e5774e41be77b398686dd6825dbfe560ad2d"},"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":"D35","level":"warning","message":{"text":"Change coupling: login_page.dart \u2194 register_page.dart: \u0060lib/login/page/login_page.dart\u0060 and \u0060lib/login/page/register_page.dart\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060972773cd\u0060 flutter 3.29.0; \u00605b1b6560\u0060 Enable unnecessary_import; \u0060502a11a6\u0060 localization updates \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/login/page/login_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91b6b2c70a31c10290dafb2a05694da42d63befaf39fef7a8af69d5ec96c46e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: register_page.dart \u2194 sms_login_page.dart: \u0060lib/login/page/register_page.dart\u0060 and \u0060lib/login/page/sms_login_page.dart\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060972773cd\u0060 flutter 3.29.0; \u00605b1b6560\u0060 Enable unnecessary_import; \u0060f3cfce12\u0060 keyboard_actions \u5347\u81F3 3.1.2 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/login/page/register_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2770421a3e0f5427eb389307336c066e95833189dbeaa23b45b54e731c61ee"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: my_app_bar.dart \u2194 my_search_bar.dart: \u0060lib/widgets/my_app_bar.dart\u0060 and \u0060lib/widgets/my_search_bar.dart\u0060 change together 58% of the time (11 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00605296982e\u0060 Android\u5BFC\u822A\u680F\u989C\u8272\u4F18\u5316; \u00606e995261\u0060 \u66FF\u6362\u5E9F\u5F03\u7684FlatButton\u4E3ATextButton (at that commit the file was still \u0060lib/widgets/search_bar.dart\u0060); \u00606c6e8e98\u0060 \u66FF\u6362\u5E9F\u5F03\u7684FlatButton\u4E3ATextButton (at that commit the file was still \u0060lib/widgets/search_bar.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/my_app_bar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aced77b490084b838e7c835c609d84376dd8a9141f406c931ea22e463c4f34bc"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9f4adab0b363f563cb2925e4857f2ca01a3237e20b420f1f4de94ab86647dc9"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f4a84d34037b0dd8846bd07e2eab22dcba61b146034890c073f0ca75cb67c09"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/map/amap.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f9613aabfd81be05205ea7a566c2e9e0400627bc2eaf6ecc36e7723b141357"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/map/amap.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"07adab6b2ea18eeab5e0bd974517f5aacc1b92adb37ca3d5661424fff5ddd677"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"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 as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/flutter-drive.yml"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://webapi.amap.com/maps?v=1.4.15\u0026key=c9446a164fd1245dd110b54114095303\u0026plugin=AMap.PlaceSearch\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository. 3 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/map/amap.html"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54b3a3f94c4a0cee6b1486d5a9c519d9e38a652a6dd577770b82e43492ecbec"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_StoreAuditPageState\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_nodeText1\u0060 itself (line 32, \u0060FocusNode\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_nodeText1.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, \u0060FocusNode\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_nodeText1.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/store/page/store_audit_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d978c86aae6a769443d89b953050cd66a0b899b11bfd75900d37135650ce7df9"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_StoreAuditPageState\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_nodeText2\u0060 itself (line 33, \u0060FocusNode\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_nodeText2.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, \u0060FocusNode\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_nodeText2.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/store/page/store_audit_page.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4637ebae0901752ce10457be408e25c50f5dc57c2cc6877446310719030c23"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_StoreAuditPageState\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_nodeText3\u0060 itself (line 34, \u0060FocusNode\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_nodeText3.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, \u0060FocusNode\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_nodeText3.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/store/page/store_audit_page.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0183206d08df55a275c6721ae0ebf58c702ed4ed2436a955522bd519f0fbee20"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_OrderPageState\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_pageController\u0060 itself (line 208, \u0060PageController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_pageController.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_pageController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/order/page/order_page.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8aa60cea7774f250446303e65cb14eeacd9264a884cf8ed950e708283e7d12"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_GoodsPageState\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_pageController\u0060 itself (line 29, \u0060PageController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_pageController.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_pageController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/goods/page/goods_page.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2649d2b0f3be3fa025db360f13e8669e67250372fad2772be25b2b5aed21d17"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/util/input_formatter/number_text_input_formatter.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bab4e2a181008c0f6ec92446bb7e7642d311acf6f5610ea411f30263c21410e"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":25,"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."]}]}