{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"TrinaGridStyleConfig.== (cyclomatic 64): TrinaGridStyleConfig.== has cyclomatic complexity 64 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/src/trina_grid_configuration.dart holds 4 of the 21 methods over the threshold \u2014 including the worst \u2014 and 108 of the 256 points over it (42%), 3.4\u00D7 the next-largest file (lib/src/trina_grid.dart at 32). 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/src/trina_grid_configuration.dart"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c740e9239ecf485964b5431e1c5e8971f3506b6461f1f045fc6156fc1712473f"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinaGridLocaleText.== (cyclomatic 59): TrinaGridLocaleText.== has cyclomatic complexity 59 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/src/trina_grid_configuration.dart holds 4 of the 21 methods over the threshold \u2014 including the worst \u2014 and 108 of the 256 points over it (42%), 3.4\u00D7 the next-largest file (lib/src/trina_grid.dart at 32). 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/src/trina_grid_configuration.dart"},"region":{"startLine":3103}}}],"partialFingerprints":{"codehealthFindingId/v1":"79964f02f71da96244633a49a5da81d9733dc325e5e0841ad640801c52ea2d8d"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinaGridLayoutDelegate.performLayout (cyclomatic 42): TrinaGridLayoutDelegate.performLayout has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid.dart"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d28183139c6deebe492b88973de2fb300c67d941f6a77812ee1ebfd73c0147"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnState._applyCompoundSort (cyclomatic 29): ColumnState._applyCompoundSort 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/column_state.dart"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7990ffb97a8bc19ee326d1b26581ebe87ae10a302450fb1f66ff1d614a0a33c"}},{"ruleId":"D1","level":"warning","message":{"text":"_TrinaHorizontalScrollBarState.build (cyclomatic 29): _TrinaHorizontalScrollBarState.build 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5fe16b02fd1b5f42ec04a36b2253b6fbb275d016618adaf9df54af34aa8707"}},{"ruleId":"D1","level":"warning","message":{"text":"_TrinaVerticalScrollBarState.build (cyclomatic 29): _TrinaVerticalScrollBarState.build 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_vertical_scroll_bar.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a22bc7ef21ed0912860009b6898f45ec4dcad37f8cc1f8cf86d4d885138d61d"}},{"ruleId":"D1","level":"warning","message":{"text":"RowGroupState.insertRowGroup (cyclomatic 28): RowGroupState.insertRowGroup has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/row_group_state.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e001c81961d64cfd068e399c24e636abef3213175907f8df6d45397fd4e063c"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectingState.isSelectedCell (cyclomatic 28): SelectingState.isSelectedCell has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/selecting_state.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e706fbb64f45798c6db89ca566df1d0570fb5463e4bca255cdaf1a5992fe05f0"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinaDualGridLayoutDelegate.performLayout (cyclomatic 26): TrinaDualGridLayoutDelegate.performLayout has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_dual_grid.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65aa27b5cbcdb1670f33ba3e88f908529c1d0328dfab1cc7f19872fd2e36051"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinaColumnFilterState._handleOnKey (cyclomatic 26): TrinaColumnFilterState._handleOnKey has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/columns/trina_column_filter.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da29ee46edd3732c3d7f47fc6e903ed622e0dbdbfa40e7d0af372b54d536331"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinaGridConfiguration.== (cyclomatic 24): TrinaGridConfiguration.== has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/src/trina_grid_configuration.dart holds 4 of the 21 methods over the threshold \u2014 including the worst \u2014 and 108 of the 256 points over it (42%), 3.4\u00D7 the next-largest file (lib/src/trina_grid.dart at 32). 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/src/trina_grid_configuration.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fc7ab8a2603dc979f5090a2e956d9ed6e90ff37238c310ff3873b735e8c05e"}},{"ruleId":"D1","level":"warning","message":{"text":"_ScrollableSelectionContainerDelegate._jumpToEdge (cyclomatic 24): _ScrollableSelectionContainerDelegate._jumpToEdge has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/scrolls/trina_smooth_scrollable.dart"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dc47c41e56c50277873ffa76bb3439c5b158d31df10468b4cd444ec0080f07"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinaResizePushAndPull.update (cyclomatic 22): TrinaResizePushAndPull.update has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/helper/trina_size_helper.dart"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb5a3754dfaeb66a0ad5bb16c3aa0b98aa2956066e5b9a46ca0f3cdf1e204aa"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinaGridScrollbarConfig.== (cyclomatic 21): TrinaGridScrollbarConfig.== has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/src/trina_grid_configuration.dart holds 4 of the 21 methods over the threshold \u2014 including the worst \u2014 and 108 of the 256 points over it (42%), 3.4\u00D7 the next-largest file (lib/src/trina_grid.dart at 32). 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/src/trina_grid_configuration.dart"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef71c2bfa8fe3395cfd817deaafa7fa053d1f9fef333f828cf5eaa5b527f3d6c"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinaGridState.build (cyclomatic 20): TrinaGridState.build has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid.dart"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"9115818a013330221f43085b16eb5cb10d3f44632b05d063a5fe11fc0e320ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinaDualGridProps.copyWith (cyclomatic 19): TrinaDualGridProps.copyWith has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_dual_grid.dart"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"332b2fe1e8a730a1e9c7967afc3f03247b6f58654475f30e0c73282de0fc08a0"}},{"ruleId":"D1","level":"warning","message":{"text":"_RowContainerWidgetState._getBoxDecoration (cyclomatic 17): _RowContainerWidgetState._getBoxDecoration 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/src/ui/trina_base_row.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f445857c899d01da50923b6eb42062c88b6f2831d323c0972a50ed5d013626a8"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinaRowGroupByColumnDelegate.toGroup (cyclomatic 16): TrinaRowGroupByColumnDelegate.toGroup has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/helper/trina_row_group_delegate.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"288eed5eba5cf48439f9eb341fe192084381a0ff9167c476ada6bface5e98bf4"}},{"ruleId":"D1","level":"warning","message":{"text":"EditingState.updateRowCells (cyclomatic 16): EditingState.updateRowCells has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/editing_state.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"37380dbe93b42e0b06882fec92f44758e022d565fb36fcc99dd35df714ea474b"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectingState.currentSelectingPositionList (cyclomatic 16): SelectingState.currentSelectingPositionList has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/selecting_state.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"88747e054f3aa23740ef9b2e3543fcd94144f5dd4faf5a123d386723ccebedf0"}},{"ruleId":"D1","level":"warning","message":{"text":"_CellContainerState._boxDecoration (cyclomatic 16): _CellContainerState._boxDecoration has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_base_cell.dart"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c0492daef0176185c4af615ceb79013a1e3cdc891b81d2668d29bb6ab80887"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnState._applyCompoundSort (cognitive 65): ColumnState._applyCompoundSort has cognitive complexity 65 (threshold 15). Drivers by points: if/else 15 (33 pts), ternaries 8 (23 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 34). 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/src/manager/state/column_state.dart"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ccc4bb40c9fbe483545764c615155c001f109eddd02b2a5c37a8998703f614"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaGridLayoutDelegate.performLayout (cognitive 64): TrinaGridLayoutDelegate.performLayout has cognitive complexity 64 (threshold 15). Drivers by points: if/else 29 (34 pts), ternaries 14 (28 pts), match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid.dart"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e381c80dc09a79c8fd4e635a1697e04166eef5a9f88a700429e9fdb3208ad17e"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaGridStyleConfig.== (cognitive 63): TrinaGridStyleConfig.== has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 63. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid_configuration.dart"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a62d6ea5f7c530c04f11774cb48739bbd59b1f08dd8e8f84455c9ccc15ba3e"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaGridLocaleText.== (cognitive 58): TrinaGridLocaleText.== has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 58. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid_configuration.dart"},"region":{"startLine":3103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3452ba789ab0e4640986fa7f7d51e3494a76bca1b80eeded686ed4d8275b22"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaResizePushAndPull.update (cognitive 50): TrinaResizePushAndPull.update has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (27 pts), ternaries 5 (14 pts), loops 3 (7 pts), boolean chains 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/helper/trina_size_helper.dart"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b643bb91f1175c32535e71eaa36967fb3402e43db37560defaa47b2e63102b"}},{"ruleId":"D2","level":"warning","message":{"text":"RowGroupState.insertRowGroup (cognitive 40): RowGroupState.insertRowGroup has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (23 pts), loops 5 (8 pts), boolean chains 5, ternaries 3, match/switch 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/row_group_state.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f659f5a5a01d73c1d2b4516b58f9b57a43f5b0c69892cb8e7e5c04544ba891f"}},{"ruleId":"D2","level":"warning","message":{"text":"_TrinaVerticalScrollBarState.build (cognitive 40): _TrinaVerticalScrollBarState.build has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 8 (16 pts), boolean chains 7 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_vertical_scroll_bar.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"378c52e44a2637f62530acd2395f6ea276d4b135bc31c360ce760a82a9d327ef"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaDualGridLayoutDelegate.performLayout (cognitive 39): TrinaDualGridLayoutDelegate.performLayout has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (24 pts), ternaries 9 (15 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_dual_grid.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f3c0c2fe13d3ee5d7027688b9b9017b3d7d01c0e357dc872947dfa7df51bf5"}},{"ruleId":"D2","level":"warning","message":{"text":"_TrinaHorizontalScrollBarState.build (cognitive 39): _TrinaHorizontalScrollBarState.build has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 9 (16 pts), boolean chains 6 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6f3a2a9766b0541d2ea7107b0e8b2436d58db2d210de15fdc24f1ff01cb18b"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectingState.isSelectedCell (cognitive 38): SelectingState.isSelectedCell has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 8 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/selecting_state.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef115869ffdf0812db35c93774ae844f4da6f0ee0aef50c0a17a4b33888c4894"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaRowGroupByColumnDelegate.toGroup (cognitive 35): TrinaRowGroupByColumnDelegate.toGroup has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/helper/trina_row_group_delegate.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a08ba6e0532734778c3b576fa5c3ff61f077a1a8f4f5bd3614306fdccc2665"}},{"ruleId":"D2","level":"warning","message":{"text":"_ScrollableSelectionContainerDelegate._jumpToEdge (cognitive 33): _ScrollableSelectionContainerDelegate._jumpToEdge has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 5, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/scrolls/trina_smooth_scrollable.dart"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b3dfe8c79252348dbac139f596fd5194bfbde40527e3c82c4520c22fbd7cc2"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaColumnFilterState._handleOnKey (cognitive 31): TrinaColumnFilterState._handleOnKey has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 13, ternaries 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/columns/trina_column_filter.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d26f4d77cb3fba6c9400dbafa4cdcea6d899414be07abf50d7ceaa609b4ceb"}},{"ruleId":"D2","level":"warning","message":{"text":"EditingState.updateRowCells (cognitive 30): EditingState.updateRowCells has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/editing_state.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe34a81d0dfa6ec93366bd4578bffe62b9c5d2da2e7159a36bdc1c59cf72b40"}},{"ruleId":"D2","level":"warning","message":{"text":"EditingState._pasteCellValueInOrder (cognitive 29): EditingState._pasteCellValueInOrder has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/editing_state.dart"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4e0aa69eb8c7b75383be0ff81493dc4c6043a0e2948f2a58f45ef9d2846cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"_CellContainerState._boxDecoration (cognitive 25): _CellContainerState._boxDecoration has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 10 (19 pts), boolean chains 3, if/else 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_base_cell.dart"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"061b4b5990b306e731bca874440602bc56211ac64134ecd8dd713bc563b84a5f"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaRowGroupHelper.iterateWithFilter (cognitive 24): TrinaRowGroupHelper.iterateWithFilter has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (4 pts), boolean chains 2, ternaries 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/helper/trina_row_group_helper.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"78263bd520bb86244b306c39aae887c902931d5eb1c89b4450a94daa6d6f56aa"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaGridConfiguration.== (cognitive 23): TrinaGridConfiguration.== has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 23. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid_configuration.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"1900f75b4c85de51c583b40f64071b780476e631575cf17af913e8ff2fc09e15"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectingState._selectingTextFromAllSelections (cognitive 22): SelectingState._selectingTextFromAllSelections has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/selecting_state.dart"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"df233a0116a40f87100ec119db97e2babd1c931877f43fb9ce9d7f2fbb0c6674"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaGridState.build (cognitive 22): TrinaGridState.build has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid.dart"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e9421070f251ba479d2512db4f824aaa18f4d6052acb0b921068d682f4b794"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterHelper.convertRowsToFilter (cognitive 21): FilterHelper.convertRowsToFilter has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 1 (4 pts), loops 3, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/helper/filter_helper.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c081fbb7907ec3959e49be89b99425dab96a7c87530ec1f7220649660d6be2"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaGridScrollbarConfig.== (cognitive 20): TrinaGridScrollbarConfig.== has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 20. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid_configuration.dart"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca4ccbe44b9448eddb1d810473d2843ba8ca57044949ae60da8b6a76413866d"}},{"ruleId":"D2","level":"warning","message":{"text":"RowState._insertRows (cognitive 19): RowState._insertRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (7 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/row_state.dart"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f8942dad0f251b82d8a2573814006394f15c6fc0e8247a33ea3ce2ea9f632a"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectingState.currentSelectingPositionList (cognitive 19): SelectingState.currentSelectingPositionList has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 6, loops 1 (2 pts), match/switch 1 (2 pts) (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/src/manager/state/selecting_state.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd537682619216bffe8f1431d488722c59fde0b4605af7f68136db8c145564a"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaDualGridProps.copyWith (cognitive 18): TrinaDualGridProps.copyWith has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 18. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_dual_grid.dart"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf36a2ec5856ead3980488a9789edd2d3294c6555c889ed2bacb5b029d7439f"}},{"ruleId":"D2","level":"warning","message":{"text":"_TrinaDefaultCellState.build (cognitive 18): _TrinaDefaultCellState.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/cells/trina_default_cell.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b92a90bba293fc855412fb4303df1247f176db6b6e537538c1df04413bfff3e"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaGridActionDefaultEnterKey.execute (cognitive 17): TrinaGridActionDefaultEnterKey.execute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/shortcut/trina_grid_shortcut_action.dart"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a700815a4362206a84c9d0173cf4f6ea8dfadba17b3cdfd3e669f794c573cb"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnState.autoFitColumn (cognitive 17): ColumnState.autoFitColumn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/column_state.dart"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95061301f6192afc3a97d0d52bda86c0a988e0a7993b443d482c3e6f6ad323d"}},{"ruleId":"D2","level":"warning","message":{"text":"_RowContainerWidgetState._getBoxDecoration (cognitive 17): _RowContainerWidgetState._getBoxDecoration has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_base_row.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"338c5fb79141dcc9d041d48ff17c7d219eb98b9e6f3b03ed97fec2d25a738ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusState.nextFocusOfColumnFilter (cognitive 16): FocusState.nextFocusOfColumnFilter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (7 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/focus_state.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1a35ab88d17edee4f591d3edc017f16d2e4a2c01203b59e37364e92b8dca6c"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaRow._tristateCheckedRow (cognitive 16): TrinaRow._tristateCheckedRow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), match/switch 1 (3 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/trina_row.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2590e58ce18e6c6b03d63fa0e4f7ca59348a6e4991a02bae04b680c30f294565"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaDualGridState._buildGrid (cognitive 16): TrinaDualGridState._buildGrid has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_dual_grid.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af4c7ea9f6b16738de5291f5577f4e2f0a624a0f520eacf797552464fea1bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinaColumnFilterState.build (cognitive 16): TrinaColumnFilterState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (5 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/columns/trina_column_filter.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"81560ec138de6a456bff7503600e58e194f10293283016af1cb4924419ec7963"}},{"ruleId":"D2","level":"warning","message":{"text":"MainColumnLayoutDelegate.performLayout (cognitive 16): MainColumnLayoutDelegate.performLayout has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_body_columns.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5894768a1fb1cdb8d1380a9394ad6aa04d1a67f1f174251475d8ad03640e73ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/trina_grid_configuration.dart: FileTooLong \u2014 2258 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1758 over it, 4.52\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/src/trina_grid_configuration.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe7f7f8e3056b1a3f41f8f791a6921bcdbbbde20fd43a5a2673308b3aab3a67"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrinaGridLocaleText: ClassTooLong \u2014 1086 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 686 over it, 2.72\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/src/trina_grid_configuration.dart"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eafb7864d3ca3e2011d77a16096a59acd8c9d7c5755f9806e5ba8407235525"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrinaGridLayoutDelegate.performLayout: MethodTooLong \u2014 performLayout runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid.dart"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"252d229bf366024889d572f865d81c95b243d3591bef899b1d8f9e0dec5a4efe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scrolls/trina_smooth_scrollable.dart: FileTooLong \u2014 1042 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 542 over it, 2.08\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/src/ui/scrolls/trina_smooth_scrollable.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ff3bf0252a02beda82763d6dc0d9025fb5654e1330398d8c170fffafff1a8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ILayoutState: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\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/src/manager/state/layout_state.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7c07b8c98f0e4a6028d0a5881c7e76e1952f42736a635c42dcd2510b7e358b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/trina_grid.dart: FileTooLong \u2014 928 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 428 over it, 1.86\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/src/trina_grid.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9025ee4636298d7e9c35c13caaf83f161ff61a3e5b60277f36537812a2c802"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrinaGridStyleConfig.copyWith: MethodTooLong \u2014 copyWith runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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/src/trina_grid_configuration.dart"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7d2a13a94c8665bec28202cc3683b2d370dd6def2f6072e945e54ff2c0df52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TrinaVerticalScrollBarState.build: MethodTooLong \u2014 build runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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/src/widgets/trina_vertical_scroll_bar.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7478cd2b38ee93662bf0dcc5dac54a6c078a0f3f71dd93b058b6cb85ec3e8a9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrinaGridStyleConfig: ClassTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 269 over it, 1.67\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/src/trina_grid_configuration.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adb529a6bd95818cb789a2bc7a0dd01a64118badf1daff86eca07a63b07c0dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TrinaHorizontalScrollBarState.build: MethodTooLong \u2014 build runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d466662bfa4e2ac1af6f502883d0e178faa50c5d567404aa79b712dcccc4519"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/trina_dropdown_menu.dart: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 267 over it, 1.53\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/src/ui/widgets/trina_dropdown_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c723916e0ec5839a3a2e485ed0268f1b58e3efebd2e458c8f827a7040afaae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilteredList: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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/src/helper/filtered_list.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c775a40f71fbfb66954b75732bdbe1d032b732dfb60ff183db7b9c5eb2eeb15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrinaGridState.build: MethodTooLong \u2014 build runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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/src/trina_grid.dart"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"08135ff74146939bd6b731a78e7aa5955ff672ae5aa0887521d7509954b09d45"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RowGroupState.insertRowGroup: MethodTooLong \u2014 insertRowGroup runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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/src/manager/state/row_group_state.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d8c2ddbb8b9eea4ac9c05cb2d85eb527143b3c4220183925f08cd66683eae1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state/column_state.dart: FileTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 154 over it, 1.31\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/src/manager/state/column_state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e229859b8ab9ecbb89ca2745b6dcb37a94c2c14dc4f215b16c135abfa75b4d4d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IColumnState: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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/src/manager/state/column_state.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c497d2d5b66a2a3ddd58f8e7e047d1c8e95c3501115ec381164ca41c8999915"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrinaSmoothScrollableState: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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/src/ui/scrolls/trina_smooth_scrollable.dart"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d040219a223c8fca4c67f99f0e41c9ca8a46f2630d6c1b524b406060c3af43"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrinaKeyManagerEvent: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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/src/helper/trina_key_manager_event.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec42cb479a71dfeab27ebbd3710e80760cecd9dc0b36cdd6adfa2c3b2ec602c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IRowState: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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/src/manager/state/row_state.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"151f0aaef0f4cf8addb328bf99f10d7df4d3f00c0fe67eec6241e51c382e9bbc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _RenderSingleChildViewport: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac0375017a22f18da5f5a7f1694e89c5fb669be5121c2e0719a8f612cf5a951"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrinaColumnFilterState.build: MethodTooLong \u2014 build runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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/src/ui/columns/trina_column_filter.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f183cc31ed0042394956c25a5a64c4041b8cf08d3671bab161422ff1664fe68"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IGridState: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 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/src/manager/state/grid_state.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b37a8b33a62fdfaa2db23b7f2da0062a477c0d50dbb71b7a40c357a84a3ff07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state/selecting_state.dart: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 50 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/selecting_state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ea40b81188eeda9ecfa40d695b27916fd8cee9c19fb2f8fed2fc51dd849e03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/trina_base_cell.dart: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 30 over it, 1.06\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/src/ui/trina_base_cell.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed2b0b93c0c1208e33469d04d86cb6918d5a46dd9a510800912c325118e8b28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helper/filter_helper.dart: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18 over it, 1.04\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/src/helper/filter_helper.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23814f8d2ce7e1cdab175e6f264c19c6772b0a54bc782efd648129f226a37b54"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrinaGridState: ClassTooLong \u2014 408 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 8 over it, 1.02\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/src/trina_grid.dart"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7440532b0fc39aee9fc77d6a06c6bea55f36ce3c215b395e4e5dc401173997"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrinaSmoothScrollableState: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 3 over it, 1.01\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/src/ui/scrolls/trina_smooth_scrollable.dart"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35a5c2557d18ec8903f352dc0238e4d43a0528219655701b34676b152c23303"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (92 shared lines): lib/src/widgets/trina_horizontal_scroll_bar.dart:174-445 | lib/src/widgets/trina_vertical_scroll_bar.dart:175-433 \u2014 These two members are variants of one another: 92 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a226fbd7eba64818ea3b515bf267a5441621d8917f26f244e8edb0a91feb37"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/src/widgets/trina_horizontal_scroll_bar.dart:85-100 | lib/src/widgets/trina_horizontal_scroll_bar.dart:102-127 | lib/src/widgets/trina_vertical_scroll_bar.dart:86-101 | lib/src/widgets/trina_vertical_scroll_bar.dart:103-128 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"849188b582c0887e47a7b5175c79e17d89f9036da48892556ea24a5d5cff03ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): lib/src/widgets/boolean_column_filter.dart:100-171 | lib/src/widgets/multi_select_column_filter.dart:178-251 \u2014 These two members are one piece of code written twice and then edited apart: 72 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/boolean_column_filter.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f361845311ba30ea89815d757b18b7421a0b9d2e6ade4a3466a70573be062db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): lib/src/manager/state/editing_state.dart:322-412 | lib/src/manager/state/editing_state.dart:414-515 \u2014 These two members are one piece of code written twice and then edited apart: 91 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/editing_state.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96edc1c9abc0151f40b7a91bd92fce59bba6d5e3f495e487f6da50d6541856a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): lib/src/ui/miscellaneous/trina_visibility_layout.dart:165-227 | lib/src/ui/miscellaneous/trina_visibility_layout.dart:274-324 \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/src/ui/miscellaneous/trina_visibility_layout.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e754e8ce21b560070eb5e1f38286700044a0965f1361e48d3ad97e2250a84a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/src/plugin/trina_lazy_pagination.dart:612-648 | lib/src/plugin/trina_pagination.dart:250-285 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/plugin/trina_lazy_pagination.dart"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fa849626789e47708d2aa83838206d0420affa8010f2288c3b46ad5446d003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/src/manager/state/row_group_state.dart:329-365 | lib/src/manager/state/row_group_state.dart:367-407 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/row_group_state.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93d971f0f27fc3fe61af90b3821ecfd442cc0b044cadfa3d846fa99054e1282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/src/manager/state/column_state.dart:766-795 | lib/src/manager/state/column_state.dart:797-826 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/column_state.dart"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d458dda19a148d01db32fdd6221f764b5d8d08bea97550f9dfbded8250d2e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/src/manager/trina_change_notifier_filter.dart:253-281 | lib/src/manager/trina_change_notifier_filter.dart:283-308 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/trina_change_notifier_filter.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"65823d26e9e138ea59cd33983cb8d5c674ac971d7f5f2bda48a5b3adc73daded"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/src/ui/trina_body_columns.dart:99-132 | lib/src/ui/trina_body_columns_footer.dart:68-97 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_body_columns.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6787ebd466614bf0f19466adac5a5bf991f05d66ebce6e3ded063559943ffcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/src/manager/state/row_state.dart:474-501 | lib/src/manager/state/row_state.dart:503-530 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/row_state.dart"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba643ffdd1d578ca90ed8d1bed5015aa6d1cf639aa2936e01086aa2fa359108f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/src/manager/state/keyboard_state.dart:159-199 | lib/src/manager/state/keyboard_state.dart:281-313 \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/src/manager/state/keyboard_state.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f92c6206ab7a6c7687d06f7df4cdb652fcc60360debd9c28486b5388e8b210b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/src/ui/trina_left_frozen_rows.dart:47-68 | lib/src/ui/trina_right_frozen_rows.dart:47-68 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_left_frozen_rows.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"912260a97b0d2c41f1e906c2911fcb00e8f50465249d05906a317fb1c453a4a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): lib/src/helper/trina_aggregate_helper.dart:6-29 | lib/src/helper/trina_aggregate_helper.dart:31-54 | lib/src/helper/trina_aggregate_helper.dart:56-75 | lib/src/helper/trina_aggregate_helper.dart:77-96 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/helper/trina_aggregate_helper.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d942930d5f5ddd324fc9bcef23ea4eed62307deea5aeb462f9fe6f00ad4ca72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/src/manager/state/keyboard_state.dart:201-226 | lib/src/manager/state/keyboard_state.dart:315-347 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/keyboard_state.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9360ac5b381c531423df95bd8698a51c4a8480d70f35c199f724d0f64b36891c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/src/widgets/trina_horizontal_scroll_bar.dart:56-83 | lib/src/widgets/trina_vertical_scroll_bar.dart:57-84 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f5d298d46ace08452e7018a07ffc839963027b39440d09b58d6f0801939f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/src/manager/shortcut/trina_grid_shortcut_action.dart:182-201 | lib/src/manager/shortcut/trina_grid_shortcut_action.dart:629-651 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/shortcut/trina_grid_shortcut_action.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"990aa83c0f13a864770acb709cc9aa3088f87f90796c9de728bbf3ce8b83a445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): lib/src/ui/cells/trina_currency_cell.dart:49-76 | lib/src/ui/cells/trina_number_cell.dart:49-76 | lib/src/ui/cells/trina_percentage_cell.dart:51-80 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/cells/trina_currency_cell.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9fbfdede24c0fd5df9804bb225cfa695d11bf0c5acc4226110315baecea3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): lib/src/ui/trina_base_column_group.dart:255-277 | lib/src/ui/trina_base_column_group.dart:316-335 | lib/src/ui/trina_body_columns_footer.dart:124-144 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_base_column_group.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f362dbf539b79c55fbea6c7a499fb03bbff0c18da4f2970403d97f234ce17425"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/src/plugin/trina_lazy_pagination.dart:650-667 | lib/src/plugin/trina_pagination.dart:287-302 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/plugin/trina_lazy_pagination.dart"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e74697cd57743186f8ff0b5ed249e32f00a751f68583c32f49882bd2116cf52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): lib/src/ui/trina_body_columns.dart:47-69 | lib/src/ui/trina_left_frozen_columns.dart:36-58 | lib/src/ui/trina_right_frozen_columns.dart:36-58 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_body_columns.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3528c149a9c0e682c2bc89259d63c10ab340d8e55a9e229d6797af17a7e88817"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/src/ui/cells/text_cell.dart:58-78 | lib/src/ui/trina_base_cell.dart:416-436 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/cells/text_cell.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fb8059c214a0f84697f4dac67bde6fdbfd51cc7b2bb596969f7c8abbb7e0f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/src/plugin/trina_infinity_scroll_rows.dart:125-146 | lib/src/plugin/trina_lazy_pagination.dart:274-296 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/plugin/trina_infinity_scroll_rows.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0391e3c53116e255dafa4f55ddd7a8cf8367c6501ed82e605510aa5c005ca5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/src/ui/trina_left_frozen_columns.dart:82-96 | lib/src/ui/trina_right_frozen_columns.dart:82-96 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_left_frozen_columns.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd48ca5a7493d5009ae54310188f565939ee834a902b32b4a81ed9b20478277"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/src/widgets/trina_linked_scroll_controller.dart:261-280 | lib/src/widgets/trina_linked_scroll_controller.dart:286-303 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_linked_scroll_controller.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb1c34db9feaad6f4b5525b504e67f2b0625b29efcae78e619172b135270cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/src/manager/state/filtering_row_state.dart:268-280 | lib/src/manager/state/filtering_row_state.dart:282-295 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/filtering_row_state.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51f52d193bcdf90e7557d54a891f6f066bc5748fec2ced2184be219054e1d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/src/manager/state/column_state.dart:192-204 | lib/src/manager/state/column_state.dart:224-236 | lib/src/manager/state/column_state.dart:256-268 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/column_state.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3975f948ae7f676fcec938899c0757a79d568e6b3767a415a7a33cadd27310"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/src/plugin/trina_lazy_pagination.dart:597-610 | lib/src/plugin/trina_pagination.dart:233-248 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/plugin/trina_lazy_pagination.dart"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"322a0f58b3b13e4826bd4f6c66e8524da3462f9497acf0a3aff690e649c1df1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/src/ui/miscellaneous/trina_visibility_layout.dart:326-336 | lib/src/ui/miscellaneous/trina_visibility_layout.dart:338-352 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/miscellaneous/trina_visibility_layout.dart"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6393b867d0bfe76c7695d6692a3048f4b7022abac880207f5d022c73d552d46f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/src/manager/state/column_sizing_state.dart:241-251 | lib/src/manager/state/column_state.dart:631-639 \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/src/manager/state/column_sizing_state.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee61391d8e16b45319a17bcdd21d53bb4c811791766d68aff46ee70c87f22513"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/src/manager/shortcut/trina_grid_shortcut_action.dart:513-528 | lib/src/manager/shortcut/trina_grid_shortcut_action.dart:541-556 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/shortcut/trina_grid_shortcut_action.dart"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"032c43d7a50e3a103301c07ab7f0d3503fe19d8500385fce0eb53dd00165eb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/ui/widgets/trina_time_picker.dart:312-319 | lib/src/ui/widgets/trina_time_picker.dart:321-328 \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/src/ui/widgets/trina_time_picker.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb9739825b1e336b03a5036fd94bd6e1d3a0b789ce5bd217c958e84acc50715"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/model/column_types/trina_column_type_custom.dart:42-50 | lib/src/model/trina_column_type_with_number_format.dart:27-34 \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/src/model/column_types/trina_column_type_custom.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c87b05c2fd21b77e14d8bd94633127f1db5002b37ff87b661e573e3f228185e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/widgets/trina_horizontal_scroll_bar.dart:161-172 | lib/src/widgets/trina_vertical_scroll_bar.dart:162-173 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"af42692d7f0b498ff58086e1b130a679a7a0670a42b50b839ee972f1a08de3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/ui/columns/trina_column_filter.dart:128-134 | lib/src/widgets/multi_line_column_filter.dart:162-168 \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/src/ui/columns/trina_column_filter.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb472a7f1068eedb44fb4563570e240a790eea968dffb824e5d6822ba7dbb933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/ui/columns/trina_column_filter.dart:136-142 | lib/src/widgets/multi_line_column_filter.dart:170-176 \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/src/ui/columns/trina_column_filter.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e25e50e248bd2e8369976b3d0ce53dba3e25b9e6830a7408a2e588d1be0961c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart:681-685 | lib/src/ui/scrolls/trina_smooth_list_view.dart:730-740 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4c77f5233381f66624fe1cc0e1269fdfe79e9cf2b6716c47b33cacbb94d7cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): lib/src/ui/trina_left_frozen_rows.dart:88-140 | lib/src/ui/trina_right_frozen_rows.dart:88-140 \u2014 before extracting anything, compare \u0060lib/src/ui/trina_left_frozen_rows.dart\u0060 and \u0060lib/src/ui/trina_right_frozen_rows.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 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/src/ui/trina_left_frozen_rows.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0507399a665bcdbe687249479ab9b3032bbc2d2a0f1f369f8d37be6f2ace14ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): lib/src/widgets/trina_horizontal_scroll_bar.dart:228-263 | lib/src/widgets/trina_vertical_scroll_bar.dart:233-268 \u2014 before extracting anything, compare \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart\u0060 and \u0060lib/src/widgets/trina_vertical_scroll_bar.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart:228\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/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f2d87acddbe79064054029dc54716746565549c31a31e4806747cf78b9ebdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): lib/src/widgets/boolean_column_filter.dart:100-129 | lib/src/widgets/multi_select_column_filter.dart:178-205 \u2014 before extracting anything, compare \u0060lib/src/widgets/boolean_column_filter.dart\u0060 and \u0060lib/src/widgets/multi_select_column_filter.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/widgets/boolean_column_filter.dart:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/boolean_column_filter.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aee377307721330b081ae3c39ad02e5f457ba0d285a92798a0057566089beb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): lib/src/widgets/trina_horizontal_scroll_bar.dart:420-443 | lib/src/widgets/trina_vertical_scroll_bar.dart:406-430 \u2014 before extracting anything, compare \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart\u0060 and \u0060lib/src/widgets/trina_vertical_scroll_bar.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart:420\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/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5712159f54472ab52c4de42697bdd24accc6d78afccae45d992aedab6e8a2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/src/widgets/trina_horizontal_scroll_bar.dart:104-127 | lib/src/widgets/trina_vertical_scroll_bar.dart:105-128 \u2014 before extracting anything, compare \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart\u0060 and \u0060lib/src/widgets/trina_vertical_scroll_bar.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060oldWidget\u0060 to \u0060TrinaHorizontalScrollBar\u0060 in one and \u0060TrinaVerticalScrollBar\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/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acadd4f9e6bde4bd7e0e69661d3ce8d00acd292133ae69b6f4b171b3c48cb76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/src/plugin/trina_lazy_pagination.dart:626-648 | lib/src/plugin/trina_pagination.dart:263-285 \u2014 before extracting anything, compare \u0060lib/src/plugin/trina_lazy_pagination.dart\u0060 and \u0060lib/src/plugin/trina_pagination.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/plugin/trina_lazy_pagination.dart:626\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/src/plugin/trina_lazy_pagination.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0940a94dd3af599d47475eabc9ed70d8c4b2d5462ffbf422416e5d5574c925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/src/ui/miscellaneous/trina_visibility_layout.dart:180-202 | lib/src/ui/miscellaneous/trina_visibility_layout.dart:293-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/ui/miscellaneous/trina_visibility_layout.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/src/ui/miscellaneous/trina_visibility_layout.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"269a4b738d7dba67dfdbd98ff9ce9f2298d764decc562cdac3a1405ff4f7edcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/src/ui/cells/trina_currency_cell.dart:55-76 | lib/src/ui/cells/trina_number_cell.dart:55-76 \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/src/ui/cells/trina_currency_cell.dart:55\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/src/ui/cells/trina_currency_cell.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e0a98a1c1274775215e5bca83c755ee5e68017f4c0ab747eaf8e8837a83cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/src/manager/state/column_state.dart:768-788 | lib/src/manager/state/column_state.dart:799-819 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/manager/state/column_state.dart:768\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/src/manager/state/column_state.dart"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48d56629cf8d41762fc064284e3fb0c51a4f699f9e82863e92e51689d846208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/src/widgets/trina_horizontal_scroll_bar.dart:56-76 | lib/src/widgets/trina_vertical_scroll_bar.dart:57-77 \u2014 before extracting anything, compare \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart\u0060 and \u0060lib/src/widgets/trina_vertical_scroll_bar.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aed9f9386fca638f154c2c6ae8036defacad6cfc7c796a27351458128f7d081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/src/helper/trina_aggregate_helper.dart:7-26 | lib/src/helper/trina_aggregate_helper.dart:32-51 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/helper/trina_aggregate_helper.dart:7\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/src/helper/trina_aggregate_helper.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"be63e7ad4a168c9875dfe3a9b4934d40d74e621de19c8009c94c14fb26f82692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/src/widgets/trina_horizontal_scroll_bar.dart:140-159 | lib/src/widgets/trina_vertical_scroll_bar.dart:141-160 \u2014 before extracting anything, compare \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart\u0060 and \u0060lib/src/widgets/trina_vertical_scroll_bar.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 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/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f8d94128995bb404d983ea201d52bc094c522f56add62ecd0d69b5f9100701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/model/column_types/trina_column_type_date.dart:55-73 | lib/src/model/column_types/trina_column_type_date_time.dart:52-70 \u2014 before extracting anything, compare \u0060lib/src/model/column_types/trina_column_type_date.dart\u0060 and \u0060lib/src/model/column_types/trina_column_type_date_time.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/column_types/trina_column_type_date.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dcad7799570dcac72a2167191021d992be9a8a50eda534cc7ab170754d448e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/ui/scrolls/trina_smooth_scrollable.dart:761-779 | lib/src/ui/scrolls/trina_smooth_scrollable.dart:790-808 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/ui/scrolls/trina_smooth_scrollable.dart:761\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/src/ui/scrolls/trina_smooth_scrollable.dart"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec74b658f80c19efc2d898cf301cad6fb101c176ff881cf522e9b225c5f234b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/src/ui/trina_body_columns.dart:99-116 | lib/src/ui/trina_body_columns_footer.dart:68-85 \u2014 before extracting anything, compare \u0060lib/src/ui/trina_body_columns.dart\u0060 and \u0060lib/src/ui/trina_body_columns_footer.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/ui/trina_body_columns.dart:99\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/src/ui/trina_body_columns.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b33f90751618ab539b060d3fc3e6feb93b7ad75fdb42c92b19f24c805259d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/src/ui/trina_body_rows.dart:278-297 | lib/src/ui/trina_left_frozen_rows.dart:112-128 | lib/src/ui/trina_right_frozen_rows.dart:112-128 \u2014 before extracting anything, compare \u0060lib/src/ui/trina_left_frozen_rows.dart\u0060 and \u0060lib/src/ui/trina_right_frozen_rows.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/ui/trina_body_rows.dart:278\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_body_rows.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8305902edfdb2a5d169ee61d21035f506699848dbafff0b9b79d5df59949e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/src/model/column_types/trina_column_type_date.dart:91-107 | lib/src/model/column_types/trina_column_type_date_time.dart:88-104 \u2014 before extracting anything, compare \u0060lib/src/model/column_types/trina_column_type_date.dart\u0060 and \u0060lib/src/model/column_types/trina_column_type_date_time.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/column_types/trina_column_type_date.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f9729768f93e8e2afcb365133f64ed7fc83f75be509d4f8df429f35f5c8c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/src/ui/trina_left_frozen_rows.dart:70-86 | lib/src/ui/trina_right_frozen_rows.dart:70-86 \u2014 before extracting anything, compare \u0060lib/src/ui/trina_left_frozen_rows.dart\u0060 and \u0060lib/src/ui/trina_right_frozen_rows.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 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/src/ui/trina_left_frozen_rows.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1541ac427d80f1f1f71ff64b9b3cf7bd498859b8db9461f744796c189be7167f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/src/widgets/trina_horizontal_scroll_bar.dart:179-195 | lib/src/widgets/trina_vertical_scroll_bar.dart:188-204 \u2014 before extracting anything, compare \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart\u0060 and \u0060lib/src/widgets/trina_vertical_scroll_bar.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 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/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff6008565aa6c360c8a6a3a424e5594181b2d6a6cc6f73ee01f6512cbb9b920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/helper/trina_aggregate_helper.dart:57-72 | lib/src/helper/trina_aggregate_helper.dart:78-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/helper/trina_aggregate_helper.dart:57\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/src/helper/trina_aggregate_helper.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb9b5cd266f35fe0fe7fd6f00ef179a7db81cb74fbf0e9156b3afcbb68c88c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): lib/src/manager/shortcut/trina_grid_shortcut_action.dart:188-201 | lib/src/manager/shortcut/trina_grid_shortcut_action.dart:636-651 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/manager/shortcut/trina_grid_shortcut_action.dart:188\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/src/manager/shortcut/trina_grid_shortcut_action.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee82ca56d5ca93a4a6927957c3134d5d13b030cbd085d3d9acf0e1f1eec89fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/src/ui/trina_left_frozen_rows.dart:54-68 | lib/src/ui/trina_right_frozen_rows.dart:54-68 \u2014 before extracting anything, compare \u0060lib/src/ui/trina_left_frozen_rows.dart\u0060 and \u0060lib/src/ui/trina_right_frozen_rows.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/ui/trina_left_frozen_rows.dart:54\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_left_frozen_rows.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38ce0f1449bd3e56a16ff9c521e3e598c36d8177e010aa9d0d23444a549502a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/src/widgets/boolean_column_filter.dart:150-164 | lib/src/widgets/multi_select_column_filter.dart:229-243 \u2014 before extracting anything, compare \u0060lib/src/widgets/boolean_column_filter.dart\u0060 and \u0060lib/src/widgets/multi_select_column_filter.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/src/widgets/multi_select_column_filter.dart:244\u0060 calls \u0060_buildClearButton\u0060 and \u0060lib/src/widgets/boolean_column_filter.dart:165\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/src/widgets/boolean_column_filter.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b589fbd78548db67ac2aabe738b5470da819ec9d6e5018b29091051eb8e79b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/src/widgets/trina_horizontal_scroll_bar.dart:333-347 | lib/src/widgets/trina_vertical_scroll_bar.dart:325-339 \u2014 before extracting anything, compare \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart\u0060 and \u0060lib/src/widgets/trina_vertical_scroll_bar.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 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/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e7c64d7eb70fdae84e89b9f0cd2c2c251ad8a788e9411518b3ad6a5431a945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/ui/cells/text_cell.dart:65-78 | lib/src/ui/trina_base_cell.dart:423-436 \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/src/ui/cells/text_cell.dart:65\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/cells/text_cell.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e064cf9f652d671e1c0c8605a6a42a84d81417e9158ca1dc7068957816bac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/src/widgets/trina_horizontal_scroll_bar.dart:88-100 | lib/src/widgets/trina_horizontal_scroll_bar.dart:114-126 | lib/src/widgets/trina_vertical_scroll_bar.dart:89-101 | lib/src/widgets/trina_vertical_scroll_bar.dart:115-127 \u2014 before extracting anything, compare \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart\u0060 and \u0060lib/src/widgets/trina_vertical_scroll_bar.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart:88\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/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dc033cd39d2632f8eb20a6e4b8400a76189920c40b6a0a4222651809adea0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/ui/cells/popup_cell.dart:45-57 | lib/src/ui/cells/text_cell.dart:219-231 \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/src/ui/cells/popup_cell.dart:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/cells/popup_cell.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0946da4633e21aa61c5929bf958fd4b31151193bca7186d4499c3525c68f9fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/src/ui/miscellaneous/trina_popup_cell_state_with_menu.dart:71-82 | lib/src/widgets/boolean_column_filter.dart:115-125 | lib/src/widgets/multi_select_column_filter.dart:193-203 \u2014 before extracting anything, compare \u0060lib/src/widgets/boolean_column_filter.dart\u0060 and \u0060lib/src/widgets/multi_select_column_filter.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/ui/miscellaneous/trina_popup_cell_state_with_menu.dart:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/miscellaneous/trina_popup_cell_state_with_menu.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f78f6330f7a533054fd4edbd20480bb187cd76980ddb5fd83efdf693c7bfbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart:274-285 | lib/src/ui/scrolls/trina_smooth_list_view.dart:588-598 \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/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart:274\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/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63b93848b04f7b4b59350f4decfc1302fe366428270b5cc6746fd145ec4d7e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/manager/state/row_state.dart:476-486 | lib/src/manager/state/row_state.dart:505-515 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/manager/state/row_state.dart:476\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/row_state.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"3792cfcfda69a542b4cff54e20dd187ad2cde1de5ade0636d50258c43d1cd0e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): lib/src/helper/trina_size_helper.dart:489-496 | lib/src/helper/trina_size_helper.dart:503-510 | lib/src/helper/trina_size_helper.dart:546-555 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/helper/trina_size_helper.dart:489\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/helper/trina_size_helper.dart"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb3284ffd2a0dd0f7977b9be0ea0fa3c524f408ecaebc104583eed386049226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/manager/trina_change_notifier_filter.dart:285-295 | lib/src/manager/trina_change_notifier_filter.dart:324-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/manager/trina_change_notifier_filter.dart:285\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/trina_change_notifier_filter.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73ae43d20a40d79ce5416cd4c3ad6a6504dd901b5dea6748c2254d64e9932f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/src/manager/state/column_state.dart:714-723 | lib/src/manager/state/column_state.dart:725-735 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/manager/state/column_state.dart:725\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/column_state.dart"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c51db702cc458044a2060e33f3b36ba2f27243e9c99183af00288c9af10624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): lib/src/helper/trina_size_helper.dart:157-164 | lib/src/helper/trina_size_helper.dart:201-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/helper/trina_size_helper.dart:157\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/helper/trina_size_helper.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbbbade058638860a18c245f99d0104679086b051d7c20567781261a3a9efdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/manager/state/filtering_row_state.dart:270-277 | lib/src/manager/state/filtering_row_state.dart:284-291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/filtering_row_state.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d8341c54724bfc1c103675863e82120f79cb785d3e1bd66c3240bfbe45a3ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/manager/state/row_group_state.dart:296-302 | lib/src/manager/state/row_group_state.dart:737-743 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/row_group_state.dart"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2ecb577894e6711ac1101b6240cc037fedab0b4223d91871d6599777c086e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/model/column_types/trina_column_type_custom.dart:57-70 | lib/src/model/column_types/trina_column_type_text.dart:33-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/column_types/trina_column_type_custom.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36eadd35b67f51a33f8e2fc098350da3bbc577b74245afc1c336dfeb1e9d5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/src/model/column_types/trina_column_type_date.dart:75-82 | lib/src/model/column_types/trina_column_type_date_time.dart:72-79 | lib/src/model/column_types/trina_column_type_text.dart:19-26 | lib/src/model/column_types/trina_column_type_time.dart:65-72 \u2014 before extracting anything, compare \u0060lib/src/model/column_types/trina_column_type_date.dart\u0060 and \u0060lib/src/model/column_types/trina_column_type_date_time.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/column_types/trina_column_type_date.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02526a7a9e3b637fba9c2949a98781835031161648897065db50f8c26b5482c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/model/column_types/trina_column_type_date.dart:84-89 | lib/src/model/column_types/trina_column_type_date_time.dart:81-86 \u2014 before extracting anything, compare \u0060lib/src/model/column_types/trina_column_type_date.dart\u0060 and \u0060lib/src/model/column_types/trina_column_type_date_time.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/column_types/trina_column_type_date.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c03525b0aec60196608b69666943ebc0f878734986edfbbead24bd3b94bfdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/plugin/trina_lazy_pagination.dart:541-547 | lib/src/plugin/trina_pagination.dart:163-169 \u2014 before extracting anything, compare \u0060lib/src/plugin/trina_lazy_pagination.dart\u0060 and \u0060lib/src/plugin/trina_pagination.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/plugin/trina_lazy_pagination.dart"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7435a761a8480bd895930c42336421b93a57f28d5ac8a30c9a79f2a5a1a49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/plugin/trina_lazy_pagination.dart:581-588 | lib/src/plugin/trina_pagination.dart:215-222 \u2014 before extracting anything, compare \u0060lib/src/plugin/trina_lazy_pagination.dart\u0060 and \u0060lib/src/plugin/trina_pagination.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/plugin/trina_lazy_pagination.dart"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"166e6ad6e0fbb2a582e5f9587b2d73ac7ce3159c103ab44689bf2a69f36f9725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/src/trina_grid_date_picker.dart:445-452 | lib/src/ui/trina_body_columns.dart:31-38 | lib/src/ui/trina_body_columns_footer.dart:28-35 \u2014 before extracting anything, compare \u0060lib/src/ui/trina_body_columns.dart\u0060 and \u0060lib/src/ui/trina_body_columns_footer.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/src/trina_grid_date_picker.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c2f789662294ffb61d090df3b45303bbf0ce41e86e5e0042b45481f79f45fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/ui/trina_left_frozen_columns.dart:64-73 | lib/src/ui/trina_right_frozen_columns.dart:64-73 \u2014 before extracting anything, compare \u0060lib/src/ui/trina_left_frozen_columns.dart\u0060 and \u0060lib/src/ui/trina_right_frozen_columns.dart\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_left_frozen_columns.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"359a277b0c788fbe996d966988a0b02bf73e4919339e60e8a366c85c311a0c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/ui/trina_left_frozen_columns.dart:75-80 | lib/src/ui/trina_right_frozen_columns.dart:75-80 \u2014 before extracting anything, compare \u0060lib/src/ui/trina_left_frozen_columns.dart\u0060 and \u0060lib/src/ui/trina_right_frozen_columns.dart\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_left_frozen_columns.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"898b49cd43745a1f38cef4abb7f186b29bf653a40e538f0db4a3aa98df940d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/ui/trina_left_frozen_columns_footer.dart:44-49 | lib/src/ui/trina_right_frozen_columns_footer.dart:44-49 \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/src/ui/trina_left_frozen_columns_footer.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fc15371c8e0d1044cc3b8bb3d1b05dea5e3579adc87d2d5749780785d29ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/ui/trina_left_frozen_columns_footer.dart:51-61 | lib/src/ui/trina_right_frozen_columns_footer.dart:51-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_left_frozen_columns_footer.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"63847c29ce38e97d3e26979aeb69a9b68e8d998c40ea8e99a3a8f48b3e303da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/ui/trina_left_frozen_rows.dart:31-38 | lib/src/ui/trina_right_frozen_rows.dart:31-38 \u2014 before extracting anything, compare \u0060lib/src/ui/trina_left_frozen_rows.dart\u0060 and \u0060lib/src/ui/trina_right_frozen_rows.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 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/src/ui/trina_left_frozen_rows.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8401bb260f2fd6a4f1cd0a219a9af2c97ebf78f3195590c70aebedd48eba54b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/src/manager/state/column_group_state.dart:48-57 | lib/src/manager/state/layout_state.dart:462-471 | lib/src/manager/state/layout_state.dart:473-482 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/column_group_state.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb475e4caeb6604361137a3dfc4a3739f27e372dd64ffaf786115b92b5c6cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/manager/state/dragging_row_state.dart:77-86 | lib/src/manager/state/hovering_state.dart:21-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/dragging_row_state.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff382eb32eb547cd593cb79cea2c8e073353764083c74a73bf81a332eaecebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/ui/trina_body_columns.dart:92-97 | lib/src/ui/trina_body_columns_footer.dart:61-66 \u2014 before extracting anything, compare \u0060lib/src/ui/trina_body_columns.dart\u0060 and \u0060lib/src/ui/trina_body_columns_footer.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/src/ui/trina_body_columns.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aeab3e0c486bf17117886bff1258b752794e6e63d61b26d81617382484ec9b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/ui/trina_left_frozen_columns_footer.dart:33-42 | lib/src/ui/trina_right_frozen_columns_footer.dart:33-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/trina_left_frozen_columns_footer.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c42dda7e7adb2084a5a70d87d8ca6e9c6e1a5a190964179771e606032d79706"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/widgets/trina_horizontal_scroll_bar.dart:129-138 | lib/src/widgets/trina_vertical_scroll_bar.dart:130-139 \u2014 before extracting anything, compare \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart\u0060 and \u0060lib/src/widgets/trina_vertical_scroll_bar.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 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/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f052e9120d9cea2fb4762a0f4b5afd1e6835a77e2dda0eff897caaf508fb5419"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 26 shared lines): demo/lib/screen/feature/cell_color_screen.dart:54-153 | demo/lib/screen/feature/cell_text_style_screen.dart:39-149 | demo/lib/screen/feature/date_type_column_screen.dart:21-101 | demo/lib/screen/feature/percentage_type_column_screen.dart:23-111 \u2014 These 4 members are variants of one another: a block of 26 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/cell_color_screen.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfc7726eaefb090796ff279aa25aef36ed9cbe1c5d943ab578c31e809a92428"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 41 shared lines): demo/lib/screen/feature/column_hiding_screen.dart:23-68 | demo/lib/screen/feature/column_moving_screen.dart:21-66 | demo/lib/screen/feature/column_sorting_screen.dart:21-66 \u2014 These 3 members are variants of one another: a block of 41 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/column_hiding_screen.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c75c210344d0249cf0b9c45949f1c3d06d874f43a6bfabf9283769a457e99dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (72 shared lines): demo/lib/screen/feature/custom_loading_widget_screen.dart:173-256 | demo/lib/screen/feature/loading_options_screen.dart:191-292 \u2014 These two members are variants of one another: 72 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/custom_loading_widget_screen.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"16922eec3a7668b9150eec2433cfeaa06d87cbf323ac25b2964ca88cafaed6c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): demo/lib/screen/feature/copy_and_paste_screen.dart:22-55 | demo/lib/screen/feature/listing_mode_screen.dart:35-68 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/copy_and_paste_screen.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3b99363466049910850f7f9ede55837255a4a94989d48e58ae972ae138d493"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): demo/lib/screen/feature/cell_selection_screen.dart:35-76 | demo/lib/screen/feature/excel_like_selection_screen.dart:44-95 | demo/lib/screen/feature/listing_mode_screen.dart:77-153 | demo/lib/screen/feature/listing_mode_screen.dart:155-229 | demo/lib/screen/feature/row_selection_screen.dart:39-75 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/cell_selection_screen.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61474130d666ddcf77ff5aaff9ec28305e92b593eb8958082ba88b2a6b3fb45"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): demo/lib/screen/feature/custom_pagination_screen.dart:39-87 | demo/lib/screen/feature/pages_list_screen.dart:42-126 | demo/lib/screen/feature/row_infinity_scroll_screen.dart:57-162 | demo/lib/screen/feature/row_lazy_pagination_screen.dart:46-130 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/custom_pagination_screen.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a77a5394d458fee2b6e292e09c5a1c62552b52d1b9eb7d2635a89045cb65f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): demo/lib/screen/feature/dark_mode_screen.dart:21-142 | demo/lib/screen/feature/theme_switching_screen.dart:21-120 \u2014 These two members are one piece of code written twice and then edited apart: 100 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":"demo/lib/screen/feature/dark_mode_screen.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c530cfd715a62d49fdeccf4ddfff4627444046f859b9f1b60acbf7e4557989"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): demo/lib/screen/feature/change_tracking_screen.dart:37-103 | demo/lib/screen/feature/column_filter_methods_screen.dart:22-102 \u2014 These two members are one piece of code written twice and then edited apart: 67 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":"demo/lib/screen/feature/change_tracking_screen.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d105ae604b18d2f3a73be6e647f414f21f765481826707571958b5fa175a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): demo/lib/dummy_data/quick_start.dart:7-74 | demo/lib/screen/feature/number_type_column_screen.dart:21-82 \u2014 These two members are one piece of code written twice and then edited apart: 62 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":"demo/lib/dummy_data/quick_start.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d32e9f7034374c7191b16deff82305521690ecd2b56615b86ee17c3754282aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): demo/lib/screen/feature/row_lazy_pagination_screen.dart:132-216 | demo/lib/screen/feature/row_pagination_screen.dart:36-100 \u2014 These two members are one piece of code written twice and then edited apart: 65 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":"demo/lib/screen/feature/row_lazy_pagination_screen.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7673cc04226dba81bb8706b45d37fd4e4fdbeb942b351c1dbf8ca664ee6e2121"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): demo/lib/widget/trina_contributor_tile.dart:35-90 | demo/lib/widget/trina_list_tile.dart:49-99 \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":"demo/lib/widget/trina_contributor_tile.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c36d5d021fa18f4a8de75db18cbef659638f7197c523ea610df081f078d2d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): demo/lib/screen/feature/custom_footer_screen.dart:22-77 | demo/lib/screen/feature/filter_icon_customization_screen.dart:22-68 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"demo/lib/screen/feature/custom_footer_screen.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"986a7b5a13b5375147804cbbe4e05a58866e4e72638beb974a7b6034ebfcb26f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): demo/lib/screen/feature/cell_selection_screen.dart:78-126 | demo/lib/screen/feature/editing_state_screen.dart:44-88 | demo/lib/screen/feature/row_selection_screen.dart:104-160 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 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":"demo/lib/screen/feature/cell_selection_screen.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcc0b9af77baf82491fe4e1971c66fe601a6fd5a384f7b32bb1e0966788c100"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): demo/lib/screen/feature/row_moving_screen.dart:24-58 | demo/lib/screen/feature/row_with_checkbox_screen.dart:24-59 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/row_moving_screen.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"127428c51994371286a0859f831d7d7d0f8b0e4edc7c1770a989366fdd2b333e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): demo/lib/screen/feature/column_filter_modes_screen.dart:27-64 | demo/lib/screen/feature/multiitems_delegate_demo_screen.dart:21-56 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/column_filter_modes_screen.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d56ef00b3ce370df2136484ba4238b0bfb247dbf890504f680f5f74c0b54d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): demo/lib/screen/feature/boolean_type_column_screen.dart:122-158 | demo/lib/screen/feature/column_filter_methods_screen.dart:104-144 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"demo/lib/screen/feature/boolean_type_column_screen.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed42a55f86aaadaa5821e951dcb7c943adb097e0fbab4f0e1088ce07244b5db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): demo/lib/screen/feature/dynamic_row_height_demo.dart:130-154 | demo/lib/screen/feature/dynamic_row_height_demo.dart:157-183 \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":"demo/lib/screen/feature/dynamic_row_height_demo.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa74da1bbdaa811dfcf19aae8476af2d0d2fb22f8afab177fe08911cd6707ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): demo/lib/screen/feature/column_freezing_screen.dart:33-63 | demo/lib/screen/feature/row_with_checkbox_screen.dart:72-104 \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":"demo/lib/screen/feature/column_freezing_screen.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1397e65de0dda84785008572d7da0efd5b9290ade07c191ef11499a75d411a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): demo/lib/screen/empty_screen.dart:22-45 | demo/lib/screen/feature/row_infinity_scroll_screen.dart:27-55 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/empty_screen.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1d34f0714beef65af4e934e590862a0fefa4828db50f7d42b3f541b8fdcbe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 27\u002B corresponding lines): demo/lib/screen/feature/add_rows_asynchronously.dart:97-135 | demo/lib/screen/feature/column_footer_screen.dart:139-172 | demo/lib/screen/feature/column_group_screen.dart:134-165 | demo/lib/screen/feature/column_title_renderer_screen.dart:198-227 | demo/lib/screen/feature/currency_type_column_screen.dart:98-124 | demo/lib/screen/feature/row_infinity_scroll_screen.dart:164-212 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 27 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/add_rows_asynchronously.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6668dbf25feca583c687c7d8ef4b5e7bdbcf845c100b1d7c46d9234fab1c6d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): demo/lib/screen/feature/moving_screen.dart:33-64 | demo/lib/screen/feature/selection_type_column_screen.dart:180-209 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/moving_screen.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48484426616dadb2387dac89ee02c152fdcc3ea740d29c6e3446965733ca3cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): demo/lib/screen/feature/rtl_scrollbar_screen.dart:31-63 | demo/lib/screen/feature/scroll_physics_screen.dart:60-98 \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":"demo/lib/screen/feature/rtl_scrollbar_screen.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a52d404300f8a20f20f595a5fa19bdd2d84103b4ef5ab8c3d1f8ca3ce221e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): demo/lib/screen/feature/column_filter_modes_screen.dart:66-99 | demo/lib/screen/feature/custom_type_column_screen.dart:241-274 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/column_filter_modes_screen.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51e65f0f794efb2f72bb43cc0d0e7391a7a0d6c8213d2b8989412f2dc5023d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): demo/lib/screen/feature/column_sorting_screen.dart:68-90 | demo/lib/screen/feature/date_type_column_screen.dart:103-127 | demo/lib/screen/feature/time_type_column_screen.dart:97-120 | demo/lib/screen/feature/value_formatter_screen.dart:110-138 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/column_sorting_screen.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0abc4ac587256314fe38c8f4c0bec9b163cc92a30c562a9abbbce3dab7fdc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): demo/lib/screen/feature/column_filtering_screen.dart:295-304 | demo/lib/screen/feature/scrollbars.dart:524-536 \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":"demo/lib/screen/feature/column_filtering_screen.dart"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0efdd5d8e85ea556e8d814b4ecb3b1936ed4430ff95397fc213e1666a6a7e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): demo/lib/widget/trina_docs_button.dart:11-20 | demo/lib/widget/trina_example_button.dart:11-20 \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":"demo/lib/widget/trina_docs_button.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96d4cf8b493c5f632754fbaf911cb1c014bab45c9bb0f11c6224c7ce400b4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67\u201368 lines \u00D7 2): demo/lib/screen/feature/grid_export_screen.dart:264-330 | demo/lib/screen/feature/grid_export_screen.dart:348-415 \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 \u0060demo/lib/screen/feature/grid_export_screen.dart:264\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":"demo/lib/screen/feature/grid_export_screen.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2509fbc406ad957665b0b0b5b2fb6bbf85982f4a213e5e2a8d083eae23a9a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): demo/lib/screen/feature/custom_loading_widget_screen.dart:116-154 | demo/lib/screen/feature/loading_options_screen.dart:116-154 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_loading_widget_screen.dart\u0060 and \u0060demo/lib/screen/feature/loading_options_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 208 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":"demo/lib/screen/feature/custom_loading_widget_screen.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"937a99bcf0abe02ac715eb55af10d83cb81fe136d9322a39881b13b460b3ef70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): demo/lib/screen/feature/custom_loading_widget_screen.dart:297-333 | demo/lib/screen/feature/loading_options_screen.dart:333-369 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_loading_widget_screen.dart\u0060 and \u0060demo/lib/screen/feature/loading_options_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 208 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":"demo/lib/screen/feature/custom_loading_widget_screen.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13ab7c9f7cf53e000c32e1d3335a613ec6e0e248838b1484c24559ba9bf81d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): demo/lib/screen/feature/dark_mode_screen.dart:31-65 | demo/lib/screen/feature/theme_switching_screen.dart:31-65 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/dark_mode_screen.dart\u0060 and \u0060demo/lib/screen/feature/theme_switching_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 179 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 \u0060demo/lib/screen/feature/dark_mode_screen.dart:31\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":"demo/lib/screen/feature/dark_mode_screen.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e55f5b23a3f1d3d73b1ce3bb7d1a9cf0ef28c313f781f8664661ed58d21a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): demo/lib/screen/feature/row_lazy_pagination_screen.dart:138-172 | demo/lib/screen/feature/row_pagination_screen.dart:45-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/row_lazy_pagination_screen.dart:138\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":"demo/lib/screen/feature/row_lazy_pagination_screen.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab7b0e18eedb4e402879d112c55aee9745a521d4ef88200059fdedd66a97267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): demo/lib/screen/feature/custom_loading_widget_screen.dart:224-256 | demo/lib/screen/feature/loading_options_screen.dart:260-292 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_loading_widget_screen.dart\u0060 and \u0060demo/lib/screen/feature/loading_options_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 208 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 \u0060demo/lib/screen/feature/custom_loading_widget_screen.dart:224\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":"demo/lib/screen/feature/custom_loading_widget_screen.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff28ce2e3b14c40d5f7a88336c2a4331abe3013140d322f27e23216a3031c72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201363 lines \u00D7 2): demo/lib/screen/feature/dark_mode_screen.dart:72-134 | demo/lib/screen/feature/theme_switching_screen.dart:66-114 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/dark_mode_screen.dart\u0060 and \u0060demo/lib/screen/feature/theme_switching_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 179 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 \u0060demo/lib/screen/feature/dark_mode_screen.dart:72\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060demo/lib/screen/feature/dark_mode_screen.dart:135\u0060 calls \u0060toString\u0060, \u0060padLeft\u0060 and \u0060demo/lib/screen/feature/theme_switching_screen.dart:114\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":"demo/lib/screen/feature/dark_mode_screen.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1e82bae939d38208de069fc510e09db185a458e1df797ae39adb9a94f51792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201329 lines \u00D7 4): demo/lib/screen/feature/custom_pagination_screen.dart:41-65 | demo/lib/screen/feature/pages_list_screen.dart:76-104 | demo/lib/screen/feature/row_infinity_scroll_screen.dart:91-119 | demo/lib/screen/feature/row_lazy_pagination_screen.dart:80-108 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_pagination_screen.dart\u0060 and \u0060demo/lib/screen/feature/pages_list_screen.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/custom_pagination_screen.dart:41\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":"demo/lib/screen/feature/custom_pagination_screen.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c0b1b4d3735f68741ea92086722d460256f999c12158f2984f4552fa18b339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 4): demo/lib/screen/feature/copy_and_paste_screen.dart:28-55 | demo/lib/screen/feature/listing_mode_screen.dart:41-68 | demo/lib/screen/feature/row_moving_screen.dart:35-58 | demo/lib/screen/feature/row_with_checkbox_screen.dart:36-59 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/copy_and_paste_screen.dart\u0060 and \u0060demo/lib/screen/feature/listing_mode_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 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 \u0060demo/lib/screen/feature/copy_and_paste_screen.dart:28\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":"demo/lib/screen/feature/copy_and_paste_screen.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7435f56b912a9ea9e25603c68218e99017422318d72d08114f3138b8ac4540a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): demo/lib/screen/feature/boolean_type_column_screen.dart:82-109 | demo/lib/screen/feature/change_tracking_screen.dart:67-94 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/boolean_type_column_screen.dart\u0060 and \u0060demo/lib/screen/feature/change_tracking_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 86 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 \u0060demo/lib/screen/feature/boolean_type_column_screen.dart:82\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 after the matched lines, \u0060demo/lib/screen/feature/boolean_type_column_screen.dart:110\u0060 calls \u0060TrinaCell\u0060 and \u0060demo/lib/screen/feature/change_tracking_screen.dart:95\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/boolean_type_column_screen.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfde1967af3388916456f5a2a2c1f9a8488df6c661baf392171f31ffb57db8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): demo/lib/screen/feature/listing_mode_screen.dart:111-138 | demo/lib/screen/feature/listing_mode_screen.dart:195-222 \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 \u0060demo/lib/screen/feature/listing_mode_screen.dart:111\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/listing_mode_screen.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acc0904d605b912dcd351c6f9b4e8d87a75aadbce0f5212ef4990bf1344afe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): demo/lib/screen/feature/add_and_remove_column_row_screen.dart:90-116 | demo/lib/screen/feature/column_hiding_screen.dart:42-68 | demo/lib/screen/feature/column_moving_screen.dart:40-66 | demo/lib/screen/feature/column_sorting_screen.dart:40-66 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/column_hiding_screen.dart\u0060 and \u0060demo/lib/screen/feature/column_moving_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 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 \u0060demo/lib/screen/feature/add_and_remove_column_row_screen.dart:90\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":"demo/lib/screen/feature/add_and_remove_column_row_screen.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b52db5c426ef6c1230ed4128fc8e1be1455955ebbfc2965941100b3f204b863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): demo/lib/screen/feature/boolean_type_column_screen.dart:22-48 | demo/lib/screen/feature/change_tracking_screen.dart:37-63 | demo/lib/screen/feature/column_filter_methods_screen.dart:22-48 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/boolean_type_column_screen.dart\u0060 and \u0060demo/lib/screen/feature/change_tracking_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 86 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 \u0060demo/lib/screen/feature/boolean_type_column_screen.dart:22\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":"demo/lib/screen/feature/boolean_type_column_screen.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"54383b7805f8828d29c0bab38e126724b3d7be9ea2fa74c5cf87bb617cb60399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): demo/lib/screen/feature/cell_color_screen.dart:63-89 | demo/lib/screen/feature/cell_text_style_screen.dart:48-74 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_color_screen.dart\u0060 and \u0060demo/lib/screen/feature/cell_text_style_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 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 \u0060demo/lib/screen/feature/cell_color_screen.dart:63\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":"demo/lib/screen/feature/cell_color_screen.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6296c02b458e99c2bb2139f8f27cbda7a23477c7502c63955cf8a23cdbb9afa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201325 lines \u00D7 8): demo/lib/screen/empty_screen.dart:27-41 | demo/lib/screen/feature/column_hiding_screen.dart:28-42 | demo/lib/screen/feature/column_moving_screen.dart:26-40 | demo/lib/screen/feature/column_sorting_screen.dart:26-40 | demo/lib/screen/feature/copy_and_paste_screen.dart:27-51 | demo/lib/screen/feature/listing_mode_screen.dart:40-64 | demo/lib/screen/feature/row_moving_screen.dart:35-54 | demo/lib/screen/feature/row_with_checkbox_screen.dart:36-55 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/column_hiding_screen.dart\u0060 and \u0060demo/lib/screen/feature/column_moving_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 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":"demo/lib/screen/empty_screen.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4440486a547a69af9a2dcd7630bd855603eb074ed77dbeb31ecfdd7c7a1e54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): demo/lib/screen/feature/cell_selection_screen.dart:35-59 | demo/lib/screen/feature/excel_like_selection_screen.dart:44-68 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_selection_screen.dart\u0060 and \u0060demo/lib/screen/feature/excel_like_selection_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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 \u0060demo/lib/screen/feature/cell_selection_screen.dart:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/cell_selection_screen.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a4f7001b08c9da90d4179713ab56c9fd634214db3a716f419c88e6ffaf3495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): demo/lib/screen/feature/column_moving_screen.dart:68-92 | demo/lib/screen/feature/copy_and_paste_screen.dart:57-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060demo/lib/screen/feature/copy_and_paste_screen.dart:54\u0060 calls \u0060addAll\u0060, \u0060rowsByColumns\u0060 and \u0060demo/lib/screen/feature/column_moving_screen.dart:65\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":"demo/lib/screen/feature/column_moving_screen.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"73912a0cf8645e6707fe26c5d015f4658165272744c86f5afdee3fbc50d23438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): demo/lib/screen/feature/custom_loading_widget_screen.dart:183-206 | demo/lib/screen/feature/loading_options_screen.dart:204-228 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_loading_widget_screen.dart\u0060 and \u0060demo/lib/screen/feature/loading_options_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 208 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 \u0060demo/lib/screen/feature/custom_loading_widget_screen.dart:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/custom_loading_widget_screen.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb21d458d3f6bd244dfbaebf7f6a831c8918a17087fd249627f0fb57dda22364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 4): demo/lib/screen/feature/cell_color_screen.dart:54-73 | demo/lib/screen/feature/cell_text_style_screen.dart:39-58 | demo/lib/screen/feature/dark_mode_screen.dart:21-44 | demo/lib/screen/feature/theme_switching_screen.dart:21-44 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_color_screen.dart\u0060 and \u0060demo/lib/screen/feature/cell_text_style_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 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 \u0060demo/lib/screen/feature/cell_color_screen.dart:54\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":"demo/lib/screen/feature/cell_color_screen.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"132d92c3dd1f3618ab08f88a7b2256763cbe6b2df1ae1075f6f1dd848a1ba4e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): demo/lib/screen/feature/column_footer_screen.dart:141-163 | demo/lib/screen/feature/column_freezing_screen.dart:35-57 | demo/lib/screen/feature/moving_screen.dart:35-57 | demo/lib/screen/feature/row_infinity_scroll_screen.dart:166-188 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/column_footer_screen.dart\u0060 and \u0060demo/lib/screen/feature/row_infinity_scroll_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 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 \u0060demo/lib/screen/feature/column_footer_screen.dart:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060demo/lib/screen/feature/column_footer_screen.dart:166\u0060 calls \u0060setSelectingMode\u0060 and \u0060demo/lib/screen/feature/row_infinity_scroll_screen.dart:191\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":"demo/lib/screen/feature/column_footer_screen.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6961d341eb1ce073a58b7f6a28d968664b5c570648747a3003a07a87d8601a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): demo/lib/screen/feature/add_and_remove_column_row_screen.dart:118-140 | demo/lib/screen/feature/row_wrapper_frozen_screen.dart:42-64 | demo/lib/screen/feature/value_formatter_screen.dart:110-132 \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 \u0060demo/lib/screen/feature/add_and_remove_column_row_screen.dart:118\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":"demo/lib/screen/feature/add_and_remove_column_row_screen.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed214847fe9d68861c3c796a2aa1e08cbd9a19b1137d75ae8d226e15c5f7787d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): demo/lib/screen/feature/cell_selection_screen.dart:104-126 | demo/lib/screen/feature/editing_state_screen.dart:66-88 \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 \u0060demo/lib/screen/feature/cell_selection_screen.dart:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/cell_selection_screen.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aed4de336ca122810441fe575ac632ac8e252c539d2450fdfdf1236e76626dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 2): demo/lib/screen/feature/column_filtering_screen.dart:101-123 | demo/lib/screen/feature/dynamic_row_height_demo.dart:42-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/column_filtering_screen.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. 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":"demo/lib/screen/feature/column_filtering_screen.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1720b9a74e265723ad395063c16da556a615d4901a0d3ffdd77288601993611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): demo/lib/screen/feature/column_resizing_screen.dart:48-70 | demo/lib/screen/feature/frozen_rows_screen.dart:67-89 \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 \u0060demo/lib/screen/feature/column_resizing_screen.dart:48\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 before the matched lines, \u0060demo/lib/screen/feature/column_resizing_screen.dart:45\u0060 calls \u0060Text\u0060 and \u0060demo/lib/screen/feature/frozen_rows_screen.dart:66\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":"demo/lib/screen/feature/column_resizing_screen.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d9392361c1af92970f8b43faf3f06a56c5eb47bcbae6da851cae5d787ac2f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): demo/lib/screen/feature/custom_pagination_screen.dart:96-118 | demo/lib/screen/feature/pages_list_screen.dart:134-156 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_pagination_screen.dart\u0060 and \u0060demo/lib/screen/feature/pages_list_screen.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/custom_pagination_screen.dart:96\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060demo/lib/screen/feature/custom_pagination_screen.dart:95\u0060 calls \u0060Text\u0060 and \u0060demo/lib/screen/feature/pages_list_screen.dart:133\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":"demo/lib/screen/feature/custom_pagination_screen.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e61ac3713d1e5b6be8752b767ff97a3a8d9543e7c493c188b285418fbb2d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): demo/lib/screen/feature/column_footer_screen.dart:139-160 | demo/lib/screen/feature/column_freezing_screen.dart:33-54 | demo/lib/screen/feature/column_resizing_screen.dart:39-60 | demo/lib/screen/feature/moving_screen.dart:33-54 | demo/lib/screen/feature/row_infinity_scroll_screen.dart:164-185 | demo/lib/screen/feature/row_wrapper_screen.dart:29-50 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/column_footer_screen.dart\u0060 and \u0060demo/lib/screen/feature/row_infinity_scroll_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 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 \u0060demo/lib/screen/feature/column_footer_screen.dart:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/column_footer_screen.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c76d22ba0f53ae4f698617f44f09d6003a89bbf26839d90425015fd04fb796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): demo/lib/screen/feature/cell_renderer_screen.dart:234-253 | demo/lib/screen/feature/column_renderer_screen.dart:127-148 \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 \u0060demo/lib/screen/feature/cell_renderer_screen.dart:234\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":"demo/lib/screen/feature/cell_renderer_screen.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd68d782ddfb6ebf85c5e444634511f1dda90e08affedee2501baf7ffc2a18fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): demo/lib/screen/feature/scrollbars.dart:308-327 | demo/lib/screen/feature/scrollbars.dart:405-426 \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 \u0060demo/lib/screen/feature/scrollbars.dart:308\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":"demo/lib/screen/feature/scrollbars.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fcaac226c00dc756af4396652f7aca2728470d71a9c399c1e2410eb7884f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): demo/lib/screen/feature/cell_renderer_screen.dart:57-77 | demo/lib/screen/feature/dark_mode_screen.dart:44-64 | demo/lib/screen/feature/theme_switching_screen.dart:44-64 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/dark_mode_screen.dart\u0060 and \u0060demo/lib/screen/feature/theme_switching_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 179 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 \u0060demo/lib/screen/feature/cell_renderer_screen.dart:57\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":"demo/lib/screen/feature/cell_renderer_screen.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f230ba20d28ff770637720a54b454b89f388a41749396c357c5b896155039a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): demo/lib/screen/feature/cell_renderer_screen.dart:226-246 | demo/lib/screen/feature/row_with_checkbox_screen.dart:74-94 | demo/lib/screen/feature/selection_type_column_screen.dart:182-202 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_renderer_screen.dart\u0060 and \u0060demo/lib/screen/feature/row_with_checkbox_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 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 \u0060demo/lib/screen/feature/cell_renderer_screen.dart:226\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":"demo/lib/screen/feature/cell_renderer_screen.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e9d316e0ecd62aff0dca4d32c932876b1a3513e1493870e021e45da7e4cfeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): demo/lib/screen/feature/dark_mode_screen.dart:50-70 | demo/lib/screen/feature/theme_integration_screen.dart:51-71 | demo/lib/screen/feature/theme_switching_screen.dart:50-70 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/dark_mode_screen.dart\u0060 and \u0060demo/lib/screen/feature/theme_switching_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 179 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 \u0060demo/lib/screen/feature/dark_mode_screen.dart:50\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":"demo/lib/screen/feature/dark_mode_screen.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e5238ceecc2206008141bcd9098dde2ea4b468f02135d7378b97ad6b2f2bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): demo/lib/screen/feature/cell_selection_screen.dart:56-76 | demo/lib/screen/feature/row_selection_screen.dart:55-75 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_selection_screen.dart\u0060 and \u0060demo/lib/screen/feature/row_selection_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/cell_selection_screen.dart:56\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/cell_selection_screen.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"999e14a40df344d8b39ef3b424113d1c7f9704eb765b693d49089d15365bfa9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): demo/lib/screen/feature/column_menu_screen.dart:33-53 | demo/lib/screen/feature/listing_mode_screen.dart:231-251 \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 \u0060demo/lib/screen/feature/column_menu_screen.dart:33\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":"demo/lib/screen/feature/column_menu_screen.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63bec38951d526c72a57bfece3720a545944354126edbd878b4f6518e477571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): demo/lib/screen/feature/column_title_renderer_screen.dart:75-95 | demo/lib/screen/feature/column_title_renderer_screen.dart:140-160 \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 \u0060demo/lib/screen/feature/column_title_renderer_screen.dart:75\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060demo/lib/screen/feature/column_title_renderer_screen.dart:96\u0060 calls \u0060Icon\u0060, \u0060SizedBox\u0060 and \u0060demo/lib/screen/feature/column_title_renderer_screen.dart:161\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/column_title_renderer_screen.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dae60b345c366faa5ee70c14fdc99d5617942ea6faf42d51d9b7137012bbc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): demo/lib/screen/feature/frozen_rows_screen.dart:61-81 | demo/lib/screen/feature/pages_list_screen.dart:128-148 \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 \u0060demo/lib/screen/feature/frozen_rows_screen.dart:61\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"demo/lib/screen/feature/frozen_rows_screen.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"961c5468dee602c17e22c47a0504e573919da07b853c312ae5c823dc2816d103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): demo/lib/screen/feature/number_type_column_screen.dart:84-104 | demo/lib/screen/feature/text_type_column_screen.dart:61-81 \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":"demo/lib/screen/feature/number_type_column_screen.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c748f90730086b27a5d9edc2d309f3dde10683bc89cb2ddc32a82e6420d4564d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): demo/lib/screen/feature/row_wrapper_frozen_screen.dart:91-111 | demo/lib/screen/feature/row_wrapper_screen.dart:51-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 \u0060demo/lib/screen/feature/row_wrapper_frozen_screen.dart:91\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":"demo/lib/screen/feature/row_wrapper_frozen_screen.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"893519d4b047039a918d8d8bfc62e8f112762b07527383aff6a0a1d443f93f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): demo/lib/screen/feature/cell_renderer_screen.dart:224-243 | demo/lib/screen/feature/column_group_screen.dart:134-153 | demo/lib/screen/feature/custom_pagination_screen.dart:89-108 | demo/lib/screen/feature/row_with_checkbox_screen.dart:72-91 | demo/lib/screen/feature/selection_type_column_screen.dart:180-199 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_renderer_screen.dart\u0060 and \u0060demo/lib/screen/feature/row_with_checkbox_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 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 \u0060demo/lib/screen/feature/cell_renderer_screen.dart:224\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":"demo/lib/screen/feature/cell_renderer_screen.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20bd3cc9398ab75305877cbc287baddb60047d3cb2a754bf12b22d35377dea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): demo/lib/screen/feature/column_renderer_screen.dart:120-139 | demo/lib/screen/feature/column_sorting_screen.dart:68-87 | demo/lib/screen/feature/currency_type_column_screen.dart:98-117 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/column_renderer_screen.dart:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060demo/lib/screen/feature/column_renderer_screen.dart:117\u0060 calls \u0060addAll\u0060, \u0060rowsByColumns\u0060 and \u0060demo/lib/screen/feature/column_sorting_screen.dart:65\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/column_renderer_screen.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e9c07ab2a0512dab59e124ec449c7b7351b65a6eecebf62e77a6f995a02b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): demo/lib/screen/feature/listing_mode_screen.dart:78-97 | demo/lib/screen/feature/listing_mode_screen.dart:156-175 \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 \u0060demo/lib/screen/feature/listing_mode_screen.dart:78\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":"demo/lib/screen/feature/listing_mode_screen.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1bc0c5c7181958af859562436055e228036c6247d4665f9c9b52b57d4987d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): demo/lib/screen/feature/cell_color_screen.dart:213-231 | demo/lib/screen/feature/cell_text_style_screen.dart:221-238 | demo/lib/screen/feature/row_color_screen.dart:170-188 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_color_screen.dart\u0060 and \u0060demo/lib/screen/feature/cell_text_style_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 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 \u0060demo/lib/screen/feature/cell_color_screen.dart:213\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":"demo/lib/screen/feature/cell_color_screen.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b05af97b385d602cd3beb4d420ebf32cecc8633f7bfa92eaaaefeabe6bbfa45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): demo/lib/screen/feature/cell_selection_screen.dart:49-66 | demo/lib/screen/feature/excel_like_selection_screen.dart:58-76 | demo/lib/screen/feature/row_selection_screen.dart:48-65 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_selection_screen.dart\u0060 and \u0060demo/lib/screen/feature/excel_like_selection_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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 \u0060demo/lib/screen/feature/cell_selection_screen.dart:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/cell_selection_screen.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fb3c1dcf02689432ec1b2b7c33499c2561612ea116e24ee0cedf790303ca2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): demo/lib/screen/feature/change_tracking_screen.dart:52-70 | demo/lib/screen/feature/custom_loading_widget_screen.dart:123-141 | demo/lib/screen/feature/loading_options_screen.dart:123-141 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/change_tracking_screen.dart\u0060 and \u0060demo/lib/screen/feature/custom_loading_widget_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/change_tracking_screen.dart:52\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":"demo/lib/screen/feature/change_tracking_screen.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"751ca2a2f08c4b095ec68744c6c278b807d077e3366b22247032f112fbf81c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): demo/lib/screen/feature/column_footer_screen.dart:147-165 | demo/lib/screen/feature/column_title_renderer_screen.dart:206-223 | demo/lib/screen/feature/row_infinity_scroll_screen.dart:172-190 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/column_footer_screen.dart\u0060 and \u0060demo/lib/screen/feature/row_infinity_scroll_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 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 \u0060demo/lib/screen/feature/column_footer_screen.dart:147\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 after the matched lines, \u0060demo/lib/screen/feature/column_footer_screen.dart:166\u0060 calls \u0060setSelectingMode\u0060 and \u0060demo/lib/screen/feature/row_infinity_scroll_screen.dart:191\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":"demo/lib/screen/feature/column_footer_screen.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2174bc9c9fc0de6430fecb68c367d1c5dfb68801dcc38662961cef8618e8dfa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): demo/lib/screen/feature/custom_pagination_screen.dart:69-87 | demo/lib/screen/feature/pages_list_screen.dart:108-126 | demo/lib/screen/feature/row_lazy_pagination_screen.dart:112-130 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_pagination_screen.dart\u0060 and \u0060demo/lib/screen/feature/pages_list_screen.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/custom_pagination_screen.dart:69\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/custom_pagination_screen.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a204adb6da66bdd45b092bbad62179a0c0fbf20997ccfc5e203f56bb7b159b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): demo/lib/screen/feature/boolean_type_column_screen.dart:129-147 | demo/lib/screen/feature/custom_type_column_screen.dart:249-267 \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 \u0060demo/lib/screen/feature/boolean_type_column_screen.dart:129\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":"demo/lib/screen/feature/boolean_type_column_screen.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35195a1b3fffdf68b3f1721ddd3edfaef666a4496f19b30a916c3964e82758b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): demo/lib/screen/feature/row_moving_screen.dart:74-92 | demo/lib/screen/feature/row_with_checkbox_screen.dart:81-99 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/row_moving_screen.dart\u0060 and \u0060demo/lib/screen/feature/row_with_checkbox_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 123 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 \u0060demo/lib/screen/feature/row_moving_screen.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":"demo/lib/screen/feature/row_moving_screen.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa03c66b2b2c7eff7340d1b9f619cc1e323e6521f14071a816c819f944700248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): demo/lib/screen/feature/cell_renderer_screen.dart:230-247 | demo/lib/screen/feature/row_moving_screen.dart:71-88 | demo/lib/screen/feature/row_with_checkbox_screen.dart:78-95 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_renderer_screen.dart\u0060 and \u0060demo/lib/screen/feature/row_with_checkbox_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 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 \u0060demo/lib/screen/feature/cell_renderer_screen.dart:230\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":"demo/lib/screen/feature/cell_renderer_screen.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e698f144f07110aa1d00e4147b1a50de58990f221b45a3e24bf4b4276afe8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): demo/lib/screen/empty_screen.dart:22-39 | demo/lib/screen/feature/row_infinity_scroll_screen.dart:27-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/empty_screen.dart:22\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":"demo/lib/screen/empty_screen.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"123c899e69bf88476d472049b4ecd97329a52054abf151e5def013948c061c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): demo/lib/screen/feature/currency_type_column_screen.dart:105-121 | demo/lib/screen/feature/row_infinity_scroll_screen.dart:175-192 \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 \u0060demo/lib/screen/feature/currency_type_column_screen.dart:105\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":"demo/lib/screen/feature/currency_type_column_screen.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa6e27b1d58b54f1f31c3a383f32eb8fbc5a84db93cca3bf08925546b0ce60f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): demo/lib/screen/feature/dual_mode_screen.dart:167-184 | demo/lib/screen/feature/dual_mode_screen.dart:193-210 \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 \u0060demo/lib/screen/feature/dual_mode_screen.dart:167\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, \u0060demo/lib/screen/feature/dual_mode_screen.dart:166\u0060 calls \u0060addListener\u0060 and \u0060demo/lib/screen/feature/dual_mode_screen.dart:192\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":"demo/lib/screen/feature/dual_mode_screen.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb05b580aab7cc7785e94f4538340c618cbd28995173d82d5c3cfda299dc5c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): demo/lib/screen/feature/edit_cell_renderer_screen.dart:60-77 | demo/lib/screen/feature/edit_cell_renderer_screen.dart:279-296 \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 \u0060demo/lib/screen/feature/edit_cell_renderer_screen.dart:60\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/edit_cell_renderer_screen.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cb151ef66771634ae6d0d1e9c4b0a0eb88ad08cab81fc67762c06d1f97a3e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): demo/lib/screen/feature/cell_renderer_screen.dart:231-247 | demo/lib/screen/feature/column_freezing_screen.dart:41-58 | demo/lib/screen/feature/row_moving_screen.dart:72-88 | demo/lib/screen/feature/row_with_checkbox_screen.dart:79-95 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_renderer_screen.dart\u0060 and \u0060demo/lib/screen/feature/row_with_checkbox_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 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 \u0060demo/lib/screen/feature/cell_renderer_screen.dart:231\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":"demo/lib/screen/feature/cell_renderer_screen.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a059e7b67eae5630c8b0d9e243911db912c5dc65c953f6659899b870b4edc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): demo/lib/screen/feature/boolean_type_column_screen.dart:34-49 | demo/lib/screen/feature/change_tracking_screen.dart:49-64 | demo/lib/screen/feature/column_filter_methods_screen.dart:34-49 | demo/lib/screen/feature/custom_footer_screen.dart:32-47 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/boolean_type_column_screen.dart\u0060 and \u0060demo/lib/screen/feature/change_tracking_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 86 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 \u0060demo/lib/screen/feature/boolean_type_column_screen.dart:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/boolean_type_column_screen.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7cc23d07fa19118b25d7492cc837a0ab365dafe06b56f20941b89873c0f0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): demo/lib/screen/feature/cell_renderer_screen.dart:233-248 | demo/lib/screen/feature/column_freezing_screen.dart:44-59 | demo/lib/screen/feature/column_renderer_screen.dart:127-141 \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 \u0060demo/lib/screen/feature/cell_renderer_screen.dart:233\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":"demo/lib/screen/feature/cell_renderer_screen.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b4634e4c2c352e421e72e2d260a0311e1d5a037beb49b45ae8c8862872980b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): demo/lib/screen/feature/add_rows_asynchronously.dart:112-127 | demo/lib/screen/feature/currency_type_column_screen.dart:104-119 \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 \u0060demo/lib/screen/feature/add_rows_asynchronously.dart:112\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":"demo/lib/screen/feature/add_rows_asynchronously.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fd3d2ae7c53172338ed1a9c4c653f2acbff0fc16f8973494bbf522ef424f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): demo/lib/screen/feature/custom_footer_screen.dart:26-41 | demo/lib/screen/feature/dynamic_row_height_demo.dart:39-54 \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 \u0060demo/lib/screen/feature/custom_footer_screen.dart:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"demo/lib/screen/feature/custom_footer_screen.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3e38d8f8f387d4e1887bb36f39ad1f1427738d8c37d7186dcff4499c0c5558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): demo/lib/screen/feature/custom_loading_widget_screen.dart:208-222 | demo/lib/screen/feature/loading_options_screen.dart:231-246 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_loading_widget_screen.dart\u0060 and \u0060demo/lib/screen/feature/loading_options_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 208 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 \u0060demo/lib/screen/feature/custom_loading_widget_screen.dart:208\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":"demo/lib/screen/feature/custom_loading_widget_screen.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc2e8d2668f4338d1d946846d60fa8ddad4d83590b06d5beda593d230f2a07c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): demo/lib/screen/feature/cell_color_screen.dart:59-73 | demo/lib/screen/feature/cell_text_style_screen.dart:44-58 | demo/lib/screen/feature/change_tracking_screen.dart:56-70 | demo/lib/screen/feature/custom_loading_widget_screen.dart:127-141 | demo/lib/screen/feature/dark_mode_screen.dart:27-41 | demo/lib/screen/feature/loading_options_screen.dart:127-141 | demo/lib/screen/feature/theme_switching_screen.dart:27-41 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_color_screen.dart\u0060 and \u0060demo/lib/screen/feature/cell_text_style_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 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 \u0060demo/lib/screen/feature/cell_color_screen.dart:59\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":"demo/lib/screen/feature/cell_color_screen.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4013062f7910a113c1475648b79d201ce8a0c3387a9d80cf53acb3a33afe37cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): demo/lib/screen/feature/boolean_type_column_screen.dart:35-49 | demo/lib/screen/feature/change_tracking_screen.dart:50-64 | demo/lib/screen/feature/column_filter_methods_screen.dart:35-49 | demo/lib/screen/feature/custom_footer_screen.dart:33-47 | demo/lib/screen/feature/custom_loading_widget_screen.dart:121-135 | demo/lib/screen/feature/loading_options_screen.dart:121-135 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/boolean_type_column_screen.dart\u0060 and \u0060demo/lib/screen/feature/change_tracking_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 86 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 \u0060demo/lib/screen/feature/boolean_type_column_screen.dart:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"demo/lib/screen/feature/boolean_type_column_screen.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7d5a0a17e3d26fe5c6921b0454405eb2cffff55b8377ecbdf89d8fb26fdc41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): demo/lib/screen/feature/column_renderer_screen.dart:95-109 | demo/lib/screen/feature/copy_and_paste_screen.dart:31-45 | demo/lib/screen/feature/listing_mode_screen.dart:44-58 | demo/lib/screen/feature/row_moving_screen.dart:34-48 | demo/lib/screen/feature/row_with_checkbox_screen.dart:35-49 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/copy_and_paste_screen.dart\u0060 and \u0060demo/lib/screen/feature/listing_mode_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 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 \u0060demo/lib/screen/feature/column_renderer_screen.dart:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/column_renderer_screen.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b9d258e708c1f1e23e8d59cad3f3f0ef5abc48d77805d19b56696d19f077ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): demo/lib/screen/feature/column_filtering_screen.dart:103-119 | demo/lib/screen/feature/custom_footer_screen.dart:27-41 | demo/lib/screen/feature/dynamic_row_height_demo.dart:40-54 \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 \u0060demo/lib/screen/feature/column_filtering_screen.dart:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"demo/lib/screen/feature/column_filtering_screen.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0c825872279be8c6a76e2f92ced122e97b9fba824c31a9af40b3c9d5e996b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): demo/lib/screen/feature/column_footer_screen.dart:78-92 | demo/lib/screen/feature/column_footer_screen.dart:95-109 \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 \u0060demo/lib/screen/feature/column_footer_screen.dart:78\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. 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":"demo/lib/screen/feature/column_footer_screen.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dc448ad1dc107b5be669b0b6e2d7c41463d6e37cb668ad50a27502cb9d0c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): demo/lib/screen/feature/excel_like_selection_screen.dart:65-77 | demo/lib/screen/feature/listing_mode_screen.dart:82-93 | demo/lib/screen/feature/listing_mode_screen.dart:160-171 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/excel_like_selection_screen.dart:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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, \u0060demo/lib/screen/feature/listing_mode_screen.dart:81\u0060 calls \u0060TextEditingController\u0060 and \u0060demo/lib/screen/feature/excel_like_selection_screen.dart:64\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":"demo/lib/screen/feature/excel_like_selection_screen.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7393b8a8afd3cb99622ca49886bb6cb9d19854d84c2cf141409ff781d44a28e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): demo/lib/screen/feature/dynamic_row_height_demo.dart:131-143 | demo/lib/screen/feature/dynamic_row_height_demo.dart:158-170 \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 \u0060demo/lib/screen/feature/dynamic_row_height_demo.dart:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/dynamic_row_height_demo.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefae0c9652786beb5a67788c290e4b2c0e19ce6d7c28ed2fd9f6cef8b7d7b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): demo/lib/screen/feature/custom_pagination_screen.dart:107-118 | demo/lib/screen/feature/pages_list_screen.dart:145-156 | demo/lib/screen/feature/row_lazy_pagination_screen.dart:174-185 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_pagination_screen.dart\u0060 and \u0060demo/lib/screen/feature/pages_list_screen.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/custom_pagination_screen.dart:107\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":"demo/lib/screen/feature/custom_pagination_screen.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"87538fc5b7175ede27d3b5420edea17f231fc7852fdf56cc2a8f01d276d990ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): demo/lib/screen/feature/date_time_column_screen.dart:121-132 | demo/lib/screen/feature/date_time_column_screen.dart:134-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/date_time_column_screen.dart:121\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":"demo/lib/screen/feature/date_time_column_screen.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2520d9a00c1137c6da4d37191d5b6594bc5525dced0cd5051a2d648589ae34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): demo/lib/screen/feature/grid_as_popup_screen.dart:122-133 | demo/lib/screen/feature/grid_as_popup_screen.dart:137-148 \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 \u0060demo/lib/screen/feature/grid_as_popup_screen.dart:122\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":"demo/lib/screen/feature/grid_as_popup_screen.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"48db84a422a53d975adde8239e4e6adc30db80a411ed0b6aa9cf704570dbc500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): demo/lib/dummy_data/quick_start.dart:49-59 | demo/lib/screen/feature/date_type_column_screen.dart:72-82 | demo/lib/screen/feature/date_type_column_screen.dart:83-93 | demo/lib/screen/feature/time_type_column_screen.dart:56-66 \u2014 before extracting anything, compare \u0060demo/lib/dummy_data/quick_start.dart\u0060 and \u0060demo/lib/screen/feature/date_type_column_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/dummy_data/quick_start.dart:49\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/dummy_data/quick_start.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9480672d07400f122f761e181189a5607235c21e7dd87228c4951ff54dbc9a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): demo/lib/screen/feature/cell_color_screen.dart:98-108 | demo/lib/screen/feature/date_type_column_screen.dart:63-73 | demo/lib/screen/feature/percentage_type_column_screen.dart:70-80 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/date_type_column_screen.dart\u0060 and \u0060demo/lib/screen/feature/percentage_type_column_screen.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/cell_color_screen.dart:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/cell_color_screen.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"579065eb5e0cb4d82cda6560fbfda6755c1a313bfc39810b1821bb203f44c487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): demo/lib/screen/feature/column_footer_screen.dart:78-88 | demo/lib/screen/feature/column_footer_screen.dart:95-105 | demo/lib/screen/feature/column_footer_screen.dart:112-122 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/column_footer_screen.dart:78\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":"demo/lib/screen/feature/column_footer_screen.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99c48f33193db2db82806fcc019d9673079d059c85b3952f770dcaea2b26e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): demo/lib/screen/feature/custom_type_column_screen.dart:128-138 | demo/lib/screen/feature/custom_type_column_screen.dart:159-169 \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 \u0060demo/lib/screen/feature/custom_type_column_screen.dart:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060demo/lib/screen/feature/custom_type_column_screen.dart:170\u0060 calls \u0060Chip\u0060 and \u0060demo/lib/screen/feature/custom_type_column_screen.dart:139\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":"demo/lib/screen/feature/custom_type_column_screen.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d47bedc0e6baecc7b458dcf44c9b6a2f2688f915ba54bdd1bbfc867abebe68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): demo/lib/dummy_data/quick_start.dart:50-59 | demo/lib/screen/feature/add_and_remove_column_row_screen.dart:96-105 | demo/lib/screen/feature/column_hiding_screen.dart:48-57 | demo/lib/screen/feature/column_moving_screen.dart:46-55 | demo/lib/screen/feature/column_sorting_screen.dart:46-55 | demo/lib/screen/feature/date_type_column_screen.dart:73-82 | demo/lib/screen/feature/date_type_column_screen.dart:84-93 | demo/lib/screen/feature/time_type_column_screen.dart:57-66 \u2014 before extracting anything, compare \u0060demo/lib/dummy_data/quick_start.dart\u0060 and \u0060demo/lib/screen/feature/date_type_column_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/dummy_data/quick_start.dart:50\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060demo/lib/dummy_data/quick_start.dart:60\u0060 calls \u0060TrinaCell\u0060 and \u0060demo/lib/screen/feature/add_and_remove_column_row_screen.dart:106\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/dummy_data/quick_start.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"34514a571f57236db7b91568e9d028e4e7a4d4c7491c7b6c0da9ff27199c4539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): demo/lib/dummy_data/quick_start.dart:51-60 | demo/lib/screen/feature/date_type_column_screen.dart:74-83 | demo/lib/screen/feature/date_type_column_screen.dart:85-94 | demo/lib/screen/feature/percentage_type_column_screen.dart:82-91 | demo/lib/screen/feature/percentage_type_column_screen.dart:94-103 | demo/lib/screen/feature/time_type_column_screen.dart:58-67 \u2014 before extracting anything, compare \u0060demo/lib/dummy_data/quick_start.dart\u0060 and \u0060demo/lib/screen/feature/date_type_column_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/dummy_data/quick_start.dart:51\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060demo/lib/dummy_data/quick_start.dart:60\u0060 calls \u0060TrinaCell\u0060 and \u0060demo/lib/screen/feature/time_type_column_screen.dart:67\u0060 does not \u2014 after which the two agree again for 5 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":"demo/lib/dummy_data/quick_start.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9779f72e42f6912f95db21741814d7fbaeba6e07e01b8cf53c8a8594535d03da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): demo/lib/screen/feature/cell_text_style_screen.dart:108-117 | demo/lib/screen/feature/cell_text_style_screen.dart:138-147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/cell_text_style_screen.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e27138d984adc5979818fef0c8b4ca51be67059a35d1094ed97f91cb03cfde7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): demo/lib/screen/feature/column_filter_methods_screen.dart:251-260 | demo/lib/screen/feature/column_filter_methods_screen.dart:263-273 \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 \u0060demo/lib/screen/feature/column_filter_methods_screen.dart:251\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":"demo/lib/screen/feature/column_filter_methods_screen.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8405158aca80a3bedda44652bff8b4dbd68b8827fcbd0ccc33341699fbe0e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12): demo/lib/screen/feature/cell_color_screen.dart:110-118 | demo/lib/screen/feature/cell_color_screen.dart:120-128 | demo/lib/screen/feature/cell_color_screen.dart:130-138 | demo/lib/screen/feature/cell_color_screen.dart:140-148 | demo/lib/screen/feature/cell_text_style_screen.dart:96-104 | demo/lib/screen/feature/cell_text_style_screen.dart:106-114 | demo/lib/screen/feature/cell_text_style_screen.dart:126-134 | demo/lib/screen/feature/cell_text_style_screen.dart:136-144 | demo/lib/screen/feature/date_type_column_screen.dart:76-84 | demo/lib/screen/feature/date_type_column_screen.dart:87-95 | demo/lib/screen/feature/percentage_type_column_screen.dart:84-92 | demo/lib/screen/feature/percentage_type_column_screen.dart:96-104 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_color_screen.dart\u0060 and \u0060demo/lib/screen/feature/cell_text_style_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 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 \u0060demo/lib/screen/feature/cell_color_screen.dart:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/cell_color_screen.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d0a349309dbab66164be9c56fb2c54a214d2cde2bb585f4dbcc989d65a6c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): demo/lib/screen/feature/date_time_column_screen.dart:105-113 | demo/lib/screen/feature/date_time_column_screen.dart:120-128 | demo/lib/screen/feature/date_time_column_screen.dart:133-141 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/date_time_column_screen.dart:105\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 before the matched lines, \u0060demo/lib/screen/feature/date_time_column_screen.dart:130\u0060 calls \u0060TrinaCell\u0060, \u0060format\u0060 and \u0060demo/lib/screen/feature/date_time_column_screen.dart:117\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":"demo/lib/screen/feature/date_time_column_screen.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d77cc24093328e1ce2059bcfec76c2f285634510a467c52d68d01a27233559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): demo/lib/screen/feature/selection_type_column_screen.dart:151-159 | demo/lib/screen/feature/selection_type_column_screen.dart:161-169 | demo/lib/screen/feature/value_formatter_screen.dart:93-101 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/selection_type_column_screen.dart:151\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/selection_type_column_screen.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3257e45529e62d5813deffb5e5e8018e6ce44752ba8e0199fa4727c4a3b653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): demo/lib/screen/feature/custom_loading_widget_screen.dart:281-289 | demo/lib/screen/feature/loading_options_screen.dart:317-325 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_loading_widget_screen.dart\u0060 and \u0060demo/lib/screen/feature/loading_options_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 208 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":"demo/lib/screen/feature/custom_loading_widget_screen.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ae8cedc24e7ee0e6c992d285218531be8f2571be8599c6702640120f398811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): demo/lib/screen/feature/cell_text_style_screen.dart:96-103 | demo/lib/screen/feature/cell_text_style_screen.dart:106-113 | demo/lib/screen/feature/cell_text_style_screen.dart:116-123 | demo/lib/screen/feature/cell_text_style_screen.dart:126-133 | demo/lib/screen/feature/cell_text_style_screen.dart:136-143 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/cell_text_style_screen.dart:96\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":"demo/lib/screen/feature/cell_text_style_screen.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d2fcc70f6867dcd95a58c4fbe4d6255cef8f61f579f41dd3a43f9ae459d2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): demo/lib/screen/feature/cell_color_screen.dart:101-108 | demo/lib/screen/feature/cell_text_style_screen.dart:87-94 | demo/lib/screen/feature/date_type_column_screen.dart:66-73 | demo/lib/screen/feature/percentage_type_column_screen.dart:73-80 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_color_screen.dart\u0060 and \u0060demo/lib/screen/feature/cell_text_style_screen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 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 \u0060demo/lib/screen/feature/cell_color_screen.dart:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060demo/lib/screen/feature/cell_text_style_screen.dart:86\u0060 calls \u0060now\u0060 and \u0060demo/lib/screen/feature/cell_color_screen.dart:99\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":"demo/lib/screen/feature/cell_color_screen.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"119546d5c00bae15641813c0a65217d04c19ec906e40a4d9d84e2ef7d320148b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): demo/lib/screen/feature/date_time_column_screen.dart:103-108 | demo/lib/screen/feature/date_time_column_screen.dart:117-123 | demo/lib/screen/feature/date_time_column_screen.dart:131-136 | demo/lib/screen/feature/date_time_column_screen.dart:144-149 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/lib/screen/feature/date_time_column_screen.dart:103\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, \u0060demo/lib/screen/feature/date_time_column_screen.dart:130\u0060 calls \u0060TrinaCell\u0060, \u0060format\u0060 and \u0060demo/lib/screen/feature/date_time_column_screen.dart:117\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/date_time_column_screen.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a5618b2c98260502880ee4b14de641630afa66170be586a6ae5d9a586e0be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 16): demo/lib/screen/feature/cell_selection_screen.dart:24-33 | demo/lib/screen/feature/column_freezing_screen.dart:22-31 | demo/lib/screen/feature/column_menu_screen.dart:22-31 | demo/lib/screen/feature/column_resizing_screen.dart:28-37 | demo/lib/screen/feature/editing_state_screen.dart:26-35 | demo/lib/screen/feature/excel_like_selection_screen.dart:33-42 | demo/lib/screen/feature/moving_screen.dart:22-31 | demo/lib/screen/feature/record_sidebar_screen.dart:24-31 | demo/lib/screen/feature/row_color_screen.dart:68-75 | demo/lib/screen/feature/row_pagination_screen.dart:25-34 | demo/lib/screen/feature/row_selection_screen.dart:28-37 | demo/lib/screen/feature/row_wrapper_screen.dart:21-27 | demo/lib/screen/feature/rtl_screen.dart:22-31 | demo/lib/screen/feature/rtl_scrollbar_screen.dart:21-29 | demo/lib/screen/feature/scroll_physics_screen.dart:43-52 | demo/lib/screen/feature/scrollbars.dart:38-45 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/cell_selection_screen.dart\u0060 and \u0060demo/lib/screen/feature/excel_like_selection_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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":"demo/lib/screen/feature/cell_selection_screen.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"08eb0ba6480057e7043bb67e5f4f0b5e3d30a1e330ee2cf979cce79c7cfea730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): demo/lib/screen/feature/custom_pagination_screen.dart:28-37 | demo/lib/screen/feature/pages_list_screen.dart:29-40 | demo/lib/screen/feature/row_lazy_pagination_screen.dart:33-44 \u2014 before extracting anything, compare \u0060demo/lib/screen/feature/custom_pagination_screen.dart\u0060 and \u0060demo/lib/screen/feature/pages_list_screen.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/lib/screen/feature/custom_pagination_screen.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"251cca00e7e7dfa8e845d864fc13d8843247dcfcc47ef64fee4f9ecda86ab7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): demo/ios/Runner/AppDelegate.swift:6-12 | example/ios/Runner/AppDelegate.swift:6-12 \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":"demo/ios/Runner/AppDelegate.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aaad339111466f4081932471954f82c831510b139ae0fa1eadeaacf10dcbcce"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _RenderSingleChildViewport (LCOM4 21): _RenderSingleChildViewport\u0027s methods fall into 21 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 21 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/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26072aad8883ada63f28909684dd0a21156af2357cc4ba4828d071061e4129d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaColumnFilterState (LCOM4 11): TrinaColumnFilterState\u0027s methods fall into 11 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 11 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/src/ui/columns/trina_column_filter.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b8f9197d5be82b738725778dec66e8fb6c7ac7df0ec296128738e0e3c8d5de"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaColumnTypeBoolean (LCOM4 10): TrinaColumnTypeBoolean\u0027s methods fall into 10 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 10 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/src/model/column_types/trina_column_type_boolean.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b811a3b8c11df9396aaf91177cdd768d062c9a8e926e471910a51e448e6fd24d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaVisibilityLayoutRenderObjectElement (LCOM4 8): TrinaVisibilityLayoutRenderObjectElement\u0027s methods fall into 8 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 8 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/src/ui/miscellaneous/trina_visibility_layout.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb45a02dc2525699e373cbe30323ea1d0b2ab4ce1155e28dc9b31c5ecb1c36e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaSmoothScrollableState (LCOM4 7): TrinaSmoothScrollableState\u0027s methods fall into 7 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 7 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/src/ui/scrolls/trina_smooth_scrollable.dart"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3ec541bed510a9455b2c7d60b0c3203c61fcbacdcd0b36a32af8045a108dc7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _HeaderState (LCOM4 6): _HeaderState\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":"demo/lib/screen/feature/add_and_remove_column_row_screen.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"526e7b768735f13ddf79f2af5374d17c6ac6959622784643d56311263fdfa386"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FilteredList (LCOM4 6): FilteredList\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/src/helper/filtered_list.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8e9f9a3b9e983cbefd8d372d9eb915954387cb28249f15a8c0c9c869f347f1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _PageSizeDropdownPaginationWidgetState (LCOM4 6): _PageSizeDropdownPaginationWidgetState\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/src/plugin/trina_lazy_pagination.dart"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4ac58f6f91155014aa4a6a5d49cd6136fe8026d75b6b0b8a3a53427dd5070b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaPaginationState (LCOM4 6): TrinaPaginationState\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/src/plugin/trina_pagination.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61383a18d8971ee644a535c0d0e3705b45f812af2403bb1c3389634686c8455"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _LinkedScrollController (LCOM4 6): _LinkedScrollController\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/src/widgets/trina_linked_scroll_controller.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffe13d1a15128ac53467a16e59a697a904e342bfb04c69efb597bf9b0d52f11"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _PopupRoute (LCOM4 6): _PopupRoute\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/src/widgets/trina_popup.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6d8a37b7e7998357cfb7408823b85f8e27f95100037b06ddf1b46b86258c9d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaKeyManagerEvent (LCOM4 5): TrinaKeyManagerEvent\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/src/helper/trina_key_manager_event.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71c7e86ca2e3dd2e1b8648a91ae38ec438f87bb1bbf1e167020667ef9af087e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaColumnTypeCustom (LCOM4 5): TrinaColumnTypeCustom\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/src/model/column_types/trina_column_type_custom.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff469abf1ad76d14b052f5fa26e2b0f88846739991c18ecbe57fd3a1472e235"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaColumn (LCOM4 5): TrinaColumn\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/src/model/trina_column.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda081814352e59a26ba7eb245bf8bd01e373d2a134ef620830909d180f87449"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaAggregateColumnFooterState (LCOM4 5): TrinaAggregateColumnFooterState\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/src/plugin/trina_aggregate_column_footer.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c549c6002e02cdba240ba6c317cc9ab2df5ee01741b634d850cd2f5a4baa66c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaColumnTitleState (LCOM4 5): TrinaColumnTitleState\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/src/ui/columns/trina_column_title.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cda0c10a740e465215160caea7cbb447d41deb5922c26170dd5b3aecf81ad29"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ColumnTextWidgetState (LCOM4 5): _ColumnTextWidgetState\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/src/ui/columns/trina_column_title.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"46411930b88a310b3e73c286a84bd4fedeabddf571f8e76e777fcfa511b62e80"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _RowContainerWidgetState (LCOM4 5): _RowContainerWidgetState\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/src/ui/trina_base_row.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"40acad2e8314df020385539e0204fd3ac5006aa651558a17c36e14f5bdf0bc96"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _LinkedScrollActivity (LCOM4 5): _LinkedScrollActivity\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/src/widgets/trina_linked_scroll_controller.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e9a63b9277f3a9fa856a7c3eb0746aaa3368b38abe3e7a01db32b70101ec5b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _HeaderState (LCOM4 4): _HeaderState\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":"demo/lib/screen/feature/check_view_port_visible_columns_screen.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"69790882c5767492e6761da6624fa7adae68c9304afa4dc9f4582cf1a7c65272"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaColumnTypeText (LCOM4 4): TrinaColumnTypeText\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/src/model/column_types/trina_column_type_text.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e6d3fe09935897bd772e8bf78a59c6b81f335e7d267aedcc921fde634a2356"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaColumnTypeTime (LCOM4 4): TrinaColumnTypeTime\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/src/model/column_types/trina_column_type_time.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8554bd453138af8fe80ff1cbacdb2f5d263b1fa109774b01768ee9ca969061"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _TrinaDefaultCellState (LCOM4 4): _TrinaDefaultCellState\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/src/ui/cells/trina_default_cell.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd91ad10a8c36d5304d5f1dda5fe909aded57e67121d0d10f6d0cff1230c3988"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _RenderScrollSemantics (LCOM4 4): _RenderScrollSemantics\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/src/ui/scrolls/trina_smooth_scrollable.dart"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fac926d5a5c394f4d87a53c138b21c55430d0a8b9023416942e1258c8d6b19"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaBodyColumnsState (LCOM4 4): TrinaBodyColumnsState\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/src/ui/trina_body_columns.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5c018f78e4f9b886d26ef0228a82c867c06012883d3fd3b69a3ac9c61e4ca9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaLeftFrozenColumnsState (LCOM4 4): TrinaLeftFrozenColumnsState\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/src/ui/trina_left_frozen_columns.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"091a4d6028dcc5efa4da20b4cb2b8244c2c999fd781aba58e6ddedb79ca25bd8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinaRightFrozenColumnsState (LCOM4 4): TrinaRightFrozenColumnsState\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/src/ui/trina_right_frozen_columns.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6037ffeed29786449634047f3be105f5974d14077298c39192ad90c13308caff"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _MultiLineColumnFilterState (LCOM4 4): _MultiLineColumnFilterState\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/src/widgets/multi_line_column_filter.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74d67f63c05d4d934617eb77ebff2e3a0488c961ebb86500d44143047ba987e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/trina_grid_configuration.dart: lib/src/trina_grid_configuration.dart changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in TrinaGridLocaleText.== at line 3103. 4 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-02..2026-10-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-02 17:55:30 \u002B03:00\u0027 --until=\u00272026-10-31 17:55:30 \u002B03:00\u0027 --full-history --no-merges -- lib/src/trina_grid_configuration.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid_configuration.dart"},"region":{"startLine":3103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e52d37bb96b8a6ca8e28fab320e3f801f7d442c079f9403be8b31996c43dad2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/trina_grid.dart: lib/src/trina_grid.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TrinaGridState.build at line 1028. 3 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-02..2026-10-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-02 17:55:30 \u002B03:00\u0027 --until=\u00272026-10-31 17:55:30 \u002B03:00\u0027 --full-history --no-merges -- lib/src/trina_grid.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/trina_grid.dart"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"615ecb87ebf2417ae02b122d81d1317fb050f8dd43981da5e8014d264e96432e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 14 significant file(s) lose their only recent owner: lib/src/manager/state/selecting_state.dart, lib/src/widgets/trina_horizontal_scroll_bar.dart, lib/src/widgets/trina_vertical_scroll_bar.dart, lib/src/manager/state/editing_state.dart, lib/src/manager/state/row_state.dart, lib/src/manager/state/layout_state.dart, lib/src/ui/miscellaneous/trina_visibility_layout.dart, lib/src/trina_grid_events.dart (\u002B6 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"be7fac4d5000dac8570f97b56196faf90c7b9f4bf725300658fccc7eecdab205"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo : Handle (renderer) width \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/src/manager/state/column_state.dart"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"8340b9cad96414d6635bf036b96cd5717a0dfe11a16ead7701180e6d1d3b4b12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo : reset sortIdx \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/src/manager/state/row_group_state.dart"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edb756816b3e9cda66546996d5494ad1121c5ed704cb4222f038937f91ca14d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo : whether to apply scrolling. \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/src/manager/state/row_state.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f3f70bb9209a288963b9c3416bbc75aed7b728fd597aebe009be4baf4ad39d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo : code cleanup \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/src/manager/state/selecting_state.dart"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"f576e54ea919a3aa20175d0a46cb76d570dffa40218a78fe788b5011149f766c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo : implement \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/src/helper/filtered_list.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"156641cbc74205494ce81e2adc4284b807790b4a1b5e90ac49003cf82823bd78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo : implement \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/src/helper/filtered_list.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea72f871dfe95c86e7e7ea30aec8475c7dc31d2573bcf65a1294c31bad698b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo : implement \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/src/helper/filtered_list.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1704622c14d529f6e9e2ffc9feca0f110f49038f7c513c05a31e305ac6fc04fe"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060pubspec.yaml\u0060 makes this repository a deployable product (line 23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pubspec.yaml"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cdd9acb3bc9149889c4e59c70f0d4e0c24da57c2d2a3f2031e989536dbdc08"}},{"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":"1ebfc6454926adc8bcdd9a383a1f7e392ddea375507c6f03377190653a98f9ce"},"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":"9005de554575f08ab39da8cfc5c91658483b29712f21d0b8cba570d8d21a6ab7"},"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":"62c6aa5d9db3353f9e83807098d9f4782363ef7940dbaa31b8ae8cc1f6873a5a"},"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":"412c1645b34de4d8b933f74d9d2eef104e2079eaebc525a30b1aab3b7c658fb1"},"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":"1112d143ae95b4c5d7fb507fd6eee02e6c79e066f11db068728866cdccd533a9"},"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":"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":"604222fe04f1aa8cd2d7874fe61a8766d7479058ef8848f2a4a3434e1570663d"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e88d5a31d928be744c2cac80e906c9f7ee69d367442aa064eef80b1db518bd1"},"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: trina_horizontal_scroll_bar.dart \u2194 trina_vertical_scroll_bar.dart: \u0060lib/src/widgets/trina_horizontal_scroll_bar.dart\u0060 and \u0060lib/src/widgets/trina_vertical_scroll_bar.dart\u0060 change together 83% of the time (10 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 10 shared commits counted here, the most recent 3 are \u006055cadd75\u0060 fix: reach the end of the grid when scrolling with the keyboard (#405); \u0060791d0b2c\u0060 feat: make scrollbar track-click animation configurable (#277) (#388); \u006074d15eb6\u0060 fix: column header alignment (#301) and scrollbar thumb overflow (#375) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6580d6ee99ef8e624847265f869b146dd2da71dd224ad4f1f828cfe2b08f800"}},{"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":"e56dfec40b1209928a012cb96846873cd3fbf774a83192b809423fd05310593a"},"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":"3337a9b9f95372c673333df446b65a4c71930bb763985cedfcf1f0f3f6e7d8b0"},"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":"AX6","level":"note","message":{"text":"Fat interface: ICellState (16 abstract methods): \u0060ICellState\u0060 declares 16 abstract methods: \u0060currentCell\u0060, \u0060currentCellPosition\u0060, \u0060firstCell\u0060, \u0060setCurrentCellPosition\u0060, \u0060updateCurrentCellPosition\u0060, \u0060cellPositionByCellKey\u0060, \u0060columnIdxByCellKeyAndRowIdx\u0060, \u0060clearCurrentCell\u0060, \u0060setCurrentCell\u0060, \u0060canMoveCell\u0060, \u0060canNotMoveCell\u0060, \u0060canChangeCellValue\u0060, \u0060canNotChangeCellValue\u0060, \u0060filteredCellValue\u0060, \u0060isCurrentCell\u0060, \u0060isInvalidCellPosition\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/cell_state.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc58fa2376cc623be600776e2962952cc39b2c08f0d6c377f75ccc25169be9f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IColumnState (38 abstract methods): \u0060IColumnState\u0060 declares 38 abstract methods: \u0060columns\u0060, \u0060refColumns\u0060, \u0060columnIndexes\u0060, \u0060columnIndexesForShowFrozen\u0060, \u0060columnsWidth\u0060, \u0060leftFrozenColumns\u0060, \u0060leftFrozenColumnIndexes\u0060, \u0060leftFrozenColumnsWidth\u0060, \u0060rightFrozenColumns\u0060, \u0060rightFrozenColumnIndexes\u0060, \u0060rightFrozenColumnsWidth\u0060, \u0060bodyColumns\u0060, \u0060bodyColumnIndexes\u0060, \u0060bodyColumnsWidth\u0060, \u0060currentColumn\u0060, \u0060currentColumnField\u0060, \u0060hasSortedColumn\u0060, \u0060getSortedColumn\u0060, \u0060columnIndexesByShowFrozen\u0060, \u0060toggleFrozenColumn\u0060, \u0060toggleSortColumn\u0060, \u0060columnIndex\u0060, \u0060insertColumns\u0060, \u0060removeColumns\u0060, \u0060moveColumn\u0060, \u0060resizeColumn\u0060, \u0060autoFitColumn\u0060, \u0060hideColumn\u0060, \u0060hideColumns\u0060, \u0060sortAscending\u0060, \u0060sortDescending\u0060, \u0060sortBySortIdx\u0060, \u0060clearSorting\u0060, \u0060sortedColumns\u0060, \u0060showSetColumnsPopup\u0060, \u0060limitResizeColumn\u0060, \u0060limitMoveColumn\u0060, \u0060limitToggleFrozenColumn\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/column_state.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3fa8be6a7b257678031c71cc8b28ad2d80310cb3074225d3c2129008ee5046"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IEditingState (16 abstract methods): \u0060IEditingState\u0060 declares 16 abstract methods: \u0060isEditing\u0060, \u0060autoEditing\u0060, \u0060textEditingController\u0060, \u0060onValidationFailed\u0060, \u0060editCellRenderer\u0060, \u0060isEditableCell\u0060, \u0060readOnlyGeneration\u0060, \u0060refreshReadOnly\u0060, \u0060setEditing\u0060, \u0060setAutoEditing\u0060, \u0060setTextEditingController\u0060, \u0060toggleEditing\u0060, \u0060pasteCellValue\u0060, \u0060castValueByColumnType\u0060, \u0060changeCellValue\u0060, \u0060updateRowCells\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/editing_state.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8b4c666f28a1775a3a16c29a6c74d6b1f6b2ad0d00a570ddb8aaed9a856d19"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IGridState (33 abstract methods): \u0060IGridState\u0060 declares 33 abstract methods: \u0060gridKey\u0060, \u0060keyManager\u0060, \u0060eventManager\u0060, \u0060configuration\u0060, \u0060mode\u0060, \u0060onChanged\u0060, \u0060onSelected\u0060, \u0060onSorted\u0060, \u0060onRowChecked\u0060, \u0060onRowDoubleTap\u0060, \u0060onRowSecondaryTap\u0060, \u0060onRowEnter\u0060, \u0060onRowExit\u0060, \u0060onRowsMoved\u0060, \u0060onBeforeActiveCellChange\u0060, \u0060onActiveCellChanged\u0060, \u0060onColumnsMoved\u0060, \u0060columnMenuDelegate\u0060, \u0060createHeader\u0060, \u0060createFooter\u0060, \u0060selectDateCallback\u0060, \u0060localeText\u0060, \u0060style\u0060, \u0060sortOnlyEvent\u0060, \u0060filterOnlyEvent\u0060, \u0060setKeyManager\u0060, \u0060setEventManager\u0060, \u0060setConfiguration\u0060, \u0060setGridMode\u0060, \u0060resetCurrentState\u0060, \u0060handleOnSelected\u0060, \u0060setSortOnlyEvent\u0060, \u0060setFilterOnlyEvent\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/grid_state.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"51899f2002a723c9d9e9d74cf23be68f2f9553f9d2a465cb19289e8c19d8c73e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ILayoutState (59 abstract methods): \u0060ILayoutState\u0060 declares 59 abstract methods: \u0060resizingChangeNotifier\u0060, \u0060maxWidth\u0060, \u0060maxHeight\u0060, \u0060headerHeight\u0060, \u0060footerHeight\u0060, \u0060columnRowContainerHeight\u0060, \u0060rowContainerHeight\u0060, \u0060gridGlobalOffset\u0060, \u0060showFrozenColumn\u0060, \u0060showColumnTitle\u0060, \u0060showColumnFooter\u0060, \u0060showColumnFilter\u0060, \u0060showHeader\u0060, \u0060showFooter\u0060, \u0060showLoading\u0060, \u0060loadingLevel\u0060, \u0060customLoadingWidget\u0060, \u0060hasLeftFrozenColumns\u0060, \u0060hasRightFrozenColumns\u0060, \u0060headerBottomOffset\u0060, \u0060footerTopOffset\u0060, \u0060columnHeight\u0060, \u0060columnFooterHeight\u0060, \u0060columnGroupHeight\u0060, \u0060columnFilterHeight\u0060, \u0060columnBottomOffset\u0060, \u0060rowsTopOffset\u0060, \u0060rowHeight\u0060, \u0060rowTotalHeight\u0060, \u0060bodyTopOffset\u0060, \u0060bodyLeftOffset\u0060, \u0060bodyRightOffset\u0060, \u0060bodyLeftScrollOffset\u0060, \u0060bodyRightScrollOffset\u0060, \u0060bodyUpScrollOffset\u0060, \u0060bodyDownScrollOffset\u0060, \u0060leftFrozenRightOffset\u0060, \u0060rightFrozenLeftOffset\u0060, \u0060rightBlankOffset\u0060, \u0060scrollOffsetByFrozenColumn\u0060, and 19 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/layout_state.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"785591d0510116b12c15b0d37c8e97daab749c328b4fac68a1daf6524228a7d5"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IRowGroupState (25 abstract methods): \u0060IRowGroupState\u0060 declares 25 abstract methods: \u0060hasRowGroups\u0060, \u0060enabledRowGroups\u0060, \u0060rowGroupDelegate\u0060, \u0060iterateAllMainRowGroup\u0060, \u0060iterateAllRowGroup\u0060, \u0060iterateAllRowAndGroup\u0060, \u0060iterateAllRow\u0060, \u0060iterateFilteredMainRowGroup\u0060, \u0060iterateMainRowGroup\u0060, \u0060iterateRowGroup\u0060, \u0060iterateRowAndGroup\u0060, \u0060iterateRow\u0060, \u0060isMainRow\u0060, \u0060isNotMainGroupedRow\u0060, \u0060isExpandedGroupedRow\u0060, \u0060setRowGroup\u0060, \u0060toggleExpandedRowGroup\u0060, \u0060expandAllRowGroups\u0060, \u0060collapseAllRowGroups\u0060, \u0060setRowGroupFilter\u0060, \u0060sortRowGroup\u0060, \u0060insertRowGroup\u0060, \u0060removeRowAndGroupByKey\u0060, \u0060removeColumnsInRowGroupByColumn\u0060, \u0060updateRowGroupByHideColumn\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/row_group_state.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c197c23521c7cfabfe297459a896721319eb9c6060051819333772a1c8f19c64"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IRowState (35 abstract methods): \u0060IRowState\u0060 declares 35 abstract methods: \u0060rows\u0060, \u0060refRows\u0060, \u0060checkedRows\u0060, \u0060checkedRowsViaSelect\u0060, \u0060unCheckedRows\u0060, \u0060hasCheckedRow\u0060, \u0060hasUnCheckedRow\u0060, \u0060tristateCheckedRow\u0060, \u0060currentRowIdx\u0060, \u0060currentRow\u0060, \u0060rowWrapper\u0060, \u0060rowColorCallback\u0060, \u0060cellColorCallback\u0060, \u0060rowTextStyleCallback\u0060, \u0060cellTextStyleCallback\u0060, \u0060getRowIdxByOffset\u0060, \u0060getRowByIdx\u0060, \u0060getNewRow\u0060, \u0060getNewRows\u0060, \u0060setRowChecked\u0060, \u0060insertRows\u0060, \u0060prependNewRows\u0060, \u0060prependRows\u0060, \u0060appendNewRows\u0060, \u0060appendRows\u0060, \u0060removeCurrentRow\u0060, \u0060removeRows\u0060, \u0060removeAllRows\u0060, \u0060moveRowsByOffset\u0060, \u0060moveRowsByIndex\u0060, \u0060toggleAllRowChecked\u0060, \u0060setRowHeight\u0060, \u0060resetRowHeight\u0060, \u0060resetAllRowHeights\u0060, \u0060getRowHeight\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/row_state.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fff5057ec48bdd4a0502b7dad52352156eb8a43429919a603ebcffa0ffd479"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ISelectingState (21 abstract methods): \u0060ISelectingState\u0060 declares 21 abstract methods: \u0060isSelecting\u0060, \u0060selectingMode\u0060, \u0060currentSelectingPosition\u0060, \u0060currentSelectingPositionList\u0060, \u0060hasCurrentSelectingPosition\u0060, \u0060currentSelectingRows\u0060, \u0060currentSelectingText\u0060, \u0060setSelecting\u0060, \u0060setSelectingMode\u0060, \u0060setAllCurrentSelecting\u0060, \u0060setCurrentSelectingPosition\u0060, \u0060setCurrentSelectingPositionByCellKey\u0060, \u0060setCurrentSelectingPositionWithOffset\u0060, \u0060setCurrentSelectingRowsByRange\u0060, \u0060clearCurrentSelecting\u0060, \u0060clearRangeSelections\u0060, \u0060toggleSelectingRow\u0060, \u0060isSelectingInteraction\u0060, \u0060isSelectedRow\u0060, \u0060isSelectedCell\u0060, \u0060handleAfterSelectingRow\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/selecting_state.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a7100223129d8db4ad5214ae97c81d9a96fc186c40abfaf893fc5c94236208"}},{"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":"P12","level":"warning","message":{"text":"Coverage reaches no merge: \u0060codecov/codecov-action\u0060 uploads coverage, but the workflow runs only on pushes to named branches or tags \u2014 after the merge: no pull request ever reports coverage for \u0060.\u0060, and nothing that runs on one enforces a floor \u2014 the number can fall and every change still merges. Upload (or enforce the floor) on pull requests too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/coverage.yml"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"458946e6af7b01825948d0da63c22764a25ff468b08fcb354c8170c8cf667ea0"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"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/tests.yaml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060example/android/build.gradle\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/android/build.gradle"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5335883aa9e9d6ad6ca32a0ab000d128ad947eb0bca288e5d3fbea26d8663e2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scrollConfig.isAlwaysShown \u0026\u0026 !_hovering\u0060 appears character-identically in 2 files \u2014 lib/src/widgets/trina_horizontal_scroll_bar.dart, lib/src/widgets/trina_vertical_scroll_bar.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3b1aca5c4f18a5113f4f521d166675b0ad3f81a0d40d40c950fb2c76d7352d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scrollConfig.isAlwaysShown \u0026\u0026 !_isDragging\u0060 appears character-identically in 2 files \u2014 lib/src/widgets/trina_horizontal_scroll_bar.dart, lib/src/widgets/trina_vertical_scroll_bar.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e492dfb7f8c075095f4f042203c0d9d2b53af8bbe58c280b8cc483fb513c48d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scrollConfig.isAlwaysShown \u0026\u0026 currentOffset != _lastScrollOffset\u0060 appears character-identically in 2 files \u2014 lib/src/widgets/trina_horizontal_scroll_bar.dart, lib/src/widgets/trina_vertical_scroll_bar.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"696197c61d0b384376a6fe99756644aa4585366d12ec5e8df25fc9f0fcedd5fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!widget.stateManager.configuration.scrollbar.isAlwaysShown \u0026\u0026 !_hovering \u0026\u0026 !_isDragging\u0060 appears character-identically in 2 files \u2014 lib/src/widgets/trina_horizontal_scroll_bar.dart, lib/src/widgets/trina_vertical_scroll_bar.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f1bfc4e8b99d8202fbc2f7c7af05c349001356760ce6b91bc2e6d98c794822"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_cachedCellValueForReadOnly != widget.cell.value || _cachedRowVersionForReadOnly != widget.row.version || _cachedReadOnlyGeneration != gener\u2026\u0060 appears character-identically in 2 files \u2014 lib/src/ui/cells/text_cell.dart, lib/src/ui/trina_base_cell.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/cells/text_cell.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ced8bf622c373679191a92b81b36ab5288a62a91a72c536cff771a89880aaa1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060columnNames == null || columnNames.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/src/export/trina_grid_export_json.dart, lib/src/export/trina_grid_export_pdf.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/export/trina_grid_export_json.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"92496113568f5763e643a9ae2d93cdc702fa81f76e65b21b7ddf1748a8b6e4b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configuration.enableCtrlClickMultiSelect \u0026\u0026 selectingMode == TrinaGridSelectingMode.cell\u0060 appears character-identically in 3 files \u2014 lib/src/manager/state/cell_state.dart, lib/src/manager/state/editing_state.dart, lib/src/manager/state/selecting_state.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/cell_state.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e319bf6d979f69d42b8f2b3761f7d9dda94b3b20b82453319d8205858cc849a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controller == null \u0026\u0026 PrimaryScrollController.shouldInherit(context, scrollDirection)\u0060 appears character-identically in 2 files \u2014 lib/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart, lib/src/ui/scrolls/trina_smooth_list_view.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"69649bf9cec950ebf64421992c902df167cfdd48377dfb3540535b97e0c36a29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effectivePrimary \u0026\u0026 scrollController != null\u0060 appears character-identically in 2 files \u2014 lib/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart, lib/src/ui/scrolls/trina_smooth_list_view.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"df264c3ba6c88166e4afd5fc7fac4fcfd9e9646de6bac930ed3501a16f0a36e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ignoreFixedRows \u0026\u0026 row.frozen != TrinaRowFrozen.none\u0060 appears character-identically in 2 files \u2014 lib/src/export/trina_grid_export_csv.dart, lib/src/export/trina_grid_export_json.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/export/trina_grid_export_csv.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5824f7dacc0621c411ffc29c493f76174afe919b123ea617c11d15f47b0853"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newConfig.isAlwaysShown \u0026\u0026 newConfig.thumbVisible\u0060 appears character-identically in 2 files \u2014 lib/src/widgets/trina_horizontal_scroll_bar.dart, lib/src/widgets/trina_vertical_scroll_bar.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9276d50b67ebdf4b77cc42ff6b005d922586ba5fe57d956b07dd3c897538c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060notification.dragDetails != null \u0026\u0026 !currentScope.hasPrimaryFocus \u0026\u0026 currentScope.hasFocus\u0060 appears character-identically in 2 files \u2014 lib/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart, lib/src/ui/scrolls/trina_smooth_list_view.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/scrolls/trina_single_child_smooth_scroll_view.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"9747dd63a908faa99827af0f568c441572fc24cc32cc5df27e7e3c4eeb11e112"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldConfig.isAlwaysShown != newConfig.isAlwaysShown || oldConfig.thumbVisible != newConfig.thumbVisible\u0060 appears character-identically in 2 files \u2014 lib/src/widgets/trina_horizontal_scroll_bar.dart, lib/src/widgets/trina_vertical_scroll_bar.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e39138fbc5c0a1efe279bae4607ec8caba6fee81286d7926315a8f0587f8b42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scrollConfig.isAlwaysShown \u0026\u0026 scrollConfig.thumbVisible\u0060 appears character-identically in 2 files \u2014 lib/src/widgets/trina_horizontal_scroll_bar.dart, lib/src/widgets/trina_vertical_scroll_bar.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7e93ad3e571beb5ad877b40149f72e9f5e6acbf398003da459318ee882ee7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scrollController != null \u0026\u0026 scrollController.hasClients\u0060 appears character-identically in 2 files \u2014 lib/src/widgets/trina_horizontal_scroll_bar.dart, lib/src/widgets/trina_vertical_scroll_bar.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widgets/trina_horizontal_scroll_bar.dart"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"037908f6424df4e3a3e29cad460ba9a1f0ea0fb25a721e60d48c2bc781b66fb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectingMode.isRow \u0026\u0026 currentSelectingRows.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/src/manager/state/editing_state.dart, lib/src/manager/state/selecting_state.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/state/editing_state.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf30f93e389806f8feaf160d7b29f0451aa7cddc6bc1f296f2333825a217f62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060semanticChildCount == null || semanticChildCount \u003E= 0\u0060 appears character-identically in 2 files \u2014 lib/src/ui/scrolls/trina_smooth_list_view.dart, lib/src/ui/scrolls/trina_smooth_scrollable.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/ui/scrolls/trina_smooth_list_view.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0bfeab2341f411d4e9174a596f93a3838240e086ad2dd1c8bfc2a13572364b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stateManager.configuration.enableDragSelection \u0026\u0026 stateManager.selectingMode == TrinaGridSelectingMode.cell\u0060 appears character-identically in 2 files \u2014 lib/src/manager/event/trina_grid_cell_gesture_event.dart, lib/src/ui/trina_base_cell.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/event/trina_grid_cell_gesture_event.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"912b7e7bf866feef42cf30b5a26709e6ebbe3527cec0a2acb01d1058f851b286"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stateManager.mode.isMultiSelectMode || (stateManager.mode.isNormal \u0026\u0026 stateManager.selectingMode.isRow)\u0060 appears character-identically in 2 files \u2014 lib/src/manager/event/trina_grid_cell_gesture_event.dart, lib/src/manager/shortcut/trina_grid_shortcut_action.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/manager/event/trina_grid_cell_gesture_event.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0ff7d25a100151421791b6a62c30e284a154f6456db6a3f81e7737457607b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060thisVersion != _fetchVersion || !mounted\u0060 appears character-identically in 2 files \u2014 lib/src/plugin/trina_infinity_scroll_rows.dart, lib/src/plugin/trina_lazy_pagination.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/plugin/trina_infinity_scroll_rows.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"904a6263c773dd553931ed3fc367bc8fafa8191a8bd2d410c8cebb2f3e131d40"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060TrinaRow.fromJson\u0060 is public and takes \u0060Map\u003CString, dynamic\u003E json\u0060 from its caller, and it calls itself at line 251 (\u0060TrinaRow.fromJson\u0060) with a piece of \u0060json\u0060 \u2014 and nowhere in \u0060TrinaRow.fromJson\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060TrinaRow.fromJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/trina_row.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"33abc0f525c4d7442e3b0c2fe5b26bbf045fad63890540b368ba6db12f8c842a"}},{"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/src/manager/state/cell_state.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"9401ceca6ff96f798fff1e026ca5dc1d4e0e5a70f79d54cc7623c7be2460a1a8"}},{"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/src/helper/trina_date_time_helper.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ce67fa3070df37278a02b32ee5ef3547887821bd87aadd7d0ebef3e641c4a2"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-561","guid":"522a7ba7-45e9-ab53-9088-45d86e04b53a","name":"CWE-561","shortDescription":{"text":"CWE-561"},"helpUri":"https://cwe.mitre.org/data/definitions/561.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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"}]}],"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":10,"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."]}]}