{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"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":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"VideoShortcutHandler.handle (cyclomatic 21): VideoShortcutHandler.handle has cyclomatic complexity 21 (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/presentation/shortcuts/video_shortcut_handler.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae232d5403ac58ffdd6732c9c75d359db6cdcbd26c43d92cd99b4d4f47ff44b3"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaListViewState.build (cyclomatic 19): _MediaListViewState.build has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/media_list_screen.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2c2a4c5958cc045c5234b5d36a1844d8944d38d0d3e82f5ca95327b0e09c66"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeDetailsCubit.openAnimeServerSelectionDrawer (cognitive 27): AnimeDetailsCubit.openAnimeServerSelectionDrawer has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b545550e0114036e4c10c7a87ed2e887eecdc10c5ced4dc7c958e679aa0f965"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoShortcutHandler.handle (cognitive 21): VideoShortcutHandler.handle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 1 (3 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/shortcuts/video_shortcut_handler.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"487de20d6b8ddd9f9a6d1fbdd26f3454c09c3e955837c40e665d7b62175228ec"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaListViewState.build (cognitive 18): _MediaListViewState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 18. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/media_list_screen.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44c88e7cadaf4109dbc4deda86138f149b2ead0e94479a05ba4ec9f31c87798"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UnyoVideoControlsState.build: MethodTooLong \u2014 build runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_video_controls.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b65a43c4ba028b7dbf52d861027e1cb2803852181512c3eb252b114d0f1cc91"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsViewState.build: MethodTooLong \u2014 build runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/settings_screen.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8b076c11c92a218d0c5cc71c97ddc12b8a3eb669a9ae31820a8c7bdf6301b7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VideoService: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/video/video_service.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"052d69671e41f1ba22674454589d87365535a6b80718b97e1d3c8cd9dd467ff4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeDetailsViewState.build: MethodTooLong \u2014 build runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_details_screen.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fba52bff3f6d1084374d4182b74688cee9cacdd78405c2a2c7e40ac2def017"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ExtensionsViewState.build: MethodTooLong \u2014 build runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/extensions_screen.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56fe6381ab2fd5e08d2801cbb3a64634332b24a1854d81f490c3deafe7b6bd6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnimeDetailsCubit: ClassTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 306 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09920bf78eb766030a4eff02fecfd3faf833289ec00b3b8d45134301e5f0d92"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MangaDetailsViewState.build: MethodTooLong \u2014 build runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/manga_details_screen.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a181f93746e7c62e59c9629b6d1c0bd9b93037f9b29c4365e37a5a3fece80cf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cubits/anime_details_cubit.dart: FileTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: AnimeDetailsCubit (73-1091). The bar is 500 significant lines; this is 272 over it, 1.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5333edaa01e49ba8c4ac567119f45102743aee6fda902a897d628c2c8f4244a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaCard.build: MethodTooLong \u2014 build runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/media_card.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8783340bf4ecb866e2bc74c16aef912ea00de0d776aa8f9e9c43d6fb702b1cd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeAdvancedSearchViewState.build: MethodTooLong \u2014 build runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeec1c4b836743958e990b1a6c553fd998b5f5666ffdd3c91970e22d96b4e6d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnimeDetailsCubit: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f829215999ce1ae0016f2c9aa319d8e3e2ac9cda4f59e26e4428d9634c5cfbb3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnyoExtensionButton.build: MethodTooLong \u2014 build runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_extension_button.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1772d1d0d67cfef09fea7c384901a6d60813b2c0e27f3bca20d7400b88b96f51"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MangaAdvancedSearchViewState.build: MethodTooLong \u2014 build runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/manga_advanced_search_screen.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3684fcf8fd3832f944d02423746e788ebdd92660fd58353cd8884e41ec902af5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VideoService: ClassTooLong \u2014 454 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods. The bar is 400 significant lines; this is 54 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/video/video_service.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ec879d3f8237a15f137d2f2abdd065b11492694af2c4c45d6de6b1e6367959"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VideoCubit: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/video_cubit.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ef173956ccf4ac88a8f7ce6dc875fe07430aa61c4ec59b8d7ef3f76cb0919f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UserProfileDialog.build: MethodTooLong \u2014 build runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/dialogs/user_profile_dialog.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"93101c0b588db15f35e91457502790feb2a0c24ba15e93b27c48749e50dc63d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CalendarViewState.build: MethodTooLong \u2014 build runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/calendar_screen.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af28d59b00133f481d305c2025b58aa9d87b01dff5dad692ec3f3ee7557885e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VideoCubit: ClassTooLong \u2014 414 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 14 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/video_cubit.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a77c5a6cd236f918f6c04d97619284e5b88271395e7b307ae3ee0e077a495a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (115 shared lines): lib/presentation/screens/anime_advanced_search_screen.dart:63-238 | lib/presentation/screens/manga_advanced_search_screen.dart:63-225 \u2014 These two members are variants of one another: 115 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"855fb9aee7146360920713ad38f2b1444cc6511c10507d56c66415f86c4abfd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/data/repositories/anime_repository_anilist.dart:60-86 | lib/data/repositories/manga_repository_anilist.dart:59-83 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2409d40c4b7317770ebaebb91c12db863cdc015a9ccb179027d67744f08012"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): lib/data/models/anilist/media/anilist_anime_model.dart:49-87 | lib/data/models/anilist/media/anilist_anime_model.dart:129-167 | lib/data/models/anilist/media/anilist_anime_model.dart:169-207 | lib/data/models/anilist/media/anilist_anime_model.dart:209-247 | lib/data/models/anilist/media/anilist_anime_model.dart:249-280 | lib/data/models/anilist/media/anilist_anime_model.dart:282-312 | lib/data/models/anilist/media/anilist_manga_model.dart:44-76 | lib/data/models/anilist/media/anilist_manga_model.dart:78-109 | lib/data/models/anilist/media/anilist_manga_model.dart:111-142 | lib/data/models/anilist/media/anilist_manga_model.dart:144-176 | lib/data/models/anilist/media/anilist_manga_model.dart:178-204 | lib/data/models/anilist/media/anilist_manga_model.dart:206-231 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/models/anilist/media/anilist_anime_model.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7432ff8370f634a8d6b175f485b451a586f8881c0bf5b62cced6df29b30cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): lib/presentation/widgets/styled/unyo_language_dropdown.dart:67-180 | lib/presentation/widgets/styled/unyo_settings_category.dart:66-170 | lib/presentation/widgets/styled/unyo_settings_selection_dialog.dart:21-73 | lib/presentation/widgets/styled/unyo_settings_selection_dropdown.dart:51-109 | lib/presentation/widgets/styled/unyo_settings_selection_slider.dart:52-131 | lib/presentation/widgets/styled/unyo_settings_selection_toggle.dart:47-103 | lib/presentation/widgets/styled/unyo_settings_version.dart:67-119 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_language_dropdown.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe36c84c03102e135b15a6b4e044dd8ef6f0248129a960dd97faddb681fc2f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/application/cubits/anime_cubit.dart:174-192 | lib/application/cubits/anime_cubit.dart:222-237 | lib/application/cubits/anime_cubit.dart:239-257 | lib/application/cubits/anime_cubit.dart:259-274 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_cubit.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a05b90897944caa4f1e787a344172f9ebc953e2b9013fe5560f9b3a19b1004c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/core/factories/manga_repository_factory.dart:43-72 | lib/core/factories/manga_repository_factory.dart:74-103 | lib/core/factories/manga_repository_factory.dart:105-134 | lib/core/factories/manga_repository_factory.dart:136-165 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/factories/manga_repository_factory.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9b2f30281d57fb1d228a5da774e240ed8cd642a7fea04645016e7f344899ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/data/repositories/anime_repository_anilist.dart:38-58 | lib/data/repositories/anime_repository_anilist.dart:111-131 | lib/data/repositories/manga_repository_anilist.dart:34-57 | lib/data/repositories/manga_repository_anilist.dart:85-108 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36c4ffcd4d76d4f8e813f91bd759b99962e97a68d3259ef7faf16c21afa629b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/data/repositories/episode_repository_anizip.dart:41-52 | lib/data/repositories/episode_repository_anizip.dart:54-65 | lib/data/repositories/episode_repository_anizip.dart:67-78 | lib/data/repositories/episode_repository_anizip.dart:80-91 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/episode_repository_anizip.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"63121e502c2eccb3ebc3e658f08ab4ea86c69eaf5c6c0e4dcb08a2a8146aa662"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/data/repositories/user_repository_anilist.dart:87-110 | lib/data/repositories/user_repository_anilist.dart:112-135 | lib/data/repositories/user_repository_anilist.dart:137-160 | lib/data/repositories/user_repository_anilist.dart:162-185 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_anilist.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"72311babf26b4513db903f14f2ffa5ddfadd3c6c8162193660ed637a0239642e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/presentation/dialogs/extension_preferences_dialog.dart:115-138 | lib/presentation/dialogs/extension_preferences_dialog.dart:140-166 | lib/presentation/dialogs/extension_preferences_dialog.dart:168-214 | lib/presentation/dialogs/extension_preferences_dialog.dart:216-264 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/dialogs/extension_preferences_dialog.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f40d8f2bf66f4fe4372136507505939b42dde73856cca5272fc6bd3ab8b4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/presentation/widgets/styled/anime_card_list.dart:29-98 | lib/presentation/widgets/styled/anime_recommendations_card_list.dart:32-93 | lib/presentation/widgets/styled/manga_card_list.dart:27-92 | lib/presentation/widgets/styled/manga_recommendations_card_list.dart:28-89 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/anime_card_list.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"806af3ae8507b259d792d468a524e03af4f2162b2a8021696ff07cc5f8ef0d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (226 corresponding lines): lib/presentation/screens/anime_details_screen.dart:134-397 | lib/presentation/screens/manga_details_screen.dart:115-340 \u2014 These two members are one piece of code written twice and then edited apart: 226 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/presentation/screens/anime_details_screen.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad238c4ea91e79e1d2c2168c4cbcec718d27ea073a9b183527d99269f7cfc60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (131 corresponding lines): lib/presentation/screens/calendar_screen.dart:68-206 | lib/presentation/screens/media_list_screen.dart:59-189 \u2014 These two members are one piece of code written twice and then edited apart: 131 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/presentation/screens/calendar_screen.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ef00c61b7dccfdf3e8b9bb1d5d1f3df3698b1aa7281cf2b9b7b4852e7eb811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (104 corresponding lines): lib/presentation/screens/anime_screen.dart:78-181 | lib/presentation/screens/manga_screen.dart:77-198 \u2014 These two members are one piece of code written twice and then edited apart: 104 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/presentation/screens/anime_screen.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf8554a7eac0ec2f35254b2349fc1cb424fb98b2893ad41868c110e60d56aaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): lib/presentation/drawers/episode_list_drawer.dart:22-90 | lib/presentation/screens/anime_details_screen.dart:76-132 \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/presentation/drawers/episode_list_drawer.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"13953d65c915302e1901dac73d3553a1ed858f96754f26698d3e790dea0ded93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): lib/data/repositories/anime_repository_anilist.dart:255-326 | lib/data/repositories/manga_repository_anilist.dart:134-208 \u2014 These two members are one piece of code written twice and then edited apart: 72 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9987b7bc9fc9120edc81d415fbd89ef82c71edab0a8c039285912db5f65f4678"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): lib/presentation/widgets/styled/unyo_multi_select_dropdown.dart:83-158 | lib/presentation/widgets/styled/unyo_sort_widget.dart:57-123 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_multi_select_dropdown.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd8d05b7d3b376686b3bf29512013c1f03313214b4e36ab49c6472648a3198a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): lib/application/cubits/anime_details_cubit.dart:320-368 | lib/application/cubits/manga_details_cubit.dart:203-250 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e69da5da66e16f828e4e40d37dc3e8143aca2767d74b01a537ac89bbb101043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 49\u002B corresponding lines): lib/application/cubits/anime_details_cubit.dart:868-924 | lib/application/cubits/anime_details_cubit.dart:926-980 | lib/application/cubits/video_cubit.dart:544-592 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 49 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/application/cubits/anime_details_cubit.dart"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e60ade112203d28564d4306e5e8014ff2fb52fededfbe478845126ddc2ab7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): lib/presentation/widgets/styled/add_user_avatar.dart:17-55 | lib/presentation/widgets/styled/user_avatar.dart:31-93 \u2014 These two members are one piece of code written twice and then edited apart: 39 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/presentation/widgets/styled/add_user_avatar.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23bd842865265669a5b1372dc07b1050ee285bc4d32e655f361bac58344798b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/application/cubits/anime_advanced_search_cubit.dart:174-195 | lib/application/cubits/manga_advanced_search_cubit.dart:163-183 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_advanced_search_cubit.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"08660b31d2e95f2bf5d837f38bb7dcbbccba0e657f8db0cd0d70c4878524a935"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/core/services/api/http/http_service.dart:34-75 | lib/core/services/api/http/http_service.dart:77-120 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/api/http/http_service.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"30163f37d6dd18fa6972bc32db6fbd6a7193d6a65323cc0979deaa551f5fbca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/data/repositories/extension_repository_aniyomi.dart:50-78 | lib/data/repositories/extension_repository_aniyomi.dart:80-108 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/extension_repository_aniyomi.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9550137384068914ae0782bec3448dce65ea2ad54415979aeaecd093f6ff1b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/application/cubits/anime_details_cubit.dart:1054-1090 | lib/application/cubits/manga_details_cubit.dart:412-447 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"7486d10365ea5207b5eeaecc88fb54f8915aab916578ac5e1f021818c2839147"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): lib/application/cubits/extensions_cubit.dart:84-120 | lib/application/cubits/extensions_cubit.dart:122-158 | lib/application/cubits/extensions_cubit.dart:160-195 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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/application/cubits/extensions_cubit.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef50143997112d58ade17e8efd722e9c839e3a2d26928b3a9e37ad28a1f95b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/data/repositories/anime_repository_anilist.dart:221-253 | lib/data/repositories/manga_repository_anilist.dart:274-307 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3ad69ac1b3579744f2d5e14895d04eb1b643976771601e03e0d3af888bf6c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/domain/entities/list/media_list_entry.dart:59-77 | lib/domain/entities/list/media_list_entry.dart:79-97 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/domain/entities/list/media_list_entry.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19fdf3a934da421037d70f8c799f757e0d496b34d4beadf2ee046078e42a83b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/data/repositories/anime_repository_anilist.dart:133-155 | lib/data/repositories/manga_repository_anilist.dart:110-132 \u2014 These two members are one piece of code written twice and then edited apart: 23 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/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0512b16cac93fbce6af7399377f1593917f2d30e30887fad615f325b12703a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/application/cubits/anime_details_cubit.dart:982-1004 | lib/application/cubits/anime_details_cubit.dart:1006-1040 \u2014 These two members are one piece of code written twice and then edited apart: 23 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/application/cubits/anime_details_cubit.dart"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d0a984eabcaca2546c65bfa12089f46f5a47fa5c8eada0da98a876b9d8501f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/presentation/widgets/styled/dark_unyo_button.dart:37-55 | lib/presentation/widgets/styled/light_unyo_button.dart:37-55 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/dark_unyo_button.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"def784ca3755cf50a99dbca2c716b06c060a6caeb80dfb05f6d4494a5ea1f604"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/core/factories/anime_repository_factory.dart:190-209 | lib/core/factories/anime_repository_factory.dart:333-369 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/factories/anime_repository_factory.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21941a0ea75dbe941200314b12e1fc861d917f9ab334e1d9c0bd8ef2544bfb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/application/cubits/login_cubit.dart:185-228 | lib/application/cubits/settings_cubit.dart:236-275 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/login_cubit.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b972643f6c31c141204e9c43a8589b51e951e2719f7f065cf08c055e16f45f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/application/cubits/anime_details_cubit.dart:578-597 | lib/application/cubits/anime_details_cubit.dart:599-618 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f712171b4ca2567f59e4dc20df81f0e7892a1abe5cd38b19414574411737de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/application/cubits/anime_advanced_search_cubit.dart:197-219 | lib/application/cubits/manga_advanced_search_cubit.dart:185-206 \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/application/cubits/anime_advanced_search_cubit.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bde89b888bf48cd034149fce42593d105d80540b99c0ed4c59df70fe20d68e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/data/repositories/anime_repository_shikimori.dart:92-110 | lib/data/repositories/manga_repository_shikimori.dart:75-93 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_shikimori.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88816a9f544cd3bf09b9f28f4df2ad64b1eee071659ca0f7f1d260e336a7115"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/application/cubits/settings_cubit.dart:289-312 | lib/application/cubits/settings_cubit.dart:314-337 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/settings_cubit.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28d55f397f547bc7eb325d48f37a4746ef87f0f4340e587ff069f795fb666d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/core/factories/anime_repository_factory.dart:226-268 | lib/core/factories/manga_repository_factory.dart:203-245 \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/core/factories/anime_repository_factory.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7b955e9b56751bffb3f3e29e2eee33e3ea61cfd7cc359104dfbbc835354edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/data/repositories/user_repository_shikimori.dart:191-207 | lib/data/repositories/user_repository_shikimori.dart:209-225 \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/data/repositories/user_repository_shikimori.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1b2ebf48466a0adc3fa34321af82e7bf62b461218487e8defa89b5986eccc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 27\u002B corresponding lines): lib/core/factories/anime_repository_factory.dart:34-60 | lib/core/factories/anime_repository_factory.dart:62-88 | lib/core/factories/anime_repository_factory.dart:90-116 | lib/core/factories/anime_repository_factory.dart:118-144 | lib/core/factories/anime_repository_factory.dart:146-172 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/factories/anime_repository_factory.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0e86d4efcaefb16e1869d393839e44366cbbb01f0c28e31aa6045b292d3efb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/application/cubits/anime_details_cubit.dart:744-767 | lib/application/cubits/manga_details_cubit.dart:280-303 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"f495cda6a53f7c783f34f0388d858db13cb1c67d44ffedb74dbedfcb7d61f84e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/data/repositories/extension_repository_aniyomi.dart:175-187 | lib/data/repositories/extension_repository_aniyomi.dart:189-201 \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/data/repositories/extension_repository_aniyomi.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fac20015a7047f3b0ef2c0053152ae648497bc21ffde6c6cc36e1a109806a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/data/repositories/user_repository_anilist.dart:202-217 | lib/data/repositories/user_repository_shikimori.dart:284-304 \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/data/repositories/user_repository_anilist.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efc6eb6086f7b89bd00dfed74f8ab4ed32d4ecd69fad8cd422a9ab6598dc017"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/data/repositories/user_repository_shikimori.dart:227-249 | lib/data/repositories/user_repository_shikimori.dart:251-273 \u2014 These two members are one piece of code written twice and then edited apart: 23 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/data/repositories/user_repository_shikimori.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24dd47fba8727a491dbc252bb781112807c0b57a130ea9fb9630088109e400c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/application/cubits/settings_cubit.dart:79-93 | lib/application/cubits/settings_cubit.dart:95-110 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/settings_cubit.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ade24cd1987350cac2f42421351a79454d8011a8cd833da684cb4a782edb9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/application/cubits/anime_cubit.dart:40-63 | lib/application/cubits/manga_cubit.dart:38-59 \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/application/cubits/anime_cubit.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c252923968c71f49fb887ea072cf570e9a28944c930aa959be824adc04c44d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): lib/application/cubits/anime_details_cubit.dart:1042-1052 | lib/application/cubits/extensions_cubit.dart:237-252 | lib/application/cubits/extensions_cubit.dart:254-269 | lib/application/cubits/manga_details_cubit.dart:360-370 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69c687adb2175eff8a3cdb18262352b061037a6ab710b923714bc13c36e7965"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/core/services/api/graphql/graphql_service.dart:26-41 | lib/core/services/api/graphql/graphql_service.dart:43-58 \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/core/services/api/graphql/graphql_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac858a4691f2e2328f1c2dbb38461e6c615f10495e22b1d2fd3dd9537c96edb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/application/cubits/anime_advanced_search_cubit.dart:75-87 | lib/application/cubits/manga_advanced_search_cubit.dart:75-87 \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/application/cubits/anime_advanced_search_cubit.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5d586ea52753c8156a9ef436c3c6be679080e9db46357a0ca4e77c7e8b368c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/core/factories/anime_repository_factory.dart:211-224 | lib/core/factories/manga_repository_factory.dart:188-201 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/factories/anime_repository_factory.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"98976f278306bd57c6cde1033dbaeed3509777ae419723369baac1f4b5b0b450"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/domain/entities/media/anime.dart:88-110 | lib/domain/entities/media/manga.dart:77-96 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/domain/entities/media/anime.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc759b7f16ecfa0d3f1861d5ca8093511cc80107978db854b28a165b896c04a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/core/factories/episode_repository_factory.dart:27-45 | lib/core/factories/episode_repository_factory.dart:47-65 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/factories/episode_repository_factory.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4e21894527bbdea1580f69abb15fedc83577948dcb0afc16f5afd754b42553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/data/repositories/extension_repository_aniyomi.dart:110-116 | lib/data/repositories/extension_repository_aniyomi.dart:118-124 \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/data/repositories/extension_repository_aniyomi.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9f117b452d4ca76ba5e5bc9c8aaa015fd1f1a2de6b04583fbabdaf60bd6d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/data/repositories/user_repository_shikimori.dart:104-116 | lib/data/repositories/user_repository_shikimori.dart:118-126 \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/data/repositories/user_repository_shikimori.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff1112ad9565c90278f2b167f12117a03f61b4ab6bf15158c9a6531e584bc5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): lib/data/repositories/anime_repository_anilist.dart:211-219 | lib/data/repositories/anime_repository_shikimori.dart:377-386 | lib/data/repositories/manga_repository_anilist.dart:268-272 | lib/data/repositories/manga_repository_shikimori.dart:254-263 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe3a133a4c3c83b22236a2caf075d1e987a574bf6c5a15f0b47df2e6093b6ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/data/models/anilist/media/anilist_anime_details.dart:42-57 | lib/data/models/anilist/media/anilist_manga_details.dart:46-67 \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/data/models/anilist/media/anilist_anime_details.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace5a269742934b3a2268d8ba55dab66885fab2cfc9d94cc212d24b7454c90ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/data/repositories/extension_repository_aniyomi.dart:322-333 | lib/data/repositories/extension_repository_aniyomi.dart:335-346 \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/data/repositories/extension_repository_aniyomi.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0874c71038af04be4069daa8b493d4a610b445d52d83e32b9989bc451f6ab68c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): lib/application/cubits/home_cubit.dart:165-173 | lib/application/cubits/manga_cubit.dart:200-209 | lib/application/cubits/manga_cubit.dart:211-223 | lib/application/cubits/manga_cubit.dart:225-234 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/home_cubit.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cb425cae7c0de35f0aef3644953507858e47c3c0fef6df52000a491393bd60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/core/services/api/shikimori/shikimori_user_rate_service.dart:206-223 | lib/core/services/api/shikimori/shikimori_user_rate_service.dart:225-235 \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/core/services/api/shikimori/shikimori_user_rate_service.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76f742d572dfb7e4761f848359b7259ccdb6841986067f72353eeadec53b5a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): lib/application/cubits/anime_details_cubit.dart:530-540 | lib/application/cubits/anime_details_cubit.dart:542-552 | lib/application/cubits/anime_details_cubit.dart:554-564 | lib/application/cubits/anime_details_cubit.dart:566-576 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4013f07a5ad61a508111ec53c8abaa8803cec465b6938cf351a4410dfd50440e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/application/cubits/anime_details_cubit.dart:292-304 | lib/application/cubits/manga_details_cubit.dart:189-201 \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/application/cubits/anime_details_cubit.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8185d7baddae3a07f71fb62195553a73e0bcd0fbd81c8b39955bddeb79ae448"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): lib/core/factories/user_repository_factory.dart:53-65 | lib/core/factories/user_repository_factory.dart:67-79 | lib/core/factories/user_repository_factory.dart:81-93 | lib/core/factories/user_repository_factory.dart:95-107 | lib/core/factories/user_repository_factory.dart:109-121 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/factories/user_repository_factory.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb41479b628426c76914bd8b49d2c4a626d5a1b22999811f5152aa6308c79fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/application/cubits/anime_advanced_search_cubit.dart:61-73 | lib/application/cubits/manga_advanced_search_cubit.dart:61-73 \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/application/cubits/anime_advanced_search_cubit.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf0c177a8b69468acc5cae237682ae0b4b69bc4726cbe66d13277351562c417"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/application/cubits/extensions_cubit.dart:271-280 | lib/application/cubits/extensions_cubit.dart:282-291 \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/application/cubits/extensions_cubit.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"790e24a78165c94dec2aa25caa15aa20280e62edb17113261245bbd75cd36b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 11\u002B corresponding lines): lib/application/cubits/settings_cubit.dart:112-125 | lib/application/cubits/settings_cubit.dart:127-140 | lib/application/cubits/settings_cubit.dart:164-174 | lib/application/cubits/settings_cubit.dart:176-186 | lib/application/cubits/settings_cubit.dart:188-198 | lib/application/cubits/settings_cubit.dart:200-210 | lib/application/cubits/settings_cubit.dart:212-222 | lib/application/cubits/settings_cubit.dart:224-234 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/settings_cubit.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6560be226dfcc106f4422eb55c2ce346c1bbd957dd3fc4fe02740414ed640944"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/data/models/shikimori/media/shikimori_media_mapper.dart:83-105 | lib/data/models/shikimori/media/shikimori_media_mapper.dart:120-138 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/models/shikimori/media/shikimori_media_mapper.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af021166e8077321949c1ccee3dc09260e9080cb527fa74705f445b1db1f2a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/application/cubits/extensions_cubit.dart:293-301 | lib/application/cubits/extensions_cubit.dart:303-311 \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/application/cubits/extensions_cubit.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c282934d03b08b11e92e663a81f742cbc89ce85a7f517e6a2fb4915a021ba3e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/domain/entities/media/anime.dart:56-59 | lib/domain/entities/media/manga.dart:49-52 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/domain/entities/media/anime.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2c75fe306188510d64d92715b421c9a1851fdfc89ba9b41d75ff82b59e3eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/core/factories/user_repository_factory.dart:25-37 | lib/core/factories/user_repository_factory.dart:39-51 \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/core/factories/user_repository_factory.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d423cde2386981a43846068dde91e49600b5943f9a1844cb458fdcc48b4837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/application/cubits/anime_cubit.dart:143-154 | lib/application/cubits/manga_cubit.dart:154-164 \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/application/cubits/anime_cubit.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f2705311c3c7cd8fa6aa51c1494e3ad3a46d71150d0bb97272b6237efd3876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/data/repositories/extension_repository_aniyomi.dart:299-303 | lib/data/repositories/extension_repository_aniyomi.dart:305-309 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/extension_repository_aniyomi.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e64d8822b5c8350750c11e3ae4365964c37814f10fe0b427fbae20d44ed4c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): lib/application/cubits/anime_advanced_search_cubit.dart:94-102 | lib/application/cubits/anime_advanced_search_cubit.dart:104-112 | lib/application/cubits/anime_advanced_search_cubit.dart:134-142 | lib/application/cubits/anime_advanced_search_cubit.dart:144-152 | lib/application/cubits/anime_advanced_search_cubit.dart:154-162 | lib/application/cubits/anime_advanced_search_cubit.dart:164-172 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_advanced_search_cubit.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc90f4804b072b92da816f61b164ca45967bfa0e40e43f4cb65cdaacf384c504"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): lib/application/cubits/manga_advanced_search_cubit.dart:94-102 | lib/application/cubits/manga_advanced_search_cubit.dart:104-112 | lib/application/cubits/manga_advanced_search_cubit.dart:133-141 | lib/application/cubits/manga_advanced_search_cubit.dart:143-151 | lib/application/cubits/manga_advanced_search_cubit.dart:153-161 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/manga_advanced_search_cubit.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0d8ca6f23cf25f035170b71e85e60a85d54e8194ed4db113d7cb377328c8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/data/models/anilist/media/anilist_media_character.dart:23-32 | lib/data/models/shikimori/media/shikimori_media_character.dart:26-35 | lib/domain/entities/media/media_character.dart:43-51 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/models/anilist/media/anilist_media_character.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e18054e69a45c6aa1492d3fdb5e2cd49f35e876c1baf9e4e62acaec8a33847"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/presentation/screens/anime_screen.dart:68-76 | lib/presentation/screens/manga_screen.dart:68-75 \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/presentation/screens/anime_screen.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"71dea6d2283d888f38dedbe80f0acb662916ea08bc6d3760333d8d0d037fb4ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/application/cubits/calendar_cubit.dart:52-57 | lib/application/cubits/extensions_cubit.dart:58-65 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/calendar_cubit.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f03453a50dcb84d9e9e94c117a62997e5a3915f88ca05cb18dd233a98bdd322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201333 lines \u00D7 2): lib/presentation/widgets/styled/manga_card_list.dart:60-92 | lib/presentation/widgets/styled/manga_recommendations_card_list.dart:60-89 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/styled/manga_card_list.dart\u0060 and \u0060lib/presentation/widgets/styled/manga_recommendations_card_list.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 69 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/presentation/widgets/styled/manga_card_list.dart:60\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/manga_card_list.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c6173c94252d6f8070ad2dacd06ca21b33f3b909ccce47762bf25a2349bd61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): lib/presentation/screens/anime_advanced_search_screen.dart:81-109 | lib/presentation/screens/extensions_screen.dart:103-131 | lib/presentation/screens/manga_advanced_search_screen.dart:81-109 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_advanced_search_screen.dart\u0060 and \u0060lib/presentation/screens/manga_advanced_search_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 145 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/presentation/screens/anime_advanced_search_screen.dart:81\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9fc0f287810d84973b3ee52d70de00bcdfb4f2bf6fe4d99541a02bb04deed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/data/repositories/anime_repository_anilist.dart:269-293 | lib/data/repositories/manga_repository_anilist.dart:148-172 \u2014 before extracting anything, compare \u0060lib/data/repositories/anime_repository_anilist.dart\u0060 and \u0060lib/data/repositories/manga_repository_anilist.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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/data/repositories/anime_repository_anilist.dart:269\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/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"99acefcbecdcc40a6868d6472141c35914a6af87f0ace425c823d3e9107b1698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): lib/presentation/widgets/styled/unyo_settings_selection_dropdown.dart:62-85 | lib/presentation/widgets/styled/unyo_settings_selection_slider.dart:62-85 | lib/presentation/widgets/styled/unyo_settings_selection_toggle.dart:58-81 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/styled/unyo_settings_selection_dropdown.dart\u0060 and \u0060lib/presentation/widgets/styled/unyo_settings_selection_toggle.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 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/presentation/widgets/styled/unyo_settings_selection_dropdown.dart:62\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/presentation/widgets/styled/unyo_settings_selection_dropdown.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b7872fd16847cdf18628dc681ba5025036669c3b545d57755b7e4cee5874c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:871-894 | lib/application/cubits/anime_details_cubit.dart:929-952 \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/application/cubits/anime_details_cubit.dart:871\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"305d2e2e2bd9c652ac6472c2ae454032506a0657609cfaa9dcbbf49a078e3912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): lib/data/repositories/anime_repository_anilist.dart:225-247 | lib/data/repositories/manga_repository_anilist.dart:278-301 \u2014 before extracting anything, compare \u0060lib/data/repositories/anime_repository_anilist.dart\u0060 and \u0060lib/data/repositories/manga_repository_anilist.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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/data/repositories/manga_repository_anilist.dart:278\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c745b0f5f392af41be206a4d7060498542d126afdc0f5a6418f6f855dcca12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): lib/data/repositories/anime_repository_anilist.dart:307-326 | lib/data/repositories/manga_repository_anilist.dart:185-208 \u2014 before extracting anything, compare \u0060lib/data/repositories/anime_repository_anilist.dart\u0060 and \u0060lib/data/repositories/manga_repository_anilist.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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/data/repositories/anime_repository_anilist.dart:307\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"360f394108e9f617951563224aa1e49c523d48fd0e5dff8f53991ee190b97e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): lib/presentation/screens/anime_details_screen.dart:339-362 | lib/presentation/screens/manga_details_screen.dart:275-296 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_details_screen.dart\u0060 and \u0060lib/presentation/screens/manga_details_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/screens/anime_details_screen.dart:339\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_details_screen.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"8741a199c95ddf5e321f1166bf080de5ea064ed095b4a2df2a1eea62dbb27498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): lib/presentation/widgets/styled/anime_card_list.dart:37-59 | lib/presentation/widgets/styled/anime_recommendations_card_list.dart:40-61 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/styled/anime_card_list.dart\u0060 and \u0060lib/presentation/widgets/styled/anime_recommendations_card_list.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/widgets/styled/anime_card_list.dart:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/anime_card_list.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fbe024cdaa19d51117569d6c88b7757ace0b60421b40688e1e56f8fb7d409b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): lib/presentation/widgets/styled/manga_card_list.dart:35-57 | lib/presentation/widgets/styled/manga_recommendations_card_list.dart:36-57 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/styled/manga_card_list.dart\u0060 and \u0060lib/presentation/widgets/styled/manga_recommendations_card_list.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 69 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/presentation/widgets/styled/manga_card_list.dart:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/manga_card_list.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de0751f880dd0068a7f6ee2e5732955d7ea1dfe59330a813342fb337f85ffaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/data/repositories/manga_repository_anilist.dart:36-57 | lib/data/repositories/manga_repository_anilist.dart:87-108 \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. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/manga_repository_anilist.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad3fe395df512d37f00acdc0a5f53c1bbaa15cf945d1763522a6751e532e5a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/presentation/screens/anime_advanced_search_screen.dart:198-219 | lib/presentation/screens/manga_advanced_search_screen.dart:185-206 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_advanced_search_screen.dart\u0060 and \u0060lib/presentation/screens/manga_advanced_search_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 145 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/presentation/screens/anime_advanced_search_screen.dart:198\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/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac7933f4a9dd78dad4ee259d4123971d617ab3688fbb6f1e47493f457dd0f87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/presentation/widgets/styled/add_user_avatar.dart:22-42 | lib/presentation/widgets/styled/user_avatar.dart:40-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/widgets/styled/add_user_avatar.dart:22\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/presentation/widgets/styled/user_avatar.dart:37\u0060 calls \u0060Stack\u0060 and \u0060lib/presentation/widgets/styled/add_user_avatar.dart:21\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/add_user_avatar.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0b0f9651654b8e7497bcecfc9c304b3f047612d263047854306b0398d8ec5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/data/repositories/user_repository_anilist.dart:89-108 | lib/data/repositories/user_repository_anilist.dart:114-133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_anilist.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dd2efd69958015f08463e88bd2c6b1950ee791da9546f645ff72a8ada74903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/presentation/widgets/styled/anime_card_list.dart:29-48 | lib/presentation/widgets/styled/manga_card_list.dart:27-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/widgets/styled/anime_card_list.dart:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/anime_card_list.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eec7af88ae9453a0df3440da8abc84d8a2b76a6c1874dd2c52289b0b9e121e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/presentation/widgets/styled/anime_recommendations_card_list.dart:32-51 | lib/presentation/widgets/styled/manga_recommendations_card_list.dart:28-47 \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/presentation/widgets/styled/anime_recommendations_card_list.dart:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/anime_recommendations_card_list.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2224bb31fb101f929e55bacbfbc818658e9af8b810e6edc06a0d70911a1d5d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 5): lib/presentation/widgets/styled/unyo_language_dropdown.dart:71-88 | lib/presentation/widgets/styled/unyo_settings_selection_dialog.dart:26-44 | lib/presentation/widgets/styled/unyo_settings_selection_dropdown.dart:54-72 | lib/presentation/widgets/styled/unyo_settings_selection_toggle.dart:50-68 | lib/presentation/widgets/styled/unyo_settings_version.dart:71-88 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/styled/unyo_language_dropdown.dart\u0060 and \u0060lib/presentation/widgets/styled/unyo_settings_selection_dropdown.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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/presentation/widgets/styled/unyo_language_dropdown.dart:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/presentation/widgets/styled/unyo_language_dropdown.dart:69\u0060 calls \u0060of\u0060 and \u0060lib/presentation/widgets/styled/unyo_settings_selection_dropdown.dart:52\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_language_dropdown.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebe0886daedc02a688d97bc772ec28d5ec098bb144ae2e80b245141e5dd56e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:906-924 | lib/application/cubits/anime_details_cubit.dart:962-980 \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/application/cubits/anime_details_cubit.dart:906\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fb0ea54d7a03a0d6e0039bdea9c29e06ec1c72bacbf3c44e4a4a78c6e79150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): lib/application/cubits/login_cubit.dart:189-207 | lib/application/cubits/settings_cubit.dart:241-257 \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/application/cubits/login_cubit.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":"lib/application/cubits/login_cubit.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c644670011cb8ac396e88941f1e8765f7f0bb70e019b6f4004be4920581221c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/data/repositories/anime_repository_anilist.dart:40-58 | lib/data/repositories/anime_repository_anilist.dart:113-131 \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. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5de80052ed8f474b86f71750deab06c384d8b8913207ff2ee985611ff59dbb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/application/cubits/anime_cubit.dart:81-98 | lib/application/cubits/manga_cubit.dart:77-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_cubit.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bda2be757db5bcd69a1a2e3c7e60d29177b13c3c57c249f003325fe48d9f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/application/cubits/extensions_cubit.dart:96-113 | lib/application/cubits/extensions_cubit.dart:134-151 \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/application/cubits/extensions_cubit.dart:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/extensions_cubit.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d687578e18acb84c487a57d34e84c466923d0dd681b30a3cafb16d4a5d6d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/core/services/api/http/http_service.dart:47-64 | lib/core/services/api/http/http_service.dart:94-110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/core/services/api/http/http_service.dart:47\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/core/services/api/http/http_service.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"05510af1d26ba84f873c883a4f2a6b65971a63e50682ffeadb1cced4788d49fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): lib/presentation/drawers/episode_list_drawer.dart:23-62 | lib/presentation/screens/anime_details_screen.dart:77-116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/drawers/episode_list_drawer.dart:23\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060VideoState\u0060 in one and \u0060AnimeDetailsState\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/presentation/drawers/episode_list_drawer.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac4d427a8d347c7ec74ddde2db14c1bf9063f5f5650a3923763820230cf8f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): lib/presentation/widgets/styled/anime_card_list.dart:66-82 | lib/presentation/widgets/styled/anime_recommendations_card_list.dart:68-79 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/styled/anime_card_list.dart\u0060 and \u0060lib/presentation/widgets/styled/anime_recommendations_card_list.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/widgets/styled/anime_card_list.dart:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/anime_card_list.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"31da405a1d0daffc26875fe88e97d1a421edc33757834954ce53ed84f1d24ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): lib/presentation/widgets/styled/unyo_multi_select_dropdown.dart:129-142 | lib/presentation/widgets/styled/unyo_sort_widget.dart:90-106 \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/presentation/widgets/styled/unyo_multi_select_dropdown.dart:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_multi_select_dropdown.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c3125d2e17f77590bd523ab36771941963d5f2ba359dfc0ed6d6ce1afb3b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): lib/presentation/screens/anime_advanced_search_screen.dart:95-110 | lib/presentation/screens/calendar_screen.dart:100-115 | lib/presentation/screens/extensions_screen.dart:117-132 | lib/presentation/screens/manga_advanced_search_screen.dart:95-110 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_advanced_search_screen.dart\u0060 and \u0060lib/presentation/screens/manga_advanced_search_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 145 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/presentation/screens/anime_advanced_search_screen.dart:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb66019182cadf7bae1aec02d773246ec03ed8ed603a77b0e7c0e92a5620955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/data/repositories/anime_repository_anilist.dart:287-302 | lib/data/repositories/manga_repository_anilist.dart:174-189 \u2014 before extracting anything, compare \u0060lib/data/repositories/anime_repository_anilist.dart\u0060 and \u0060lib/data/repositories/manga_repository_anilist.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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/data/repositories/anime_repository_anilist.dart:287\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/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"21239786ddd9f9df7fc63b0da51cf7fde8f24931a6fe063bc4e487349e33fb4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/presentation/screens/anime_details_screen.dart:82-97 | lib/presentation/screens/manga_details_screen.dart:76-91 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_details_screen.dart\u0060 and \u0060lib/presentation/screens/manga_details_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_details_screen.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15d7cb2fad91020175d220af37f236cbfe38d41e29e601bc3745a3da9f55110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): lib/data/models/anilist/media/anilist_anime_model.dart:53-67 | lib/data/models/anilist/media/anilist_anime_model.dart:133-147 | lib/data/models/anilist/media/anilist_anime_model.dart:173-187 | lib/data/models/anilist/media/anilist_anime_model.dart:213-227 | lib/data/models/anilist/media/anilist_manga_model.dart:49-63 | lib/data/models/anilist/media/anilist_manga_model.dart:82-96 | lib/data/models/anilist/media/anilist_manga_model.dart:115-129 | lib/data/models/anilist/media/anilist_manga_model.dart:149-163 \u2014 before extracting anything, compare \u0060lib/data/models/anilist/media/anilist_anime_model.dart\u0060 and \u0060lib/data/models/anilist/media/anilist_manga_model.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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/data/models/anilist/media/anilist_anime_model.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c7cdf13f9f9470dc2b91a0ae102b97e2c5ed38ab9cc0b41bda2f4c00bce08f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): lib/presentation/dialogs/extension_preferences_dialog.dart:116-130 | lib/presentation/dialogs/extension_preferences_dialog.dart:141-155 | lib/presentation/dialogs/extension_preferences_dialog.dart:180-194 | lib/presentation/dialogs/extension_preferences_dialog.dart:230-244 \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 \u0060lib/presentation/dialogs/extension_preferences_dialog.dart:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/presentation/dialogs/extension_preferences_dialog.dart:115\u0060 calls \u0060_buildSwitchPreference\u0060 and \u0060lib/presentation/dialogs/extension_preferences_dialog.dart:228\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/dialogs/extension_preferences_dialog.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e96de08a85391984f7c6f213e6d223ea5f97e3d3f1edd87f9ea7e6ac1114941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): lib/presentation/screens/extensions_screen.dart:205-219 | lib/presentation/screens/extensions_screen.dart:236-250 | lib/presentation/screens/extensions_screen.dart:267-281 | lib/presentation/screens/extensions_screen.dart:301-315 \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 \u0060lib/presentation/screens/extensions_screen.dart:205\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/presentation/screens/extensions_screen.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2772324fbf8fce52f9146c808a50e39bc9b4953bbf92b24ab32b9bf4c91a61f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/presentation/screens/anime_advanced_search_screen.dart:224-238 | lib/presentation/screens/manga_advanced_search_screen.dart:211-225 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_advanced_search_screen.dart\u0060 and \u0060lib/presentation/screens/manga_advanced_search_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 145 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/presentation/screens/anime_advanced_search_screen.dart:224\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfec3b5f4efd194913705ff37f916a6c3ba3ba35021cd6c20fed933ac97a50c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201315 lines \u00D7 3): lib/presentation/screens/extensions_screen.dart:221-235 | lib/presentation/screens/extensions_screen.dart:252-266 | lib/presentation/screens/extensions_screen.dart:282-289 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/screens/extensions_screen.dart:221\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/presentation/screens/extensions_screen.dart:221\u0060 calls \u0060UnyoExtensionButton\u0060 and \u0060lib/presentation/screens/extensions_screen.dart:282\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/extensions_screen.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"135e2a562e2f7bef1300b151273c09c7bba0dcfd4f1eb958964ce83a64341b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/application/cubits/anime_cubit.dart:179-192 | lib/application/cubits/anime_cubit.dart:244-257 \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/application/cubits/anime_cubit.dart:179\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/application/cubits/anime_cubit.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5792abd6ee874aa1eb732a898ba4e131c48fbcbf36b2d1db98f596a900e97df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:771-784 | lib/application/cubits/manga_details_cubit.dart:307-320 \u2014 before extracting anything, compare \u0060lib/application/cubits/anime_details_cubit.dart\u0060 and \u0060lib/application/cubits/manga_details_cubit.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/application/cubits/anime_details_cubit.dart:771\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/application/cubits/anime_details_cubit.dart"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16384bcad01cb6b9671d5845096a5514f188258e829e7c025922871ff7bfea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:1057-1070 | lib/application/cubits/manga_details_cubit.dart:415-428 \u2014 before extracting anything, compare \u0060lib/application/cubits/anime_details_cubit.dart\u0060 and \u0060lib/application/cubits/manga_details_cubit.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/application/cubits/anime_details_cubit.dart:1057\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/application/cubits/anime_details_cubit.dart"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"6819ce85b2820900bbe8d5d93a3dbe1d6818fef401452915dfec65e118940dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/data/models/anilist/media/anilist_anime_model.dart:234-247 | lib/data/models/anilist/media/anilist_anime_model.dart:299-312 \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/data/models/anilist/media/anilist_anime_model.dart:234\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/models/anilist/media/anilist_anime_model.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf36da829b423001dd4e0a2636dd467265d8717af880014cb6600b27ffc58912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/presentation/screens/anime_details_screen.dart:137-150 | lib/presentation/screens/manga_details_screen.dart:118-131 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_details_screen.dart\u0060 and \u0060lib/presentation/screens/manga_details_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/screens/anime_details_screen.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":"lib/presentation/screens/anime_details_screen.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2e96c77d08a975a6cf0120d87c0a67a1374507515f56b6694175a81cffce73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): lib/presentation/screens/calendar_screen.dart:133-146 | lib/presentation/screens/media_list_screen.dart:129-138 \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/presentation/screens/calendar_screen.dart:133\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/calendar_screen.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c9ba638bb0ba93ad90961a136184e5157cde7f0783b4626abdb8817a110da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 5): lib/data/models/anilist/media/anilist_anime_model.dart:70-82 | lib/data/models/anilist/media/anilist_anime_model.dart:150-162 | lib/data/models/anilist/media/anilist_anime_model.dart:190-202 | lib/data/models/anilist/media/anilist_anime_model.dart:230-242 | lib/data/models/anilist/media/anilist_anime_model.dart:297-307 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/data/models/anilist/media/anilist_anime_model.dart:70\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/data/models/anilist/media/anilist_anime_model.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d996edca6b7f7312db9087fc4d3e675c341abca53ed28305b9ee68151acbd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/data/repositories/anime_repository_anilist.dart:40-52 | lib/data/repositories/anime_repository_anilist.dart:113-125 | lib/data/repositories/manga_repository_anilist.dart:36-48 | lib/data/repositories/manga_repository_anilist.dart:87-99 \u2014 before extracting anything, compare \u0060lib/data/repositories/anime_repository_anilist.dart\u0060 and \u0060lib/data/repositories/manga_repository_anilist.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab7663f64530a12a313efc3672ffc2380bafb54c02fc2f957a585622f0bb3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/presentation/widgets/styled/anime_card_list.dart:36-48 | lib/presentation/widgets/styled/anime_recommendations_card_list.dart:39-51 | lib/presentation/widgets/styled/manga_card_list.dart:34-46 | lib/presentation/widgets/styled/manga_recommendations_card_list.dart:35-47 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/styled/anime_card_list.dart\u0060 and \u0060lib/presentation/widgets/styled/anime_recommendations_card_list.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/widgets/styled/anime_card_list.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/anime_card_list.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefa9b70dc8fe10bf52d2dfaca59e5b7153287f703caf056694e12941354afe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/application/cubits/anime_advanced_search_cubit.dart:207-219 | lib/application/cubits/manga_advanced_search_cubit.dart:194-206 \u2014 before extracting anything, compare \u0060lib/application/cubits/anime_advanced_search_cubit.dart\u0060 and \u0060lib/application/cubits/manga_advanced_search_cubit.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/application/cubits/anime_advanced_search_cubit.dart:207\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/application/cubits/anime_advanced_search_cubit.dart:206\u0060 calls \u0060tryParse\u0060 and \u0060lib/application/cubits/manga_advanced_search_cubit.dart:193\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_advanced_search_cubit.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef19aa0e31d01b2c4b40219fd6e84da16197fc0775b7393f4e43a84c72feeda4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/presentation/screens/extensions_screen.dart:93-105 | lib/presentation/screens/settings_screen.dart:74-86 \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/presentation/screens/extensions_screen.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/presentation/screens/extensions_screen.dart:106\u0060 calls \u0060Row\u0060 and \u0060lib/presentation/screens/settings_screen.dart:87\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/extensions_screen.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffe50f056c52519f73e53997aae37669a680256fdd51c9c9edc5ee4a4818eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/presentation/screens/extensions_screen.dart:129-141 | lib/presentation/screens/media_list_screen.dart:113-125 \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/presentation/screens/extensions_screen.dart:129\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/presentation/screens/extensions_screen.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e825381504adc3b313e51f047e8bf9e3901575d0c41b152b8f7020286bcbaf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): lib/presentation/widgets/styled/unyo_language_dropdown.dart:77-88 | lib/presentation/widgets/styled/unyo_settings_category.dart:91-102 | lib/presentation/widgets/styled/unyo_settings_selection_dialog.dart:32-43 | lib/presentation/widgets/styled/unyo_settings_selection_dropdown.dart:60-71 | lib/presentation/widgets/styled/unyo_settings_selection_toggle.dart:56-67 | lib/presentation/widgets/styled/unyo_settings_version.dart:77-88 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/styled/unyo_language_dropdown.dart\u0060 and \u0060lib/presentation/widgets/styled/unyo_settings_selection_dropdown.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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/presentation/widgets/styled/unyo_language_dropdown.dart:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_language_dropdown.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce2f624b0765c26905c369058a1899c987807c23d608678d4ab1de2829c7587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): lib/data/models/anilist/media/anilist_manga_model.dart:98-109 | lib/data/models/anilist/media/anilist_manga_model.dart:131-142 | lib/data/models/anilist/media/anilist_manga_model.dart:165-176 | lib/data/models/anilist/media/anilist_manga_model.dart:221-231 \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 \u0060lib/data/models/anilist/media/anilist_manga_model.dart:98\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/models/anilist/media/anilist_manga_model.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97bc8983590fd74f5908b292a07eb3db8cb59e4ce0a323f457dcd5bcd9e0e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 4): lib/presentation/widgets/styled/unyo_language_dropdown.dart:90-101 | lib/presentation/widgets/styled/unyo_settings_selection_dropdown.dart:76-87 | lib/presentation/widgets/styled/unyo_settings_selection_slider.dart:76-85 | lib/presentation/widgets/styled/unyo_settings_selection_toggle.dart:72-83 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/styled/unyo_language_dropdown.dart\u0060 and \u0060lib/presentation/widgets/styled/unyo_settings_selection_dropdown.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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/presentation/widgets/styled/unyo_language_dropdown.dart:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_language_dropdown.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"737e9e95f9a9be95a5bd185e648f90de7c0a47f27e73adb327d0ed163ca4f51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:335-346 | lib/application/cubits/manga_details_cubit.dart:217-228 \u2014 before extracting anything, compare \u0060lib/application/cubits/anime_details_cubit.dart\u0060 and \u0060lib/application/cubits/manga_details_cubit.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/application/cubits/anime_details_cubit.dart:335\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/application/cubits/anime_details_cubit.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d511e647a40ed4fce0359442029799170705a9574f132f4d09d2e0e6389b0aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/data/models/anilist/media/anilist_anime_model.dart:253-264 | lib/data/models/anilist/media/anilist_manga_model.dart:182-193 \u2014 before extracting anything, compare \u0060lib/data/models/anilist/media/anilist_anime_model.dart\u0060 and \u0060lib/data/models/anilist/media/anilist_manga_model.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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/data/models/anilist/media/anilist_anime_model.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19ed2dc0f4e39ad956d3ed453d3698655d19e5914bae0d2b5941c3402008974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/data/repositories/user_repository_anilist.dart:206-217 | lib/data/repositories/user_repository_shikimori.dart:293-304 \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/data/repositories/user_repository_anilist.dart:206\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_anilist.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9da893c84b680f40dd2ff85f2b3bee8ba68a3087f6fd000bf10823d626661bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/presentation/drawers/episode_list_drawer.dart:129-140 | lib/presentation/screens/anime_details_screen.dart:369-380 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/drawers/episode_list_drawer.dart:129\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/presentation/drawers/episode_list_drawer.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fa0e2eeacb854c628f55297b688febeed91b56870f803c1fe3ac8177c606c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/presentation/screens/anime_advanced_search_screen.dart:158-169 | lib/presentation/screens/manga_advanced_search_screen.dart:132-143 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_advanced_search_screen.dart\u0060 and \u0060lib/presentation/screens/manga_advanced_search_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 145 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/presentation/screens/anime_advanced_search_screen.dart:158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3dfcbb7fbcc94550ef7a3cc82f35a2fb24d7e0526f8c04bdeca2e293674b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/presentation/screens/anime_advanced_search_screen.dart:171-182 | lib/presentation/screens/manga_advanced_search_screen.dart:158-169 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_advanced_search_screen.dart\u0060 and \u0060lib/presentation/screens/manga_advanced_search_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 145 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/presentation/screens/anime_advanced_search_screen.dart:171\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/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e91973886d5415fdfdd9133c14175795be7016ff92d0d062f43c324d49f294"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/presentation/screens/calendar_screen.dart:74-85 | lib/presentation/screens/media_list_screen.dart:65-76 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/screens/calendar_screen.dart:74\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/calendar_screen.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"135497df99bc16d0997f800965e078a1981520191e2debe780ad01a2893d22d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/presentation/widgets/styled/unyo_settings_selection_slider.dart:96-107 | lib/presentation/widgets/styled/unyo_slider.dart:42-53 \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/presentation/widgets/styled/unyo_settings_selection_slider.dart:96\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/presentation/widgets/styled/unyo_settings_selection_slider.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab46336f8a739915556cb004d95e484f52e7d6c3db25ab81b5321394dc059bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 10): lib/data/models/anilist/media/anilist_anime_model.dart:60-70 | lib/data/models/anilist/media/anilist_anime_model.dart:140-150 | lib/data/models/anilist/media/anilist_anime_model.dart:180-190 | lib/data/models/anilist/media/anilist_anime_model.dart:220-230 | lib/data/models/anilist/media/anilist_anime_model.dart:290-296 | lib/data/models/anilist/media/anilist_manga_model.dart:56-65 | lib/data/models/anilist/media/anilist_manga_model.dart:89-98 | lib/data/models/anilist/media/anilist_manga_model.dart:122-131 | lib/data/models/anilist/media/anilist_manga_model.dart:156-165 | lib/data/models/anilist/media/anilist_manga_model.dart:214-220 \u2014 before extracting anything, compare \u0060lib/data/models/anilist/media/anilist_anime_model.dart\u0060 and \u0060lib/data/models/anilist/media/anilist_manga_model.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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/data/models/anilist/media/anilist_anime_model.dart:60\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/models/anilist/media/anilist_anime_model.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c2c02b097fa8a3ef80df9b605fc928c281380d8c6a9ef2e81d0ae1b38c7e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): lib/presentation/screens/anime_advanced_search_screen.dart:78-87 | lib/presentation/screens/manga_advanced_search_screen.dart:78-87 | lib/presentation/screens/media_list_screen.dart:78-88 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_advanced_search_screen.dart\u0060 and \u0060lib/presentation/screens/manga_advanced_search_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 145 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/presentation/screens/anime_advanced_search_screen.dart:78\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5528f8e66428afb07efda772b21959753e16859c1ac840405e7f06c6f621e655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/application/cubits/anime_cubit.dart:227-237 | lib/application/cubits/anime_cubit.dart:264-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/application/cubits/anime_cubit.dart:227\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/application/cubits/anime_cubit.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"59051cbfdc23c1e9969d6215265e1282331baff993f5267940d74badfcc47f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:348-358 | lib/application/cubits/manga_details_cubit.dart:230-240 \u2014 before extracting anything, compare \u0060lib/application/cubits/anime_details_cubit.dart\u0060 and \u0060lib/application/cubits/manga_details_cubit.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/application/cubits/anime_details_cubit.dart:348\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4a17142f6b2230046f6d19cb60c9d7e0dcc0d967dedf2275a636a52ddf6816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/data/repositories/anime_repository_anilist.dart:62-72 | lib/data/repositories/manga_repository_anilist.dart:61-70 \u2014 before extracting anything, compare \u0060lib/data/repositories/anime_repository_anilist.dart\u0060 and \u0060lib/data/repositories/manga_repository_anilist.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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/data/repositories/anime_repository_anilist.dart:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf9591c18dc835c9381b7ab28ff1b203dc58688de6e67322b2c0085305a9d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/data/repositories/user_repository_anilist.dart:139-149 | lib/data/repositories/user_repository_anilist.dart:164-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_anilist.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68ab3e3f335b6b08049fffa03f17460ca45ea167d0f2f1b5e227c6ac56d5bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): lib/presentation/drawers/anime_server_selection_drawer.dart:59-67 | lib/presentation/drawers/user_options_drawer.dart:31-41 \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/presentation/drawers/anime_server_selection_drawer.dart:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/drawers/anime_server_selection_drawer.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbea059e58960ed4db43a4d0faee2a38b63019ad0e1851c28b29ac1ecb9af05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/presentation/screens/anime_advanced_search_screen.dart:66-76 | lib/presentation/screens/manga_advanced_search_screen.dart:66-76 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_advanced_search_screen.dart\u0060 and \u0060lib/presentation/screens/manga_advanced_search_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 145 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/presentation/screens/anime_advanced_search_screen.dart:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"533deb598a843c349b0dd17906de4957a294da7ec2c1943aa627c9d3fce54495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/presentation/widgets/styled/media_button.dart:27-37 | lib/presentation/widgets/styled/media_button.dart:46-56 \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/presentation/widgets/styled/media_button.dart:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/media_button.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee55f84be05b4aa9141a5132b75eb87731387bb16eb7d7a0c35abfc675766a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 4): lib/application/cubits/anime_cubit.dart:179-188 | lib/application/cubits/anime_cubit.dart:227-234 | lib/application/cubits/anime_cubit.dart:244-253 | lib/application/cubits/anime_cubit.dart:264-271 \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 \u0060lib/application/cubits/anime_cubit.dart:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_cubit.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4baa0bb95c3c1328277cb8f0c3f83a1d31c714e3c187cb704cc210d6b5083b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): lib/core/factories/manga_repository_factory.dart:45-54 | lib/core/factories/manga_repository_factory.dart:76-85 | lib/core/factories/manga_repository_factory.dart:107-116 | lib/core/factories/manga_repository_factory.dart:138-147 \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 \u0060lib/core/factories/manga_repository_factory.dart:45\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/core/factories/manga_repository_factory.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5864d671f500c3d692ba8c610126ae547b080f7081d03b7ca8f619bd25fd7108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): lib/data/models/anilist/media/anilist_anime_model.dart:78-87 | lib/data/models/anilist/media/anilist_anime_model.dart:158-167 | lib/data/models/anilist/media/anilist_anime_model.dart:198-207 | lib/data/models/anilist/media/anilist_anime_model.dart:271-280 \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 \u0060lib/data/models/anilist/media/anilist_anime_model.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/data/models/anilist/media/anilist_anime_model.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bc94c28739ad832b4e9ee0e6ebfe18d3a17482b68fefcd63d6b78660f28ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/application/cubits/extensions_cubit.dart:97-106 | lib/application/cubits/extensions_cubit.dart:135-144 | lib/application/cubits/extensions_cubit.dart:177-186 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/application/cubits/extensions_cubit.dart:97\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/application/cubits/extensions_cubit.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac69170e7636c8e9b562eec5e02fb2d759ad18cff21fb84ddbc7d97df0d5cd04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:588-597 | lib/application/cubits/anime_details_cubit.dart:609-618 \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/application/cubits/anime_details_cubit.dart:588\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"333217e7992af7c4e79b0d491c54cd11b7e015135cc22fdcef90f4475bc6bd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/application/cubits/settings_cubit.dart:303-312 | lib/application/cubits/settings_cubit.dart:328-337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/application/cubits/settings_cubit.dart:303\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/application/cubits/settings_cubit.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3576c135634dbb73000bf96546971b1fa5fd0a4c7bb3621b803250ff128348a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/data/repositories/episode_repository_anizip.dart:43-52 | lib/data/repositories/episode_repository_anizip.dart:56-65 \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/data/repositories/episode_repository_anizip.dart:43\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/data/repositories/episode_repository_anizip.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"497faddbaeb6f07ed67dc0d168b2c7dcc490be9cd64d9f2aacb3bfaff6902d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/data/repositories/episode_repository_anizip.dart:69-78 | lib/data/repositories/episode_repository_anizip.dart:82-91 \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/data/repositories/episode_repository_anizip.dart:69\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/data/repositories/episode_repository_anizip.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8deeaa161fb64447590421c0dcb0f57aac8174a3101374505e856ed8c0c8a6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/data/repositories/extension_repository_aniyomi.dart:57-67 | lib/data/repositories/extension_repository_aniyomi.dart:87-97 \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/data/repositories/extension_repository_aniyomi.dart:57\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/data/repositories/extension_repository_aniyomi.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f1a02bbf2c55702c36330ac18c5fcaf1ba6b2234c5694317fc2ec129246c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/presentation/dialogs/extensions_dialog.dart:39-48 | lib/presentation/dialogs/textfield_dialog.dart:30-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/dialogs/extensions_dialog.dart:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/dialogs/extensions_dialog.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b8f2b8b3882fad4c958b78d4d7eb02325fd8755a014b96e8f6dc6481516bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/presentation/screens/anime_advanced_search_screen.dart:121-130 | lib/presentation/screens/manga_advanced_search_screen.dart:121-130 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_advanced_search_screen.dart\u0060 and \u0060lib/presentation/screens/manga_advanced_search_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 145 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/presentation/screens/anime_advanced_search_screen.dart:121\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/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d875a6253b9112806c9a61f9e280372f00cfaa71ae4cfba86b7e36238e9c9b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/presentation/screens/extensions_screen.dart:291-300 | lib/presentation/screens/extensions_screen.dart:325-334 \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/presentation/screens/extensions_screen.dart:291\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/extensions_screen.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71947aedbab110e7542781b445351ff66347d86ae266795febb9fa7a57a8289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/data/repositories/user_repository_anilist.dart:89-97 | lib/data/repositories/user_repository_anilist.dart:114-122 | lib/data/repositories/user_repository_anilist.dart:139-147 | lib/data/repositories/user_repository_anilist.dart:164-172 \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 \u0060lib/data/repositories/user_repository_anilist.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_anilist.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75aba68eb9b95bad52affb0b3845b08d8f637d50fae5339ba418eb3f99e8f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/application/cubits/anime_advanced_search_cubit.dart:187-195 | lib/application/cubits/manga_advanced_search_cubit.dart:175-183 \u2014 before extracting anything, compare \u0060lib/application/cubits/anime_advanced_search_cubit.dart\u0060 and \u0060lib/application/cubits/manga_advanced_search_cubit.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/application/cubits/anime_advanced_search_cubit.dart:187\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_advanced_search_cubit.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0480898f0fe24016ff18d1f7016179d1f5c0b5c2ddc4053ab67fd92ff015ae5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/data/repositories/anime_repository_anilist.dart:135-143 | lib/data/repositories/manga_repository_anilist.dart:112-120 \u2014 before extracting anything, compare \u0060lib/data/repositories/anime_repository_anilist.dart\u0060 and \u0060lib/data/repositories/manga_repository_anilist.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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/data/repositories/anime_repository_anilist.dart:135\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02d46ccc24a24b67f2fdafc3ef221900bca5bdc1000143086806306b223620c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/presentation/widgets/styled/dark_unyo_button.dart:37-47 | lib/presentation/widgets/styled/light_unyo_button.dart:37-47 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/styled/dark_unyo_button.dart\u0060 and \u0060lib/presentation/widgets/styled/light_unyo_button.dart\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/widgets/styled/dark_unyo_button.dart:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/dark_unyo_button.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ca76d88c7141065d85813b7f6ba32a44af4468493bbde62cb7ff169d14f43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/data/models/anilist/media/anilist_anime_model.dart:252-259 | lib/data/models/anilist/media/anilist_anime_model.dart:284-291 | lib/data/models/anilist/media/anilist_manga_model.dart:181-188 | lib/data/models/anilist/media/anilist_manga_model.dart:208-215 \u2014 before extracting anything, compare \u0060lib/data/models/anilist/media/anilist_anime_model.dart\u0060 and \u0060lib/data/models/anilist/media/anilist_manga_model.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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/data/models/anilist/media/anilist_anime_model.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd239877fb547f760b11c9979390e8af48448bcf6b1a096466b9b21277b9e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:579-586 | lib/application/cubits/anime_details_cubit.dart:600-607 \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/application/cubits/anime_details_cubit.dart:579\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a5926fb54e8fd23ba07767b35d0ff97bd145f1325171c67f7121df7c95f45a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/presentation/widgets/styled/unyo_settings_selection_slider.dart:109-116 | lib/presentation/widgets/styled/unyo_slider.dart:56-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/presentation/widgets/styled/unyo_slider.dart:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_settings_selection_slider.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9209ecd6a54860d006b09116bd8824bcea97879ed0ff6fd4c21740b85e258865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lib/data/repositories/episode_repository_anizip.dart:42-48 | lib/data/repositories/episode_repository_anizip.dart:55-61 | lib/data/repositories/episode_repository_anizip.dart:68-74 | lib/data/repositories/episode_repository_anizip.dart:81-87 \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 \u0060lib/data/repositories/episode_repository_anizip.dart:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/episode_repository_anizip.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f4b67a0611cfc72458e69f6d66f73a7c52c89e97f72f698e5759ab2f8df3c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:1046-1052 | lib/application/cubits/manga_details_cubit.dart:364-370 \u2014 before extracting anything, compare \u0060lib/application/cubits/anime_details_cubit.dart\u0060 and \u0060lib/application/cubits/manga_details_cubit.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/application/cubits/anime_details_cubit.dart:1046\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"32263c95e924b90544752e62aa0510c3e7e7865e97ceb2605ee869c705174dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/data/repositories/manga_repository_anilist.dart:73-79 | lib/data/repositories/manga_repository_anilist.dart:122-128 \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/data/repositories/manga_repository_anilist.dart:73\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/data/repositories/manga_repository_anilist.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"047efc3b6e633ce398988b6e852b74a4f105d949b7936aee3c81e18a15ca6ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/data/repositories/media_id_cache_hive.dart:42-48 | lib/data/repositories/media_id_cache_hive.dart:59-65 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/media_id_cache_hive.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"422aaa243a0a1c876fefb3143ae74f77d03bb6b21a3c406912c9a915be684977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/presentation/dialogs/anime_details_media_entry_dialog.dart:33-39 | lib/presentation/dialogs/extension_preferences_dialog.dart:42-48 \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/presentation/dialogs/anime_details_media_entry_dialog.dart:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/dialogs/anime_details_media_entry_dialog.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d880d6afd1ab957cedf498c08dbd5ec1de51f52773e5fb0f8f80203b26ffaa20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/presentation/widgets/styled/unyo_dropdown.dart:97-103 | lib/presentation/widgets/styled/unyo_language_dropdown.dart:134-140 \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/presentation/widgets/styled/unyo_dropdown.dart:97\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/presentation/widgets/styled/unyo_dropdown.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"604caba35c789923913df0cdd8deaefe9ba75f89710e20f8fd67d0396b2f6752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/core/router/app_router.dart:109-114 | lib/core/router/app_router.dart:120-125 \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/core/router/app_router.dart:109\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/core/router/app_router.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88ab147d59ea5a293f17fd2707e4db293b4288808c5f9f72750a5dc9a4ea7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): lib/data/models/anilist/media/anilist_anime_model.dart:69-76 | lib/data/models/anilist/media/anilist_anime_model.dart:149-156 | lib/data/models/anilist/media/anilist_anime_model.dart:189-196 | lib/data/models/anilist/media/anilist_anime_model.dart:229-236 | lib/data/models/anilist/media/anilist_anime_model.dart:265-269 | lib/data/models/anilist/media/anilist_anime_model.dart:297-301 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/data/models/anilist/media/anilist_anime_model.dart:69\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/data/models/anilist/media/anilist_anime_model.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"366768d3ee73192da202039ce2ff57ed43a212ea14961eaf5bbeb36d5ed45176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): lib/data/models/anilist/media/anilist_manga_model.dart:98-103 | lib/data/models/anilist/media/anilist_manga_model.dart:131-136 | lib/data/models/anilist/media/anilist_manga_model.dart:165-170 | lib/data/models/anilist/media/anilist_manga_model.dart:194-198 | lib/data/models/anilist/media/anilist_manga_model.dart:221-225 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/models/anilist/media/anilist_manga_model.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"78aa2abed3179c2aefc35cd505427f246234bc7aba02f665de7751c59222aa8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/core/router/app_router.dart:105-113 | lib/core/router/app_router.dart:116-124 | lib/core/router/app_router.dart:127-135 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/core/router/app_router.dart:105\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/router/app_router.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5962a6ced03d782f0f7dfefb40539c7bee177ad5ae68d07bbf7832500630379d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/data/repositories/anime_repository_anilist.dart:76-80 | lib/data/repositories/manga_repository_anilist.dart:73-77 | lib/data/repositories/manga_repository_anilist.dart:122-126 \u2014 before extracting anything, compare \u0060lib/data/repositories/anime_repository_anilist.dart\u0060 and \u0060lib/data/repositories/manga_repository_anilist.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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/data/repositories/anime_repository_anilist.dart:76\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/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2c974793dd46a4771edccff7ddaf7a96686dcffce75a2af0bd6ac687d16081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/application/cubits/anime_cubit.dart:73-78 | lib/application/cubits/manga_cubit.dart:66-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_cubit.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fe0a58914323ae61220b8dd5aeaf5a623d9b24e96776a2a21d4bf60b0fd998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/application/cubits/anime_cubit.dart:167-172 | lib/application/cubits/calendar_cubit.dart:59-64 | lib/application/cubits/home_cubit.dart:117-122 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_cubit.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bd243ec94c85edd4e06010049b1c32120d9949d82d5f4453ec57c4d3836aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/application/cubits/home_cubit.dart:124-129 | lib/application/cubits/manga_cubit.dart:172-177 \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/application/cubits/home_cubit.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cac6514deeb4101c17612a5db034afa1cfb54fc9bb837f266235c5111df9a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/presentation/widgets/styled/unyo_multi_select_dropdown.dart:71-75 | lib/presentation/widgets/styled/unyo_sort_widget.dart:45-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_multi_select_dropdown.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"303f609396a9d89bf556edea0eddabbe2866f152d6d973c28fd6984d013f76da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/application/cubits/anime_advanced_search_cubit.dart:114-122 | lib/application/cubits/anime_advanced_search_cubit.dart:124-132 | lib/application/cubits/manga_advanced_search_cubit.dart:114-122 | lib/application/cubits/manga_advanced_search_cubit.dart:124-132 \u2014 before extracting anything, compare \u0060lib/application/cubits/anime_advanced_search_cubit.dart\u0060 and \u0060lib/application/cubits/manga_advanced_search_cubit.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/application/cubits/anime_advanced_search_cubit.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b72347874a2ccc9757b491bc91a76c59412e17820d3f0260984e809260825e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:286-290 | lib/application/cubits/manga_details_cubit.dart:183-187 \u2014 before extracting anything, compare \u0060lib/application/cubits/anime_details_cubit.dart\u0060 and \u0060lib/application/cubits/manga_details_cubit.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae9257c85ec1ece2a213794b316c4e3754db3faa4a72fde62f718d2828e9981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/data/repositories/anime_repository_shikimori.dart:176-180 | lib/data/repositories/manga_repository_shikimori.dart:95-99 | lib/data/repositories/manga_repository_shikimori.dart:119-123 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. 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/data/repositories/anime_repository_shikimori.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad96ae52acdd9c35ae11a3a21db59746d34ee8151de7c5400d96b445069942e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): lib/presentation/screens/anime_advanced_search_screen.dart:26-32 | lib/presentation/screens/anime_screen.dart:22-28 | lib/presentation/screens/home_screen.dart:21-27 | lib/presentation/screens/login_screen.dart:22-28 | lib/presentation/screens/manga_advanced_search_screen.dart:26-32 | lib/presentation/screens/manga_screen.dart:24-30 | lib/presentation/screens/settings_screen.dart:34-40 | lib/presentation/screens/tabs_screen.dart:19-25 \u2014 before extracting anything, compare \u0060lib/presentation/screens/anime_advanced_search_screen.dart\u0060 and \u0060lib/presentation/screens/manga_advanced_search_screen.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 145 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/presentation/screens/anime_advanced_search_screen.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"109b5e34d3beddd301f6856645aa452fdd21e95626f4c930e0e9579afe65e8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): lib/presentation/widgets/text/text_body_large.dart:19-29 | lib/presentation/widgets/text/text_body_medium.dart:19-29 | lib/presentation/widgets/text/text_body_small.dart:19-29 | lib/presentation/widgets/text/text_display_large.dart:19-29 | lib/presentation/widgets/text/text_headline_large.dart:19-29 | lib/presentation/widgets/text/text_label_large.dart:19-29 | lib/presentation/widgets/text/text_title_large.dart:19-29 \u2014 before extracting anything, compare \u0060lib/presentation/widgets/text/text_body_large.dart\u0060 and \u0060lib/presentation/widgets/text/text_body_medium.dart\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/presentation/widgets/text/text_body_large.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"17383fd38570e530902a8cde158fd3303deae22409ee86e7f75352f70c96e4d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/application/cubits/anime_details_cubit.dart:983-987 | lib/application/cubits/anime_details_cubit.dart:1008-1012 \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/application/cubits/anime_details_cubit.dart:983\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/application/cubits/anime_details_cubit.dart:1015\u0060 calls \u0060emit\u0060, \u0060copyWith\u0060 and \u0060lib/application/cubits/anime_details_cubit.dart:988\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7b992e6de320d840db96d42fe850353932657c710ffd33b32c1ca799f50009"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnimeDetailsCubit (LCOM4 10): AnimeDetailsCubit\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fceb71d8e329a2e60c05d05c9db374c05c43df445b6c621477a9e2656a09a9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _UnyoVideoControlsState (LCOM4 6): _UnyoVideoControlsState\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_video_controls.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"44099718976ad7f0e3b570162bebc71d685d530807a8a95b822defcba747aafa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VideoCubit (LCOM4 5): VideoCubit\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/application/cubits/video_cubit.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f70c4933f4e519b9b0fc701a95f6e3f90f8f99dea60749768fbc85a7f8eb097"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _VideoPlaybackCommands (LCOM4 5): _VideoPlaybackCommands\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/application/cubits/video_cubit.dart"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"54db980c73122089c227db338fbd2fe6e712304d9440d38ad535d7c224e7ca33"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnimeRepositoryShikimori (LCOM4 5): AnimeRepositoryShikimori\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/data/repositories/anime_repository_shikimori.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d9507c4e8d51c98b35cf9fee5bdcda3eb7f171f4c6f7958ce1d49101619756"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LoginCubit (LCOM4 4): LoginCubit\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/application/cubits/login_cubit.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f4f940d490db8992c86912f165a87cfd733908fb7e0a390bfa2931f76dba83"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SettingsCubit (LCOM4 4): SettingsCubit\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/application/cubits/settings_cubit.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d8a956d0d603d0e7acb5a6ec492657534dc3fae90361a3540919751f479b1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MangaRepositoryShikimori (LCOM4 4): MangaRepositoryShikimori\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/data/repositories/manga_repository_shikimori.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"47df0cfb3d43f9fe78cd90742e24ec7d0855e0e3951319afbfe4596d9175bb15"}},{"ruleId":"D12","level":"warning","message":{"text":"Discontinued package: palette_generator: \u0060palette_generator\u0060 is marked DISCONTINUED on pub.dev, and this repository depends on it at \u0060^0.3.3\u002B7\u0060 (locked at 0.3.3\u002B7). A discontinued package receives no further releases \u2014 including security releases. The publisher named no successor, so the migration target is yours to choose. This is a migration, not an upgrade."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"922c8e55994e42255bb862cf682490edf7c673ee31e53c5922e22a007ea4d491"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"665d078b2158dd7e1ed9bf52c932f3a70cfa4585e2c324d58c09c258cff51f8a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8798e4acc25adb9faaa3bae08f2b9ae19a0e2d5dae04e1d23e09f9784844c084"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8a1f58eab74d7c8a4a568e52a23b3ddd2b641a609592663b3f56bd9edeb764f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68fd7ee45d50c6aee7122d2ca270a1930264f3976d7f3420e5880345d72bb300"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/presentation/screens/media_list_screen.dart: lib/presentation/screens/media_list_screen.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in _MediaListViewState.build at line 59. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/presentation/screens/media_list_screen.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/screens/media_list_screen.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf769a7c7aa1e7c3408304faea39cc05b8d010e154f715ce0a54837fdeadc69"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/application/cubits/anime_details_cubit.dart: lib/application/cubits/anime_details_cubit.dart changed 27 times in last 90 days and 16 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is AnimeDetailsCubit.openAnimeServerSelectionDrawer at line 378), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: read shikimori list entries as the logged-in user and refresh home after every list write\u201D; \u201Cfix: reset episode state per selected anime and keep episode numbering consistent\u201D; \u201Cfix: keep a deferred title switch silent and discard stale extension fetches\u201D; \u201Cfix: discard stale episode rows and cache keys captured before the await\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/application/cubits/anime_details_cubit.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_details_cubit.dart"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20f20a90ba03a7a1a7114e360514c480db501545980bff7c64d8f2b95c827ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/presentation/widgets/styled/media_card.dart: lib/presentation/widgets/styled/media_card.dart changed 13 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is MediaCard.build at line 72), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: score badge is the original flush leaf, merged into the cover arc (WP #119)\u201D; \u201Cfix: make the score pill a full stadium capsule (WP #119)\u201D; \u201Cfix: clip the media card cover with one silhouette so the arc is continuous (WP #109)\u201D; \u201Cfix: clip the media-card score badge inside the cover silhouette (WP #109)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/presentation/widgets/styled/media_card.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/media_card.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f5353ab4a1798ca9db7c4b697f4dcd1e97196fe6da1de4a60adf882a254743"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/presentation/widgets/skeleton/media_card_skeleton.dart: lib/presentation/widgets/skeleton/media_card_skeleton.dart changed 8 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is MediaGridSkeleton.cellsForSize at line 245), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: paint the skeleton cover on the media card\u0027s own box (WP #119)\u201D; \u201Cfix: skeleton cover keeps a plain rounded corner, no badge fillet (WP #119)\u201D; \u201Cfix: score badge is the original flush leaf, merged into the cover arc (WP #119)\u201D; \u201Cfix: make the score pill a full stadium capsule (WP #119)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/presentation/widgets/skeleton/media_card_skeleton.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/skeleton/media_card_skeleton.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4952346f841613ed635ec94e43e5936312b77f1ca79ad84bbad277974bf9b9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/core/services/effects/app_effect_handler.dart: lib/core/services/effects/app_effect_handler.dart changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is AppEffectHandler.handle at line 53), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Crevert: drop the Dismiss action button from the error banner\u201D; \u201Cfix: map error notifications to user copy and make the banner dismissible\u201D; \u201Crevert(effects): drop the snackbar call-to-action and custom duration\u201D; \u201Cfix: prompt for missing extension and unstick episode flows on details pages\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/core/services/effects/app_effect_handler.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/effects/app_effect_handler.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e14e2714260667e639a460eaa60651154f7d9a82d548773f9dc1899bfae2fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/presentation/widgets/styled/unyo_extension_button.dart: lib/presentation/widgets/styled/unyo_extension_button.dart changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is UnyoExtensionButton.build at line 45), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(extensions): round the extension icon corners (radius 12 -\u003E 16)\u201D; \u201Cfix: render extension icons as rounded squares, not clipped circles\u201D; \u201Cfix(skeleton): mirror loaded geometry and fade resolved images in\u201D; \u201Cfix: restore click cursor on clickables and stop banner carousel twitch\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/presentation/widgets/styled/unyo_extension_button.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_extension_button.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e33ee149415c177709eacfa4ceab00850b5f2131c109ba7c34e70df1ad6463a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/application/cubits/anime_cubit.dart: lib/application/cubits/anime_cubit.dart changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is AnimeCubit._refreshAll at line 100), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: coalesce provider switches and refetch episodes uncached (WP #90 review)\u201D; \u201Cfix: refetch Anime and Manga after a metadata-service switch\u201D; \u201Cfix: drop the account provider from settings, it is fixed by the login\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/application/cubits/anime_cubit.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/anime_cubit.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e123a3955531dd6d04dcff70c745a382b504e0fedff19af0b7a2d9d82cf6df9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/application/cubits/manga_cubit.dart: lib/application/cubits/manga_cubit.dart changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is MangaCubit._refreshAll at line 96), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: coalesce provider switches and refetch episodes uncached (WP #90 review)\u201D; \u201Cfix: refetch Anime and Manga after a metadata-service switch\u201D; \u201Cfix: drop the account provider from settings, it is fixed by the login\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/application/cubits/manga_cubit.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/application/cubits/manga_cubit.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd7ebc6442999e9a718d7b9f2a6a54c4f91e7c6b1efd87592e9dc684bcf4aec"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/presentation/widgets/skeleton/extension_row_skeleton.dart: lib/presentation/widgets/skeleton/extension_row_skeleton.dart changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is ExtensionRowSkeleton.rowsForHeight at line 28), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: render extension icons as rounded squares, not clipped circles\u201D; \u201Cfix(skeleton): mirror loaded geometry and fade resolved images in\u201D; \u201Crewrite: add skeleton module widget tests and fix the geometry drift they found\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/presentation/widgets/skeleton/extension_row_skeleton.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/skeleton/extension_row_skeleton.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8c1d55af0b97c8412eef2fd3e53ca0a14412fbefd14887a2781fb55c676461"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/presentation/widgets/styled/unyo_banner_carousel.dart: lib/presentation/widgets/styled/unyo_banner_carousel.dart changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is _UnyoBannerCarouselState._autoScroll at line 135), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: render the Shikimori sort field picker, expose years and wire the title slot\u201D; \u201Cfix(skeleton): mirror loaded geometry and fade resolved images in\u201D; \u201Cfix: restore click cursor on clickables and stop banner carousel twitch\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/presentation/widgets/styled/unyo_banner_carousel.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_banner_carousel.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a047745a2d3d80ee66a1ea775f0ae476a776f9a16cd93eef130f87994180298"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/core/services/media/media_id_service.dart: lib/core/services/media/media_id_service.dart changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is MediaIdService._resolveTarget at line 254), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: treat zero and negative mapping ids as a miss and clear the stale source link\u201D; \u201Cfix: resolve a Shikimori record to AniList through AniZip\u0027s MAL mapping\u201D; \u201Cfix: treat a junk mapping native id as a miss and absorb AniZip lookup failures\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/core/services/media/media_id_service.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/media/media_id_service.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f905505e81804e286fb41c7db0a854e14332c1aaad0fbb5ac6af23cb391ddc9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/presentation/video/video_player_interaction.dart: lib/presentation/video/video_player_interaction.dart changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is VideoPlayerInteraction._armHideTimer at line 137), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: keep the video canvas off the click cursor (WP #119)\u201D; \u201Cfix: paused video screen advertises nothing it will not do (WP #119)\u201D; \u201Cfix: video click pauses and reveals the bar, pause glyph animates from the state change, shortcuts survive clicks (WP #116, #119)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 01:46:31 \u002B00:00\u0027 --until=\u00272026-11-10 01:46:31 \u002B00:00\u0027 --full-history --no-merges -- lib/presentation/video/video_player_interaction.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/video/video_player_interaction.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"46475989d4c587b4a9780f447f6ba9bab4d358af243877825fc254e30da39383"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO loadMore Widget \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/presentation/widgets/styled/anime_card_list.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3752f1a3ffafe93fe362b3ee03040a155f5511db7008a53ae9abaca3641b6a74"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO loadMore Widget \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/presentation/widgets/styled/anime_recommendations_card_list.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2d5f383fb7da00a999eecc376d25b3374420ffb56cee2d9e6a85ba8b2855db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO loadMore Widget \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/presentation/widgets/styled/manga_recommendations_card_list.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"31848052145a768a67342fc2783e547124e74afbb4477179f291bbfceeb84619"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO loadMore Widget \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/presentation/widgets/styled/manga_card_list.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbef98f06223599477033c3b2a9af30582021de4c63e2c1f4cad653da3204e50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe Stack over HoverAnimatedContainer \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/presentation/widgets/styled/unyo_character.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f9cd862ded68d9daa747e9fd67328f5fe91e147387088f1918d3934d75a685"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: extract to a widget \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/presentation/screens/anime_details_screen.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"883672c480fc49eed01599a120297d5d283aba9403e08ae7380fe0215389245d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Anilist account settings go 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/presentation/screens/settings_screen.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faea35c9d8906af197e0c14b111b742a7f0282ede547f9dd43c3e57f9c14793"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - MyAnimeList account settings go 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/presentation/screens/settings_screen.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f23923e7aa52cb2e81b65369695a53cb0226c2bb4140630621e1d60de9c5a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO if status is specific number saying no more requests available return specific exception \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/core/services/api/http/http_service.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeb38e286f28702976bf4c88ab764e2baaadd1a6f311c06207ff066f8ef5478"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO recommended anime / manga \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/application/states/home_state.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bb77f35bbcb4b00bcd5b1442f65894e1bae60fa85015486954f561154a0c5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO develop some loading states for the widgets and remove the awaits to make the load look faster \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/application/cubits/anime_cubit.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7372af37bc199fb33ba0f706572de93e48e37a51dfaf88cce9a70878143b9bc6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO develop some loading states for the widgets and remove the awaits to make the load look faster \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/application/cubits/manga_cubit.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c49548261fb393b80d80705fd1afe463339316cd364797a9d118f3f50f92029"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - You may not want to select the found index (selectedAnimeResultIndex) on extensionAnimeResults \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/application/cubits/anime_details_cubit.dart"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d28e1fc49151752dc1f16893a97eee3c6adc08ebae3b758ddf5c37f27fae0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add a setting for this percentage value \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/application/cubits/video_cubit.dart"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"2259a053463bc79976f8ef6e94bb0b3010e27519728c2c0876b16127da455268"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060macos/Runner.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f0bd4325cb484fa699f9766497db05ed665b24b57923e0afe7629a5ed95be7"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (36959 LoC, 573 module-visible types across 55 directories) overshoots its size bounds. 1 of 2 build unit(s) (Xcode, pub) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9fee3010c053c10733ebad6b156234032ce361c46f8c03bb63f2bdc3c8adbd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05d1b06805376ea9ef1a2941e13328d340a28b3100c2a019a5a1c27883a388bd"},"properties":{"commitSha":"dbb695387fbb7fc113d737713d054083a5cf5cd3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a669fdea41dae91db16f95f123e50a8e85351c949cd39242278efa5a2f52f718"},"properties":{"commitSha":"dc9a8149c27f634fb3eb0f4e3a6c26e20154fd21"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67f4fb8514294428981305bbd0fbdbc3f418e4ad920d81c113296b02811eafde"},"properties":{"commitSha":"0a44722edabedfa9c1d23804a8638516f8b42306"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63b42605253b833f21ea6c9b3fa428283776c2468d4a18e61c38fa0e0d7ef8cd"},"properties":{"commitSha":"37c6f9292a93be3dde6cc50a68beed902f5ac390"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"332e85cacd191f7890827ba73590b0a2c1c0350efcc459558d49aae359053555"},"properties":{"commitSha":"d307523dc446ad809a17275fed124198d3e62afc"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"352d0db041d5ceb23a5bc205ed742172479e7145e7b15c292146d34beaafadcb"},"properties":{"commitSha":"878ce4f1b17aeb6e19c6477e2d92120ea738845e"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"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":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"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":"f47fe133ab99fd9fe646c541cbea7cf045b570629956650b3d04747a5a6c4f07"},"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":"b21ef51d97f04d1a8b921e635aca9ef4e877341aa2c3b0f6eaeabc61234774b6"},"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":"6504d8d1633fd2629c17cb911821ef9d4b240f323d5e1ebac2df01ac4726a04a"},"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":"4ce5fe879732ad8dcb497532a515eff8ebdf8f2df6b73e2ca66a83edd7aeaaf7"},"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":"e7aea5ad354bb944fe749ff0e5f574830ccdd11e2edd1cb16678dd3d93b52205"},"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":"7dfbbf232fc907afe7f219bbbf37b78cf628f46e62ffe59ff07f6819dfa237a9"},"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":"6292a00c79b4ddc0d0be33a71336805a162c8bbc7f983d752ce377b92b3e5420"},"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":"63c4a093cd4d8270d8663d7b47af1062c73ee032c2d6873d217251d788ab2402"},"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":"fb4a23173542d7a1718b502d857067e50a3ab2bcd9e6cbc8252c0d9b2bd57371"},"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":"d5f41e11db1ec020340c655aacfecc71871c6c80dd602c554777843270f6b592"},"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":"3bfe1342b2b2ff7ec30198c5be7e878786f57df0b5165ac1d200ed7af2efb121"},"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":"75a57d7736b6b319970002608a9271d7ab7e16ffa22d5dba1a56b7c8e4ce808f"},"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":"fc107c8e4477c83a611d15743f9ffc823ee570f81fd8959da4c33e3f72202191"},"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":"f96de53a9c41aa9762bf4bb7d8c6ceb5328ca215e45d4016e18c2ff1458e371c"},"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":"d2542699b904854fe2d3bb29c559aae2c03652694d5ce26390e798fe91bdf8a8"},"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":"984a4b3a38eaaa905536ca4e6bfecb7c5fca978a1582a83560c71a6236973ca1"},"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":"786acce825e6f30a05f0f170605ad4896a52deaa8230bbb841c8bad887572911"},"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":"855451eb322b80e9c22309f05343d55d411160048b3059476c34034cdd161958"},"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":"d541a0eb3b2dbe5998fdd42a98fc8d42f993bd63318277a56aeb54e15c268e50"},"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":"49c16b6fbc91670e61b639ab9c9270b4df42b6b11889eae216a02e4dd9c52b80"},"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":"4200fc1cde44249e6566f58207d8595f8978c53e10456efaf7c157f00253d742"},"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":"8259b8be486050d832e8cd0d3615cb14b1c44312ffed9c1274cb8979ba9ade8a"},"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":"42e9d6301c053362bf0ce37242fc71d90cc3de86ff5d08eaaf6a8b1b31766102"},"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":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"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":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6eb5a94052c328a9f9d4f3228923a5f2d4d56700f96d3ddbb1b358415402983"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","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":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060attemptCreateUser\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_local.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7e31a043e45936f0a894bedda98bb0da063ef534a4491dcf70c83b8860f240"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060getUserWatchingList\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_local.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cda5cc662168c15b8ab773cad64b5b4741b45558de4e7a34680e6ed29f2f913"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060getUserReadingList\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_local.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a899134b4d2953e67f658c97ce0406dc7642c674dd5465d22469f7bf3743fa"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060getUserAnimeLists\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_local.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6b2f6ad78d03293fd77605c17719953cb1942e1e28102a809f897753b45d96"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060getUserMangaLists\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_local.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58d1a8861ea963b25320a9238084af8f9b077c205f62afbcd4f8b85f2afd2ce"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060updateUserInfo\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/data/repositories/user_repository_local.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ea6c1c692955e034b599808d33affc71ed43ab18ea1b1ff7c65dcf57c6db66"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060macos\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":6}}}],"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 set on a response this repository\u0027s Dart server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: pubspec.yaml:64 \u2014 depends on \u0060shelf\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!anime.isAdult || loggedUser.settings.enableNsfwContent\u0060 appears character-identically in 2 files \u2014 lib/data/repositories/anime_repository_anilist.dart, lib/data/repositories/anime_repository_shikimori.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/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5203781914e0a25bf2178a6c1438c3cd21e97fcd99b923d2a4fef5d8685e715d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_queuedProviderSwitch || isProviderSwitch\u0060 appears character-identically in 2 files \u2014 lib/application/cubits/anime_cubit.dart, lib/application/cubits/manga_cubit.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/application/cubits/anime_cubit.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9198075719328046f2444b458b79ce9fa36375873c7c69ff35db7898163daf6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060k is ValueKey \u0026\u0026 k.value.toString() == key\u0060 appears character-identically in 2 files \u2014 .agents/skills/flutter-desktop-automation/assets/driver_main.dart, lib/driver_main.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":".agents/skills/flutter-desktop-automation/assets/driver_main.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb90eafb8ebae65892afb158242d5a1135f7af694fed152482528b02daa85dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedAiringStatus != null \u0026\u0026 selectedAiringStatus.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/data/repositories/anime_repository_anilist.dart, lib/data/repositories/manga_repository_anilist.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/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"de58fdd96e1ffd92be0c60df57b60ae3a01f2d5354fd23079f697a0a58d9bbc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedFormat != null \u0026\u0026 selectedFormat.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/data/repositories/anime_repository_anilist.dart, lib/data/repositories/manga_repository_anilist.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/data/repositories/anime_repository_anilist.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"763a44249e5842b93fdf270cbf286a5004b536853fea5f5653071fa4d7701bb2"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_UnyoVideoControlsState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_controller\u0060 itself (line 179, \u0060AnimationController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_controller.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060AnimationController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_controller.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/presentation/widgets/styled/unyo_video_controls.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"734a8287630e393931fc78ceba6dfa3a93c442bbafda31750253f82464a39014"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/video/video_service.dart"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccc9555346f050ed30b78328472482c09fa1c1bd9cf7555544b71b9130052bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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/core/services/update/app_version_provider.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfc8a722b7f031d42c6f1022933dec3ceec67940d6a8e4fbd30ce7e75735db1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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/core/services/update/release_page_launcher.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d585b893ff9b03910133e39754ed46af2c5811d2bec3a37a82551fcbaf4cb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/torrent/torrent_service.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbac386910a2dba8a9bee7c999e3f5259a3901aa9688cfb36f9fefcdc845564d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\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/core/services/torrent/torrent_service.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9e2ce6ad3c90440e1cd58bea25af27bf19bd219ff65ef170c618e0ba04a8a8"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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":42,"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."]}]}