{"$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":"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":"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":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"NeumorphicBoxShape.lerp (cyclomatic 25): NeumorphicBoxShape.lerp has cyclomatic complexity 25 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/neumorphic_box_shape.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4587d144665bdc51cd80b0efcc51cdf450f7f9f3ac7fbf8c68dbdd29f2c77538"}},{"ruleId":"D1","level":"warning","message":{"text":"NeumorphicThemeData.== (cyclomatic 23): NeumorphicThemeData.== has cyclomatic complexity 23 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/theme.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"322396c25f8e4015edbc28ae950bab48bfd772f43c3dc6ad3409adea0505d240"}},{"ruleId":"D1","level":"warning","message":{"text":"NeumorphicDecorationPainter._updateCache (cyclomatic 19): NeumorphicDecorationPainter._updateCache has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daf8ac2d41cd22b3ad8b57eb2f5e962a49aca88eebb38c7ee6e579c9d89f888"}},{"ruleId":"D1","level":"warning","message":{"text":"NeumorphicDecorationTextPainter._updateCache (cyclomatic 18): NeumorphicDecorationTextPainter._updateCache has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_text_decoration_painter.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0a1e937db549c20df9600fc2baf4847e275f1c731761d3db082bd1388b2000"}},{"ruleId":"D1","level":"warning","message":{"text":"NeumorphicStyle.== (cyclomatic 18): NeumorphicStyle.== has cyclomatic complexity 18 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/theme.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a492b65e2002ffb4986c6b131cc50206d58e077709d47ffbc61e08a7dd590c"}},{"ruleId":"D2","level":"warning","message":{"text":"NeumorphicBoxShape.lerp (cognitive 28): NeumorphicBoxShape.lerp has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 14, if/else 12 (14 pts) (nesting depth added 2). 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/neumorphic_box_shape.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce135b0e944083ac93f40843315b7fa33a1013c9dc44feb05b90552106d38140"}},{"ruleId":"D2","level":"warning","message":{"text":"NeumorphicDecorationPainter._updateCache (cognitive 26): NeumorphicDecorationPainter._updateCache has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 5 (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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"30855b8b57778b15cf610c66ca1ef82b8d1f0287116e24d635d4511b4d9cc5d1"}},{"ruleId":"D2","level":"warning","message":{"text":"NeumorphicDecorationTextPainter._updateCache (cognitive 24): NeumorphicDecorationTextPainter._updateCache has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_text_decoration_painter.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b50d17bbcbff2074ce5d27cfc2411473c0eb4afe43ea32e871009f8371055e"}},{"ruleId":"D2","level":"warning","message":{"text":"NeumorphicThemeData.== (cognitive 22): NeumorphicThemeData.== has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 22. 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/theme/theme.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf71b12a451131ce5b1b2e6fbc43cfd9ca2a147c2f223e792234e2cfa2e894a"}},{"ruleId":"D2","level":"warning","message":{"text":"_NeumorphicRangeSliderState._widget (cognitive 19): _NeumorphicRangeSliderState._widget has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, match/switch 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/widget/range_slider.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"924ce6946b681dda068b4f4dbb0da1b9ee238b59efe650771679d34266ab10fa"}},{"ruleId":"D2","level":"warning","message":{"text":"NeumorphicAppBarState.build (cognitive 18): NeumorphicAppBarState.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/app_bar.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0123b893ed9d07822f0d47ec731ef347a56d4eac376ea7c55852e7997d4875d"}},{"ruleId":"D2","level":"warning","message":{"text":"NeumorphicEmbossDecorationPainter._updateCache (cognitive 17): NeumorphicEmbossDecorationPainter._updateCache has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (nesting depth added 5). 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/decoration/neumorphic_emboss_decoration_painter.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee0e8b4d1728f3a8af73f29eb4bcee8d72e6b1c3721a115fb28b5d7fbd1f100"}},{"ruleId":"D2","level":"warning","message":{"text":"NeumorphicStyle.== (cognitive 17): NeumorphicStyle.== has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 17. 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/theme/theme.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed618c63ac29ac0bab7bac8bcd5bf7e4224516fdf70bca72b4a5639780a35512"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): lib/src/decoration/neumorphic_decoration_painter.dart:56-118 | lib/src/decoration/neumorphic_emboss_decoration_painter.dart:54-110 \u2014 These two members are one piece of code written twice and then edited apart: 57 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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d747e0fa9f23b37005609f99772f8c185062b30255d81ab4fd59bd39d602d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/src/decoration/neumorphic_decorations.dart:79-113 | lib/src/decoration/neumorphic_text_decorations.dart:86-119 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_decorations.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dd6a2039a906e748e6b3c0299c784a56a1d868b224a098681aef97065a0585"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/src/widget/progress.dart:161-203 | lib/src/widget/progress.dart:292-340 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/progress.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"36807af8d6b0150aa3570d6e3abcc8dc44a1cf28c5a576e48de9c2ee0bc01c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/src/decoration/neumorphic_decoration_painter.dart:176-197 | lib/src/decoration/neumorphic_text_decoration_painter.dart:253-274 \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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9b6024b7390d1f96f7a509de4248b9e6630bef202dac8c94592c92e5692b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/decoration/neumorphic_decoration_painter.dart:139-150 | lib/src/decoration/neumorphic_text_decoration_painter.dart:220-231 \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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d845741e1d24ea782c61df5a0b7be15e732b3a8858f7e6de63c9b5bf2b656812"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/src/decoration/neumorphic_decoration_painter.dart:25-37 | lib/src/decoration/neumorphic_emboss_decoration_painter.dart:41-52 | lib/src/decoration/neumorphic_text_decoration_painter.dart:46-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e22afdf93f6631dcaa7c63e4e2af6005e7072a38242278c33ca06054b92e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/src/widget/indicator.dart:175-185 | lib/src/widget/progress.dart:143-153 \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/widget/indicator.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d169c4006ece119af43baa0409f2b534d5c1728b65daa3903a98c18d06da6c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/widget/range_slider.dart:299-315 | lib/src/widget/slider.dart:205-221 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/range_slider.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe016d69a41601eb18c964777ebdeb5bc96cd6b8a97ca95c5c9c7a3cb5d5845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/src/widget/container.dart:74-91 | lib/src/widget/text.dart:165-180 \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/widget/container.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a8e635c4da5193e17cd84a11081f52457f4f794597812d527b96210e794cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/src/widget/back_button.dart:19-29 | lib/src/widget/close_button.dart:17-27 \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/widget/back_button.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68c7fe757e72c22be8b4d7d8df2f19198baeb719a7244b1d12259f107b6badf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/src/widget/range_slider.dart:42-54 | lib/src/widget/slider.dart:40-52 \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/widget/range_slider.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0efd45211e3cdf00b24d8b9176ab6abd11354499fd7e063ae788d5b9cfd724f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/decoration/neumorphic_text_decoration_painter.dart:233-242 | lib/src/decoration/neumorphic_text_decoration_painter.dart:276-286 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_text_decoration_painter.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0aa360ecdb4fb01eb9608aa741d711c567784da244d1672869d3e097dd111d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/decoration/neumorphic_decorations.dart:61-67 | lib/src/decoration/neumorphic_text_decorations.dart:67-73 \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/decoration/neumorphic_decorations.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c3801c4c37255b843a0f46ab9324ceb56230f069d31e341c20ac54c346cabd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/src/shape/beveled_path_provider.dart:15-23 | lib/src/shape/rrect_path_provider.dart:14-23 \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/shape/beveled_path_provider.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b888d504b0106a12d9befb078c14ea60cf40cf22238f9ac21cf11d5db34ec9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/decoration/neumorphic_decorations.dart:53-59 | lib/src/decoration/neumorphic_text_decorations.dart:59-65 \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/decoration/neumorphic_decorations.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c74b2f2de909ee9e8af286beefaf4291828bb6a662eddc455358eea23799802"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/src/decoration/neumorphic_text_decoration_painter.dart:67-80 | lib/src/decoration/neumorphic_decoration_painter.dart:44-54 \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/decoration/neumorphic_text_decoration_painter.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"df39ceba97cf8a471c44a744e3deb9b4458d5a7652004f3e96978851d79c7186"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/decoration/neumorphic_decoration_painter.dart:167-174 | lib/src/decoration/neumorphic_text_decoration_painter.dart:244-251 \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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"719c2e0ed927e97dea457ec724235055d37fef2d6310005b40f34f242b2ed830"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/widget/progress.dart:60-71 | lib/src/widget/range_slider.dart:56-65 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/progress.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d231a574f921f6a2368eb9d25d763080329a30661161f77acce1f51ada217e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/src/decoration/neumorphic_decoration_painter.dart:78-98 | lib/src/decoration/neumorphic_text_decoration_painter.dart:97-117 \u2014 before extracting anything, compare \u0060lib/src/decoration/neumorphic_decoration_painter.dart\u0060 and \u0060lib/src/decoration/neumorphic_text_decoration_painter.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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/decoration/neumorphic_decoration_painter.dart:78\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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5315d59a84003355642e4b2aaf066a5482a72d9e8ed4a87dd93c36fabd6159f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/decoration/neumorphic_decoration_painter.dart:152-165 | lib/src/decoration/neumorphic_emboss_decoration_painter.dart:120-133 \u2014 before extracting anything, compare \u0060lib/src/decoration/neumorphic_decoration_painter.dart\u0060 and \u0060lib/src/decoration/neumorphic_emboss_decoration_painter.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d49668b6dded8787f357120f264e7ee11d762b8e0d79a27da62cfcacc3266d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/decoration/neumorphic_decorations.dart:83-96 | lib/src/decoration/neumorphic_text_decorations.dart:90-103 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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/decoration/neumorphic_decorations.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b53680605d50104a03d85b53b6afeb1cd5f8d745dcadfc1b2a0f35049607ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/decoration/neumorphic_decoration_painter.dart:57-69 | lib/src/decoration/neumorphic_emboss_decoration_painter.dart:58-70 \u2014 before extracting anything, compare \u0060lib/src/decoration/neumorphic_decoration_painter.dart\u0060 and \u0060lib/src/decoration/neumorphic_emboss_decoration_painter.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc688f84072ca9502ef22c78b24f40903349f0fad18f0e18689be58ae94ee975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/decoration/neumorphic_emboss_decoration_painter.dart:71-83 | lib/src/decoration/neumorphic_text_decoration_painter.dart:91-103 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/decoration/neumorphic_emboss_decoration_painter.dart:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_emboss_decoration_painter.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1af980add9afa822d05433e54bfb86302632753c2ce60cff895d23e559652b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/widget/range_slider.dart:215-227 | lib/src/widget/range_slider.dart:239-251 \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/widget/range_slider.dart:215\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/widget/range_slider.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea2e95860a7b36a7a3837a448362f9dab112c4fa1613de01b3624a6a4c111d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/src/decoration/neumorphic_decoration_painter.dart:75-86 | lib/src/decoration/neumorphic_emboss_decoration_painter.dart:75-85 | lib/src/decoration/neumorphic_text_decoration_painter.dart:94-105 \u2014 before extracting anything, compare \u0060lib/src/decoration/neumorphic_decoration_painter.dart\u0060 and \u0060lib/src/decoration/neumorphic_emboss_decoration_painter.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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/decoration/neumorphic_decoration_painter.dart:75\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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92bfc24a55ff17972f681cf659718aa569d7a94b71835c0f489a4c9e64ffe37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/src/decoration/neumorphic_decoration_painter.dart:25-35 | lib/src/decoration/neumorphic_text_decoration_painter.dart:46-57 \u2014 before extracting anything, compare \u0060lib/src/decoration/neumorphic_decoration_painter.dart\u0060 and \u0060lib/src/decoration/neumorphic_text_decoration_painter.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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/decoration/neumorphic_decoration_painter.dart:25\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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34533da279e9065ad9ee163db3edcb965ef81b620758b15c460305d12ff66e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/neumorphic_box_shape.dart:61-72 | lib/src/neumorphic_box_shape.dart:76-87 \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/neumorphic_box_shape.dart:61\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/neumorphic_box_shape.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7047a1a475647f5265d5e328a34b74ccca6cb0a54e3be293c0438a2b79bd32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/widget/progress.dart:184-193 | lib/src/widget/progress.dart:319-328 \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/widget/progress.dart:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/progress.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e840bdbd585389e30225e59a8947fe101d5b639a88bc4d05c9386fa7f5ac2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/decoration/neumorphic_decoration_painter.dart:142-150 | lib/src/decoration/neumorphic_text_decoration_painter.dart:223-231 \u2014 before extracting anything, compare \u0060lib/src/decoration/neumorphic_decoration_painter.dart\u0060 and \u0060lib/src/decoration/neumorphic_text_decoration_painter.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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/decoration/neumorphic_decoration_painter.dart:142\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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f164f4c8775b151cebb4056f1424204f90dd2dd6df18f4d39c7356fc5030f4b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/widget/indicator.dart:177-185 | lib/src/widget/progress.dart:145-153 \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. 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 \u0060NeumorphicIndicator\u0060 in one and \u0060NeumorphicProgress\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/widget/indicator.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e399b6bc12f2095a6baf00acad730ea0014c0db3e2d54b097c19d9f1f15b7ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/decoration/neumorphic_decoration_painter.dart:176-182 | lib/src/decoration/neumorphic_text_decoration_painter.dart:253-259 \u2014 before extracting anything, compare \u0060lib/src/decoration/neumorphic_decoration_painter.dart\u0060 and \u0060lib/src/decoration/neumorphic_text_decoration_painter.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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/decoration/neumorphic_decoration_painter.dart:176\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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e87e293cb969a875d9ee8075a1b3a1aca19759fe270435a7465e23526543055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/widget/indicator.dart:167-173 | lib/src/widget/progress.dart:135-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/indicator.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6089ca13d38838a979b262042e04af7b8ef39a64a9d7f62604218f97fc57890a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 65 shared lines): example/lib/accessibility/neumorphic_accessibility.dart:106-207 | example/lib/playground/neumorphic_playground.dart:104-205 | example/lib/playground/text_playground.dart:127-202 \u2014 These 3 members are variants of one another: a block of 65 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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5545ec3fd2966e22c90a604a50e5410bd7cf559d444d8cc84f37d5b995efeff"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): example/lib/tips/border/tips_border.dart:36-142 | example/lib/tips/border/tips_emboss_inside_emboss.dart:36-61 | example/lib/widgets/background/widget_background.dart:36-61 | example/lib/widgets/button/widget_button.dart:37-68 | example/lib/widgets/checkbox/widget_checkbox.dart:37-64 | example/lib/widgets/container/widget_container.dart:37-68 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:37-67 | example/lib/widgets/indicator/widget_indicator.dart:39-68 | example/lib/widgets/radiobutton/widget_radio_button.dart:36-63 | example/lib/widgets/range_slider/widget_range_slider.dart:37-63 | example/lib/widgets/slider/widget_slider.dart:37-63 | example/lib/widgets/switch/widget_switch.dart:37-66 | example/lib/widgets/toggle/widget_toggle.dart:36-62 \u2014 These 13 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 13 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 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/tips/border/tips_border.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c09b2c6d7caf287b7e4fe474f63c12035d393652c2431dcb123de97d78369c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): example/lib/widgets/background/widget_background.dart:81-107 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:84-101 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:324-343 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:372-391 | example/lib/widgets/progress/widget_progress.dart:87-106 | example/lib/widgets/progress/widget_progress.dart:299-319 | example/lib/widgets/progress/widget_progress.dart:360-380 | example/lib/widgets/range_slider/widget_range_slider.dart:101-137 | example/lib/widgets/slider/widget_slider.dart:93-123 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/widgets/background/widget_background.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"588b1c9ad1f46d7ac6b7522b9024abef57812969ac1a5c5dd43ec2c11110964f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): example/lib/accessibility/neumorphic_accessibility.dart:515-590 | example/lib/playground/neumorphic_playground.dart:624-756 | example/lib/playground/neumorphic_playground.dart:758-833 | example/lib/playground/text_playground.dart:240-315 | example/lib/sample_neumorphic_playground.dart:248-323 \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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ed8a35948fd92270b48b3870a8fc5c5b4abb7620b6e8d46230a077c5edf88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): example/lib/widgets/button/widget_button.dart:257-284 | example/lib/widgets/checkbox/widget_checkbox.dart:157-208 | example/lib/widgets/container/widget_container.dart:246-276 | example/lib/widgets/switch/widget_switch.dart:282-313 | example/lib/widgets/switch/widget_switch.dart:355-401 \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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a13ad7f2e1eff0bd36f917e252b498278cea9c35fea6218ccc6a5b4f824b5af"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): example/lib/widgets/button/widget_button.dart:376-401 | example/lib/widgets/container/widget_container.dart:413-448 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:216-241 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:270-295 | example/lib/widgets/progress/widget_progress.dart:239-265 \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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5919bd12e79cefe480ff474aa8388136c4a6b0f68e9245d78121e7123c258ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:136-187 | example/lib/widgets/indicator/widget_indicator.dart:202-252 | example/lib/widgets/progress/widget_progress.dart:153-205 | example/lib/widgets/range_slider/widget_range_slider.dart:193-263 | example/lib/widgets/slider/widget_slider.dart:170-234 \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":"example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"202e7ce40f6b2051cb5572e0e127c97a806566ab71986bf74235c6962b0f15a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): example/lib/accessibility/neumorphic_accessibility.dart:336-361 | example/lib/playground/neumorphic_playground.dart:336-361 | example/lib/playground/text_playground.dart:340-365 | example/lib/sample_neumorphic_playground.dart:167-192 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2265f0e631cf34b7556cd2b3c11b5960982047c218504babd82a3f2b5afcec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): example/lib/accessibility/neumorphic_accessibility.dart:461-486 | example/lib/playground/neumorphic_playground.dart:570-595 | example/lib/playground/text_playground.dart:419-444 | example/lib/sample_neumorphic_playground.dart:194-219 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c02f562a22ca2d4a8af8482c1cf862ec4cf2619ec2c1bed4606853de8833d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): example/lib/accessibility/neumorphic_accessibility.dart:488-513 | example/lib/playground/neumorphic_playground.dart:597-622 | example/lib/playground/text_playground.dart:497-522 | example/lib/sample_neumorphic_playground.dart:221-246 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cfad6ca8ce6eabc2530d3b26dd88f6be940a6745d2a66bfbd8782019dbb817"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): example/lib/accessibility/neumorphic_accessibility.dart:592-629 | example/lib/playground/neumorphic_playground.dart:835-872 | example/lib/playground/text_playground.dart:524-561 | example/lib/sample_neumorphic_playground.dart:325-362 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcb6659a4112b4b2918b9d41a2e3c49e2c705b1cd476e179207d5052e8aaacd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): example/lib/main_home.dart:49-127 | example/lib/samples/sample_home.dart:33-121 | example/lib/tips/tips_home.dart:27-66 | example/lib/widgets/widgets_home.dart:39-174 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/main_home.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"690fb978cf2d1726b79bda1f32952530f67c86262fe854ff358eb33622e1da4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): example/lib/widgets/button/widget_button.dart:437-519 | example/lib/widgets/container/widget_container.dart:310-383 | example/lib/widgets/switch/widget_switch.dart:163-242 | example/lib/widgets/switch/widget_switch.dart:439-496 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"5507a438464990e98c15482f4f822a52b08e53f1c80a1b01c1a6964404de5b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): example/lib/widgets/radiobutton/widget_radio_button.dart:91-144 | example/lib/widgets/radiobutton/widget_radio_button.dart:183-240 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/widgets/radiobutton/widget_radio_button.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b71e43a298fdc3f75f9c835169643218fe28e0336aec77bd33553d9a69daeee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): example/lib/samples/audio_player_sample.dart:59-114 | example/lib/samples/credit_card_sample.dart:208-255 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/samples/audio_player_sample.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"037597848b5141888d9f0c2d724340f407e031eac060cdf77dfb1af8aed8e5db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 43\u002B corresponding lines): example/lib/accessibility/neumorphic_accessibility.dart:58-102 | example/lib/playground/neumorphic_playground.dart:58-100 | example/lib/playground/text_playground.dart:79-123 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 43 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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ce0b4b8d7335204b9ea576d174dd4bb0b6d42c581e04ed57a7a98ed898f038"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): example/lib/lib/ThemeConfigurator.dart:73-107 | example/lib/lib/ThemeConfigurator.dart:109-142 \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":"example/lib/lib/ThemeConfigurator.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc8c46b1bec74a945556ca9ea03c7ce6da7836ed00c0842494c650a0cc032b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): example/lib/accessibility/neumorphic_accessibility.dart:426-459 | example/lib/playground/neumorphic_playground.dart:531-568 \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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d2fb975665cbdbca87b86277ac6273d16e5b43562bea5f761f59fb47d0844a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): example/lib/samples/widgets_sample.dart:180-216 | example/lib/samples/widgets_sample.dart:301-344 \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":"example/lib/samples/widgets_sample.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd9538b50387d96d14ef7308d212548b979733f53f3c9cd3a4e3b9b94143944"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): example/lib/widgets/button/widget_button.dart:303-333 | example/lib/widgets/checkbox/widget_checkbox.dart:249-285 | example/lib/widgets/radiobutton/widget_radio_button.dart:261-303 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e3213eb48febaee0b749253696f1ec392a2ebcc4bd84d88c0cdb337badef75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): example/lib/widgets/indicator/widget_indicator.dart:89-115 | example/lib/widgets/indicator/widget_indicator.dart:284-311 | example/lib/widgets/indicator/widget_indicator.dart:343-369 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/widgets/indicator/widget_indicator.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"023c87f8ca69d1770dbca8e38c92363ca14f8832e8c4379a535aea126ecde297"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): example/lib/accessibility/neumorphic_accessibility.dart:363-388 | example/lib/playground/neumorphic_playground.dart:390-415 | example/lib/playground/text_playground.dart:367-392 | example/lib/playground/text_playground.dart:470-495 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"3443291cd1e1bfc6e76113c28317a1dc2ad4ddfb18c7d9f73eb19b1ea26e3d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): example/lib/playground/neumorphic_playground.dart:417-441 | example/lib/playground/neumorphic_playground.dart:443-467 | example/lib/playground/neumorphic_playground.dart:469-493 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"example/lib/playground/neumorphic_playground.dart"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a3ecfff58c3ed0242ab878f3247b7c2c6c9a80f3885f514575509e41ccdfc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): example/lib/widgets/appbar/widget_app_bar.dart:23-40 | example/lib/widgets/appbar/widget_app_bar.dart:44-62 | example/lib/widgets/appbar/widget_app_bar.dart:66-86 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"example/lib/widgets/appbar/widget_app_bar.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd150d273d01bf2c612245196f9a75693b5bc2a18a425e248dfc54299566f15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): example/lib/widgets/button/widget_button.dart:88-108 | example/lib/widgets/button/widget_button.dart:140-164 | example/lib/widgets/button/widget_button.dart:197-222 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d4a598c2f3c83828e8f5800af8764db8c404265f4485d5886b6bf8bdb59cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): example/lib/samples/audio_player_sample.dart:35-57 | example/lib/samples/credit_card_sample.dart:36-57 \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":"example/lib/samples/audio_player_sample.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aa2106917572dba453429bc86bf21634c7230cfd7481dfe9363b1cf58395a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): example/lib/lib/ThemeConfigurator.dart:27-47 | example/lib/lib/color_selector.dart:37-61 \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":"example/lib/lib/ThemeConfigurator.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f502bac3d8f303f113692864ff044a62a606f729cf641218b059c5d079f5323"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): example/lib/widgets/container/widget_container.dart:88-108 | example/lib/widgets/container/widget_container.dart:137-158 | example/lib/widgets/container/widget_container.dart:189-210 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"example/lib/widgets/container/widget_container.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba4dce36576fa3af5c07ec812d2a9939fa0b87bd1b138381fa0d3ae5ceb842e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): example/lib/lib/ThemeConfigurator.dart:7-25 | example/lib/lib/back_button.dart:6-24 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/lib/ThemeConfigurator.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ac40d8329615b74c40997905955c0454cc0af5fec46114bbe08e9ab91f9283"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): example/lib/main.dart:9-27 | example/lib/widgets/button/button.dart:10-27 \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":"example/lib/main.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c6311c3c0802aa6079751c50db363403b68cd8bf6cf4e26cf9bf61195b34ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): example/lib/samples/clock/clock_sample.dart:8-26 | example/lib/samples/clock/clock_second_sample.dart:6-24 | example/lib/samples/form_sample.dart:7-24 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"example/lib/samples/clock/clock_sample.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"065710ee921c6dd36b3280898a437bb71aab6ad15db39a90b34e5e79ed8389d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): example/lib/samples/widgets_sample.dart:27-44 | example/lib/samples/widgets_sample.dart:46-62 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/samples/widgets_sample.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0339270cac868abe10b95a968ec17e0f5c7073b92f083023f2048260b011be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): example/lib/samples/calculator_sample.dart:12-28 | example/lib/samples/credit_card_sample.dart:13-24 | example/lib/samples/testla_sample.dart:13-29 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/samples/calculator_sample.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0359b5e68a69c12ba5a4a266a0f0dcdd7beb85c54117527f7ea7871ffc98446"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): example/lib/accessibility/neumorphic_accessibility.dart:209-222 | example/lib/playground/neumorphic_playground.dart:207-220 | example/lib/playground/text_playground.dart:204-214 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eed8760cf79ef963a98cdb390dabb011c5515dd649f68f5785d63784791b59d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): example/lib/accessibility/neumorphic_accessibility.dart:236-245 | example/lib/playground/neumorphic_playground.dart:234-244 | example/lib/playground/text_playground.dart:228-238 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c606a8629c00b8140b149cca8c7de6ad9109c03e6e5d9f0af8034d3b5a9587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 4): example/lib/accessibility/neumorphic_accessibility.dart:515-590 | example/lib/playground/neumorphic_playground.dart:758-833 | example/lib/playground/text_playground.dart:240-315 | example/lib/sample_neumorphic_playground.dart:248-323 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc1f876e0999b8813a1640a08177810741a426bebd9368537ada374a76db30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 3): example/lib/accessibility/neumorphic_accessibility.dart:106-151 | example/lib/playground/neumorphic_playground.dart:104-149 | example/lib/playground/text_playground.dart:127-172 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/accessibility/neumorphic_accessibility.dart:106\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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fcf1e61519d71adac7f8040bdfffac4d742fcf78b6828916da5a5ae4cfc5f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): example/lib/samples/clock/clock_sample.dart:35-80 | example/lib/samples/clock/clock_second_sample.dart:56-101 \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 \u0060example/lib/samples/clock/clock_sample.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":"example/lib/samples/clock/clock_sample.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb87bf6c337f2863b9cdea4e4e08b15a09af792459f1029af8a85d3505e14db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): example/lib/tips/border/tips_emboss_inside_emboss.dart:112-157 | example/lib/tips/border/tips_emboss_inside_emboss.dart:159-204 \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":"example/lib/tips/border/tips_emboss_inside_emboss.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f213b25dc6490958c0ab65d178e92a374c221ebdc4e052c43e58bd4a7add8e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 4): example/lib/accessibility/neumorphic_accessibility.dart:592-629 | example/lib/playground/neumorphic_playground.dart:835-872 | example/lib/playground/text_playground.dart:524-561 | example/lib/sample_neumorphic_playground.dart:325-362 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ea999b43002263b98ecef49b028aadec129413d7638b0d288f695e2427b6ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 5): example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:136-171 | example/lib/widgets/indicator/widget_indicator.dart:202-237 | example/lib/widgets/progress/widget_progress.dart:153-188 | example/lib/widgets/range_slider/widget_range_slider.dart:193-228 | example/lib/widgets/slider/widget_slider.dart:170-205 \u2014 \u0060example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart\u0060 and \u0060example/lib/widgets/indicator/widget_indicator.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 76 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:136\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":"example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"946bbed5c372a7c971c24cdd427e1c537d747d25316b6bfce009ba04efac7091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): example/lib/accessibility/neumorphic_accessibility.dart:390-424 | example/lib/playground/neumorphic_playground.dart:495-529 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36521c02dfd26b41526e3cdeb23d5d824aacfc1e8d93c1fc2eb1ba9d4297431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): example/lib/playground/neumorphic_playground.dart:282-316 | example/lib/sample_neumorphic_playground.dart:113-147 \u2014 before extracting anything, compare \u0060example/lib/playground/neumorphic_playground.dart\u0060 and \u0060example/lib/sample_neumorphic_playground.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 261 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/playground/neumorphic_playground.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"00476963528186fdf2772a6bf914c78745cf867400e1186ff32b89827bbdc006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): example/lib/samples/widgets_sample.dart:186-214 | example/lib/widgets/checkbox/widget_checkbox.dart:101-129 \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 \u0060example/lib/samples/widgets_sample.dart:186\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":"example/lib/samples/widgets_sample.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fe9ee0f2f2c7a45fcb6aea6f51740ade0c3f088971780d60a67cbf176dbedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): example/lib/accessibility/neumorphic_accessibility.dart:336-361 | example/lib/playground/neumorphic_playground.dart:336-361 | example/lib/playground/text_playground.dart:340-365 | example/lib/sample_neumorphic_playground.dart:167-192 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd401daf41fa98ce317561e89f816c65cb062d41036cf0d81fbbbd2181907195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): example/lib/accessibility/neumorphic_accessibility.dart:461-486 | example/lib/playground/neumorphic_playground.dart:570-595 | example/lib/playground/text_playground.dart:419-444 | example/lib/sample_neumorphic_playground.dart:194-219 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bf6b3fc612c3a029be24e1963910e6c781ac37df048c1c2931bbf32972680d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): example/lib/accessibility/neumorphic_accessibility.dart:488-513 | example/lib/playground/neumorphic_playground.dart:597-622 | example/lib/playground/text_playground.dart:497-522 | example/lib/sample_neumorphic_playground.dart:221-246 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9b102355d0e2327d0c3119717b790d3b0dc3057377948df94899472b5e0bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 3): example/lib/accessibility/neumorphic_accessibility.dart:64-89 | example/lib/playground/neumorphic_playground.dart:65-89 | example/lib/playground/text_playground.dart:85-110 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/accessibility/neumorphic_accessibility.dart:64\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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e5376998d6b390fc19b812271577a97fb3169f16a0538da9132c49f1131c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): example/lib/accessibility/neumorphic_accessibility.dart:182-207 | example/lib/playground/text_playground.dart:177-202 \u2014 before extracting anything, compare \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/text_playground.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 372 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 \u0060example/lib/accessibility/neumorphic_accessibility.dart:182\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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4935e3aafd29dbf8bb645e6680ecacb9238fb4e70397f9bfa87b3a9ea78f0b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): example/lib/accessibility/neumorphic_accessibility.dart:156-180 | example/lib/playground/neumorphic_playground.dart:154-178 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/accessibility/neumorphic_accessibility.dart:156\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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0161f40a1f0b17d9f5363d29be4fd52a85910f20402207722395aee815a45b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): example/lib/accessibility/neumorphic_accessibility.dart:257-278 | example/lib/playground/neumorphic_playground.dart:259-280 | example/lib/playground/text_playground.dart:317-338 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2ea06b4fc3564817617afff9a3ffc4d978c8725e619572a589c057e0f4654a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): example/lib/main_home.dart:27-47 | example/lib/widgets/widgets_home.dart:21-37 \u2014 before extracting anything, compare \u0060example/lib/main_home.dart\u0060 and \u0060example/lib/widgets/widgets_home.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/main_home.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"061cec3e4de1d2e17c44c3477ceb65e355d41d6e433902d5024ce9b8840e2ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): example/lib/widgets/range_slider/widget_range_slider.dart:44-63 | example/lib/widgets/slider/widget_slider.dart:44-63 \u2014 before extracting anything, compare \u0060example/lib/widgets/range_slider/widget_range_slider.dart\u0060 and \u0060example/lib/widgets/slider/widget_slider.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 107 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 \u0060example/lib/widgets/range_slider/widget_range_slider.dart:44\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":"example/lib/widgets/range_slider/widget_range_slider.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b6a0cb9d5428ad2f12abf419653d7fd8075322138c4f478c7ce5e1d93683cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): example/lib/widgets/range_slider/widget_range_slider.dart:113-131 | example/lib/widgets/range_slider/widget_range_slider.dart:236-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/widgets/range_slider/widget_range_slider.dart:113\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":"example/lib/widgets/range_slider/widget_range_slider.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81716484dbd74458fd2db82ea617422a24453f20c31960632e8c8dcba483ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): example/lib/accessibility/neumorphic_accessibility.dart:156-174 | example/lib/accessibility/neumorphic_accessibility.dart:182-200 | example/lib/playground/neumorphic_playground.dart:154-172 | example/lib/playground/text_playground.dart:177-195 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/accessibility/neumorphic_accessibility.dart:156\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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c4992a8654f9053351e9fb2adce27b35ccaee9e28cd71c237c6c8645ad111c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): example/lib/widgets/checkbox/widget_checkbox.dart:93-111 | example/lib/widgets/checkbox/widget_checkbox.dart:249-267 \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 \u0060example/lib/widgets/checkbox/widget_checkbox.dart:93\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/widgets/checkbox/widget_checkbox.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e3ef47c4854198e3f6945fbc318b2c0fa63d55b3a135dadf160a5e94fef850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 13): example/lib/tips/border/tips_border.dart:36-53 | example/lib/tips/border/tips_emboss_inside_emboss.dart:36-53 | example/lib/widgets/background/widget_background.dart:36-53 | example/lib/widgets/button/widget_button.dart:37-54 | example/lib/widgets/checkbox/widget_checkbox.dart:37-54 | example/lib/widgets/container/widget_container.dart:37-54 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:37-54 | example/lib/widgets/indicator/widget_indicator.dart:39-56 | example/lib/widgets/radiobutton/widget_radio_button.dart:36-53 | example/lib/widgets/range_slider/widget_range_slider.dart:37-54 | example/lib/widgets/slider/widget_slider.dart:37-54 | example/lib/widgets/switch/widget_switch.dart:37-54 | example/lib/widgets/toggle/widget_toggle.dart:36-53 \u2014 before extracting anything, compare \u0060example/lib/tips/border/tips_border.dart\u0060 and \u0060example/lib/tips/border/tips_emboss_inside_emboss.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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 \u0060example/lib/tips/border/tips_border.dart:36\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, \u0060example/lib/widgets/checkbox/widget_checkbox.dart:56\u0060 calls \u0060_ColorWidget\u0060, \u0060_EnabledDisabledWidget\u0060 and \u0060example/lib/widgets/background/widget_background.dart:55\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":"example/lib/tips/border/tips_border.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54c9f6c073cd6e1e4b0f8b20389a341b1f86e074e4d8baeb72f9e435ac12844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): example/lib/widgets/button/widget_button.dart:258-275 | example/lib/widgets/container/widget_container.dart:247-264 | example/lib/widgets/switch/widget_switch.dart:283-300 \u2014 \u0060example/lib/widgets/button/widget_button.dart\u0060 and \u0060example/lib/widgets/container/widget_container.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/widgets/button/widget_button.dart:258\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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"347f8d6914cf9b686d7069a381718baa010074a969827b4ed4cd09f06d087d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): example/lib/accessibility/neumorphic_accessibility.dart:428-445 | example/lib/playground/neumorphic_playground.dart:533-550 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/accessibility/neumorphic_accessibility.dart:428\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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c6f1b93bc7423a80edc04dbd3de41d4d5161f9cb945394bc2cc4466c673c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): example/lib/samples/credit_card_sample.dart:325-342 | example/lib/samples/credit_card_sample.dart:345-362 | example/lib/samples/credit_card_sample.dart:363-379 \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 \u0060example/lib/samples/credit_card_sample.dart:325\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":"example/lib/samples/credit_card_sample.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e192ee9c1c76312379898f4f4c08cbbe1dfe7c2363d544da9f2a2acadf18204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): example/lib/widgets/radiobutton/widget_radio_button.dart:91-108 | example/lib/widgets/radiobutton/widget_radio_button.dart:261-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 \u0060example/lib/widgets/radiobutton/widget_radio_button.dart:91\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, \u0060example/lib/widgets/radiobutton/widget_radio_button.dart:274\u0060 calls \u0060symmetric\u0060, \u0060Text\u0060 and \u0060example/lib/widgets/radiobutton/widget_radio_button.dart:109\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":"example/lib/widgets/radiobutton/widget_radio_button.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b800193e2f856e4234e692da20ef54d789ae11166c4028c6abe053ba909f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): example/lib/accessibility/neumorphic_accessibility.dart:516-532 | example/lib/playground/neumorphic_playground.dart:625-641 | example/lib/playground/neumorphic_playground.dart:759-775 | example/lib/playground/text_playground.dart:241-257 | example/lib/sample_neumorphic_playground.dart:249-265 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/accessibility/neumorphic_accessibility.dart:516\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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b6dd4514ead9f2775fd4792d5b04f551290bbeefbdd24a62eeeb46457ea8bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): example/lib/widgets/button/widget_button.dart:437-453 | example/lib/widgets/container/widget_container.dart:310-326 | example/lib/widgets/switch/widget_switch.dart:163-179 | example/lib/widgets/switch/widget_switch.dart:439-455 \u2014 \u0060example/lib/widgets/button/widget_button.dart\u0060 and \u0060example/lib/widgets/container/widget_container.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/widgets/button/widget_button.dart:437\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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"09988979418754a6af8a9dfb7e4a01ff479db96ba9382360be41e91914d476eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): example/lib/widgets/button/widget_button.dart:464-480 | example/lib/widgets/button/widget_button.dart:489-505 | example/lib/widgets/container/widget_container.dart:356-372 \u2014 \u0060example/lib/widgets/button/widget_button.dart\u0060 and \u0060example/lib/widgets/container/widget_container.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/widgets/button/widget_button.dart:464\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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"a049d00c96fe012d5bf60ce4fead716af116a4afe36206f631cd134624981eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): example/lib/playground/neumorphic_playground.dart:318-334 | example/lib/sample_neumorphic_playground.dart:149-165 \u2014 before extracting anything, compare \u0060example/lib/playground/neumorphic_playground.dart\u0060 and \u0060example/lib/sample_neumorphic_playground.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 261 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/playground/neumorphic_playground.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"748eebdff0ce3cc80b029268da0c68ab26fb6bcb536a9c35a5b425bd5225f09f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): example/lib/samples/form_sample.dart:186-202 | example/lib/samples/form_sample.dart:290-306 \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 \u0060example/lib/samples/form_sample.dart:186\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":"example/lib/samples/form_sample.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8a69df5a6020d31c481f162ff5a72550b3cc19ce820218751ead41dd9e7494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): example/lib/samples/sample_home.dart:15-31 | example/lib/tips/tips_home.dart:9-25 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/samples/sample_home.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38ce7e24adc03ff5058b2395562d8e44faf2ff040a1a988ac89ba33e6921fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): example/lib/tips/tips_home.dart:31-47 | example/lib/widgets/widgets_home.dart:43-59 \u2014 \u0060example/lib/tips/tips_home.dart\u0060 and \u0060example/lib/widgets/widgets_home.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/tips/tips_home.dart:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/tips/tips_home.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af162fb1fdf614c32f960989ef3bb8061054947893fe3d4e21dfe68d7b6f4fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): example/lib/widgets/appbar/widget_app_bar.dart:90-106 | example/lib/widgets/appbar/widget_app_bar.dart:133-149 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/widgets/appbar/widget_app_bar.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"535a9488236aee5fd606859472ae09500da52fdcd4b3df85bf85819e6ba75e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): example/lib/widgets/button/widget_button.dart:462-477 | example/lib/widgets/button/widget_button.dart:487-502 | example/lib/widgets/container/widget_container.dart:332-347 | example/lib/widgets/container/widget_container.dart:354-369 \u2014 \u0060example/lib/widgets/button/widget_button.dart\u0060 and \u0060example/lib/widgets/container/widget_container.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/widgets/button/widget_button.dart:462\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, \u0060example/lib/widgets/button/widget_button.dart:460\u0060 calls \u0060setState\u0060 and \u0060example/lib/widgets/container/widget_container.dart:331\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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a5f26a8467d2b2e4124961c406c6d6519b3ce539d755e6897afa30615524f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): example/lib/widgets/progress/widget_progress.dart:108-123 | example/lib/widgets/progress/widget_progress.dart:321-336 | example/lib/widgets/progress/widget_progress.dart:382-397 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/widgets/progress/widget_progress.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2932fa82610538a7c04889eb66abd23ac4dc56c63c29cea83336c739171526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): example/lib/samples/widgets_sample.dart:122-137 | example/lib/samples/widgets_sample.dart:142-157 | example/lib/samples/widgets_sample.dart:158-171 \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 \u0060example/lib/samples/widgets_sample.dart:122\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":"example/lib/samples/widgets_sample.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8251c51e82ee0f9b876f0fd710a6fb7e82f2356b267cdcfa7686ecdd8655ad8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): example/lib/widgets/radiobutton/widget_radio_button.dart:191-206 | example/lib/widgets/radiobutton/widget_radio_button.dart:221-236 \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 \u0060example/lib/widgets/radiobutton/widget_radio_button.dart:191\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":"example/lib/widgets/radiobutton/widget_radio_button.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11d13c7cd7525d82ca35de22545c27c06676e0ad3b230c1427807ef9090dbe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): example/lib/widgets/switch/widget_switch.dart:189-204 | example/lib/widgets/switch/widget_switch.dart:213-228 \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 \u0060example/lib/widgets/switch/widget_switch.dart:189\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":"example/lib/widgets/switch/widget_switch.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c486284dfc35a55a167488d803364aa07179f6e09d8e301e9d7dbf439aacf1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): example/lib/widgets/switch/widget_switch.dart:212-227 | example/lib/widgets/switch/widget_switch.dart:465-480 \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 \u0060example/lib/widgets/switch/widget_switch.dart:212\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":"example/lib/widgets/switch/widget_switch.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2f7a04bb7f52948af24f247720f26a6fac19cf77ce9c7577ebcf5e929c50ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): example/lib/widgets/container/widget_container.dart:573-587 | example/lib/widgets/container/widget_container.dart:589-603 \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 \u0060example/lib/widgets/container/widget_container.dart:573\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":"example/lib/widgets/container/widget_container.dart"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e09dc2196ca6846f168f78d5bcdeba5076ac67202d1c5d53352e09673ef1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): example/lib/widgets/button/widget_button.dart:376-389 | example/lib/widgets/container/widget_container.dart:413-426 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:216-229 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:270-283 | example/lib/widgets/progress/widget_progress.dart:239-252 \u2014 \u0060example/lib/widgets/button/widget_button.dart\u0060 and \u0060example/lib/widgets/container/widget_container.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/widgets/button/widget_button.dart:376\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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d4bd1871046e9659835836b757c396ee6959b1c4d1179e425fbc006068b6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): example/lib/widgets/button/widget_button.dart:442-455 | example/lib/widgets/button/widget_button.dart:467-480 | example/lib/widgets/button/widget_button.dart:492-505 | example/lib/widgets/container/widget_container.dart:359-372 \u2014 \u0060example/lib/widgets/button/widget_button.dart\u0060 and \u0060example/lib/widgets/container/widget_container.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/widgets/button/widget_button.dart:442\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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8db01b6b5dcdc90a63232a1c520cf3074667a3e72026ad113c5e8bb6547f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): example/lib/widgets/container/widget_container.dart:523-536 | example/lib/widgets/container/widget_container.dart:538-551 | example/lib/widgets/container/widget_container.dart:572-585 | example/lib/widgets/container/widget_container.dart:588-601 \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 \u0060example/lib/widgets/container/widget_container.dart:523\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/widgets/container/widget_container.dart:587\u0060 calls \u0060circle\u0060 and \u0060example/lib/widgets/container/widget_container.dart:538\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":"example/lib/widgets/container/widget_container.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abe1a3dc6d86eaaaadfa2cd9696cd0dc5f8b6fcb3d54bfd9150518a658390a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): example/lib/widgets/indicator/widget_indicator.dart:89-102 | example/lib/widgets/indicator/widget_indicator.dart:284-297 | example/lib/widgets/indicator/widget_indicator.dart:343-356 \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 \u0060example/lib/widgets/indicator/widget_indicator.dart:89\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":"example/lib/widgets/indicator/widget_indicator.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c11c7893de04f2096ea983078713979199a736dddab8cabbce2c627761beff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example/lib/accessibility/neumorphic_accessibility.dart:446-459 | example/lib/playground/neumorphic_playground.dart:555-568 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/accessibility/neumorphic_accessibility.dart:446\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":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c19c9839415ca94c325ddaf599292a04054cf2d4a31d86f42dc05565959e430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example/lib/samples/calculator_sample.dart:164-177 | example/lib/samples/credit_card_sample.dart:216-229 \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 \u0060example/lib/samples/calculator_sample.dart:164\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, \u0060example/lib/samples/calculator_sample.dart:162\u0060 calls \u0060Padding\u0060, \u0060only\u0060 and \u0060example/lib/samples/credit_card_sample.dart:215\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":"example/lib/samples/calculator_sample.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0917d9fc3828502b7b1ea1682bcf0bb44e4b75af761ae993ba98dd7c498d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example/lib/samples/clock/clock_sample.dart:8-21 | example/lib/samples/clock/clock_second_sample.dart:6-19 \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 \u0060example/lib/samples/clock/clock_sample.dart:8\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":"example/lib/samples/clock/clock_sample.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87c3b59043f3c7e1f64cdb33ee402c3d7d9bffea632bdb4523c1eff83ab4dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example/lib/widgets/button/widget_button.dart:151-164 | example/lib/widgets/button/widget_button.dart:209-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 \u0060example/lib/widgets/button/widget_button.dart:151\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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b6e1bccf3fe60e44ed8eee89c016a3764c234559e3ddbef17e9a0ff8a679de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example/lib/widgets/container/widget_container.dart:315-328 | example/lib/widgets/container/widget_container.dart:337-350 \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 \u0060example/lib/widgets/container/widget_container.dart:315\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":"example/lib/widgets/container/widget_container.dart"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f59b52c6129a3b8464f0d5ca0e699343b07159567017f0b0d48b84ece64eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example/lib/widgets/switch/widget_switch.dart:192-205 | example/lib/widgets/switch/widget_switch.dart:445-458 \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 \u0060example/lib/widgets/switch/widget_switch.dart:192\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":"example/lib/widgets/switch/widget_switch.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f1c8aad7771124152750a79fed9ecd75e68351894dcb414ee97cbafd152291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): example/lib/widgets/switch/widget_switch.dart:168-180 | example/lib/widgets/switch/widget_switch.dart:191-204 | example/lib/widgets/switch/widget_switch.dart:215-228 | example/lib/widgets/switch/widget_switch.dart:444-457 \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 \u0060example/lib/widgets/switch/widget_switch.dart:168\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":"example/lib/widgets/switch/widget_switch.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"687a89500792dd79f1eafcfac30103e1f5c5c5f368fec0a52c8a9efaea663a5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): example/lib/main_home.dart:49-61 | example/lib/tips/tips_home.dart:27-39 | example/lib/widgets/widgets_home.dart:39-51 \u2014 before extracting anything, compare \u0060example/lib/main_home.dart\u0060 and \u0060example/lib/widgets/widgets_home.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 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 \u0060example/lib/main_home.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/tips/tips_home.dart:42\u0060 calls \u0060TopBar\u0060 and \u0060example/lib/main_home.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":"example/lib/main_home.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9cbb20c9cdd59d3f0b6eb5e15b71046d9ca459cc769461817df6dffd3bea06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): example/lib/playground/neumorphic_playground.dart:418-430 | example/lib/playground/neumorphic_playground.dart:444-456 | example/lib/playground/neumorphic_playground.dart:470-482 \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 \u0060example/lib/playground/neumorphic_playground.dart:418\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":"example/lib/playground/neumorphic_playground.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b12cf6ffaa698a39d65288f5a2f0adf21798c84cc619bb394157a6abc870c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): example/lib/samples/widgets_sample.dart:70-82 | example/lib/samples/widgets_sample.dart:87-98 \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 \u0060example/lib/samples/widgets_sample.dart:70\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":"example/lib/samples/widgets_sample.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d9d849dbf72d0fc69d26286d1df50cf235deb84fbd29322914a1c5ddc6ea8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): example/lib/widgets/progress/widget_progress.dart:88-99 | example/lib/widgets/progress/widget_progress.dart:300-311 | example/lib/widgets/progress/widget_progress.dart:361-372 \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 \u0060example/lib/widgets/progress/widget_progress.dart:88\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060example/lib/widgets/progress/widget_progress.dart:312\u0060 calls \u0060Duration\u0060 and \u0060example/lib/widgets/progress/widget_progress.dart:100\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":"example/lib/widgets/progress/widget_progress.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e1c5b3d1a7d20cb002107d8c800d6c9ab5ea22202fcd567cfdc9f9f37c2d95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example/lib/samples/audio_player_sample.dart:204-215 | example/lib/samples/audio_player_sample.dart:218-229 \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 \u0060example/lib/samples/audio_player_sample.dart:204\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":"example/lib/samples/audio_player_sample.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b8eedcf06f2091a94cf07d351eb33556fc83a09d5b70dcd35725b6f5284bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example/lib/tips/border/tips_border.dart:197-208 | example/lib/tips/border/tips_border.dart:227-238 \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 \u0060example/lib/tips/border/tips_border.dart:197\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":"example/lib/tips/border/tips_border.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b784fe8fad60d9f99ac0ad86ee2812ee54dfd69a6bae384585f2bbd2b64f584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example/lib/widgets/container/widget_container.dart:137-148 | example/lib/widgets/container/widget_container.dart:189-200 \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 \u0060example/lib/widgets/container/widget_container.dart:137\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":"example/lib/widgets/container/widget_container.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"493e7b42e85bc25692fca82347cd31530d6adb9fdd37a8e1c80ae8ab3d0b6fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): example/lib/widgets/background/widget_background.dart:81-91 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:84-94 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:324-334 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:372-382 | example/lib/widgets/progress/widget_progress.dart:87-97 | example/lib/widgets/progress/widget_progress.dart:299-309 | example/lib/widgets/progress/widget_progress.dart:360-370 | example/lib/widgets/range_slider/widget_range_slider.dart:101-111 | example/lib/widgets/slider/widget_slider.dart:93-103 \u2014 \u0060example/lib/widgets/background/widget_background.dart\u0060 and \u0060example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/widgets/background/widget_background.dart:81\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, \u0060example/lib/widgets/progress/widget_progress.dart:312\u0060 calls \u0060Duration\u0060 and \u0060example/lib/widgets/progress/widget_progress.dart:100\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":"example/lib/widgets/background/widget_background.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"38819343777f6ab8d2e41c3cae9e71eb05d23d81314024e792c3edc9dc038732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): example/lib/widgets/button/widget_button.dart:257-267 | example/lib/widgets/checkbox/widget_checkbox.dart:157-167 | example/lib/widgets/container/widget_container.dart:246-256 | example/lib/widgets/switch/widget_switch.dart:282-292 | example/lib/widgets/switch/widget_switch.dart:355-365 \u2014 \u0060example/lib/widgets/button/widget_button.dart\u0060 and \u0060example/lib/widgets/checkbox/widget_checkbox.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/widgets/button/widget_button.dart:257\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":"example/lib/widgets/button/widget_button.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f013fb2ca82e2aea0d95550f44aef41cf42abe21d02d625757ecb2a3c6dee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): example/lib/main_home.dart:53-63 | example/lib/samples/sample_home.dart:38-48 | example/lib/tips/tips_home.dart:31-41 | example/lib/widgets/widgets_home.dart:43-53 \u2014 before extracting anything, compare \u0060example/lib/main_home.dart\u0060 and \u0060example/lib/widgets/widgets_home.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 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 \u0060example/lib/main_home.dart:53\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/tips/tips_home.dart:42\u0060 calls \u0060TopBar\u0060 and \u0060example/lib/main_home.dart:64\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":"example/lib/main_home.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb566e7b3448915650a6cdb19500e3bd78b9cc781ea46b25f333ba900bdc7506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): example/lib/main.dart:65-75 | example/lib/main.dart:83-94 \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 \u0060example/lib/main.dart:65\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":"example/lib/main.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"264a39c46ad578f12391f98116ad5bafe3a1896e73d21507f88f29bd86c5d918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): example/lib/samples/audio_player_sample.dart:94-104 | example/lib/samples/credit_card_sample.dart:234-245 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/lib/samples/audio_player_sample.dart:93\u0060 calls \u0060all\u0060 and \u0060example/lib/samples/credit_card_sample.dart:233\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":"example/lib/samples/audio_player_sample.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"29879fa43ed9fa5fb8f6b24b35328b4714d313f468b15b1b3a88afacf7725d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): example/lib/widgets/toggle/widget_toggle.dart:108-118 | example/lib/widgets/toggle/widget_toggle.dart:237-247 \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 \u0060example/lib/widgets/toggle/widget_toggle.dart:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/widgets/toggle/widget_toggle.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"414aa5faa3df61ce427e2bdc9f9165241bcbceb4d55349c36970d77c82ac34aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): example/lib/accessibility/neumorphic_accessibility.dart:11-23 | example/lib/playground/neumorphic_playground.dart:10-22 | example/lib/playground/text_playground.dart:11-23 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d22d7bfa0f635abee67bf3d3651cf21d405691065fd8866144951d565478e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): example/lib/accessibility/neumorphic_accessibility.dart:224-234 | example/lib/playground/neumorphic_playground.dart:222-232 | example/lib/playground/text_playground.dart:216-226 \u2014 \u0060example/lib/accessibility/neumorphic_accessibility.dart\u0060 and \u0060example/lib/playground/neumorphic_playground.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 438 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/accessibility/neumorphic_accessibility.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38fc51ffa1db84ba2c599c226455839ae185ccef8133e919e33fd584e140d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/lib/samples/audio_player_sample.dart:238-245 | example/lib/widgets/button/button.dart:90-97 \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":"example/lib/samples/audio_player_sample.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"893d8c3288207f6bb18d6e23b13ce9f0714c6d2200bf3e458e871c5d0b0720f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 15): example/lib/tips/border/tips_border.dart:15-27 | example/lib/tips/border/tips_emboss_inside_emboss.dart:15-27 | example/lib/widgets/background/widget_background.dart:15-27 | example/lib/widgets/button/widget_button.dart:16-28 | example/lib/widgets/checkbox/widget_checkbox.dart:16-28 | example/lib/widgets/container/widget_container.dart:16-28 | example/lib/widgets/icon/widget_icon.dart:14-26 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:16-28 | example/lib/widgets/indicator/widget_indicator.dart:18-30 | example/lib/widgets/progress/widget_progress.dart:17-29 | example/lib/widgets/radiobutton/widget_radio_button.dart:15-27 | example/lib/widgets/range_slider/widget_range_slider.dart:16-28 | example/lib/widgets/slider/widget_slider.dart:16-28 | example/lib/widgets/switch/widget_switch.dart:16-28 | example/lib/widgets/toggle/widget_toggle.dart:15-27 \u2014 before extracting anything, compare \u0060example/lib/tips/border/tips_border.dart\u0060 and \u0060example/lib/tips/border/tips_emboss_inside_emboss.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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":"example/lib/tips/border/tips_border.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"903caa20f1fa0594f0f7d5c0ad6718eaefb1f1eedf03ab5eaba484c3383c7677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 47): example/lib/tips/border/tips_border.dart:254-262 | example/lib/tips/border/tips_emboss_inside_emboss.dart:210-218 | example/lib/widgets/background/widget_background.dart:109-117 | example/lib/widgets/button/widget_button.dart:110-118 | example/lib/widgets/button/widget_button.dart:166-174 | example/lib/widgets/button/widget_button.dart:224-232 | example/lib/widgets/button/widget_button.dart:286-294 | example/lib/widgets/button/widget_button.dart:347-355 | example/lib/widgets/button/widget_button.dart:403-411 | example/lib/widgets/button/widget_button.dart:521-529 | example/lib/widgets/checkbox/widget_checkbox.dart:134-142 | example/lib/widgets/checkbox/widget_checkbox.dart:229-237 | example/lib/widgets/checkbox/widget_checkbox.dart:304-312 | example/lib/widgets/container/widget_container.dart:110-118 | example/lib/widgets/container/widget_container.dart:160-168 | example/lib/widgets/container/widget_container.dart:212-220 | example/lib/widgets/container/widget_container.dart:278-286 | example/lib/widgets/container/widget_container.dart:385-393 | example/lib/widgets/container/widget_container.dart:450-458 | example/lib/widgets/container/widget_container.dart:614-622 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:103-111 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:189-197 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:243-251 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:297-305 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:345-353 | example/lib/widgets/indeterminate_progress/widget_indeterminate_progress.dart:393-401 | example/lib/widgets/indicator/widget_indicator.dart:117-125 | example/lib/widgets/indicator/widget_indicator.dart:167-175 | example/lib/widgets/indicator/widget_indicator.dart:254-262 | example/lib/widgets/indicator/widget_indicator.dart:313-321 | example/lib/widgets/indicator/widget_indicator.dart:371-379 | example/lib/widgets/progress/widget_progress.dart:207-215 | example/lib/widgets/progress/widget_progress.dart:267-275 | example/lib/widgets/radiobutton/widget_radio_button.dart:146-154 | example/lib/widgets/radiobutton/widget_radio_button.dart:242-250 | example/lib/widgets/radiobutton/widget_radio_button.dart:323-331 | example/lib/widgets/range_slider/widget_range_slider.dart:139-147 | example/lib/widgets/range_slider/widget_range_slider.dart:265-273 | example/lib/widgets/slider/widget_slider.dart:125-133 | example/lib/widgets/slider/widget_slider.dart:236-244 | example/lib/widgets/switch/widget_switch.dart:125-133 | example/lib/widgets/switch/widget_switch.dart:244-252 | example/lib/widgets/switch/widget_switch.dart:315-323 | example/lib/widgets/switch/widget_switch.dart:403-411 | example/lib/widgets/switch/widget_switch.dart:498-506 | example/lib/widgets/toggle/widget_toggle.dart:184-192 | example/lib/widgets/toggle/widget_toggle.dart:292-300 \u2014 before extracting anything, compare \u0060example/lib/tips/border/tips_border.dart\u0060 and \u0060example/lib/tips/border/tips_emboss_inside_emboss.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/lib/widgets/radiobutton/widget_radio_button.dart:318\u0060 calls \u0060Text\u0060 and \u0060example/lib/widgets/checkbox/widget_checkbox.dart:224\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":"example/lib/tips/border/tips_border.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a2e06644dbb2302db7067ffca6e8866a7b0bdca5b58970d5348d7674493a4a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AbstractNeumorphicEmbossPainterCache (LCOM4 5): AbstractNeumorphicEmbossPainterCache\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/decoration/cache/abstract_neumorphic_painter_cache.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34f6dc83dc9ab0cdc8ca2d9c1924f37f116919b50420fd4700f9e1c1847e68b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NeumorphicEmbossPainterCache (LCOM4 4): NeumorphicEmbossPainterCache\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/decoration/cache/neumorphic_emboss_painter_cache.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e28d5c9aaf561c1c11e72a6c06bef12dca63b839a6bd43075af2bcae358d6a3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LightSource (LCOM4 4): LightSource\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/light_source.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"205c45d6b972237c10d1b6eed3f5c59206e127aa7c7f759239c40727119f5d6f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO maybe use TextStyle here \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/theme/theme.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48e4dba5708fcc9dc1b540c44ab938925bc6a26ac3235d438e8b0189060c05f"}},{"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":"4fbc6df3d72864219648f8a5e2a3fe4857d204776cc76785ab693bf45ade35c2"},"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":"6dbed48f4c8b6cda1f8a4b3732de32255a228241d14e790293f489f20e3edd0b"},"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":"47377aa8659f8aadcdd7c9ce0cea201eb0d99596c65fcff940d7ef089d615860"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"beb7c3eaf9de5b4b83049539b3b715890a51340bbe0b6ca767159faee652b43a"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 24 of 24 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 24 separate risks. Counted over 24 of the 47 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/theme.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa70544e325c61d0f35534dd3afc7c4801c0790734ae70330524f20a0f51db32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/progress.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cc371a93f903ea9153315c81aa53a6bc23bd1fc30cc9257b140c9e75a6d0ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/range_slider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d70ed5c9f3181028ffeafa7d56d73a04ec04915e77c5f888e9ad4c9e4af428"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/toggle.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0dc61bcfde7a4bbf48f5a071a1515081249be138da427aab473655e83c1f0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_text_decoration_painter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc8acf341d9a3ff4a7879a5a307f1715d81e92905139ef7d3e92865e7521001"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/app_bar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dde7ecba030bd99d362f3c020b8fdbc3fb2038c535d59ed1fd01fed60ce9f34"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/switch.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8592f3a13d937add84ec885a1b9c77b9ee3dba26c39c54a8f96684bc7ce42b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/indicator.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ed08bd4294aad0138df2002381fcc3ed8b9f548caf559a9f7141ce7bb1fa86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/text.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bec20efabd4ebf56227a6e24987f4ddb90d8acaa76693960104ee13558cc492"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe294ec1073aa45ff75609cc28d712b5c8d2fa32f24ecc4f3d835a0caca3fd00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/button.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d534d48fb5bfddc79587f680e26a9cff8804fe452d466197de2377a9ce48be0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/radio.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88db02b698490aedee68002a11568dba032616032d9551dfb7dbf353ac9a5b9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/slider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deea20b572a2e2a00d163f04849f9d7420cc372087b2e8e3b03c4903fe62c006"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/checkbox.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b231bc45ffd900553ebe9095b2aeece1f4c2b206bcd5fad26a78b5e9860f08ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/cache/abstract_neumorphic_painter_cache.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d359416148702590be10f8c9fbdf0c7544653181061f4d8f921c88a3e97fbef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_emboss_decoration_painter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c294b600c9381ba588a2371201500d201064724c150607bcf1fa353fd3fa863"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/app.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da52a1d4d928db2df7644d128786d57ede501ecc8d731ff3b6bf7d310f015ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/container.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"093e9739acd7a4abbb3a147422be13b314a8c2b820e511e22b972778b4c54ae1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/neumorphic_theme.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f7ad62d94c21c290b0bdaba377212f10cb643031769d07a5d5d8ee6bf05b8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_decorations.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2b08c19addfde87ad9051585435244da4fee83324d88c2362d64e9065974a8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/decoration/neumorphic_text_decorations.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"711a1fec3994087632c6d33d3104d76371486a023a5f4db39acbe8464971d172"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/neumorphic_box_shape.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ff5125e9421ef34e57d3accb3c3d19569eca5374496c9b509641b496bbea82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/colors.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9848b8f358a2bdefe6ab39ede169e68eb7d3931b4577adffb0efd9c02984ceb3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/app_bar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b1f5515926a3867ac7bfcaa872d4fef11f97109f20a6c6bee0ff37097d0f63"}},{"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":"f565882c0a115fb9578e0145fd6b0e800a1762ed087db622de4d0ffa7bcb5dc2"},"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":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060firebase.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/firebase.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a057da4789d242cfb0dfdda43c0562a56010db3957a9fa6adeb4bdddbf0e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060invalidateDepth || invalidateLightSource\u0060 appears character-identically in 2 files \u2014 lib/src/decoration/neumorphic_decoration_painter.dart, lib/src/decoration/neumorphic_text_decoration_painter.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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8462cf7cf1d3b5b6e1500d04668bdf761df045dca2e6f5f59f751eff8bd1d2d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060invalidateLightSource || invalidateDepth || invalidateSize\u0060 appears character-identically in 3 files \u2014 lib/src/decoration/neumorphic_decoration_painter.dart, lib/src/decoration/neumorphic_emboss_decoration_painter.dart, lib/src/decoration/neumorphic_text_decoration_painter.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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dcd3fa65a317f90e6f0b842d4d4afab45a73e582466be9b2ffd3d4cd36261a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style.border.width != null \u0026\u0026 style.border.width! \u003E 0\u0060 appears character-identically in 3 files \u2014 lib/src/decoration/neumorphic_decoration_painter.dart, lib/src/decoration/neumorphic_emboss_decoration_painter.dart, lib/src/decoration/neumorphic_text_decoration_painter.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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5aa18686bbe20cde7cd8e98214e04c5c6eab5559adb62c8e4e90b85f2cd0187"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style.depth != null \u0026\u0026 style.depth! \u003E= 0\u0060 appears character-identically in 2 files \u2014 lib/src/decoration/neumorphic_decorations.dart, lib/src/decoration/neumorphic_text_decorations.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/decoration/neumorphic_decorations.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc28cf875345651d24faa8a9a0f6c7b36647ff8dada833a230713fd31ee8d06e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style.depth != null \u0026\u0026 style.depth!.abs() \u003E= 0.1\u0060 appears character-identically in 2 files \u2014 lib/src/decoration/neumorphic_decoration_painter.dart, lib/src/decoration/neumorphic_text_decoration_painter.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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f795fb5c0e75468cb942ac962f9e976fc670b4e68d7bcea4ca981291ccaae8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style.shadowLightColor != null \u0026\u0026 style.shadowDarkColor != null \u0026\u0026 style.intensity != null\u0060 appears character-identically in 2 files \u2014 lib/src/decoration/neumorphic_decoration_painter.dart, lib/src/decoration/neumorphic_text_decoration_painter.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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26ffe65c1abacf30340509375133ef7afe79afc168e634e0502ff321d389dce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style.shape == NeumorphicShape.concave || style.shape == NeumorphicShape.convex\u0060 appears character-identically in 2 files \u2014 lib/src/decoration/neumorphic_decoration_painter.dart, lib/src/decoration/neumorphic_text_decoration_painter.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/decoration/neumorphic_decoration_painter.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1865bf620da51aae921969eb7a943312825efb66641c084b45291e52aa1c1ee0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t)\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/theme/neumorphic_theme.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5a4d29b2304abd8b2c70fa0b0991df25e1a0a057589369a024d7c66bba6145"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":6,"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."]}]}