{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Media.fromSimkl (cyclomatic 101): Media.fromSimkl has cyclomatic complexity 101 (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/models/Media/media.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c8d3d7a9d34d82e4ebaa6c8f2410ec2e68f1e4243066b31e38c0872affa93e"}},{"ruleId":"D1","level":"warning","message":{"text":"TachiyomiBackupParser.parseBytes (cyclomatic 90): TachiyomiBackupParser.parseBytes has cyclomatic complexity 90 (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/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"679039dc7dfc50a8e26d9e82e70392ce1feac265eb26d34a8d4598ed052c70e7"}},{"ruleId":"D1","level":"warning","message":{"text":"_CharacterStaffSheetContentState.build (cyclomatic 78): _CharacterStaffSheetContentState.build has cyclomatic complexity 78 (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/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b40a66e921a514a962fdc988c742e1421312965db787095e40c2d9c843e65e"}},{"ruleId":"D1","level":"warning","message":{"text":"SourceMapper.mapMedia (cyclomatic 74): SourceMapper.mapMedia has cyclomatic complexity 74 (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/controllers/source/source_mapper.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d2067073d9bed436190fcfb3ec5466830bcc576409fcae5628d6964e7c4a58"}},{"ruleId":"D1","level":"warning","message":{"text":"Media.fromJson (cyclomatic 66): Media.fromJson has cyclomatic complexity 66 (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/models/Media/media.dart"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4ebd25c8f913d7a14af55e2d1e6683a46d5c82ecff73f3cae5439e6139643a"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupRestoreService._applyExternalMangaAndAnime (cyclomatic 63): BackupRestoreService._applyExternalMangaAndAnime has cyclomatic complexity 63 (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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"5470855fbeb92209b7e25bc641536bcfaf913e9bf1c16bc23e5c1be0589efa23"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupRestoreService._applyBackupData (cyclomatic 62): BackupRestoreService._applyBackupData has cyclomatic complexity 62 (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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b52656d0b7ee8ba3202510bbe11a80e404ecb890b39d881d1b010db933e4759"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadController._syncMediaFolderMeta (cyclomatic 56): DownloadController._syncMediaFolderMeta has cyclomatic complexity 56 (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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc83f55f2a3716ef4bbca262df83c5a559fbc967b2a3c958eff16228fe08463c"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerController._bindPlayerStreams (cyclomatic 54): PlayerController._bindPlayerStreams has cyclomatic complexity 54 (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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2e7c6b1b7c656656bb0cfde04a895fa9f69c7b266fb8fcd8fba3f1e174ba83"}},{"ruleId":"D1","level":"warning","message":{"text":"Media.fromFullMAL (cyclomatic 52): Media.fromFullMAL has cyclomatic complexity 52 (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/models/Media/media.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b30a0107225bbb016c0df12b803130229fe6f59028cc894360011cb1db54a7e"}},{"ruleId":"D1","level":"warning","message":{"text":"_UserProfileHeaderState.build (cyclomatic 52): _UserProfileHeaderState.build has cyclomatic complexity 52 (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/screens/profile/widgets/user_profile_header.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61fdf8e3c42ba1ba8ab71975d9c3c65783989e1033a24d0b3b8cd971e9eefe4"}},{"ruleId":"D1","level":"warning","message":{"text":"KotatsuBackupParser.parse (cyclomatic 51): KotatsuBackupParser.parse has cyclomatic complexity 51 (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/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f701767966d89d94df037fa2c1b030050c58fa42803b0276e14d7f04515d7326"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaHeader.build (cyclomatic 51): MediaHeader.build has cyclomatic complexity 51 (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/widgets/anime/media_header.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5495cd83f0902f37a84ed655f950ca4ee1d638b3b5fbd4a70b6c2a6a96df87"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupRestoreService.getBackupInfo (cyclomatic 49): BackupRestoreService.getBackupInfo has cyclomatic complexity 49 (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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67c5ff43dd17988818f99f56f5457161a7662403cf7a7fb0ecd14206751cdd3"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderSettings.showSettings (cyclomatic 48): ReaderSettings.showSettings has cyclomatic complexity 48 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/settings_view.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b192ee47a68988e31bbfc6710ab762db13d068d48ff9261896366305882e53"}},{"ruleId":"D1","level":"warning","message":{"text":"Media.fromMAL (cyclomatic 46): Media.fromMAL has cyclomatic complexity 46 (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/models/Media/media.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba207cbbdaef009dddf14c4b68ca759587901fc2d566a9457ece63ca1975d062"}},{"ruleId":"D1","level":"warning","message":{"text":"_CommentsRepliesSheetState._buildCommentCard (cyclomatic 45): _CommentsRepliesSheetState._buildCommentCard has cyclomatic complexity 45 (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/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ce70e8ea2965b8736447a5ed3846687f8e772da66f6e4008c7eb9e1846bb9e"}},{"ruleId":"D1","level":"warning","message":{"text":"DubService.fetchDubSources (cyclomatic 43): DubService.fetchDubSources has cyclomatic complexity 43 (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/screens/anime/misc/dub_service.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29a78f2721c300503d5ede19ddb02fdec054c16221b60191e40df6dfddf1240"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadController._mergeMediaDirectory (cyclomatic 43): DownloadController._mergeMediaDirectory has cyclomatic complexity 43 (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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44b11ec5652c7f63d95cba0d5bcfee8c4c86b9532d76345313701d965591067"}},{"ruleId":"D1","level":"warning","message":{"text":"_SettingsExtensionManagerState._buildPluginStatusCard (cyclomatic 42): _SettingsExtensionManagerState._buildPluginStatusCard has cyclomatic complexity 42 (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/screens/settings/sub_settings/settings_extension_manager.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"6608e037a468315d64235c5f5eaee04560b0cda2c37cefd3dfccf548df582be6"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaDetailsController._fetchContentFromSource (cyclomatic 40): MediaDetailsController._fetchContentFromSource has cyclomatic complexity 40 (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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"917d7b09fc485a86ed527072709182aadbfe3b4528b054dc81893f196f5eb52f"}},{"ruleId":"D1","level":"warning","message":{"text":"_ControlButtonState.build (cyclomatic 40): _ControlButtonState.build has cyclomatic complexity 40 (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/screens/anime/watch/controls/widgets/control_button.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d995c76c37959fa5df55e92238e42a687a44f9a98fccc744148ef101e42e368"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnilistAboutMeState.build (cyclomatic 40): _AnilistAboutMeState.build has cyclomatic complexity 40 (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/utils/al_about_me.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b6ced7b2767dc41c37103aee118e856097998022dcbdc527ad5b62735172bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Media.fromSmallJson (cyclomatic 39): Media.fromSmallJson has cyclomatic complexity 39 (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/models/Media/media.dart"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ede86f02b01c3393b3a64b5365c2f11d8a825921130f0bf0b7d9583fa77654"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaDetailsPageState.build (cyclomatic 39): _MediaDetailsPageState.build has cyclomatic complexity 39 (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/screens/anime/details/media_details_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2fb1ea3cbec547109c7837a91654835a02bf12ddb83af7b4291eae7f6c6d9c"}},{"ruleId":"D1","level":"warning","message":{"text":"_UserSearchSheetState.build (cyclomatic 39): _UserSearchSheetState.build has cyclomatic complexity 39 (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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"eade6dfb7c01f6c8eaececd0cee25f5ba646269694ae585b543137c16ab8f51f"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackedMedia.effectiveProgress (cyclomatic 38): TrackedMedia.effectiveProgress has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_media_user.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d4933bb41a8e3ae83f784b4c3983b2c824829c00786e201f8dba7df82c9d21"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaDetailsController.getContinueChapter (cyclomatic 38): MediaDetailsController.getContinueChapter has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fa6c631562776b776dc8a1bdf330fd2a4660866b8414fc1c6877443112ab85"}},{"ruleId":"D1","level":"warning","message":{"text":"_ActiveDownloadsState._buildMediaExpandableCard (cyclomatic 36): _ActiveDownloadsState._buildMediaExpandableCard has cyclomatic complexity 36 (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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5451e784deac42a4b15e3a118e31926f05da16caf3cfb6cb460bee720d9784"}},{"ruleId":"D1","level":"warning","message":{"text":"_DownloadedMediaViewState._buildContinueFab (cyclomatic 36): _DownloadedMediaViewState._buildContinueFab has cyclomatic complexity 36 (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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f80b84bc93b6ec5de484e6d4576130e1c5ba832fcf394e3da17438dc9c3cfa"}},{"ruleId":"D1","level":"warning","message":{"text":"_UserProfilePageState._buildBody (cyclomatic 36): _UserProfilePageState._buildBody has cyclomatic complexity 36 (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/screens/profile/user_profile_page.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abf274a31fe55a7e00283d2f390217d13f80b5c70c09f1ee53f25724dbb798d"}},{"ruleId":"D1","level":"warning","message":{"text":"_RestorePreviewSheetState._buildGroupedOptions (cyclomatic 36): _RestorePreviewSheetState._buildGroupedOptions has cyclomatic complexity 36 (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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b3b2de78a675f119501f7b06cadb8a3984461f437b6f0a21034abc811423cc"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityComposerSheetState.build (cyclomatic 36): ActivityComposerSheetState.build has cyclomatic complexity 36 (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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbc74ff68434a5e1308b28346c48a150aa047decdcf76d73df87c7c131ac163"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistData.fetchFilterData (cyclomatic 35): AnilistData.fetchFilterData has cyclomatic complexity 35 (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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4b342aab019334cbe1836c78aa30f3294f9d065fd0b88b27e4f96f3f316525"}},{"ruleId":"D1","level":"warning","message":{"text":"_DownloadScreenState._buildEpisodeStep (cyclomatic 34): _DownloadScreenState._buildEpisodeStep has cyclomatic complexity 34 (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/screens/downloads/download_screen.dart"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"411b214560e06cb5b61767e08f8e3aca0da4e2b710d4c3abd6c6d3052f3ba3b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderController.handleMouseScroll (cyclomatic 34): ReaderController.handleMouseScroll has cyclomatic complexity 34 (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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc9ed9149ec44f20c6a71305241b8121c15799fdc157431a20ce262841de32b"}},{"ruleId":"D1","level":"warning","message":{"text":"_ProfilePageState._buildBody (cyclomatic 34): _ProfilePageState._buildBody has cyclomatic complexity 34 (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/screens/profile/profile_page.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e065495d2174e674b5827ea0233dbc85c15a27d2fdb549fb3558b5fa263a3f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupRestoreService._buildBackupData (cyclomatic 33): BackupRestoreService._buildBackupData has cyclomatic complexity 33 (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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c6cd6eea831fd67fce20614c0b7cbb470d2a4fb05f89de95e098112e47efec"}},{"ruleId":"D1","level":"warning","message":{"text":"_UserProfileAppBarState.build (cyclomatic 33): _UserProfileAppBarState.build has cyclomatic complexity 33 (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/screens/profile/widgets/user_profile_app_bar.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8d005bcce9355a0847e9519d290ab7c8e98035060e2c45cbefc7409f2c2feb"}},{"ruleId":"D1","level":"warning","message":{"text":"_RecommendSheetState._buildAlreadyAdded (cyclomatic 33): _RecommendSheetState._buildAlreadyAdded has cyclomatic complexity 33 (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/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"675c79a8c38984b13445a4a588f51747e84cdd0f0d05e913e4a7c71c89ce3af7"}},{"ruleId":"D1","level":"warning","message":{"text":"CookieManager.parseSingleCookie (cyclomatic 32): CookieManager.parseSingleCookie has cyclomatic complexity 32 (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/controllers/network/cookie_manager.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7195137fafdc392f56edc6b6c39944fe430bff531fab73be4a61b271a0f38dfb"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaDetailsPageState._buildContinueButton (cyclomatic 32): _MediaDetailsPageState._buildContinueButton has cyclomatic complexity 32 (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/screens/anime/details/media_details_page.dart"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f21d271c34512559fcd83f306e974348aa119361c646a728714efe29f18a79"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeRenderer._doAction (cyclomatic 32): ThemeRenderer._doAction has cyclomatic complexity 32 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: ThemeRenderer._getDynamicColor (cyclomatic 62) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d3ad68375ea596876e470705a1296a06c5eba47e844f7b963bf754bda93b0a"}},{"ruleId":"D1","level":"warning","message":{"text":"_BackupRestorePageState._buildImportSection (cyclomatic 32): _BackupRestorePageState._buildImportSection has cyclomatic complexity 32 (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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fed7e6467e3d2eed0e68b6b1beaee73e0031abb333acb7644fb70bb2cb695d"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubsamplingScaleImageViewState.build (cyclomatic 31): _SubsamplingScaleImageViewState.build has cyclomatic complexity 31 (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/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d142a258329eee141823f66dad5626df06e8bddaf2f686a35671e543d377124b"}},{"ruleId":"D1","level":"warning","message":{"text":"MainActivity.configureFlutterEngine (cyclomatic 31): MainActivity.configureFlutterEngine has cyclomatic complexity 31 (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":"android/app/src/main/kotlin/com/ryan/anymex/MainActivity.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cccd619fa0a1f51342a38d83633ef86abf14356763de499f463bc1f6079ee29"}},{"ruleId":"D1","level":"warning","message":{"text":"KvHelper.get (cyclomatic 30): KvHelper.get has cyclomatic complexity 30 (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/database/kv_helper.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f799209ef238f2cd25a84a2d0115893ca4e7bffd48185dc04f70f0e7b71f48"}},{"ruleId":"D1","level":"warning","message":{"text":"BottomControls._buildLayout (cyclomatic 30): BottomControls._buildLayout has cyclomatic complexity 30 (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/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1620d50fffbc886e4e139d78263e8216bf4f1d6bbd32a922a9ab827ff8ca47"}},{"ruleId":"D1","level":"warning","message":{"text":"_CommentSectionState._showUserHistoryDialog (cyclomatic 30): _CommentSectionState._showUserHistoryDialog has cyclomatic complexity 30 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3538}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca5c83493295baab307849538c384de096d84e4b9df0b887ddd3bc81b68025a"}},{"ruleId":"D1","level":"warning","message":{"text":"_ActiveDownloadsState._buildChildTaskCard (cyclomatic 30): _ActiveDownloadsState._buildChildTaskCard has cyclomatic complexity 30 (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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b48fe8c6a78bbe4cd8ba84be3c8b04b6ea5aaef19ed2f2fed6f368699797c"}},{"ruleId":"D1","level":"warning","message":{"text":"MobileProfileHeaderSliver.build (cyclomatic 30): MobileProfileHeaderSliver.build has cyclomatic complexity 30 (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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d322a4b9f4b8374cb38063e88af8ddc79489ac0f5db0f3cce7e9ab6c99388b6"}},{"ruleId":"D1","level":"warning","message":{"text":"_SearchPageState._performSearch (cyclomatic 30): _SearchPageState._performSearch has cyclomatic complexity 30 (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/screens/search/search_view.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e6ef768b26bff0da2a36dd9878f5edfea3716f2269bef65abd2e37f28c3eb7"}},{"ruleId":"D1","level":"warning","message":{"text":"AnymeXSheet.build (cyclomatic 30): AnymeXSheet.build has cyclomatic complexity 30 (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/widgets/anymex_widgets/anymex_bottomsheet.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"070c8660fc9b9c903feb78a1b7d0fded7ba87d5ad3957ba5edd489c7b3f08e51"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineStorageController.addOrUpdateAnime (cyclomatic 29): OfflineStorageController.addOrUpdateAnime has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cc4ae4dccdb04ce7410ff3edab90a733ba6a24cf01972dab4164585c70a61c"}},{"ruleId":"D1","level":"warning","message":{"text":"CompatibilityController.runMatch (cyclomatic 29): CompatibilityController.runMatch has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/compatibility_controller.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"333d093b30964b9279c143a0623807c25830f019e6b916dd12ccc0a7e048546f"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupRestoreService.restoreBackup (cyclomatic 29): BackupRestoreService.restoreBackup has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b59a38b14eb9697422f92123c955541d975f063eeb4f5c38b40c031af4d02d"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaDetailsController._initOfflineAndTrackedData (cyclomatic 29): MediaDetailsController._initOfflineAndTrackedData has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"846d4579f4d66329e3f1e9777158a3ab3ee7135f1f4c5fd16a2ea5bd8dd04a20"}},{"ruleId":"D1","level":"warning","message":{"text":"_CommentSectionState._buildCommentItem (cyclomatic 29): _CommentSectionState._buildCommentItem has cyclomatic complexity 29 (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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"05958e3d5ed406e03c767f2d298653f8a427060a705fab5112883eee97fd84bc"}},{"ruleId":"D1","level":"warning","message":{"text":"_UserStatsPageState._buildHeatmapSection (cyclomatic 29): _UserStatsPageState._buildHeatmapSection has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/stats/user_stats_page.dart"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9208a0308f064071e6cd86dcd9673f20a1e21b8f08f25918af4840c67fea60c"}},{"ruleId":"D1","level":"warning","message":{"text":"_VisualsPopupState._saveImage (cyclomatic 29): _VisualsPopupState._saveImage has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"47584106f75e62a5a1e661e4dc5a79f2a845b9486356d2f214f30c6f506b44ac"}},{"ruleId":"D1","level":"warning","message":{"text":"_FullscreenImageViewerState._saveImage (cyclomatic 29): _FullscreenImageViewerState._saveImage has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"42643be73acf5bd9e10aca90a8c3face51d5ce1ef621dc1d1007c536622275b7"}},{"ruleId":"D1","level":"warning","message":{"text":"AnymeXTile.build (cyclomatic 29): AnymeXTile.build has cyclomatic complexity 29 (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/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fca5140f281a3db62b87867ce0c6f6999f97d877b0b17de64ca67098ba340d9"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaModeSelector.build (cyclomatic 29): MediaModeSelector.build has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/media_mode_selector.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc898825e527a4d20d1b550e41494bdd23387a64c39d14f3813839b76fc6d51"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineStorageController.addMedia (cyclomatic 28): OfflineStorageController.addMedia has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"342d7c2d49e8ac4dc35f5a278ff980ccbc2f725ade3911cd0b9ebda582cda566"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineStorageController.addOrUpdateManga (cyclomatic 28): OfflineStorageController.addOrUpdateManga has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (OfflineStorageController.addOrUpdateNovel) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"396c2a8e3f357d77703449854f33386a78e7860f9c7fa948ad60cfea0b2b3192"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineStorageController.addOrUpdateNovel (cyclomatic 28): OfflineStorageController.addOrUpdateNovel has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (OfflineStorageController.addOrUpdateManga) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"4685a0ff515d1ef7da67b96bd71cce64a57e3133b751a4943a42983141b03c3b"}},{"ruleId":"D1","level":"warning","message":{"text":"_LeaderboardSheetState._buildLeaderboardTile (cyclomatic 28): _LeaderboardSheetState._buildLeaderboardTile has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/leaderboard_sheet.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"932aa5722e2211e2f8d87db251ca9b58a23cea0e020fb6b619234a4a3397a84f"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopProfileHeader.build (cyclomatic 28): DesktopProfileHeader.build has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_header.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d132b39842203ba5e76927fb09ae473d396bfea0a408711c6200b3f444cf48c"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationService._navigateFromNotification (cyclomatic 28): NotificationService._navigateFromNotification has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/notification.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0036c0dd01328196fc79042a1146c56dc82a7696512678a37ee35471d894be"}},{"ruleId":"D1","level":"warning","message":{"text":"_ActivityCardState.build (cyclomatic 28): _ActivityCardState.build has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_card.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"417f24be75ca7212f3849ce7d7899c582b73f399e5a0dd93af4a0e2a7542bb49"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityComposerSheetState._buildFormatButton (cyclomatic 28): ActivityComposerSheetState._buildFormatButton has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bb973fef33498c64006ef78446786a11096a0e0691feb24d8fd989c460204d"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistData.anilistSearch (cyclomatic 27): AnilistData.anilistSearch has cyclomatic complexity 27 (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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2038155ff3f960d79fd314f367e7e3cb87d684930388aed55fc485f858452e3"}},{"ruleId":"D1","level":"warning","message":{"text":"_SyncSubsContentState._buildCueViewer (cyclomatic 27): _SyncSubsContentState._buildCueViewer has cyclomatic complexity 27 (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/screens/anime/watch/controls/widgets/sync_subs_popup.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be5a90c88b1a99dc18a51c64e33d2c2d273d256a5a32215cb3d9b760da7260c"}},{"ruleId":"D1","level":"warning","message":{"text":"_WrongTitleModalState.build (cyclomatic 27): _WrongTitleModalState.build has cyclomatic complexity 27 (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/screens/anime/widgets/wrongtitle_modal.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"349c692a191281cefeb20501365e3be4f721df9e133210456ba3cc9dd2d77ebb"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadController.resyncDownloads (cyclomatic 27): DownloadController.resyncDownloads has cyclomatic complexity 27 (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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f96c5079fbd1bdd384c5c6d5d81112cd7640e37677037a2192c1077950cbd3c"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderController._onPositionChanged (cyclomatic 27): ReaderController._onPositionChanged has cyclomatic complexity 27 (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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9698ab467ef796d035c78abfd51d8626dbedf7bb5cf1b682c42ca47656be202"}},{"ruleId":"D1","level":"warning","message":{"text":"_ReadingModePage.build (cyclomatic 27): _ReadingModePage.build has cyclomatic complexity 27 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f8489c845ef47b3093250e50a04998c6da0b46b8ce6870246f968ba52ecfe8"}},{"ruleId":"D1","level":"warning","message":{"text":"_ProfilePageState._buildOverviewTab (cyclomatic 27): _ProfilePageState._buildOverviewTab has cyclomatic complexity 27 (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/screens/profile/profile_page.dart"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9650c427a28ab84d0595816010014eb7788946e5ebc7fb0fb6de407f2384292"}},{"ruleId":"D1","level":"warning","message":{"text":"_UserProfilePageState._buildOverviewTab (cyclomatic 27): _UserProfilePageState._buildOverviewTab has cyclomatic complexity 27 (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/screens/profile/user_profile_page.dart"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"470ad6a459912baef8625cf8f518d5bdece3066d9b4c3442ee2e74a83af153c7"}},{"ruleId":"D1","level":"warning","message":{"text":"_FuturisticFilterSheetState._loadCurrentFilters (cyclomatic 27): _FuturisticFilterSheetState._loadCurrentFilters has cyclomatic complexity 27 (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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cafdb03b81b0c0aa3c0599b377a7153bd6f4a09cf9d9cb4436792f8cb22d19b"}},{"ruleId":"D1","level":"warning","message":{"text":"MangaAnimeUtil.getNextChapterPrediction (cyclomatic 27): MangaAnimeUtil.getNextChapterPrediction has cyclomatic complexity 27 (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/utils/anime_adaptation_util.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0186a658cb90c029552c44a414d3fc974ac318b328bb9c46508e61340b5bfb3d"}},{"ruleId":"D1","level":"warning","message":{"text":"_BakedBlurImageState._requestBackdrop (cyclomatic 27): _BakedBlurImageState._requestBackdrop has cyclomatic complexity 27 (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/widgets/common/baked_blur_image.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a7609aac498af272477534875155cb2c8e2f02d40b311102a15c454fe80452"}},{"ruleId":"D1","level":"warning","message":{"text":"_FilterScreenState._getNavItemForTab (cyclomatic 26): _FilterScreenState._getNavItemForTab has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1a8754713d7c98a7506b6da792021858aa64c2d59f861fb2bbcd30c510bba4"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupRestoreService.exportBackupToExternal (cyclomatic 26): BackupRestoreService.exportBackupToExternal has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabaeee22ba0e82cae3fd075d40724c09693a19976d3362c293f12db5375c729"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderController._initTracking (cyclomatic 26): ReaderController._initTracking has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea99ae351f6fbede413de942339840732e46173660e692990db3a4d556fb2556"}},{"ruleId":"D1","level":"warning","message":{"text":"_CompatibilityResultPageState._buildSectionGrid (cyclomatic 26): _CompatibilityResultPageState._buildSectionGrid has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d474d9423c0a92e86db4670180ca22978a1fedca1ff9ebf883fd854f3928c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"_SettingsPerformanceState.build (cyclomatic 26): _SettingsPerformanceState.build has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_performance.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"598ae2582784322028638f99f4c2cabfb77a5b52f29279ed4fcdac6b0bcfa0c5"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnymeXExpansionTileState.build (cyclomatic 26): _AnymeXExpansionTileState.build has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_expansion_tile.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cf72636e808e1db0286f9d944e003a5a8ae9ab425a01ec7f6bb81849bc8685"}},{"ruleId":"D1","level":"warning","message":{"text":"AnymeXTileBuilder.build (cyclomatic 26): AnymeXTileBuilder.build has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_tile_builder.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6864b936d611762b398e6d45510b345946a4b3560ec1271ce26cc4729662d9"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupFormatDetector.detectFromBytes (cyclomatic 25): BackupFormatDetector.detectFromBytes has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_format_detector.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"372daeadef013f86462bd3341fa4bf2392c968ae1bfc4060060cbbf4dbe1fc50"}},{"ruleId":"D1","level":"warning","message":{"text":"Character.fromJson (cyclomatic 25): Character.fromJson has cyclomatic complexity 25 (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/models/Media/character.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de137d0ccf8dac9875adb008b5ad7ee6bd39f4e24f9254cd34e7f28bf285517"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeTheme.fromJson (cyclomatic 25): AnimeTheme.fromJson has cyclomatic complexity 25 (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/models/animethemes/anime_theme.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"826f9a849dd7f8ba29def94f1c479518a764a32c28183e4fd3b0611512318784"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerController._trackOnline (cyclomatic 25): PlayerController._trackOnline has cyclomatic complexity 25 (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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":3050}}}],"partialFingerprints":{"codehealthFindingId/v1":"6544f10cecaaf311ff1290b8ce838bd7c8a81a8339976e5b808f5104c83284d2"}},{"ruleId":"D1","level":"warning","message":{"text":"_ListEditorModalState.initState (cyclomatic 25): _ListEditorModalState.initState has cyclomatic complexity 25 (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/screens/anime/widgets/list_editor.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8625a89096e0d6bff3303572821a0534bd476b019b554b7f7c9bcd9c75c3ff1f"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadController._onForegroundReceiveData (cyclomatic 25): DownloadController._onForegroundReceiveData has cyclomatic complexity 25 (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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2efb209c888ca2744591a1c5b687bf9c018e799cb564a0b223cff2312b53d8"}},{"ruleId":"D1","level":"warning","message":{"text":"_HomePageState._buildNewEpisodesSection (cyclomatic 25): _HomePageState._buildNewEpisodesSection has cyclomatic complexity 25 (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/screens/home_page.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5886d52f62b95a4239326196519aca12bd0be92a743a0789a045f7255482130"}},{"ruleId":"D1","level":"warning","message":{"text":"_ChapterListBuilderState._buildChapterDownloadButton (cyclomatic 25): _ChapterListBuilderState._buildChapterDownloadButton has cyclomatic complexity 25 (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/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"681ff4dfc5f4a5c42bf7bf7f4a1f744dc8fea5b037679a7f1cfe2265bf4d18ec"}},{"ruleId":"D1","level":"warning","message":{"text":"_PressableHighlightCardState.build (cyclomatic 25): _PressableHighlightCardState.build has cyclomatic complexity 25 (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/screens/profile/widgets/stats_overview_cards.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87582cfde6c4e8f92572faf98801e6aeadaae9324cd571439b5756be9c6c2ae"}},{"ruleId":"D1","level":"warning","message":{"text":"_FuturisticFilterSheetState._applyFilters (cyclomatic 25): _FuturisticFilterSheetState._applyFilters has cyclomatic complexity 25 (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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a2b8e374d3029f0af3ff7c440100fe15ada264c160fd3ccddef506ac33f20f"}},{"ruleId":"D1","level":"warning","message":{"text":"_SettingsUiDetailsState._buildLivePreviewCard (cyclomatic 25): _SettingsUiDetailsState._buildLivePreviewCard has cyclomatic complexity 25 (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/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff2e894b99d7c45845b46c5f9392fa1b65dc044cc48f588d5f7d5109b984559"}},{"ruleId":"D1","level":"warning","message":{"text":"_WatchiumPageState._buildRoomCard (cyclomatic 25): _WatchiumPageState._buildRoomCard has cyclomatic complexity 25 (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/screens/watchium/watchium_page.dart"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8773f05a6f22d8529e15ce5e8cb7d0ec53d25ad0d623544ead7795e83f360f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"Matchmaker._computeReleaseYearOverlap (cyclomatic 25): Matchmaker._computeReleaseYearOverlap has cyclomatic complexity 25 (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/utils/compatibility/matchmaker.dart"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"69378b5d103c0ddfd2e9618f7cf0fba867bf4d994dac03f7cfb85b11b31bd757"}},{"ruleId":"D1","level":"warning","message":{"text":"AnymeXSectionBuilder.build (cyclomatic 25): AnymeXSectionBuilder.build has cyclomatic complexity 25 (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/widgets/anymex_widgets/anymex_section_builder.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"64eaa9be9ef19ef187096fae4df3f9c644e488c847b8eba3d6d3dfbfdd7a06ea"}},{"ruleId":"D1","level":"warning","message":{"text":"GridAnimeCard.build (cyclomatic 25): GridAnimeCard.build has cyclomatic complexity 25 (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/widgets/media_items/media_item.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e113c294325c2e3a36469cbe8d7e10adb623aed3eae4cf0e223bdecf287d5e54"}},{"ruleId":"D1","level":"warning","message":{"text":"_RecommendSheetState._userHasReason (cyclomatic 25): _RecommendSheetState._userHasReason has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (_RecommendSheetState._findUserReason) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"36926a44446cd50bd6f4f32b773a80e255db3add490a0dc83a80044c374cb44e"}},{"ruleId":"D1","level":"warning","message":{"text":"_RecommendSheetState._findUserReason (cyclomatic 25): _RecommendSheetState._findUserReason has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (_RecommendSheetState._userHasReason) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f980eb114a96ec016ba658252e00ffc15bcfc54a42ac7b8106416893080d05bf"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscordRPCController.updateAnimePresence (cyclomatic 24): DiscordRPCController.updateAnimePresence has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/discord/discord_rpc.dart"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbda23ffbab3e44267e78682ec519910ee0247ab34c26e5328afc8d3f9c74c5c"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistAuth.updateListEntry (cyclomatic 24): AnilistAuth.updateListEntry has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff93695ca10bd49dbf09fbd0a7fb2b6536a414cf4da60a8777274d9f6c07a86"}},{"ruleId":"D1","level":"warning","message":{"text":"_ChapterListSheetState.build (cyclomatic 24): _ChapterListSheetState.build has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f4152d0a05993b86585bf26bfa7e9c70f5c8bd3378546b297c324420479b5e"}},{"ruleId":"D1","level":"warning","message":{"text":"NovelReaderController.onScrollNotification (cyclomatic 24): NovelReaderController.onScrollNotification has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"faec5178dfd5a8aa00399870289ec6d2107b2eb4c8097dc57b40e84f6cb760f7"}},{"ruleId":"D1","level":"warning","message":{"text":"_DecorationClosetSheetState._onSavePressed (cyclomatic 24): _DecorationClosetSheetState._onSavePressed has cyclomatic complexity 24 (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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bc8f1d908bbf66208b9eabdc6cdc2de62d31f3b205a9bd32166b27d0fb7b36"}},{"ruleId":"D1","level":"warning","message":{"text":"MalService.updateListEntry (cyclomatic 23): MalService.updateListEntry has cyclomatic complexity 23 (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/controllers/services/mal/mal_service.dart"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"efba377956af23073f3b13949ae57633495cc4e2783d4dca8d66d876776c282f"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeRenderer._buildTitleAreaThing (cyclomatic 23): ThemeRenderer._buildTitleAreaThing has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: ThemeRenderer._getDynamicColor (cyclomatic 62) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"1776837eeadaccb417c5fa4279e87d59ea694683345d5324c7cd9e3043410e39"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeRenderer._buildItem (cyclomatic 23): ThemeRenderer._buildItem has cyclomatic complexity 23 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: ThemeRenderer._getDynamicColor (cyclomatic 62) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab916c3a6a41b63de8ed5a4a2606866d1ed94970cc66271b3e3c25beb93e5599"}},{"ruleId":"D1","level":"warning","message":{"text":"_DownloadScreenState._buildChapterStep (cyclomatic 23): _DownloadScreenState._buildChapterStep has cyclomatic complexity 23 (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/screens/downloads/download_screen.dart"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7655a51033abb42fa163340d8f5004935c88a7686a311160cc14d422950e52c"}},{"ruleId":"D1","level":"warning","message":{"text":"ChapterListItem.build (cyclomatic 23): ChapterListItem.build has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/details/widgets/chapter_item.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f9be7c778856e64bc98d26fd7653d29a015c4322c0a74ae3af171ff6eb19c0"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopStatsGrid.build (cyclomatic 23): DesktopStatsGrid.build has cyclomatic complexity 23 (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/screens/profile/widgets/stats_overview_cards.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"29717fe13d2e01e4e85b06807fb61402aa22d1bc3fdec149f82de003848b8fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"AppAbiDetector.getCurrentAppAbi (cyclomatic 23): AppAbiDetector.getCurrentAppAbi has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/abi_checker.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"951961926b39710fdb80ba487fb5f0b334145d16726f0b06d7c02ff7326b6266"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateManager.checkForUpdates (cyclomatic 23): UpdateManager.checkForUpdates has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/updater.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8557741b5633fe60f2ec1fb2598df81bb053d6adfc4e55a169ecb37e57c1dd75"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateManager._shouldUpdate (cyclomatic 23): UpdateManager._shouldUpdate has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/updater.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"223c9f416b8db0707e173c6c23fc05f5dadfb015506176bd4015dc7dd2ee28d1"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubsamplingImageProviderState.build (cyclomatic 23): _SubsamplingImageProviderState.build has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f9a708fb443ea5b71dad47c4612ed3eb2d129cba6ff17a179c8d7fe2702461"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubsamplingScaleImageViewState._loadFromProvider (cyclomatic 23): _SubsamplingScaleImageViewState._loadFromProvider has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e45051077aa8e8c69d438376659070f286b5405f0553f1eab4020628ec0c5b"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistAuth.deleteMediaFromList (cyclomatic 22): AnilistAuth.deleteMediaFromList has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c795472032384fa7019cae04fd47586d23d7058c4f5844921bb57c4b69e23fdd"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackedMedia.formattedProgress (cyclomatic 22): TrackedMedia.formattedProgress has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_media_user.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9137eb694e7f28d4af855d0cb23afd2a7659bb23316c8cca0b6a6a008c0fd9"}},{"ruleId":"D1","level":"warning","message":{"text":"_CalendarState.build (cyclomatic 22): _CalendarState.build has cyclomatic complexity 22 (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/screens/anime/misc/calendar.dart"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfce9f1781a1d3c8eb3e3666409ec6a11ff8e1711193268d77b3c6f782a00cb0"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerController._loadLocalSubtitles (cyclomatic 22): PlayerController._loadLocalSubtitles has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"5962e8a0e08c95464fad0c411cb2ef95e3013c3af793eae7c4e5b82e55034315"}},{"ruleId":"D1","level":"warning","message":{"text":"MinimalEpisodeWidget.build (cyclomatic 22): MinimalEpisodeWidget.build has cyclomatic complexity 22 (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/screens/anime/widgets/episode/styles/minimal_style.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0b12ec8035253f198227f46dc83384d31b5bb20fbed4246d2af35042a4a3ea"}},{"ruleId":"D1","level":"warning","message":{"text":"_DownloadedMediaViewState._syncBoundTrackersAfterPlay (cyclomatic 22): _DownloadedMediaViewState._syncBoundTrackersAfterPlay has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30a6307ee26c6653982f74d2b5531b8861625016de1ffa33fad6fe7e7b09655"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderController.loadNextChapterInline (cyclomatic 22): ReaderController.loadNextChapterInline has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e705b4739e24f6ad2f515d52172cb72a719c313c1fb780a572ea7bd9f57486"}},{"ruleId":"D1","level":"warning","message":{"text":"_LogoAnimationPreviewDialogState._showAddCustomLogoDialog (cyclomatic 22): _LogoAnimationPreviewDialogState._showAddCustomLogoDialog has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dcd88318e3e25809ed792537eb6efc9ac6248eed1350273aa0b990800e26f7"}},{"ruleId":"D1","level":"warning","message":{"text":"MalService.homeWidgets (cyclomatic 21): MalService.homeWidgets 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/controllers/services/mal/mal_service.dart"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bbc0db16a78707dd281bcd9122b904cea99bdfec30e851b20a6c7480739463"}},{"ruleId":"D1","level":"warning","message":{"text":"SimklService.updateListEntry (cyclomatic 21): SimklService.updateListEntry 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/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c91cdd9f0b44070f818b51cba29090fbafee6818c29e7079862a2257d145ff"}},{"ruleId":"D1","level":"warning","message":{"text":"TorrentService._findFileForEpisode (cyclomatic 21): TorrentService._findFileForEpisode 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/controllers/services/torrent/torrent_service.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb75dbff9766c68b70cb297522ca3d8b6e323f0bcfa3cacdd3423e7e97846932"}},{"ruleId":"D1","level":"warning","message":{"text":"Media.fromSmallSimkl (cyclomatic 21): Media.fromSmallSimkl 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/models/Media/media.dart"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"2934efd0258624b62ec5d04b007db65377cd180ecd91a110e75f9ec2c4353775"}},{"ruleId":"D1","level":"warning","message":{"text":"Ios26PlayerControlTheme.buildBottomControls (cyclomatic 21): Ios26PlayerControlTheme.buildBottomControls has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4ad813c7587be04b37b401663c1c9093b8463eccfa41a4e6a3cf0d02a305bf"}},{"ruleId":"D1","level":"warning","message":{"text":"_DoubleTapSeekWidgetState.build (cyclomatic 21): _DoubleTapSeekWidgetState.build has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fab2433640c04959b77645954d249dfb5302021c5463fd9c7f1cfc3c1dceb5"}},{"ruleId":"D1","level":"warning","message":{"text":"_CommentSectionState._buildReplyItem (cyclomatic 21): _CommentSectionState._buildReplyItem has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d292198d30878a684c88154260d9342b3e988f47a21191dc1185b474938a0649"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderController._performFinalSave (cyclomatic 21): ReaderController._performFinalSave 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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3f12c032b95c6bbe7cc5b01008bc1a51c6cd6cd52dff5ff8f5f6bb37d21c51"}},{"ruleId":"D1","level":"warning","message":{"text":"_ActivityHeatmapState.build (cyclomatic 21): _ActivityHeatmapState.build 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/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"784d927eaa7f274c96aec73d49d5a6a4b31fcbdecb2d8a8e1e75c0b6d573e027"}},{"ruleId":"D1","level":"warning","message":{"text":"ListStatusCard.build (cyclomatic 21): ListStatusCard.build has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/list_status_card.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbc58b56ee7ea76d1339a06bab24dde5c9c58c36d7c051c22bf82ea56a7bd0f"}},{"ruleId":"D1","level":"warning","message":{"text":"SocialTabState.build (cyclomatic 21): SocialTabState.build 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/screens/profile/widgets/social_tab.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bb3ca32468fac2501c3f887577493a4dcf0fb2c51ff6bf273130d1dcfec631"}},{"ruleId":"D1","level":"warning","message":{"text":"_WatchiumPageState._joinByCode (cyclomatic 21): _WatchiumPageState._joinByCode 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/screens/watchium/watchium_page.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fa4ac40572b14430c8db76ebfb3765c831b819b5d458eb961a07f6f635b9f0"}},{"ruleId":"D1","level":"warning","message":{"text":"AnymeXScaffold.build (cyclomatic 21): AnymeXScaffold.build 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/widgets/common/anymex_scaffold.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"649b35335b2dad5082fa28c62ca4f9d654f4b6e38f9537ed6a7470608c84ce8a"}},{"ruleId":"D1","level":"warning","message":{"text":"_FloatingPillNavBarState._buildMobileLayout (cyclomatic 21): _FloatingPillNavBarState._buildMobileLayout has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/navbar/styles/floating_pill_navbar.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"362849db18b0879e5db854d11ba7653086c94c7fa8a274c40a165fd38a11021c"}},{"ruleId":"D1","level":"warning","message":{"text":"_WatchiumPartyPopupContentState._buildChat (cyclomatic 21): _WatchiumPartyPopupContentState._buildChat has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_party_popup.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acf6e381c92d7fb9d329bed48835b78c4e401999efc323c28d985cb3686883c"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistApi.getStaffDetails (cyclomatic 20): AnilistApi.getStaffDetails has cyclomatic complexity 20 (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/controllers/services/anilist/anilist_api.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9414380703974dadf4dd6c87c86c0ea656f6f1fca715d8017c25d033abad0192"}},{"ruleId":"D1","level":"warning","message":{"text":"ReasonUserProfile.matchesUser (cyclomatic 20): ReasonUserProfile.matchesUser has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/community_service.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef5cba066bb441f502f2df5c6766e1b31acf1f2645f13d89a2e6097d728e973"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchiumService._connectSocket (cyclomatic 20): WatchiumService._connectSocket has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/watchium/watchium_service.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d895718b8883539f07df3a029df3b33c8f5b297ba1615f2995a12903308e62b1"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeRenderer._makeButtonThing (cyclomatic 20): ThemeRenderer._makeButtonThing has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ThemeRenderer._getDynamicColor (cyclomatic 62) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"7037256888d2edfb3c9a3e6c811a48c650bfc56579b874dc5f7f84cf0cab17e6"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodesPane.build (cyclomatic 20): EpisodesPane.build has cyclomatic complexity 20 (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/screens/anime/watch/controls/widgets/episodes_pane.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9219a881f149334e89ea0a6e1993d60d9c680802fc8cacad83543f61e9e5c0"}},{"ruleId":"D1","level":"warning","message":{"text":"_CommentSectionState._showUserInfoDialog (cyclomatic 20): _CommentSectionState._showUserInfoDialog has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7b7b67da0ffdf3a8162fc300e8099708eef63671c461c4e00c0fb46d472488"}},{"ruleId":"D1","level":"warning","message":{"text":"_UserCommentsSheetContentState.build (cyclomatic 20): _UserCommentsSheetContentState.build has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad33c516e4e29a93252f7635a68d4c9b7ade94943e21d5ced62acda474bb7e1"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadController._consolidateDownloads (cyclomatic 20): DownloadController._consolidateDownloads has cyclomatic complexity 20 (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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b288b6633b3b57fd9e072ae75520c46b7cc967c5a1c5722fee01c526bad2c8a"}},{"ruleId":"D1","level":"warning","message":{"text":"_DownloadedMediaViewState._buildEpisodeTile (cyclomatic 20): _DownloadedMediaViewState._buildEpisodeTile has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b7c84b3b03eff628f1d59d0c7f4f5ce5e784b7ba6b1963f8847427a4fceb52"}},{"ruleId":"D1","level":"warning","message":{"text":"__ListMediaEditorBottomSheetState.build (cyclomatic 20): __ListMediaEditorBottomSheetState.build has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/editor/list_editor.dart"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0d62a9dbb7c943d01672bdc06955201671be73400939d94b3ca21e6101ab00"}},{"ruleId":"D1","level":"warning","message":{"text":"_ChapterListBuilderState.build (cyclomatic 20): _ChapterListBuilderState.build has cyclomatic complexity 20 (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/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbd9a9f0cc114276c195a599d8238de0ebf1935e90435e0180c56b95d2c1089"}},{"ruleId":"D1","level":"warning","message":{"text":"_CompatibilityInputPageState._buildMatchupHero (cyclomatic 20): _CompatibilityInputPageState._buildMatchupHero has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"49717b8b6d3668e72e5c73462f2ce162cea1d88c9a42e93498d338cdcad2e285"}},{"ruleId":"D1","level":"warning","message":{"text":"_UserMediaListPageState.build (cyclomatic 20): _UserMediaListPageState.build has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/user_media_list_page.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f150b6b69678ce13ca8e6e1fbc177f8f83b18d1944055a48daa568fd530e9e"}},{"ruleId":"D1","level":"warning","message":{"text":"_SearchPageState._buildFilterChips (cyclomatic 20): _SearchPageState._buildFilterChips has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/search_view.dart"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d882a28d9e5fc1e65660b0b4fd8808300d3090a692591446f456f09a709974f"}},{"ruleId":"D1","level":"warning","message":{"text":"Header.build (cyclomatic 20): Header.build has cyclomatic complexity 20 (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/widgets/header/legacy_header.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"366adffd6df47104cb1399a05940286f32424fd2cf14ed0aa69462a8f8060abc"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupRestoreService.pickBackupFile (cyclomatic 19): BackupRestoreService.pickBackupFile has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6528b9308671882c9ef3455dd343f97809a280ea2e3c520d611de345b750c7c"}},{"ruleId":"D1","level":"warning","message":{"text":"CommunityService._buildSubmitBody (cyclomatic 19): CommunityService._buildSubmitBody has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/community_service.dart"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff18ce075c43ff7157420442224152522d959b1d48354992d9999a42f8b0c31"}},{"ruleId":"D1","level":"warning","message":{"text":"SimklService.getEpisodesBySeason (cyclomatic 19): SimklService.getEpisodesBySeason has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6ea59a66ac8b4da8ba96dd7e4469a1ca6ba92b3389052f09bf5b966bb1d2c4"}},{"ruleId":"D1","level":"warning","message":{"text":"SimklService.updateListEntryFromExternalId (cyclomatic 19): SimklService.updateListEntryFromExternalId has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3363cc092c1461b22a7dfc1d7aef2b70ad8e7377c2331ae8b8e41bb3eddaa99"}},{"ruleId":"D1","level":"warning","message":{"text":"_BottomSheetListItemState.build (cyclomatic 19): _BottomSheetListItemState.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/screens/anime/watch/controls/widgets/bottom_sheet.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"821369464eebe37d3d20534e612a566463eca32b5188fa165a58746582ee8f9c"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscordMarkdown.build (cyclomatic 19): DiscordMarkdown.build has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5400f7d398564d8da6e506b3b5ce4eae1374c271650976d2a19d6118052cb932"}},{"ruleId":"D1","level":"warning","message":{"text":"_MentionAutocompleteState._searchUsers (cyclomatic 19): _MentionAutocompleteState._searchUsers has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/mention_autocomplete.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9205d3d3715b2a7c2befc0be2306727a35b343c7b2287e5f6e88c960bcf456"}},{"ruleId":"D1","level":"warning","message":{"text":"_DownloadServerSelectorState._buildBody (cyclomatic 19): _DownloadServerSelectorState._buildBody 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/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5125ffdabf0efeac3d63107271acff6498a5bac58fadb49d8cafab1e21352fdb"}},{"ruleId":"D1","level":"warning","message":{"text":"_HistoryEditorState._buildHistoryCard (cyclomatic 19): _HistoryEditorState._buildHistoryCard 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/screens/library/editor/history_editor.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0bf275c00ce6108326b43f96093c2f6b00da0f883cf7ebcd4760a00077b5c7"}},{"ruleId":"D1","level":"warning","message":{"text":"_ReaderPageActionsSheet._savePage (cyclomatic 19): _ReaderPageActionsSheet._savePage has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/reader_page_actions_dialog.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb27f6bca4936f0c68218ac235d718527798589442054dbf5e0f8ea8f0b2383"}},{"ruleId":"D1","level":"warning","message":{"text":"_WatchiumPageState._joinRoomFromCard (cyclomatic 19): _WatchiumPageState._joinRoomFromCard has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ab6740a4a3f3935eaac1f612eff0ce03e55f727cfc881e4f3c84d48c035fea"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageColorExtractor._findDominantColorInt (cyclomatic 19): ImageColorExtractor._findDominantColorInt has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/color_extractor.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c860750238e2f9f82fb960623642b1b50c9103a0683ab0c534a486e7e9f3aaaa"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineStorageController.addOrUpdateReadChapter (cyclomatic 18): OfflineStorageController.addOrUpdateReadChapter has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"a598fcf56d89d4354898f02ba7aa4d5c8fa14eeacc451524f0cb371dc570930c"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineStorageController._createOfflineMedia (cyclomatic 18): OfflineStorageController._createOfflineMedia has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb282a16a68403e25bc929cb6a861a3cb2975fa95309374bd37578a525dff6d0"}},{"ruleId":"D1","level":"warning","message":{"text":"Media.displayTitle (cyclomatic 18): Media.displayTitle has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc4ed6d50aac7268a1ccfed9fbce7703de8c210b8e149cebb8b9abe6a7b9d00"}},{"ruleId":"D1","level":"warning","message":{"text":"_GridAnimeCardState.build (cyclomatic 18): _GridAnimeCardState.build has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa7c3bdb911a701e54b34eee9fbac25cbf690f96ede4dd10386303646d0dfe7"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeThemePlayerDialogState.build (cyclomatic 18): _AnimeThemePlayerDialogState.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/themes/anime_theme_dialog.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7555b2d86e408cc21f7ee050f8bfb56caaefc8268ccd7d7f95779c503ff0da29"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeRenderer._resolveColor (cyclomatic 18): ThemeRenderer._resolveColor has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: ThemeRenderer._getDynamicColor (cyclomatic 62) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea3d39b3f8c76a6f43c0be959577588eb41e7123d56e457ae79495ca857bbe7"}},{"ruleId":"D1","level":"warning","message":{"text":"_AudioPopupContentState._buildInbuiltAudio (cyclomatic 18): _AudioPopupContentState._buildInbuiltAudio has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/audio_popup.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b455cc99b9784b862ccad1a700ecd99fc2f184bf827160bc2cf02bdb16f655"}},{"ruleId":"D1","level":"warning","message":{"text":"_TracksPopupContentState._buildSourceSubtitles (cyclomatic 18): _TracksPopupContentState._buildSourceSubtitles has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/tracks_popup.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"068afc0172c24ec75457a4d565c4be16394171a7f0aa29be3b30b0e7949cb791"}},{"ruleId":"D1","level":"warning","message":{"text":"_CommentSectionState._buildCommentWithReplies (cyclomatic 18): _CommentSectionState._buildCommentWithReplies has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf385efdc93f18cba079504e77bc50c1b9ea71606ba349abe92713fe88f9f81"}},{"ruleId":"D1","level":"warning","message":{"text":"_DownloadScreenState._checkPermissions (cyclomatic 18): _DownloadScreenState._checkPermissions has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/download_screen.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f810dfc809598d3bdb9ffc18759adab58b97c418de138d36d91561eceea64b"}},{"ruleId":"D1","level":"warning","message":{"text":"_ExtensionListState.build (cyclomatic 18): _ExtensionListState.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionList.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc08d68949e3ccb1c6f16ae7802ecdb0216575af9881f5c373fda11835219c04"}},{"ruleId":"D1","level":"warning","message":{"text":"_CompatibilityInputPageState._submit (cyclomatic 18): _CompatibilityInputPageState._submit has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e79ba14ccfa305dbd875cbc0e09323bb3ae988b0375844b8ddd8ea248aa3ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"_SettingsDiscordState._buildAccountCard (cyclomatic 18): _SettingsDiscordState._buildAccountCard has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_discord.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba007bf75ce312083eb225a41eab46a7c1fb965de18f796286fc0d912b8b589e"}},{"ruleId":"D1","level":"warning","message":{"text":"_SettingsUiDetailsState.build (cyclomatic 18): _SettingsUiDetailsState.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc60fde4714e6444645490ce1004dc2ce9bc2dd6ffb43b4be697763ba1fc1c6"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnymeXModerationActionSheetState.build (cyclomatic 18): _AnymeXModerationActionSheetState.build has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/widgets/moderation_action_sheet.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"4204ef2862b94248b2b6d2e165d6e8dea32d35411c46207ff512f54147fb6621"}},{"ruleId":"D1","level":"warning","message":{"text":"_WatchiumPageState._buildJoinByCodeSection (cyclomatic 18): _WatchiumPageState._buildJoinByCodeSection has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aeffa1debd79ee9f8e1dacc9e1741a037919a5fbe1fc0968a8028e03d1a6fe8"}},{"ruleId":"D1","level":"warning","message":{"text":"_WatchiumPageState._buildCurrentRoomSection (cyclomatic 18): _WatchiumPageState._buildCurrentRoomSection has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81acce9c7cc5f1970ec274dd9de9c633659f5524770a6cd9f367ecad40dfe5a"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistNotificationService.pollNotifications (cyclomatic 18): AnilistNotificationService.pollNotifications has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/anilist_notification_service.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fdc1591d943fc05db281a66fbb43711765c163a172bf2317af48106cfc7f28"}},{"ruleId":"D1","level":"warning","message":{"text":"Deeplink.handleDeepLink (cyclomatic 18): Deeplink.handleDeepLink has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/deeplink.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4e89d652c6a4dd6cadb6d4ef00f22b824d5f3d3a103cfdd1bbb221432f0560"}},{"ruleId":"D1","level":"warning","message":{"text":"AnymeXDecoratedAvatar.build (cyclomatic 18): AnymeXDecoratedAvatar.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_decorated_avatar.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c3549f9ce90e16f187baa87fa6a327e136c5ef66b48ec04ae753fe04a7e8e3"}},{"ruleId":"D1","level":"warning","message":{"text":"AnymeXDialog.build (cyclomatic 18): AnymeXDialog.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_dialog.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbe43e9d876a77129718e9dce93531d14fb76afb71ac0a0f53a2df243368688"}},{"ruleId":"D1","level":"warning","message":{"text":"Header.build (cyclomatic 18): Header.build has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/header/header.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b2d086d3bd36f34349ad0b11c1c540eaeadfb179ff6644235f75c7170cf87d"}},{"ruleId":"D1","level":"warning","message":{"text":"_ActivityCardState._showActivityOptions (cyclomatic 18): _ActivityCardState._showActivityOptions has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_card.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ea55365e5f5c0b9b00a45c632891b404f19f8fd4623cce6f5a6f26565f27ce"}},{"ruleId":"D1","level":"warning","message":{"text":"_ReasonsSheetState._buildReasonCard (cyclomatic 18): _ReasonsSheetState._buildReasonCard has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"5645dbf895eb697b2f233888053aa63af54e5f88a722c87f8a29b53b3d9caf1e"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsSheet._buildHeroHeader (cyclomatic 18): SettingsSheet._buildHeroHeader has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/settings_sheet.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c47625de4aee997ba9edb51c85164d382a78846810be998304f886a439e2d1"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubsamplingScaleImageViewState._handleScaleUpdate (cyclomatic 18): _SubsamplingScaleImageViewState._handleScaleUpdate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc33b5de7c091e016158c2f129f22da6a82bb1e05f41afe80316b4668a0673d0"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscordRPCController.updateMediaPresence (cyclomatic 17): DiscordRPCController.updateMediaPresence has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/discord/discord_rpc.dart"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"744f76b9f02581d293af23802ca44db5fea7b602b8956f5c671d63f49386989e"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistAuth.formatScore (cyclomatic 17): AnilistAuth.formatScore has cyclomatic complexity 17 (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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2794c9e32abfb1618a99ce2071e15aebf9ccbf25219f1b432a8aea1a0a8ac2"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistData.homeWidgets (cyclomatic 17): AnilistData.homeWidgets has cyclomatic complexity 17 (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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36ae5354949e1531ce1e6b1e42c8833d241abff5dcc67e65e3dade2b4b03fa1"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistData._paintCached (cyclomatic 17): AnilistData._paintCached has cyclomatic complexity 17 (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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"debc9fa86b557436090307c04abbbf92ba100db32766d0718d8f0dadfef547aa"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistData.fetchStudioDetails (cyclomatic 17): AnilistData.fetchStudioDetails has cyclomatic complexity 17 (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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c60f6295702648c839080e1f892f25758fd9711ed24abedc4c27b428caf232"}},{"ruleId":"D1","level":"warning","message":{"text":"MalService._fetchAndStoreMalSessionId (cyclomatic 17): MalService._fetchAndStoreMalSessionId has cyclomatic complexity 17 (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/controllers/services/mal/mal_service.dart"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"04158c8e30b48e270679a09135f42801005bede5373749b47306eaa91f0ec8e2"}},{"ruleId":"D1","level":"warning","message":{"text":"MalService.deleteListEntry (cyclomatic 17): MalService.deleteListEntry has cyclomatic complexity 17 (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/controllers/services/mal/mal_service.dart"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cdd6c1838dbbf70967876c98bcf15da5ed17567b258071a17dca82a391c341"}},{"ruleId":"D1","level":"warning","message":{"text":"SimklApi.fetchDetails (cyclomatic 17): SimklApi.fetchDetails has cyclomatic complexity 17 (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/controllers/services/simkl/simkl_api.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bd40890acdaa99f634496ebf6751a2bb37bb21a1088c09c206bcf5bd65e014"}},{"ruleId":"D1","level":"warning","message":{"text":"LeaderboardEntry.fromMap (cyclomatic 17): LeaderboardEntry.fromMap has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/comments/model/leaderboard_entry.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe2a127995714029a498721ce068c2cc77131c5e7ec0c32dcceada183eb8016"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackedMedia.effectiveTotal (cyclomatic 17): TrackedMedia.effectiveTotal has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_media_user.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de86b28a4610867bc26b00c88f2300a2abffc3829da4bc42a8ddfaa8ccc5c68"}},{"ruleId":"D1","level":"warning","message":{"text":"AnilistNotificationItem.displayBody (cyclomatic 17): AnilistNotificationItem.displayBody has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_notification.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c7fbe7d6a9e4086b575da52de68c126c96e566372f3ab2624b46b75c2d97a0"}},{"ruleId":"D1","level":"warning","message":{"text":"Media.fromRecs (cyclomatic 17): Media.fromRecs has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f78913a19517377876b6272fe798e15f0c211207f512beed1e37d6fb3fa2e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaDetailsController._initActiveSource (cyclomatic 17): MediaDetailsController._initActiveSource has cyclomatic complexity 17 (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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4703f45de1c05bbc0e94e0023c2c99f9053b6de3714093feff7448402141b3d1"}},{"ruleId":"D1","level":"warning","message":{"text":"IosLegacyPlayerControlTheme.buildBottomControls (cyclomatic 17): IosLegacyPlayerControlTheme.buildBottomControls has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7187cccc68309b0648cb1771299bca04c1ae0df4ada0e89b05618c79a6ee5f40"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscordMarkdown._parseImgTag (cyclomatic 17): DiscordMarkdown._parseImgTag has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0caffd4ad958c737c0133bf93564d5a64251bbdcb14aee80779a54b8a42c2cd"}},{"ruleId":"D1","level":"warning","message":{"text":"_EpisodeListBuilderState.build (cyclomatic 17): _EpisodeListBuilderState.build has cyclomatic complexity 17 (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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"1420fa20fc6fa10d4edc473c45319c44cba085400477ff09f63472ebf332fd26"}},{"ruleId":"D1","level":"warning","message":{"text":"_EpisodeListBuilderState._buildHeaderCard (cyclomatic 17): _EpisodeListBuilderState._buildHeaderCard has cyclomatic complexity 17 (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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee26dc18382792b90870356fb164e4f43532195151c9806742212ea53b109e75"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadController.cancelAndRemoveTasks (cyclomatic 17): DownloadController.cancelAndRemoveTasks has cyclomatic complexity 17 (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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb7a8ec9522e2d993c76cc28ddf7903bd0a96d79933166f65adc51708e8015b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderController._updatePageStateForSpread (cyclomatic 17): ReaderController._updatePageStateForSpread has cyclomatic complexity 17 (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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1a871f5be31d7385e341c1488679468af4bcc748378f2413474c8f747f19e4"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderController.fetchImages (cyclomatic 17): ReaderController.fetchImages has cyclomatic complexity 17 (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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"01382dafc93b0f8850c6e58e631b65078b4378f946599a6793f0455ee5e47dd0"}},{"ruleId":"D1","level":"warning","message":{"text":"_MangaStatsState.build (cyclomatic 17): _MangaStatsState.build has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/manga_stats.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff97cc7d71fbfb704cf614b508001688a31710c5081191ef75f61cf76e17cd0a"}},{"ruleId":"D1","level":"warning","message":{"text":"_CompatibilityInputPageState._onUserChanged (cyclomatic 17): _CompatibilityInputPageState._onUserChanged has cyclomatic complexity 17 (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/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efbb0172535f5ccef09021d9dba4f264fc88ae2001b574eead831a205ab249d"}},{"ruleId":"D1","level":"warning","message":{"text":"_ProfileStatsTabState.build (cyclomatic 17): _ProfileStatsTabState.build has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_stats_tab.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6df7bc3e3d86523cf1f52d16776abfdc668b53551c4d17add992cd0a79324aa"}},{"ruleId":"D1","level":"warning","message":{"text":"_ProfileStatsTabState._overviewView (cyclomatic 17): _ProfileStatsTabState._overviewView has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_stats_tab.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0d011e893f705a5e3b43a7e921efc54268ebce3028935d8a123ca86f640244"}},{"ruleId":"D1","level":"warning","message":{"text":"SocialTabState.loadMore (cyclomatic 17): SocialTabState.loadMore has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/social_tab.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"55681fb1d52d2b1a9ebb66298373edb23bab08d550188eae6acc725837d423a5"}},{"ruleId":"D1","level":"warning","message":{"text":"_SearchPageState._loadMoreResults (cyclomatic 17): _SearchPageState._loadMoreResults has cyclomatic complexity 17 (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/screens/search/search_view.dart"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"8166d97cc8082126dcba9d3a66d984364d9107160856141a1f0cf6ae7f9696e4"}},{"ruleId":"D1","level":"warning","message":{"text":"_GroupFilterWidgetState.build (cyclomatic 17): _GroupFilterWidgetState.build has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b7364f961fbd5116b2dd726b6341adaa45731a68aed58ec30c835b851f0cae"}},{"ruleId":"D1","level":"warning","message":{"text":"_ExportBackupSheetState.build (cyclomatic 17): _ExportBackupSheetState.build has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9b02bf2070e27ebda3f0746dbf4fd091b6c4ea1ad1fdcd5b09c3ecc936f2d0"}},{"ruleId":"D1","level":"warning","message":{"text":"_UserStatsPageState.build (cyclomatic 17): _UserStatsPageState.build has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/stats/user_stats_page.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a806e35800866a0a3365583afe384d854125809573db7309cfab135f8ac7375"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentumService._mapCommentumToAnymeXComment (cyclomatic 17): CommentumService._mapCommentumToAnymeXComment has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"28879947fab8e5aa576d384515f18398a1bfedd1f7e93f2979212f6bb4fc50bf"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaDownloader.download (cyclomatic 17): MediaDownloader.download has cyclomatic complexity 17 (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/utils/media_downloader.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"44821c0e9f94130a129f79d8fed5b7cee568425d61746d7f309ade82658f2325"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkedAccountsBadges.build (cyclomatic 17): LinkedAccountsBadges.build has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/linked_accounts_badges.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4535c2fc0f037ed041ec67085753cf4f2d18c96ab9f611fa76f0bd9d6e3e32da"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubsamplingScaleImageViewState.didUpdateWidget (cyclomatic 17): _SubsamplingScaleImageViewState.didUpdateWidget has cyclomatic complexity 17 (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/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"eced4c4c667f4a7cda676ef8d5dc326f0ffd480feb63c543a63442d2ae9c1955"}},{"ruleId":"D1","level":"warning","message":{"text":"AppNamePackageManager.run (cyclomatic 16): AppNamePackageManager.run has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package_manager.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f642eb4e3ac0a6b3c1188375393a948c7bee6d939494e272940dce32261ef3"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscordRPCController.updateMangaPresence (cyclomatic 16): DiscordRPCController.updateMangaPresence has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/discord/discord_rpc.dart"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"34084b8d14015c7adc8e3d07099ac3cc81f730ce0f5511a61d3c8af789fbdc46"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchiumService.createRoom (cyclomatic 16): WatchiumService.createRoom has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/watchium/watchium_service.dart"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"51df5836d0f205d817c0db3acc9597e098051a2dce7dd6c1ff5782122c4b7c0f"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineMedia.displayTitle (cyclomatic 16): OfflineMedia.displayTitle has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/isar_models/offline_media.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a4b1bf7b5c3e7c947d5e504ac6cb115a19f69f7eebd68f9f02c03e2aa38a75"}},{"ruleId":"D1","level":"warning","message":{"text":"Media.fromJikan (cyclomatic 16): Media.fromJikan has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3ba01ada1bd88fcd5b05a7d09beb07f528d41187a315f898766cf2f3b2342c"}},{"ruleId":"D1","level":"warning","message":{"text":"_ListExporterPageState.build (cyclomatic 16): _ListExporterPageState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/list_exporter.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaa8f4c04e274280990d6b971748cc89db9f45b2664280a84a4072c49a99be9"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerController.initializePlayerControlsIfNeeded (cyclomatic 16): PlayerController.initializePlayerControlsIfNeeded has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da2c1b0660449e38d7f16b12272263f52c800451ac34291d911736fdf0a90e4"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeRenderer.buildBottomShit (cyclomatic 16): ThemeRenderer.buildBottomShit has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ThemeRenderer._getDynamicColor (cyclomatic 62) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24954a4e63f88c033f89aa3c171e6ceee0d0e03a4e7d3282f20879506715706"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeRenderer._slapPanelOn (cyclomatic 16): ThemeRenderer._slapPanelOn has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ThemeRenderer._getDynamicColor (cyclomatic 62) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f6012017e4bd2e4c072a6ac3eaf54789d36ea49930e7dede3ffbba80e8dc31"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaKitPlayer.initialize (cyclomatic 16): MediaKitPlayer.initialize has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/player/media_kit_player.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4492abb79f8221e610286ff013aca94c5c0981cf099855657cd43c76de5f4f5"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeStats.build (cyclomatic 16): AnimeStats.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2fc9dea380899e798bf0357a73e6962cc937004f1b48b92362002bbd8738a0"}},{"ruleId":"D1","level":"warning","message":{"text":"CharactersCarousel.build (cyclomatic 16): CharactersCarousel.build has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/voice_actor.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd27f4402fb8d24f01ef8e58557d1f6d350a47e02da7ad1809d656f9bc333a41"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadController._runEpisodeDownload (cyclomatic 16): DownloadController._runEpisodeDownload has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f90204c9c62a0883adbee0d840af3371020f3ac9719d2c83d7d221f82229403"}},{"ruleId":"D1","level":"warning","message":{"text":"_ExtensionListState._onReorder (cyclomatic 16): _ExtensionListState._onReorder has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionList.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8849663a592ac5f2a01dceeacbe0b1ee9fa19859885d1a25c89bcb01b820872c"}},{"ruleId":"D1","level":"warning","message":{"text":"_ContinuousReaderViewState._handleScaleUpdate (cyclomatic 16): _ContinuousReaderViewState._handleScaleUpdate has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dccab8110330b8cbeb8eae4b14d61c49a19d6122b7cf6f73148eaff0aa1a52"}},{"ruleId":"D1","level":"warning","message":{"text":"_GeneralPage.build (cyclomatic 16): _GeneralPage.build has cyclomatic complexity 16 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca950586851c0907de81447f31d5b5ffebb21edaeed8cb0cdff3239b7c07fc15"}},{"ruleId":"D1","level":"warning","message":{"text":"_SearchPageState._formatFilterValue (cyclomatic 16): _SearchPageState._formatFilterValue has cyclomatic complexity 16 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/search_view.dart"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec16222b6889e7a6332fe2689b8427c18a41bf2e3ca9d0756c1c5e6298468fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"_SettingsThemeState._buildModeTemplates (cyclomatic 16): _SettingsThemeState._buildModeTemplates has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_theme.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44cf0bbf22d083be1ce4967b39304fea4885bdce27a36d64599f32ee71a9a4e"}},{"ruleId":"D1","level":"warning","message":{"text":"UserStatsController.syncLibraryStats (cyclomatic 16): UserStatsController.syncLibraryStats has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/stats/controller/user_stats_controller.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfe935f2e5554a64944fee4f574241baecfd278b5518533b8ac8f3293db1147"}},{"ruleId":"D1","level":"warning","message":{"text":"CastV2Client._decodeCastMessage (cyclomatic 16): CastV2Client._decodeCastMessage has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_v2_client.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf475b0d3c259cbab21a2c670208db113f88ea4077588da2b2453d0b1ac3e2f"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentumService.createComment (cyclomatic 16): CommentumService.createComment has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"237340cbffe2cf6c3893c610183808f12bbccc520181810abfdd6811d47cefed"}},{"ruleId":"D1","level":"warning","message":{"text":"Deeplink._handleWatchiumDeepLink (cyclomatic 16): Deeplink._handleWatchiumDeepLink has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/deeplink.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aefdaf5002c03db361b768bc09be9a6ca9430ad7ca46d381cda5cd241c8068"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaSyncer.getSimklIdFromExternal (cyclomatic 16): MediaSyncer.getSimklIdFromExternal has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_syncer.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84e0999b34f70cba951a1e656734a5fd088a834305a9d1b89f3391d449a0eac"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnymeXImageState._networkImage (cyclomatic 16): _AnymeXImageState._networkImage has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_image.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"31edc6ce58fe96e7d219a54124eeb6d25f39c17631e5811e43f0c5d363347aed"}},{"ruleId":"D1","level":"warning","message":{"text":"_BigCarouselPortraitState.build (cyclomatic 16): _BigCarouselPortraitState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/carousel/themes/big_carousel_portrait.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2410102f47057624e638ddd1cac4844b13fa27f63c661868a25ca958703f55c8"}},{"ruleId":"D1","level":"warning","message":{"text":"_WatchiumCreateSheetState._joinRoom (cyclomatic 16): _WatchiumCreateSheetState._joinRoom has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_create_dialog.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"61308302da6169fdabf13733bebd7bca03a30648ef8d5b9118fa6a887048691c"}},{"ruleId":"D1","level":"warning","message":{"text":"_WatchiumPartyPopupContentState._buildMemberTrailing (cyclomatic 16): _WatchiumPartyPopupContentState._buildMemberTrailing has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_party_popup.dart"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f577bdc2c5575c6e7cdd229c0fc78d192d70cb7911ef8420632ae6fe161db6"}},{"ruleId":"D2","level":"warning","message":{"text":"TachiyomiBackupParser.parseBytes (cognitive 186): TachiyomiBackupParser.parseBytes has cognitive complexity 186 (threshold 15). Drivers by points: if/else 31 (78 pts), ternaries 35 (75 pts), loops 14 (24 pts), boolean chains 7, error handling 2 (nesting depth added 97). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3483228927d26b6b57511ae825bccf6476da9a5a37045cf83fa46f40ba9f0ca"}},{"ruleId":"D2","level":"warning","message":{"text":"DubService.fetchDubSources (cognitive 185): DubService.fetchDubSources has cognitive complexity 185 (threshold 15). Drivers by points: if/else 28 (141 pts), loops 6 (26 pts), error handling 4 (13 pts), boolean chains 5 (nesting depth added 142). 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/screens/anime/misc/dub_service.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"719adf28495073d383134665fe567a3e238eb2e14c2c6d78797135fa163201ed"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController._mergeMediaDirectory (cognitive 165): DownloadController._mergeMediaDirectory has cognitive complexity 165 (threshold 15). Drivers by points: if/else 23 (87 pts), error handling 10 (45 pts), loops 5 (19 pts), ternaries 2 (9 pts), boolean chains 5 (nesting depth added 120). 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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dce108086f4553beb2d463a833fe0206d3127d56a88b5be20da12fbc980296"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupRestoreService._applyExternalMangaAndAnime (cognitive 162): BackupRestoreService._applyExternalMangaAndAnime has cognitive complexity 162 (threshold 15). Drivers by points: if/else 31 (88 pts), loops 14 (54 pts), boolean chains 20 (nesting depth added 97). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0faea9d53c9f2b7b59839ada2a59a2389629cfe398a55ce9bf00ed05f3bf6b"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController._syncMediaFolderMeta (cognitive 153): DownloadController._syncMediaFolderMeta has cognitive complexity 153 (threshold 15). Drivers by points: if/else 29 (93 pts), ternaries 6 (27 pts), boolean chains 17, loops 4 (10 pts), error handling 2 (6 pts) (nesting depth added 95). 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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1730f5821f7e6bcd4b17b6590efe91b6d9e46edda010a8f8598d9975939634f"}},{"ruleId":"D2","level":"warning","message":{"text":"Media.fromSimkl (cognitive 142): Media.fromSimkl has cognitive complexity 142 (threshold 15). Drivers by points: if/else 40 (67 pts), ternaries 20 (37 pts), boolean chains 27, loops 3 (6 pts), error handling 3 (4 pts), match/switch 1 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eee6e49f18dde8b76b97c8b754417f4a9d8fc2b2a71f95836ffc9d7307f24d"}},{"ruleId":"D2","level":"warning","message":{"text":"_CharacterStaffSheetContentState.build (cognitive 141): _CharacterStaffSheetContentState.build has cognitive complexity 141 (threshold 15). Drivers by points: if/else 39 (79 pts), ternaries 18 (34 pts), boolean chains 16, loops 4 (8 pts), error handling 4 (nesting depth added 60). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccff038564e0482efdff3c5b80e42e798cc824bab1fd8ff5015fa4a046fc457"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController.resyncDownloads (cognitive 109): DownloadController.resyncDownloads has cognitive complexity 109 (threshold 15). Drivers by points: if/else 14 (67 pts), ternaries 3 (21 pts), loops 4 (13 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 82). 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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3956d9f18c31c763801f246da90b4b917c02b4b8fd46b36d9d11cf08efb0b278"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupRestoreService._applyBackupData (cognitive 105): BackupRestoreService._applyBackupData has cognitive complexity 105 (threshold 15). Drivers by points: if/else 28 (56 pts), loops 8 (19 pts), boolean chains 16, ternaries 4 (10 pts), match/switch 1 (4 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3de0f9db5478024d4f43a1daaa673c6d89e054bc4c9a6dec9404b8f7e72c359"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceMapper.mapMedia (cognitive 102): SourceMapper.mapMedia has cognitive complexity 102 (threshold 15). Drivers by points: if/else 36 (59 pts), boolean chains 24, ternaries 9 (13 pts), loops 3 (5 pts), error handling 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/source/source_mapper.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d4482b4bdbcb778b2c985c3fffc58fc6c5caae15c09543dd8bfe133a9bd080"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupRestoreService.getBackupInfo (cognitive 89): BackupRestoreService.getBackupInfo has cognitive complexity 89 (threshold 15). Drivers by points: if/else 13 (32 pts), boolean chains 24, ternaries 8 (23 pts), loops 3 (9 pts), error handling 1 (nesting depth added 40). 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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94fe358e5115f2cc750cd4d74a08044581d14f1dcfdafc64aa40973887ef746"}},{"ruleId":"D2","level":"warning","message":{"text":"Header.build (cognitive 89): Header.build has cognitive complexity 89 (threshold 15). Drivers by points: if/else 26 (75 pts), ternaries 3 (14 pts) (nesting depth added 60). 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/widgets/header/legacy_header.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc2f257d3ad536fc4566cf363f3ba560bb417de6c75705b6aa43003549147ad"}},{"ruleId":"D2","level":"warning","message":{"text":"KotatsuBackupParser.parse (cognitive 88): KotatsuBackupParser.parse has cognitive complexity 88 (threshold 15). Drivers by points: if/else 29 (59 pts), loops 9 (13 pts), boolean chains 8, ternaries 5 (8 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6452011234119a0a95210fc19009038d97c7d47e87b1235fada395b4c696f20"}},{"ruleId":"D2","level":"warning","message":{"text":"_BackupRestorePageState._buildImportSection (cognitive 87): _BackupRestorePageState._buildImportSection has cognitive complexity 87 (threshold 15). Drivers by points: if/else 22 (61 pts), ternaries 7 (20 pts), boolean chains 6 (nesting depth added 52). 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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59e98b37bd78b139558c9bb809d4c52f8874448d7f290c5ed723b62b50347dc"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaDetailsController._fetchContentFromSource (cognitive 85): MediaDetailsController._fetchContentFromSource has cognitive complexity 85 (threshold 15). Drivers by points: if/else 22 (53 pts), boolean chains 17, ternaries 4 (13 pts), error handling 1 (2 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"559968d348a57a343f427d956bec5363b0b734362b2da81c1d9ad8f8677bfce4"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserProfileHeaderState.build (cognitive 83): _UserProfileHeaderState.build has cognitive complexity 83 (threshold 15). Drivers by points: ternaries 28 (58 pts), if/else 12 (13 pts), boolean chains 12 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/user_profile_header.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3c360b61faf6b9b9864248c66b0c93593f2e0b198973f5d12b3fdbc1fe058b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderController.handleMouseScroll (cognitive 82): ReaderController.handleMouseScroll has cognitive complexity 82 (threshold 15). Drivers by points: if/else 32 (75 pts), boolean chains 6, ternaries 1 (nesting depth added 43). 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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1126655c3bf34dc93ea6dff59dd08bce4cb7992c084401059c8149839072e51c"}},{"ruleId":"D2","level":"warning","message":{"text":"Media.fromJson (cognitive 79): Media.fromJson has cognitive complexity 79 (threshold 15). Drivers by points: if/else 23 (37 pts), ternaries 24, boolean chains 18 (nesting depth added 14). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6422632af68ffd344b5e6dca230d720214fc4bf58a19c06efa30aadb4c9c6c08"}},{"ruleId":"D2","level":"warning","message":{"text":"_VisualsPopupState._saveImage (cognitive 78): _VisualsPopupState._saveImage has cognitive complexity 78 (threshold 15). Drivers by points: if/else 19 (58 pts), error handling 5 (15 pts), boolean chains 5 (nesting depth added 49). 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/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fee9b38298bbf9e06ad04dc259ccbd7ae6cf2fa6a3b0b347f49b2c54936643c"}},{"ruleId":"D2","level":"warning","message":{"text":"_FullscreenImageViewerState._saveImage (cognitive 78): _FullscreenImageViewerState._saveImage has cognitive complexity 78 (threshold 15). Drivers by points: if/else 19 (58 pts), error handling 5 (15 pts), boolean chains 5 (nesting depth added 49). 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/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f944ca1e9ec4f68805e2f7e7b8d21127c9bcb29f1d8e6d3d23d03ccc0c733b20"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistData.fetchFilterData (cognitive 76): AnilistData.fetchFilterData has cognitive complexity 76 (threshold 15). Drivers by points: if/else 21 (58 pts), ternaries 14, boolean chains 3, error handling 1 (nesting depth added 37). 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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"85631e1787f403048b927d9c2cccc7a8cd2b983b2d854b4a8ee5268523e959ba"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupRestoreService.exportBackupToExternal (cognitive 75): BackupRestoreService.exportBackupToExternal has cognitive complexity 75 (threshold 15). Drivers by points: if/else 20 (51 pts), ternaries 3 (11 pts), error handling 2 (5 pts), boolean chains 4, loops 1 (4 pts) (nesting depth added 45). 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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b51789bfd37f1768860872edc27c54b9560828c24f598cb53d3009453a3deb"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackedMedia.effectiveProgress (cognitive 75): TrackedMedia.effectiveProgress has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 9 (29 pts), if/else 11 (23 pts), boolean chains 17, loops 2 (6 pts) (nesting depth added 36). 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/models/Anilist/anilist_media_user.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4241996a56f623fd994e6641e115830947c46892a75d70b3f640996c575a423"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeTheme.fromJson (cognitive 74): AnimeTheme.fromJson has cognitive complexity 74 (threshold 15). Drivers by points: if/else 15 (63 pts), boolean chains 6, ternaries 2 (4 pts), error handling 1 (nesting depth added 50). 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/models/animethemes/anime_theme.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cdcba4c23c17a4ae952095697e15b63e77cb8d63ab6e01711e59e1d5d2a2b8"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController._onForegroundReceiveData (cognitive 71): DownloadController._onForegroundReceiveData has cognitive complexity 71 (threshold 15). Drivers by points: if/else 21 (65 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 45). 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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3d3c60b0e987ee438ab74cce454549b84e2a5dbe704e2d6360654265bdcc42"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController._consolidateDownloads (cognitive 71): DownloadController._consolidateDownloads has cognitive complexity 71 (threshold 15). Drivers by points: if/else 9 (42 pts), loops 4 (14 pts), error handling 3 (12 pts), boolean chains 3 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1b34544c6aeee59eeb1739b44997d04de7e22c21098b94ae63d8dee0e55b47"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateManager.checkForUpdates (cognitive 70): UpdateManager.checkForUpdates has cognitive complexity 70 (threshold 15). Drivers by points: if/else 18 (64 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 47). 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/utils/updater.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b23f2382cbaa8ac3b8a24414c851d0403430aec395b91b98e44b55626f3019"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistApi.getStaffDetails (cognitive 67): AnilistApi.getStaffDetails has cognitive complexity 67 (threshold 15). Drivers by points: if/else 17 (61 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 45). 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/controllers/services/anilist/anilist_api.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"789788fe0e2ab33a592b6fe5ac6d61dec1341c71a85edb2e8b14d2a4d04b3e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._bindPlayerStreams (cognitive 65): PlayerController._bindPlayerStreams has cognitive complexity 65 (threshold 15). Drivers by points: if/else 38 (45 pts), boolean chains 13, loops 3 (4 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6f16398b29c6bbd77a40a159decd11a45b193e3b73605cf84ef0779fa6006f"}},{"ruleId":"D2","level":"warning","message":{"text":"Media.fromFullMAL (cognitive 61): Media.fromFullMAL has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 21, ternaries 13 (16 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d796d1b448aeae406c48952142fff4d30cb1c62608ea603c57b532d69cbe5eb5"}},{"ruleId":"D2","level":"warning","message":{"text":"MangaAnimeUtil.getNextChapterPrediction (cognitive 61): MangaAnimeUtil.getNextChapterPrediction has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (44 pts), loops 3 (6 pts), error handling 2 (5 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/anime_adaptation_util.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7955f7e74c23a63f938a1c17984026a2956061634f50179988adc831aa4038"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupRestoreService.restoreBackup (cognitive 60): BackupRestoreService.restoreBackup has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 9 (27 pts), if/else 10 (21 pts), boolean chains 8, error handling 2 (4 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5967a70d13130131d21cf2dbf5627e642c068e560ec288cb29cdd26d077e46"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubsamplingImageProviderState.build (cognitive 60): _SubsamplingImageProviderState.build has cognitive complexity 60 (threshold 15). Drivers by points: if/else 23 (54 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 33). 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/widgets/subsampling_scale_image_view/subsampling_image_provider.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fe2765ab8391b82a372771d39d45c0e1b1a6cc03319502f2301d1b5282dfff"}},{"ruleId":"D2","level":"warning","message":{"text":"_CommentsRepliesSheetState._buildCommentCard (cognitive 57): _CommentsRepliesSheetState._buildCommentCard has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 17 (26 pts), boolean chains 16, if/else 13 (15 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c909d5627da18b473051b9d7aa01b5b91b704849cef6839520877ec17cb60fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaHeader.build (cognitive 56): MediaHeader.build has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 22 (23 pts), if/else 15 (17 pts), boolean chains 14, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anime/media_header.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a581cd692f0975bb6f74c8d9a33f4fd3a3e7efa9736c26d5311b058ba8417ba0"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaDetailsController._initOfflineAndTrackedData (cognitive 55): MediaDetailsController._initOfflineAndTrackedData has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (31 pts), ternaries 5 (11 pts), boolean chains 10, loops 1 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"287cedd2e2ad0f8cbb777de735d7dfd2600f227214bb903713fa291cc126ed53"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnilistAboutMeState.build (cognitive 55): _AnilistAboutMeState.build has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (44 pts), loops 2 (7 pts), ternaries 3, match/switch 1 (nesting depth added 29). 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/utils/al_about_me.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a276129e17813b9c823f3f759b85e16e9c0072e64ccd3718195534200520bd76"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadedMediaViewState._buildContinueFab (cognitive 54): _DownloadedMediaViewState._buildContinueFab has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (35 pts), boolean chains 19 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fd26990e348fd8f1afa6bd0660f34e5b65d7c07e3a08b537defd5e1a264b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"Media.fromMAL (cognitive 53): Media.fromMAL has cognitive complexity 53 (threshold 15). Drivers by points: boolean chains 20, if/else 14 (17 pts), ternaries 13 (16 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a946c6f21ade1d842c312fdd78e4aa60a82d890214901b8b83b0684d41ce1d"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaDetailsPageState._buildContinueButton (cognitive 53): _MediaDetailsPageState._buildContinueButton has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 13, ternaries 8 (13 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/media_details_page.dart"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f4beda57e96d9320115144062193e52d2d3fa06e5a92890f91366007b31e40"}},{"ruleId":"D2","level":"warning","message":{"text":"_WrongTitleModalState.build (cognitive 53): _WrongTitleModalState.build has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 15 (35 pts), if/else 9 (15 pts), boolean chains 3 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/wrongtitle_modal.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9134b8ef5904e24c2d42a5750da9bc6c1435c4e59d8932b85156eb373ef2426a"}},{"ruleId":"D2","level":"warning","message":{"text":"_RestorePreviewSheetState._buildGroupedOptions (cognitive 53): _RestorePreviewSheetState._buildGroupedOptions has cognitive complexity 53 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 12, ternaries 5 (9 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9045d07071b0dd571c1ef38e3716e019d63b08755822f1d2bf3182410ba2d4a"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityComposerSheetState._buildFormatButton (cognitive 52): ActivityComposerSheetState._buildFormatButton has cognitive complexity 52 (threshold 15). Drivers by points: if/else 17 (33 pts), ternaries 5 (9 pts), boolean chains 7, loops 1 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f04edfbac6d73aead076eeaee612fdee04cf1bc2b0e4dd21821eb669f2aec4e"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaDetailsController.getContinueChapter (cognitive 51): MediaDetailsController.getContinueChapter has cognitive complexity 51 (threshold 15). Drivers by points: boolean chains 25, if/else 12 (23 pts), ternaries 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca956e0438928f4eb834030597c791cbd2f095efb889dcfb86281980eb5314e"}},{"ruleId":"D2","level":"warning","message":{"text":"_RecommendSheetState._buildAlreadyAdded (cognitive 51): _RecommendSheetState._buildAlreadyAdded has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (24 pts), ternaries 10 (20 pts), boolean chains 7 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c12fe2eee3fc70e1ed3bc00a5327c08020b297bcb7e9e315142bb3871461ac6"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivity.configureFlutterEngine (cognitive 51): MainActivity.configureFlutterEngine has cognitive complexity 51 (threshold 15). Drivers by points: if/else 20 (30 pts), error handling 5 (14 pts), match/switch 4, boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/ryan/anymex/MainActivity.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cc7b59a2e7c1b31ca18f19622e933bb492c14859fdd1497bb412b49d6e781b"}},{"ruleId":"D2","level":"warning","message":{"text":"KvHelper.get (cognitive 50): KvHelper.get has cognitive complexity 50 (threshold 15). Drivers by points: if/else 24 (45 pts), boolean chains 5 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/kv_helper.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b75e08a1094054d6afe6c6bbad6c16b3cb88180333e809ed6e36255ae185d83"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistAuth.deleteMediaFromList (cognitive 48): AnilistAuth.deleteMediaFromList has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 5, ternaries 2 (5 pts), error handling 2 (4 pts) (nesting depth added 25). 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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2d063ddd823142a2a48aa58ac026de8281e9187a2bd021e23bea424805555a"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnymeXExpansionTileState.build (cognitive 48): _AnymeXExpansionTileState.build has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (32 pts), ternaries 9 (11 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_expansion_tile.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dccd5656fd1995d6189de5278a875b76893fa4c2b9b8aa15ee82a7edc1aa04b"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityComposerSheetState.build (cognitive 48): ActivityComposerSheetState.build has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 20 (31 pts), if/else 11 (12 pts), boolean chains 5 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"072348ece6a97cd3bc14769b48327295e26e860d395a8e60e08b5323ea8b5c42"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaDetailsPageState.build (cognitive 47): _MediaDetailsPageState.build has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 16 (19 pts), if/else 12 (18 pts), boolean chains 10 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/media_details_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce32cedb84b39179362217937d7806888bf8de21da2a3a9d8362f18abe481ef"}},{"ruleId":"D2","level":"warning","message":{"text":"AnymeXTileBuilder.build (cognitive 47): AnymeXTileBuilder.build has cognitive complexity 47 (threshold 15). Drivers by points: if/else 20 (30 pts), ternaries 9 (16 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_tile_builder.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c4bb99d90be17bb1b62c9cf9567d8877c92e4c2f618351aaa1524fcddf0a68"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaModeSelector.build (cognitive 47): MediaModeSelector.build has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 15 (27 pts), if/else 11 (18 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/media_mode_selector.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f30c21fa414e0c6238bc37af58fb6d719dc9c5d6658c75ea35f39d0f54c2af"}},{"ruleId":"D2","level":"warning","message":{"text":"CookieManager.parseSingleCookie (cognitive 46): CookieManager.parseSingleCookie has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (27 pts), match/switch 3 (8 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/network/cookie_manager.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe1292b0aa15991a960946445e2fec6ee1f9bd5b01c117dbbe47edb7af93f21"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomControls._buildLayout (cognitive 46): BottomControls._buildLayout has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 10 (16 pts), boolean chains 6, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f297a65939cad802411580597c7c3aadaf4f70f28832e30aa30ba669c782aa86"}},{"ruleId":"D2","level":"warning","message":{"text":"_ReaderPageActionsSheet._savePage (cognitive 46): _ReaderPageActionsSheet._savePage has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (34 pts), error handling 3 (8 pts), boolean chains 4 (nesting depth added 27). 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/screens/manga/widgets/reader/reader_page_actions_dialog.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"695c87ac6bfe3597e4b724ace99051228779f1decbd033b5d8e8053ca8a29d55"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsExtensionManagerState._buildPluginStatusCard (cognitive 46): _SettingsExtensionManagerState._buildPluginStatusCard has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 24 (27 pts), boolean chains 11, if/else 6 (8 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_extension_manager.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3203521f498e8594e00281ca8bf3e27ea0ec9d326a82bf456da1e3df321aea1"}},{"ruleId":"D2","level":"warning","message":{"text":"CompatibilityController.runMatch (cognitive 45): CompatibilityController.runMatch has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 16, ternaries 2 (4 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/compatibility_controller.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae501f8cfb9b166f76c5f77931a8aafc739960e04025bd64fe863ba7e46d90fb"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController.cancelAndRemoveTasks (cognitive 45): DownloadController.cancelAndRemoveTasks has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (28 pts), error handling 2 (8 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 28). 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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"9275d140882909fc2ff108a896da7d80f9686e7f5a2887438ea8f5250f1d4eb4"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistData._paintCached (cognitive 44): AnilistData._paintCached has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (43 pts), error handling 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"62404b5ba5043122676f8bb4074343cbaf7ab95c4fb103697ead2dd438227b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"Character.fromJson (cognitive 44): Character.fromJson has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (30 pts), boolean chains 10, loops 1 (3 pts), ternaries 1 (nesting depth added 20). 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/models/Media/character.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ea44471074eced2b126fecc43cbbd41012daf9b55a1c34f67b76a109e5b064"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._loadLocalSubtitles (cognitive 44): PlayerController._loadLocalSubtitles has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 6, ternaries 2 (6 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 22). 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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"318470f10bb87aa3eaea154e1d05cb8412a991084186f45c13f882e96dd9242c"}},{"ruleId":"D2","level":"warning","message":{"text":"_ActiveDownloadsState._buildChildTaskCard (cognitive 44): _ActiveDownloadsState._buildChildTaskCard has cognitive complexity 44 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 9, ternaries 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc42dfa2c5e6db7f1f230924a9dae47c693a0ec6a5447c41fb3bbf495c5021c4"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineStorageController.addMedia (cognitive 43): OfflineStorageController.addMedia has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 15, ternaries 3 (9 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6ac785c018be43a60274dd78497898013762f4ee82efaae16143332dafa1ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistAuth.updateListEntry (cognitive 43): AnilistAuth.updateListEntry has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (29 pts), ternaries 3 (8 pts), boolean chains 5, error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8540eba51a3fb5d19819be3a9af14b60a870dc66c12ab5fac7b80ab27f7a1701"}},{"ruleId":"D2","level":"warning","message":{"text":"MalService._fetchAndStoreMalSessionId (cognitive 43): MalService._fetchAndStoreMalSessionId has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (36 pts), boolean chains 3, loops 1 (3 pts), error handling 1 (nesting depth added 27). 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/controllers/services/mal/mal_service.dart"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba9269b23cc43adfeaef05cb76bd6a91a0b8b104dcd2b95aea01d9b01a8bfaa"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserSearchSheetState.build (cognitive 43): _UserSearchSheetState.build has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 20 (23 pts), boolean chains 10, if/else 8 (10 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec515e94c2c95e9627fb9ff47a362327c1b84c5541145d516628c740bef97785"}},{"ruleId":"D2","level":"warning","message":{"text":"AnymeXSectionBuilder.build (cognitive 43): AnymeXSectionBuilder.build has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (30 pts), ternaries 6 (9 pts), boolean chains 3, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_section_builder.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f282ea2e46d812f70370ecf0eaaf3089223b183f8c001fc89e51a13ffb0ee58d"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineStorageController.addOrUpdateAnime (cognitive 42): OfflineStorageController.addOrUpdateAnime has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 16, ternaries 3 (9 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9da3103898769cdd240f8e72370f5966c6399da08fe00980f057ff24b39115"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderController._performFinalSave (cognitive 42): ReaderController._performFinalSave has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (26 pts), boolean chains 10, ternaries 1 (5 pts), error handling 1 (nesting depth added 21). 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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b4af7de1e6d636f40578c09ec56991ca3ff221e91f691b40277bcdbfdcca0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderSettings.showSettings (cognitive 42): ReaderSettings.showSettings has cognitive complexity 42 (threshold 15). Drivers by points: match/switch 8 (13 pts), ternaries 7 (13 pts), if/else 9, boolean chains 4, loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/settings_view.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"974bfb04c61d207d5e38a080e3e7d79deee38b760a640ec58b30fc78b673d350"}},{"ruleId":"D2","level":"warning","message":{"text":"_SearchPageState._performSearch (cognitive 42): _SearchPageState._performSearch has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 11, ternaries 2 (4 pts), loops 1 (2 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/search_view.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3048edaa78b1d81f3a26bbf2b64da407be120fb1408dcd6bf9e6de9b3a20bbe6"}},{"ruleId":"D2","level":"warning","message":{"text":"_ChapterListBuilderState.build (cognitive 41): _ChapterListBuilderState.build has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 9 (21 pts), if/else 14 (20 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cc206c3ed30503b57d06cafe92c2171266259ae6edd475b7c7eee80cb7e3b4"}},{"ruleId":"D2","level":"warning","message":{"text":"SocialTabState.loadMore (cognitive 41): SocialTabState.loadMore has cognitive complexity 41 (threshold 15). Drivers by points: loops 6 (20 pts), if/else 8 (18 pts), boolean chains 2, error handling 1 (nesting depth added 24). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/social_tab.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31cddd9263fb3c80aa189cb2263b3d7f436582b45bca5d05635d9bcd1b48a2f"}},{"ruleId":"D2","level":"warning","message":{"text":"UserStatsController.syncLibraryStats (cognitive 41): UserStatsController.syncLibraryStats has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 2 (5 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/stats/controller/user_stats_controller.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1580bc4c839e3dd15c369578d0a2bd6954f0b006782c6e04cdf67d530d319d9"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineStorageController.addOrUpdateManga (cognitive 40): OfflineStorageController.addOrUpdateManga has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 16, if/else 9 (15 pts), ternaries 3 (9 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (OfflineStorageController.addOrUpdateNovel) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"717a302b82f84648f19b44ae638d0dc1d710088b632ca1c209305dc93bd74716"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineStorageController.addOrUpdateNovel (cognitive 40): OfflineStorageController.addOrUpdateNovel has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 16, if/else 9 (15 pts), ternaries 3 (9 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (OfflineStorageController.addOrUpdateManga) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c0c787bd996bd2c86c763248cbe06e6a3cfc3724b606fa94fff6f94fc18d8b"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupRestoreService.pickBackupFile (cognitive 40): BackupRestoreService.pickBackupFile has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 7, error handling 2 (5 pts), ternaries 1 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc29a872aa74f42525b712fe8a57abde55c2da4374dcf77014d43004cd1798a"}},{"ruleId":"D2","level":"warning","message":{"text":"SimklService.updateListEntry (cognitive 40): SimklService.updateListEntry has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 6 (17 pts), if/else 7 (14 pts), boolean chains 5, loops 1 (3 pts), error handling 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"083116759dc6231a47951f7ee36c23e9c2f9f7be24cbca0c0edc53f376256457"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadScreenState._buildEpisodeStep (cognitive 40): _DownloadScreenState._buildEpisodeStep has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (19 pts), ternaries 14 (15 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/download_screen.dart"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ec1c743ecfe14e2de7e325f5fb95a95fe34e083ebead8c565a3cab3386685a"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadedMediaViewState._syncBoundTrackersAfterPlay (cognitive 40): _DownloadedMediaViewState._syncBoundTrackersAfterPlay has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 10, loops 2 (6 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"3566e89766800d2f6a1bf619b8b96388d75025425628f5d4ee16142823a37fc7"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderController._onPositionChanged (cognitive 40): ReaderController._onPositionChanged has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (30 pts), boolean chains 9, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0ef588522dda071ba7e846da2b34b44904cbaa5a90df0d91588fbe64eb7057"}},{"ruleId":"D2","level":"warning","message":{"text":"_FuturisticFilterSheetState._loadCurrentFilters (cognitive 40): _FuturisticFilterSheetState._loadCurrentFilters has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/search_widgets.dart"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6753ff5d6bee263ba635f3d772e2b7a3d16f2b735b9cf8a116ff376d9a3f9c39"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistAuth.fetchUserMediaList (cognitive 39): AnilistAuth.fetchUserMediaList has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 2 (7 pts), boolean chains 2, error handling 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabc9997c9a331adddcb074f25440cd064cb358985334ed9f26f91ac7951b3f3"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._trackOnline (cognitive 39): PlayerController._trackOnline has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 5 (12 pts), boolean chains 9, error handling 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":3050}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b359b26f32f528cc6096bebf79a36835c49a89b1268449565ca33ef7e23180"}},{"ruleId":"D2","level":"warning","message":{"text":"_ControlButtonState.build (cognitive 39): _ControlButtonState.build has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 38, if/else 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/control_button.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5782a98d86591e10b60c9060879a1c03c4254d4312abfe8f13aed8c69ecd73"}},{"ruleId":"D2","level":"warning","message":{"text":"_EpisodeListBuilderState.build (cognitive 39): _EpisodeListBuilderState.build has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (26 pts), ternaries 5 (12 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bd5852a0ac0bc4e70d7d1eb419ef5da3f76bf19be54b9fd5f2fbd330f2c17b"}},{"ruleId":"D2","level":"warning","message":{"text":"_HomePageState._buildNewEpisodesSection (cognitive 39): _HomePageState._buildNewEpisodesSection has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 12, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home_page.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8383ba203c27bc552434a22f477b5281bf351dcdb7d28129c170c3b79eb51967"}},{"ruleId":"D2","level":"warning","message":{"text":"_ContinuousReaderViewState._handleScaleUpdate (cognitive 39): _ContinuousReaderViewState._handleScaleUpdate has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (19 pts), error handling 4 (16 pts), ternaries 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a32b9878eff7ecad31f07e84739c1bacf68f38f899c557ee656bd6f4c6e6bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"SocialTabState.build (cognitive 39): SocialTabState.build has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (26 pts), ternaries 7 (10 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/social_tab.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce8ad9884946dc7c740297994cd137e4d8ca0000bced4ae2870299727f89565"}},{"ruleId":"D2","level":"warning","message":{"text":"_FuturisticFilterSheetState._applyFilters (cognitive 39): _FuturisticFilterSheetState._applyFilters has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (30 pts), ternaries 7, boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/search_widgets.dart"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"faafa0a3a3021db6134ee49c6fc0beca4d9f30ada149130b36b4afb64b820583"}},{"ruleId":"D2","level":"warning","message":{"text":"Matchmaker._computeReleaseYearOverlap (cognitive 39): Matchmaker._computeReleaseYearOverlap has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 8 (20 pts), boolean chains 10, if/else 5 (8 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/compatibility/matchmaker.dart"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4c934c8d7ee64cb6c8cfed73b907f321bcf17167d23cbba41d415f03af0732"}},{"ruleId":"D2","level":"warning","message":{"text":"AnymeXSheet.build (cognitive 39): AnymeXSheet.build has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 8, ternaries 3 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_bottomsheet.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbedfc57b2d63c2a5879771f1afa484e4c73a74e74c283f9a8297412224f6d04"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistData.anilistSearch (cognitive 38): AnilistData.anilistSearch has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (24 pts), ternaries 5 (8 pts), boolean chains 5, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffef81155d30c2520719282ed80be313ec8fda6177543a998f99cab5aff7464"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupFormatDetector.detectFromBytes (cognitive 38): BackupFormatDetector.detectFromBytes has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 15, if/else 5 (13 pts), error handling 4 (10 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_format_detector.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"df62d9e7244f38f5c9298ae6604980b63d97b7dee307936048c34cb4d41ab588"}},{"ruleId":"D2","level":"warning","message":{"text":"Media.fromSmallJson (cognitive 38): Media.fromSmallJson has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 20, boolean chains 13, if/else 5. 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/models/Media/media.dart"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e3ee1b661ef177f743452275fa834c9d2d391e4ec9550db54800b69efe6995"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserProfilePageState._buildBody (cognitive 38): _UserProfilePageState._buildBody has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 15 (18 pts), boolean chains 11, if/else 9 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/user_profile_page.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"263572e63cfcceb3b3a421719259ce3727747e31a1d7caafc09127dfe3c026c6"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileProfileHeaderSliver.build (cognitive 38): MobileProfileHeaderSliver.build has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 9 (15 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_header.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca371277c3655321ed237af10589283366d05210569bba644372faa086f468cc"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsPerformanceState.build (cognitive 38): _SettingsPerformanceState.build has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 11, ternaries 6 (10 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_performance.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef08278641afee7b9b70782e5dd0378e71aaaad0076fe963c7c699c13ef4ab97"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserStatsPageState._buildHeatmapSection (cognitive 38): _UserStatsPageState._buildHeatmapSection has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 7, ternaries 4, loops 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/stats/user_stats_page.dart"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"1520fde13c2d87915a189fa657b4a7a61644f9b7656a4051fca595eebbc0b724"}},{"ruleId":"D2","level":"warning","message":{"text":"_RecommendSheetState._userHasReason (cognitive 38): _RecommendSheetState._userHasReason has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 8, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_RecommendSheetState._findUserReason) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"280489c604198bcbce344acf0e9d33d40f0dc16e97d2d7983c6333eb1a072d82"}},{"ruleId":"D2","level":"warning","message":{"text":"_RecommendSheetState._findUserReason (cognitive 38): _RecommendSheetState._findUserReason has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 8, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_RecommendSheetState._userHasReason) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ad06c4b626178071f4e8abe4ad5bf856c45b35f0ad10fd6cdfc0fb591024a3"}},{"ruleId":"D2","level":"warning","message":{"text":"MalService.homeWidgets (cognitive 37): MalService.homeWidgets has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 16 (32 pts), if/else 2 (3 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/mal/mal_service.dart"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae38986b545cb77e5ccbfa4366091612d4433341795fe07304b2431ec1f54a08"}},{"ruleId":"D2","level":"warning","message":{"text":"SimklService.getEpisodesBySeason (cognitive 37): SimklService.getEpisodesBySeason has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 5 (16 pts), if/else 7 (13 pts), boolean chains 4, loops 1 (3 pts), error handling 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"f749a63e03682b8427130fb78af53806e184eef5a6b7856b6fa38c3626a0e1c1"}},{"ruleId":"D2","level":"warning","message":{"text":"SimklService.updateListEntryFromExternalId (cognitive 37): SimklService.updateListEntryFromExternalId has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 6, loops 1 (4 pts), ternaries 1 (4 pts), error handling 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a811271d0d99bec1434b00057cfb4dce908360c27b052333cc672f3fd6ed66ee"}},{"ruleId":"D2","level":"warning","message":{"text":"_CommentSectionState._buildCommentItem (cognitive 37): _CommentSectionState._buildCommentItem has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 8 (11 pts), boolean chains 8 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd3f7fbda3c6743b74cf7ec887c7ad6987a704f759e0d74b17112b413f29a01"}},{"ruleId":"D2","level":"warning","message":{"text":"_ActiveDownloadsState._buildMediaExpandableCard (cognitive 37): _ActiveDownloadsState._buildMediaExpandableCard has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 29, if/else 5 (6 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc0d66f24af73ae2f0aee6e453837ee491d1805cf379c91cf4810893ceffbda"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserProfileAppBarState.build (cognitive 37): _UserProfileAppBarState.build has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 11 (15 pts), if/else 12, boolean chains 10 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/user_profile_app_bar.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e50b5c2714f1377f51223884ea66b93ecf5a875ce035a04007358af319a9ee"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumPageState._buildRoomCard (cognitive 37): _WatchiumPageState._buildRoomCard has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 10 (17 pts), if/else 13 (14 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d0694e224f126e0414f4a1ea8246b5dff7b626e95c41632f00e5d3770fb115"}},{"ruleId":"D2","level":"warning","message":{"text":"SimklService._paintCached (cognitive 36): SimklService._paintCached has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (35 pts), error handling 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d1937e2efa56393846dc9c9752befe7e3cd8cdd420ef671ca5fdd36724dcb0"}},{"ruleId":"D2","level":"warning","message":{"text":"_SyncSubsContentState._buildCueViewer (cognitive 36): _SyncSubsContentState._buildCueViewer has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 9 (12 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/sync_subs_popup.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1ae1f28efe3f77220c3b7a0672c878984927097a754ab7dabdf4b3bdcf18dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderController.fetchImages (cognitive 36): ReaderController.fetchImages has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (25 pts), boolean chains 6, ternaries 2 (4 pts), error handling 1 (nesting depth added 18). 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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f18d10a1eee36ab4d4b4baa6c75f7afafc1c33933403ca7717d4cd9e1f6a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProfilePageState._buildBody (cognitive 36): _ProfilePageState._buildBody has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 15 (18 pts), boolean chains 11, if/else 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/profile_page.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"74861c174fe5f5d0fe5c7abd5abe234e5c62523b6acb1b57c3507c65af683635"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistNotificationService.pollNotifications (cognitive 36): AnilistNotificationService.pollNotifications has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (21 pts), ternaries 2 (8 pts), boolean chains 3, loops 1 (3 pts), error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/anilist_notification_service.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4322e226c35e150c95071064cce4fe29a3dac54771ee237e505b25ac2dd10917"}},{"ruleId":"D2","level":"warning","message":{"text":"_MentionAutocompleteState._searchUsers (cognitive 35): _MentionAutocompleteState._searchUsers has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 7, loops 2 (6 pts), error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/mention_autocomplete.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dec876fb05e2bea648fe88b2bcf1818c1f5f4699ee53c9c81c0a33ce0a26f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderController.loadNextChapterInline (cognitive 35): ReaderController.loadNextChapterInline has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 2 (6 pts), ternaries 2 (5 pts), boolean chains 4, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bed38aa271480fcf416f7fec05abc88f308fa6b90296a969ebfd0708d471a3"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompatibilityResultPageState._buildSectionGrid (cognitive 35): _CompatibilityResultPageState._buildSectionGrid has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cd6ea2a6131f106470acb5d3b339c1cc012d3c69b2c1a36c781a522b89771b"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumPageState._joinByCode (cognitive 35): _WatchiumPageState._joinByCode has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (27 pts), ternaries 2 (6 pts), boolean chains 1, error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f87a461b6f5bb7cdd61f50f9fe68e1ba12143128ed515b6791895810e8fd22"}},{"ruleId":"D2","level":"warning","message":{"text":"_BakedBlurImageState._requestBackdrop (cognitive 35): _BakedBlurImageState._requestBackdrop has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 13 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/baked_blur_image.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"373488391568e7d85dc6f41dd2380baff9778e711f053d0de53405a693d14398"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubsamplingScaleImageViewState._loadFromProvider (cognitive 35): _SubsamplingScaleImageViewState._loadFromProvider has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (31 pts), error handling 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfddfb29ab3918f1a03df1e64402ec1a4b348d93427e5124aeae1619550b0ff"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupRestoreService._restoreRuntimeHost (cognitive 34): BackupRestoreService._restoreRuntimeHost has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 2 (6 pts), boolean chains 2, error handling 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c95df1d6511f5dbd4eb99eb4c3273ab9c90911037ca913225213a9c93654d2"}},{"ruleId":"D2","level":"warning","message":{"text":"_GridAnimeCardState.build (cognitive 34): _GridAnimeCardState.build has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 9 (14 pts), boolean chains 5 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e725dd76225204fdddad92da54bf728a9a0da7a152cae6265fdac22ad31abd1"}},{"ruleId":"D2","level":"warning","message":{"text":"_SearchPageState._buildFilterChips (cognitive 34): _SearchPageState._buildFilterChips has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (14 pts), loops 4 (11 pts), boolean chains 6, ternaries 1 (3 pts) (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/search_view.dart"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"639b4418db4925d1562b607b0fe3267204f4b5bec0425e859c82a38a1cb42b78"}},{"ruleId":"D2","level":"warning","message":{"text":"AnymeXTile.build (cognitive 34): AnymeXTile.build has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 19 (23 pts), if/else 5 (6 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d86deb936037fce4baba4888d07ae6c60bc1164da19fa3fc5715619fa529a9"}},{"ruleId":"D2","level":"warning","message":{"text":"_LogoAnimationPreviewDialogState._showAddCustomLogoDialog (cognitive 34): _LogoAnimationPreviewDialogState._showAddCustomLogoDialog has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 7 (12 pts), error handling 3 (5 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cefab89527fcf2a33f6188b2389a21a78b1cf721fa089eb6091e05fad9bae05"}},{"ruleId":"D2","level":"warning","message":{"text":"_ActivityCardState.build (cognitive 34): _ActivityCardState.build has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (21 pts), ternaries 6 (7 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_card.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8ed5778ead6d100e16cbbb2757d9a048fa361b369d2a4f1c9db57c4ee8086b"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubsamplingScaleImageViewState.build (cognitive 34): _SubsamplingScaleImageViewState.build has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 10, if/else 6 (9 pts), match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"797d27a884d1455faad72b24be6c537b9e162ce498ea7ed235157416a4a11028"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordRPCController.updateAnimePresence (cognitive 33): DiscordRPCController.updateAnimePresence has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 8, ternaries 2 (6 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/discord/discord_rpc.dart"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"497a8f83b57e9437b62a1ba68946db1af0b7d153c8148227fd599f65adf39f13"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistData.fetchAnilistMangaPage (cognitive 33): AnilistData.fetchAnilistMangaPage has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (33 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"e860ab77adf71745eb6002934d83ffd626cddbe8cca06768c5e3f3fdc7985bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"SimklApi.fetchDetails (cognitive 33): SimklApi.fetchDetails has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 3 (7 pts), boolean chains 6, error handling 2 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/simkl/simkl_api.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0ee1c0067c53ef049ec6e68b31ac1f59c3a75ab8c991199bff012914d6e8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeRenderer._buildTitleAreaThing (cognitive 33): ThemeRenderer._buildTitleAreaThing has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 3, loops 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f710e0a9e200deff95da3665ea96150a207be66d7e9d9d0aa23014ada4b489e5"}},{"ruleId":"D2","level":"warning","message":{"text":"_GifPickerSheetState._fetchTrending (cognitive 33): _GifPickerSheetState._fetchTrending has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (21 pts), ternaries 2 (6 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_GifPickerSheetState._searchGifs) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dc7e1bce0bf9f86d1f5fc8d35b7aadaf0808ffd1276eacb573a7dfafdcc62e"}},{"ruleId":"D2","level":"warning","message":{"text":"_GifPickerSheetState._searchGifs (cognitive 33): _GifPickerSheetState._searchGifs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (21 pts), ternaries 2 (6 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_GifPickerSheetState._fetchTrending) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a302189342d0d9b97e8e7faf3b16e1799ecdd742448c91587fb0d4d90752782b"}},{"ruleId":"D2","level":"warning","message":{"text":"_EpisodeListBuilderState._buildHeaderCard (cognitive 33): _EpisodeListBuilderState._buildHeaderCard has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 6 (11 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd799102138bfe2b851289eaf936505ccd52d4109e6fbf2886b24938c3048ae"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalSourceController._requestPermission (cognitive 33): LocalSourceController._requestPermission has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (30 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 20). 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/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"219a52c7600cbd043a0f8c4077493cb211c9b6066d4b97d1b1b71c7851d79093"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsUiDetailsState._buildLivePreviewCard (cognitive 33): _SettingsUiDetailsState._buildLivePreviewCard has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 14 (21 pts), if/else 8 (9 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"593fab95cce84e78c32f556bb18df59f1e2ad9ac13a9d7e2a03a7f715aa8854a"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaSyncer.getSimklIdFromExternal (cognitive 33): MediaSyncer.getSimklIdFromExternal has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 2 (9 pts), boolean chains 3, error handling 1 (nesting depth added 18). 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/utils/media_syncer.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e44bdbc3b0112534cb5ebf9af47b68420b3ef464e6cc98996b1d57e8defb2d"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProfilePageState._buildOverviewTab (cognitive 32): _ProfilePageState._buildOverviewTab has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 10, if/else 9 (10 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/profile_page.dart"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede7fdd90f966c5cdc0589abd0baaeb123a46f87de81090ddc894ed6b896163f"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserProfilePageState._buildOverviewTab (cognitive 32): _UserProfilePageState._buildOverviewTab has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 10, if/else 9 (10 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/user_profile_page.dart"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf83c6a052df3324e51abb081daaff07b72fc80b65a38874299962986ae1ffea"}},{"ruleId":"D2","level":"warning","message":{"text":"_SearchPageState._loadMoreResults (cognitive 32): _SearchPageState._loadMoreResults has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/search_view.dart"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"950d61cf232532b4c5c678ac434b12fbb8a7e5596b19500a15c7d9bd36c67997"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationService._navigateFromNotification (cognitive 32): NotificationService._navigateFromNotification has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 13, if/else 10 (13 pts), ternaries 4 (6 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/notification.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6547d7c2377a921d8e31fab1daf1e68e848159415cd2f7cf52c2560ab49931"}},{"ruleId":"D2","level":"warning","message":{"text":"FfiImageDecoder._cIsolateEntryPoint (cognitive 32): FfiImageDecoder._cIsolateEntryPoint has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (24 pts), error handling 2 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 18). 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/widgets/subsampling_scale_image_view/ffi_image_decoder.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a209ac90bc03869050748154750653a12cd593f2032afc14d42925415c3b24"}},{"ruleId":"D2","level":"warning","message":{"text":"AppNamePackageManager.getCurrentConfig (cognitive 31): AppNamePackageManager.getCurrentConfig has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (30 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package_manager.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"581688bc85329300bbd0f3fe6e543c4876555ce0e289fcc5c75c463ed483b56f"}},{"ruleId":"D2","level":"warning","message":{"text":"Database.init (cognitive 31): Database.init has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 5 (12 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/database.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca9b10eb06e1f53228c5434bee19654065d10f2147102ff1baa768c23870dcf"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderController._initTracking (cognitive 31): ReaderController._initTracking has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (14 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"1701e782affc11f6b2fe4b8e92d5beb323c05937fd35c372ae2ddddb0ed1e183"}},{"ruleId":"D2","level":"warning","message":{"text":"_ActivityHeatmapState.build (cognitive 31): _ActivityHeatmapState.build has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 4, loops 3, ternaries 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dc6a73e563e6672effccba9e58c7c948f76c48c1722d57372eaf780812afce"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentumService.updateCustomizations (cognitive 31): CommentumService.updateCustomizations has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (30 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a5ab68b05d62971e554022e1b3c13d3675d8ef4a8bd75553e4b5f8d0d110c4"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaDownloader.download (cognitive 31): MediaDownloader.download has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 7, error handling 2 (4 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_downloader.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27a7b88830123d8e904c775642533e26270057aeec91ff6ac8215ad7a649658"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubsamplingScaleImageViewState.didUpdateWidget (cognitive 31): _SubsamplingScaleImageViewState.didUpdateWidget has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 2 (7 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a84ba25c1370923fedf309b6c7938e25c3b66f1085cf9b29479f923d6fd58c"}},{"ruleId":"D2","level":"warning","message":{"text":"CommunityService._buildSubmitBody (cognitive 30): CommunityService._buildSubmitBody has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 1, ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/community_service.dart"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ac8470ab6d4d35d22529dbb614c12627ab2be06e353dc84dd03d3855959a3c"}},{"ruleId":"D2","level":"warning","message":{"text":"MalService.updateListEntry (cognitive 30): MalService.updateListEntry has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (20 pts), ternaries 3 (6 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/mal/mal_service.dart"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec802623bcf856e1b24c6f23f9ed127c9758796f3e05b3af9cea0d2f3d91b49"}},{"ruleId":"D2","level":"warning","message":{"text":"TorrentService._findFileForEpisode (cognitive 30): TorrentService._findFileForEpisode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 10, loops 4 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/torrent/torrent_service.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9ca9e73b8f9d7f6a235e886e9f93721e199ae77979d29951815192a1311c34"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._initPhysicalOrientationListener (cognitive 30): PlayerController._initPhysicalOrientationListener has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 2, error handling 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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da133f44b7c0d81561d77cd23f3800ffb79e2418f63a01e96ef5f53c6977f6b"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodesPane.build (cognitive 30): EpisodesPane.build has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 9 (13 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/episodes_pane.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"af19eea0c3e61b94ca097b6ea1de4cbf769b5af4b9e9ec32fe3cb33196e92cd3"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordMarkdown.build (cognitive 30): DiscordMarkdown.build has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc89fb7881779909b83365f38fc33180366f4f6171b5410a508a8ad6825267a4"}},{"ruleId":"D2","level":"warning","message":{"text":"_LeaderboardSheetState._buildLeaderboardTile (cognitive 30): _LeaderboardSheetState._buildLeaderboardTile has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 14, if/else 10 (11 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/leaderboard_sheet.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6414bd1a0ca21b8f6bd8e745122dd4bc6a8bc0a7d3be1d87d3abe2bb3fd140e8"}},{"ruleId":"D2","level":"warning","message":{"text":"_ListEditorModalState.initState (cognitive 30): _ListEditorModalState.initState has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 10, ternaries 3 (5 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/list_editor.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"caeb0bfa80f36fde0f0af09ec48d1bf42338227315461dc4b6a2a8fa63edb0cc"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController._runEpisodeDownload (cognitive 30): DownloadController._runEpisodeDownload has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (24 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca3231986bd4c39087f6cbddba6d061a8dd86a4639fbedf6bf807d767dfbd50"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderController.onScrollNotification (cognitive 30): ReaderController.onScrollNotification has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (21 pts), ternaries 2 (6 pts), boolean chains 3 (nesting depth added 16). 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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0d8305f876bea558f4479d43ed0e3a5cd5a50004dfa91c0c008c665ac3991f"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopProfileHeader.build (cognitive 30): DesktopProfileHeader.build has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 11 (13 pts), if/else 10 (11 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_header.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d5f364f6f921ea21784be3735f2e56182950fd560d1b5a6a3b6072c5c4f965"}},{"ruleId":"D2","level":"warning","message":{"text":"_SearchPageState._buildControlsSection (cognitive 30): _SearchPageState._buildControlsSection has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 15). 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/screens/search/search_view.dart"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4e1d5b0593f080463d083ac57cef836d974f4dd23631abbbb39863fb40f0c2"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateManager._shouldUpdate (cognitive 30): UpdateManager._shouldUpdate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 6, ternaries 2 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/updater.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"746dbff13df63f3f24c135e5afda86720a49b0f72ce4f860b3bd14280d40811a"}},{"ruleId":"D2","level":"warning","message":{"text":"GridAnimeCard.build (cognitive 30): GridAnimeCard.build has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 17 (22 pts), boolean chains 5, if/else 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_item.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b1a7f1f8bab1297d56474afda292132d4194fa61d0ba1216a92d1b88347082"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistErrorHandler.extractErrorMessage (cognitive 29): AnilistErrorHandler.extractErrorMessage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (26 pts), boolean chains 2, error handling 1 (nesting depth added 17). 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/controllers/services/anilist/anilist_error_handler.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a7663721aa4f11663d3bac009d2f517c20beb3098a1533c20a4f73a29bc6ae"}},{"ruleId":"D2","level":"warning","message":{"text":"NovelReaderController.onScrollNotification (cognitive 29): NovelReaderController.onScrollNotification has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 10 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb89681c89fa5f82baafb33ede69d1e7a60b9daecfe72026665e7614438e254"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompatibilityInputPageState._onUserChanged (cognitive 29): _CompatibilityInputPageState._onUserChanged has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf5ab2268758f2a7cd124380977905f14804285ca87c05bcf118b089b4eccaa"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserProfilePageState._fetchProfile (cognitive 29): _UserProfilePageState._fetchProfile has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/user_profile_page.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ddfc761d98ab729367a7e9a2ca23c42fb61bef523cbbb717dc20dc82c9246e"}},{"ruleId":"D2","level":"warning","message":{"text":"_SearchPageState._performSingleSourceSearch (cognitive 29): _SearchPageState._performSingleSourceSearch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 3 (8 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/search_view.dart"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63e0537bc73b960f3971e518258c0cf2a672af51b59665ef8f5bafbeaf8eef8"}},{"ruleId":"D2","level":"warning","message":{"text":"CastV2Client._decodeCastMessage (cognitive 29): CastV2Client._decodeCastMessage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (7 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_v2_client.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a54eb515e360202de2647d4da8dddaaf88f5b2ddb7506601642233bff9329c"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageColorExtractor._findDominantColorInt (cognitive 29): ImageColorExtractor._findDominantColorInt has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 6 (10 pts), boolean chains 2, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/color_extractor.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e560b6ce062f952edfbfe68e36131808ad02f5160d891ab146dbaf19fa7c05e6"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnymeXPopupMenuOverlay.build (cognitive 29): _AnymeXPopupMenuOverlay.build has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (19 pts), ternaries 3 (8 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_popup_menu.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b956926ab06e675be602592b6ae345e5f2726994a680975819bc235d92aa52"}},{"ruleId":"D2","level":"warning","message":{"text":"PlatformBuilderWithTablet.build (cognitive 29): PlatformBuilderWithTablet.build has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 8 (10 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/helper/platform_builder.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"527dfef262beb336162188a077080a21b4c1eeccfce7119eaa98edc8625d0dd4"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubsamplingScaleImageViewState._handleScaleUpdate (cognitive 29): _SubsamplingScaleImageViewState._handleScaleUpdate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5709407c64ec5dd38ca3358639b0e50173e6940cf7c3e843a9cfb9568feb862"}},{"ruleId":"D2","level":"warning","message":{"text":"Media.fromSmallSimkl (cognitive 28): Media.fromSmallSimkl has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 10 (14 pts), if/else 7 (10 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"370df1d12847be580d04d672fb82638518887f0de688b51a66f4d33ada8b5910"}},{"ruleId":"D2","level":"warning","message":{"text":"__ListMediaEditorBottomSheetState.build (cognitive 28): __ListMediaEditorBottomSheetState.build has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 7 (10 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/editor/list_editor.dart"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd24441093616948da8eb018c42a480e1b5745a7ceaefe21cd3370e427344bd"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentumService.createComment (cognitive 28): CommentumService.createComment has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (24 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a578a6f6e41ea1a0bfd198373a8b41bdf725660d9abfdb1baa0abebf4120a2"}},{"ruleId":"D2","level":"warning","message":{"text":"AppAbiDetector.getCurrentAppAbi (cognitive 28): AppAbiDetector.getCurrentAppAbi has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 5, error handling 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/abi_checker.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b42ee92c684927e86917c7b294a6a51951d9693dcebdabb3ce4cd46162b0a30"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistApi.postQuery (cognitive 27): AnilistApi.postQuery has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (17 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_api.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf057fc70dd4e8c8c6d4280da829b97b3c86a2132e505d394ebfa349339301b"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistData.homeWidgets (cognitive 27): AnilistData.homeWidgets has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 10 (20 pts), if/else 4 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b790e7415916a5c41942bd631afa8f4c0bc4bee13a2fa65d309a8f1ff10d52"}},{"ruleId":"D2","level":"warning","message":{"text":"MalService._paintCached (cognitive 27): MalService._paintCached has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (26 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/mal/mal_service.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd09b56ac3a29140039e32c0900d0e92e6c3544eaa053a2860e9273d2dfbc66"}},{"ruleId":"D2","level":"warning","message":{"text":"MalService.deleteListEntry (cognitive 27): MalService.deleteListEntry has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 4 (8 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/mal/mal_service.dart"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eea4cd3aaa97a51e36f23582c24e92bebbb9bdfd51c0ca2b691e534ce1a1e9b"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController._ensureNoMediaInTempDirs (cognitive 27): DownloadController._ensureNoMediaInTempDirs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (18 pts), error handling 2 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"493d6def9da60bdfa59c1ef91842d86b4bf41eb5bfdbff62e8a6f00e3a68641d"}},{"ruleId":"D2","level":"warning","message":{"text":"_ChapterListBuilderState._buildChapterDownloadButton (cognitive 27): _ChapterListBuilderState._buildChapterDownloadButton has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (9 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"818bb2825bec29695e94cad9e05b0d1f7742a350d4d01ad603960d6ac6802b92"}},{"ruleId":"D2","level":"warning","message":{"text":"_DecorationClosetSheetState._onSavePressed (cognitive 27): _DecorationClosetSheetState._onSavePressed has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 8, ternaries 4, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e30e1ed241a377659ac2247878fb15967ce688e057bd063b4855f37a5c44de"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnymeXPopupMenuOverlay._buildEntry (cognitive 27): _AnymeXPopupMenuOverlay._buildEntry has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 7 (16 pts), if/else 7 (11 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_popup_menu.dart"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9cc7451defe6efdc57ca770e763185476d77efc5e08f640f898baca7b7581b"}},{"ruleId":"D2","level":"warning","message":{"text":"CookieManager.readCookiesFromWebView (cognitive 26): CookieManager.readCookiesFromWebView has cognitive complexity 26 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 3 (6 pts), boolean chains 4, loops 1 (4 pts), error handling 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/network/cookie_manager.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b519c8b861ab49845eec463a5fef077c497d318c4054e8e72a96253a9ae3539"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistData.fetchStudioDetails (cognitive 26): AnilistData.fetchStudioDetails has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 3 (4 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fdedea67a380db8caa967af06b293eabd28755150bbaec6845f941331c00cc"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupRestoreService._buildBackupData (cognitive 26): BackupRestoreService._buildBackupData has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 16, boolean chains 9, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d35560191c5c063c69b1c0ea99946a333c28132c60776b7f3754f137b2c829"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceController._activateByName (cognitive 26): SourceController._activateByName has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (6 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/source/source_controller.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f097f4ed86443d79f94a2b100ffecd944b6f6365d8cfef048f93822ee907707"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController.initializePlayerControlsIfNeeded (cognitive 26): PlayerController.initializePlayerControlsIfNeeded has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1108a9deca083b6f3e3cbb15e805e0854e9d99064bf009e4a426663f70ea578"}},{"ruleId":"D2","level":"warning","message":{"text":"_ContinuousReaderViewState._buildImage (cognitive 26): _ContinuousReaderViewState._buildImage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 3 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d2579a5a265972bfa8e303f728e518c4e16f9cf1cc63b350a56b01fbd189f9"}},{"ruleId":"D2","level":"warning","message":{"text":"_PressableHighlightCardState.build (cognitive 26): _PressableHighlightCardState.build has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 18 (20 pts), if/else 4, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/stats_overview_cards.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd8d7db546386e2e0d9d419448df1b4205ca826d398893f01508bff44f021aa"}},{"ruleId":"D2","level":"warning","message":{"text":"CastProxyServer._rewriteHlsMasterManifest (cognitive 26): CastProxyServer._rewriteHlsMasterManifest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 4, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_proxy_server.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"082640fae04141dd8c59bcc155023c3675329f4994474cf8bce28c71a211e06d"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationImageHelper._sweepCacheInBackground (cognitive 26): NotificationImageHelper._sweepCacheInBackground has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 2 (5 pts), loops 2 (5 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/notification_image_helper.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9320934000528ce871475e7bdcbdc96fe8479b6600a89226e60fac87e3cb6da9"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsSheet._buildHeroHeader (cognitive 26): SettingsSheet._buildHeroHeader has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 9 (11 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/settings_sheet.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebdbb064ce083804867e0fbc5693d7d76baec774210d97e6cd4137b3eff944e"}},{"ruleId":"D2","level":"warning","message":{"text":"_FilterScreenState._getNavItemForTab (cognitive 25): _FilterScreenState._getNavItemForTab has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 8 (10 pts), boolean chains 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b06209a0e2d84b3e4c4e714e4974b0c8a42d230e913764fe9cd8565033a3d41"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistAuth._anilistPost (cognitive 25): AnilistAuth._anilistPost has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b98e513c09a4e1e3bd31a75ad8a269bc8946cb41ac42686c916bb8d62e3589e"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaDetailsController._initActiveSource (cognitive 25): MediaDetailsController._initActiveSource has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 5 (10 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"650b68a323cc8ad789c4a65a49cb109eb284b66c6fc32c1540edd618ac2a0bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"_ChapterListBuilderState._onTap (cognitive 25): _ChapterListBuilderState._onTap has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba28a77612dc0a1b9365cf235adaacffccfd143d7515c9af4bddee79716ecbe"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnymeXModerationActionSheetState.build (cognitive 25): _AnymeXModerationActionSheetState.build has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11 (16 pts), if/else 5 (8 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/widgets/moderation_action_sheet.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb2a9a7274d7939ad73a0a88d1648a2a0666e4187b312d666a3836ad240c169"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumPageState._joinRoomFromCard (cognitive 25): _WatchiumPageState._joinRoomFromCard has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 4, ternaries 1 (3 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d107b72ef10afbcde5b020670acfc794ba6f8cee4d779194b9f0c8c8f802c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentumService.deleteComment (cognitive 25): CommentumService.deleteComment has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9958461ffd6f4614701f55af508a801b1e39c2abe749159c391cbf35654b6694"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerShaders._getAppDirectory (cognitive 25): PlayerShaders._getAppDirectory has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (20 pts), error handling 2 (5 pts) (nesting depth added 17). 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/utils/shaders.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2480bc0773703289d8491a475d489fd71788a3757ee128cd31fb8dfab2d84d3"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnymeXImageState.build (cognitive 25): _AnymeXImageState.build has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 4 (11 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_image.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceca2a6c88d4394c0598717506d8a0294c7617ffec1d0b5a13e96121684dc14"}},{"ruleId":"D2","level":"warning","message":{"text":"AnymeXScaffold.build (cognitive 25): AnymeXScaffold.build has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 9, if/else 5 (6 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/anymex_scaffold.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4410167291d8b629b058157aa1b4b26721194bab161062c249d557546b3c59c9"}},{"ruleId":"D2","level":"warning","message":{"text":"_LogoAnimationPreviewDialogState._buildAnimationList (cognitive 25): _LogoAnimationPreviewDialogState._buildAnimationList has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11 (21 pts), if/else 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"552a8515400b73a019bc507a04ce19a85744e05fe1c86391bb9dbf7808a76b97"}},{"ruleId":"D2","level":"warning","message":{"text":"TilingEngine.initialiseTileMap (cognitive 25): TilingEngine.initialiseTileMap has cognitive complexity 25 (threshold 15). Drivers by points: loops 5 (10 pts), ternaries 2 (8 pts), boolean chains 4, if/else 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/tiling_engine.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bcf3ce1ec3828442108bb9a505ab9f03e58cdfc45ed7a55cab4c33f261570f"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistData.fetchAnilistHomepage (cognitive 24): AnilistData.fetchAnilistHomepage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (24 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5d14854c8ece7a5efb391f6f35c10ecea7f7a5ab52494c9322fdb55aacca50"}},{"ruleId":"D2","level":"warning","message":{"text":"GistSyncService.syncGistHtmlUrl (cognitive 24): GistSyncService.syncGistHtmlUrl has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 11). 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/controllers/sync/gist_sync_service.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0640c62f4f8e45d40efd90be39f332a37e4d7960632fda7bfe22e52a5316a3"}},{"ruleId":"D2","level":"warning","message":{"text":"_DoubleTapSeekWidgetState._setPlaybackRate (cognitive 24): _DoubleTapSeekWidgetState._setPlaybackRate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (23 pts), error handling 1 (nesting depth added 15). 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/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"11379183015471c453089766e3bc6f1e0bacc8988cd056be62b1c700318a3d3e"}},{"ruleId":"D2","level":"warning","message":{"text":"_CommentSectionState._buildReplyItem (cognitive 24): _CommentSectionState._buildReplyItem has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 9, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be90f4d18b728d6d733df1d165d5ed2987d0d4415adea4439d854a821e63d5a"}},{"ruleId":"D2","level":"warning","message":{"text":"CharactersCarousel.build (cognitive 24): CharactersCarousel.build has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 11 (18 pts), if/else 4 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/voice_actor.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"617167392658b7702b7f5594ce9dcb1f745cbfa3fe4531ce9ce7e3ecc2d6f68a"}},{"ruleId":"D2","level":"warning","message":{"text":"NovelReaderController._cleanHtmlTags (cognitive 24): NovelReaderController._cleanHtmlTags has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 2, loops 2 (nesting depth added 11). 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/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19a09e66426aa6677fe2dfcd8b24590750f67b3441c8938834c96c9b65f0ca7"}},{"ruleId":"D2","level":"warning","message":{"text":"_NovelContentWidgetState.build (cognitive 24): _NovelContentWidgetState.build has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 11). 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/screens/novel/reader/widgets/novel_content.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a80abe4f851a88a030a572e7e61ac7151b1453e7c04df3e8943591b2dc7fc51"}},{"ruleId":"D2","level":"warning","message":{"text":"_DictionarySheetState._lookup (cognitive 24): _DictionarySheetState._lookup has cognitive complexity 24 (threshold 15). Drivers by points: loops 3 (12 pts), if/else 5 (11 pts), error handling 1 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/widgets/novel_content.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc186757ddc11f3589e5d781b8bf2db69107d32941da37c6acfd701dc333424"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompatibilityResultPageState._showCommonMediaSheet (cognitive 24): _CompatibilityResultPageState._showCommonMediaSheet has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (16 pts), if/else 5 (8 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f3ed162e02ac6128aae9366e28f1ec262973241ec1e3e4f1481ca59e0d87d8"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopStatsGrid.build (cognitive 24): DesktopStatsGrid.build has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 16 (18 pts), if/else 4, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/stats_overview_cards.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f41fd0b59ab90a99995586bd2313775f392b173a738dce2fac829963e76ac77"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsReaderState._showTapZonesDialog (cognitive 24): _SettingsReaderState._showTapZonesDialog has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 9 (11 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_reader.dart"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0aed6fe22dd5578ea1c34e090a181d4a2c1aef25e91f1a943a1205fb77dd38"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumPageState._buildCurrentRoomSection (cognitive 24): _WatchiumPageState._buildCurrentRoomSection has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 4 (8 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"3007793d778f4a946b437766ee15798161c546d6f1a8c18b0a0e301d6c073d40"}},{"ruleId":"D2","level":"warning","message":{"text":"FfiImageDecoder._processNext (cognitive 24): FfiImageDecoder._processNext has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 1 (nesting depth added 12). 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/widgets/subsampling_scale_image_view/ffi_image_decoder.dart"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6fdce840a2760ab546af559e35b7549aaf82674b325bb4d1f9d095ba3e4a26"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumCreateSheetState._joinRoom (cognitive 24): _WatchiumCreateSheetState._joinRoom has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (5 pts), boolean chains 3, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_create_dialog.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"26301a94a86834566b3ddb1a3a0ea153f3632d7eb52b7cc339f996bbb6041fc7"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistAuth._fetchUserDetailsInternal (cognitive 23): AnilistAuth._fetchUserDetailsInternal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 2, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f95c99ba884278d92a6bc45010dab3b9b2c9cb8f8fee65a3a372b438799994"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistRateLimiter._processQueue (cognitive 23): AnilistRateLimiter._processQueue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_rate_limiter.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d42fcf9a2f78907152bbb20fb22c9b402f16aa0b1ddc772ac948e328a548080"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchiumService._connectSocket (cognitive 23): WatchiumService._connectSocket has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (17 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/watchium/watchium_service.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f73f4e7563e3106d54871ed48f0556b408ec362fae0d143df4dcb9bcac7b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackedMedia.formattedProgress (cognitive 23): TrackedMedia.formattedProgress has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 14, if/else 5, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_media_user.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da06efe11970a76fdbb81c1045816e98451cd4a1d8fcf17796e3be63c332d79"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaDetailsController.fetchSourceDetailsFromMedia (cognitive 23): MediaDetailsController.fetchSourceDetailsFromMedia has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"b180d9c1902189bfbc00131fe92942342bfdcaa37feaf13a0ce536ca4304d517"}},{"ruleId":"D2","level":"warning","message":{"text":"_CalendarState.build (cognitive 23): _CalendarState.build has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 8, boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a27b02267b1ca23d9920e23063631d6d7467131f6bb010b2736879a3cd8ed5"}},{"ruleId":"D2","level":"warning","message":{"text":"Ios26PlayerControlTheme.buildBottomControls (cognitive 23): Ios26PlayerControlTheme.buildBottomControls has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 13 (15 pts), if/else 5 (6 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2527ee1697ceaf6edc3818eb417830d048d1d96271d42fa77bbab2ac6e6bbb5"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeRenderer._makeButtonThing (cognitive 23): ThemeRenderer._makeButtonThing has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 6, boolean chains 5 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89cb20aeba3ad99bd76ad61c444c3b8b6ea5f49ea5e1ca51244d7cc851f943e"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeRenderer._resolveColor (cognitive 23): ThemeRenderer._resolveColor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 1 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95b2701b002da0f5571c6b2baeb68ed93a68028b8c495bb69da744f19f98c86"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserCommentsSheetContentState.build (cognitive 23): _UserCommentsSheetContentState.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, ternaries 3 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a426b9bae8529fd3a53de8ede107c5d4d992dedcfb1856c255ccc45732a44154"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimalEpisodeWidget.build (cognitive 23): MinimalEpisodeWidget.build has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9, boolean chains 8, if/else 5 (6 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode/styles/minimal_style.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbcbc37062a82bcb1f7358841e76e8be6ba97fd2be8b7f4707d47ac5638e9c7"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadScreenState._buildChapterStep (cognitive 23): _DownloadScreenState._buildChapterStep has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 12, if/else 7, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/download_screen.dart"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c48fec90d4ae4d2312b143ee70f1237869b0137e8adfc9937f7583b048cbbe1"}},{"ruleId":"D2","level":"warning","message":{"text":"_ChapterListSheetState.build (cognitive 23): _ChapterListSheetState.build has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 16, ternaries 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6949979b8e8e5a18d7f2d11241867b6e28b737780e5eb114484ad48708c4b317"}},{"ruleId":"D2","level":"warning","message":{"text":"ChapterListItem.build (cognitive 23): ChapterListItem.build has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 18, ternaries 3, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/details/widgets/chapter_item.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ae70b8d1f1e9870fbba1750fbe3fc1e8603d4fed564b63ca77cc697eb42bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"FavoritesSection.build (cognitive 23): FavoritesSection.build has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 6 (7 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/favorites_section.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"834082e269e3169cae827dbef0ec8a6d72080440d8b487b4dd5f4b6367bf5250"}},{"ruleId":"D2","level":"warning","message":{"text":"_ContributorsPageState._loadContributors (cognitive 23): _ContributorsPageState._loadContributors has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, ternaries 2 (6 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/contributors/contributors.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b77a08347f0c923280c0fb1fed75238d8bd115af5006500e7bf828b59362ce"}},{"ruleId":"D2","level":"warning","message":{"text":"CastProxyServer._resolveLocalIp (cognitive 23): CastProxyServer._resolveLocalIp has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 7, loops 4 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_proxy_server.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e787103e1cb59a09e18395190161141804190caebbb3249a4203bf86d705938"}},{"ruleId":"D2","level":"warning","message":{"text":"Deeplink._parseCustomTarget (cognitive 23): Deeplink._parseCustomTarget has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 1 (5 pts), boolean chains 3 (nesting depth added 11). 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/utils/deeplink.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecf1f14441ebba0c069c59899ba0627b211a8217780cb70d924b53ed562b1f8"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationImageHelper.getCachedImagePath (cognitive 23): NotificationImageHelper.getCachedImagePath has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/notification_image_helper.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03e641af49394899a7b2e7fc108434c19156878664ffc6aa5ee2a7070330153"}},{"ruleId":"D2","level":"warning","message":{"text":"TilingEngine.refreshRequiredTiles (cognitive 23): TilingEngine.refreshRequiredTiles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/tiling_engine.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3821744faa257385b8ed3f55e69056cf093df1d65b3fae5b86fb44732306abea"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordRPCController.updateMangaPresence (cognitive 22): DiscordRPCController.updateMangaPresence has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/discord/discord_rpc.dart"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5694dc4ee8a4f39c3c5a8d86b4fffebbf436109e79d3b2dd138bb1f1bde04e"}},{"ruleId":"D2","level":"warning","message":{"text":"JikanService.getFillerEpisodes (cognitive 22): JikanService.getFillerEpisodes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (6 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/jikan.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d279db272e164c638c076c567eebcd0ea820fc238e90f2368346c992df8a87"}},{"ruleId":"D2","level":"warning","message":{"text":"_GistSyncCard.build (cognitive 22): _GistSyncCard.build has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 4 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/sync/progress_sync_section.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0735812ebb162c9b6b3e72717c3191e5967f9860639aa756cd9b2921f58626"}},{"ruleId":"D2","level":"warning","message":{"text":"Media.mergeSecondaryData (cognitive 22): Media.mergeSecondaryData has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"571ac8ff4ea30bbcdd704c303ee70916a8e71576fba0ed6f08010f083383a950"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._trackLocally (cognitive 22): PlayerController._trackLocally has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 2 (5 pts), ternaries 2 (4 pts) (nesting depth added 13). 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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":2963}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fb2492bdd9a58b4a78256be927370575773b7adc9cd7ec7aa9043c05c3b8b5"}},{"ruleId":"D2","level":"warning","message":{"text":"_BottomSheetListItemState.build (cognitive 22): _BottomSheetListItemState.build has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (14 pts), if/else 6 (7 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/bottom_sheet.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"635878d045b0908e7d41a31af924a47bc53b1c4c934c141e19b4913ddc05d236"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentSectionController.formatCommentTimestamp (cognitive 22): CommentSectionController.formatCommentTimestamp has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1909e0e105c5d5b0312847c1693ca09db3d2ec807050c08719a2e293f846ff"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadServerSelectorState._fetchServers (cognitive 22): _DownloadServerSelectorState._fetchServers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (18 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d3cde878233f2cc5f9ed7a55a07704a0e18a156d8a30d9b553ff4cb6cb779f"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderController._updatePageStateForSpread (cognitive 22): ReaderController._updatePageStateForSpread has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 3 (5 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1fef3179ff808c3e6dccc55c1d46fee96fbec43221d953e0943aa0f30cd976"}},{"ruleId":"D2","level":"warning","message":{"text":"_ChapterSliverSectionState._findContinueChapter (cognitive 22): _ChapterSliverSectionState._findContinueChapter has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 6 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/details/widgets/chapters_section.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9652867ec34d3d21a74516944ea8d8b92faf509f7570d6f99d7f32137e749db3"}},{"ruleId":"D2","level":"warning","message":{"text":"ListStatusCard.build (cognitive 22): ListStatusCard.build has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 16 (17 pts), if/else 4, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/list_status_card.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66bdb6029f7cbbd71560aa7bfd490d826ef5c2fe7c7c8de4d5b4cf494998a17"}},{"ruleId":"D2","level":"warning","message":{"text":"_FuturisticFilterSheetState._fetchFilterData (cognitive 22): _FuturisticFilterSheetState._fetchFilterData has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/search_widgets.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d64eb3b0d646e9b74721f1c6ba113aea97c84cf943ed487c6b6bb4a4d0e1465"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsAnilistApiState._buildAboutEditor (cognitive 22): _SettingsAnilistApiState._buildAboutEditor has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 4 (5 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_anilist_api.dart"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"1211448ab24d7dca9585306f11fd5c043ce2c7e92a5d395ad6bd99f9417e6a33"}},{"ruleId":"D2","level":"warning","message":{"text":"_FullscreenImageViewerState._shareImage (cognitive 22): _FullscreenImageViewerState._shareImage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"181430a39361a72467f271dbea59ab2f01cc4e37e9a062a02c79a9874c7346af"}},{"ruleId":"D2","level":"warning","message":{"text":"BakedBlurImage.load (cognitive 22): BakedBlurImage.load has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/baked_blur_image.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d90742ff2c7ee5067a0e2aff84cf210747a076f590afd3e00619309bc67c00b"}},{"ruleId":"D2","level":"warning","message":{"text":"Header.build (cognitive 22): Header.build has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, ternaries 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/header/header.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6c050fe17f9b36ea0ce320032ffa3e7e5bb48ce0ca6b7a7059e6082a33eede"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownListInputFormatter.formatEditUpdate (cognitive 22): MarkdownListInputFormatter.formatEditUpdate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3 (nesting depth added 11). 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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5ae2f3039c4ec7927799c4b0944bb8541488fc16ed0af3ca6c887d43523eaa"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumPartyPopupContentState._buildChat (cognitive 22): _WatchiumPartyPopupContentState._buildChat has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 6, if/else 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_party_popup.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"49683f36308a8590ad913bf629b08cd12e5e184a36b9c1f855249d4790e8c5b0"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineStorageController.addOrUpdateReadChapter (cognitive 21): OfflineStorageController.addOrUpdateReadChapter has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, ternaries 2 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db12ce4d160764dd7b5f965512eb43441b625d5ae8bd187662c08449e7bd5ab"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistAuth.formatScore (cognitive 21): AnilistAuth.formatScore has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 4 (6 pts), boolean chains 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c7d77da8d5168442e287a3806838d846ecfeecb2c9f8608e9d551cbc33624a"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupRestoreService.isBackupEncrypted (cognitive 21): BackupRestoreService.isBackupEncrypted has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"43739532f6cd1445510a687896be45a3b5e8aafa199d63fc21898092b8bf38a4"}},{"ruleId":"D2","level":"warning","message":{"text":"CommunityService.castVote (cognitive 21): CommunityService.castVote has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/community_service.dart"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"6098c49c5420857d0bfdea432aceffb1b66fcf00ef8dd0e603f1915470b5b73b"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchiumService.createRoom (cognitive 21): WatchiumService.createRoom has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/watchium/watchium_service.dart"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"881dcd5066f8ddd44c51f6a41bd98db0958f3cfe44a7f370326a777a4f9ac595"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaDetailsController._fetchFullDetails (cognitive 21): MediaDetailsController._fetchFullDetails has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fce27acc47970e014f21a93a2b9b8ae253c62c0b8e46df5e6224814dd81eb2"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaDetailsPageState.initState (cognitive 21): _MediaDetailsPageState.initState has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, ternaries 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/media_details_page.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef83aed166a0ffa2137ed460c2048bde0ddfcb82b1f344484dc2ed46909eebd1"}},{"ruleId":"D2","level":"warning","message":{"text":"_StudioDetailsSheetContentState.build (cognitive 21): _StudioDetailsSheetContentState.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 6 (7 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/studio_details_page.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1210e93e8c650b7b9a0d20603ac212b2bf5e3397476b1c23db352a80b9c54a96"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeThemePlayerDialogState.build (cognitive 21): _AnimeThemePlayerDialogState.build has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 11 (15 pts), if/else 5, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/themes/anime_theme_dialog.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8a2030d55259ef9229ae73399d83aea97118d8e851bdf34f9d9a2f78585d5d"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._findBestMatchingTrack (cognitive 21): PlayerController._findBestMatchingTrack has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46ddd18a7ec1285f5b51aef56f5587f57f4dbdb5310591f1daec376fcb1a5cd"}},{"ruleId":"D2","level":"warning","message":{"text":"_CommentSectionState._buildCommentWithReplies (cognitive 21): _CommentSectionState._buildCommentWithReplies has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f4b221469448fc9314533abf45bfe13aa800279e13fe7f6a783f25e73f8e44"}},{"ruleId":"D2","level":"warning","message":{"text":"_CommentInputBarState._buildTagsAndProgressRow (cognitive 21): _CommentInputBarState._buildTagsAndProgressRow has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13 (20 pts), if/else 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"957113a94c326e2ccc584e5fc1b3a3e25ceabaf3a03850163315254ff6e441b1"}},{"ruleId":"D2","level":"warning","message":{"text":"_LeaderboardSheetState.build (cognitive 21): _LeaderboardSheetState.build has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 3 (5 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/leaderboard_sheet.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"84363b18758ccc4dd8fad0f1a9f8c9a3681b1fa1aeef860acfb4d28328eaa46b"}},{"ruleId":"D2","level":"warning","message":{"text":"_ServerSheetContentState._checkAndAutoSelect (cognitive 21): _ServerSheetContentState._checkAndAutoSelect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"8834277e5cbc8e476868a8155b20f21a16b1b2353775ca54efb5720c6f49c900"}},{"ruleId":"D2","level":"warning","message":{"text":"_HistoryEditorState._buildHistoryCard (cognitive 21): _HistoryEditorState._buildHistoryCard has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 12 (15 pts), if/else 4, boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/editor/history_editor.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4e4ef460ce1dfff4ebf17ea28de6bbc8e358f94b053a7910377f40907aa4db"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeListState.initState (cognitive 21): _AnimeListState.initState has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/online/anime_list.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a72907d9da9731fb3142a7404318d4373db77b74e6b015df7e0f0da89b7f97e"}},{"ruleId":"D2","level":"warning","message":{"text":"NovelReaderController._mapPlainToHtmlOffset (cognitive 21): NovelReaderController._mapPlainToHtmlOffset has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"283bfab753df10c75e777b81acb1dedd187c73a8425157fffcb2104a895ea94c"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompatibilityInputPageState._submit (cognitive 21): _CompatibilityInputPageState._submit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6, ternaries 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb1b3cdc60c956e341b3a047079153ab664790e8c38f9a1f78f1622d642624d"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserMediaListPageState.build (cognitive 21): _UserMediaListPageState.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 7 (8 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/user_media_list_page.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c805fbbb354f59be94e8bf5c3116f52b5603aeba8607e926d160ae627e6da0c"}},{"ruleId":"D2","level":"warning","message":{"text":"_GroupFilterWidgetState.build (cognitive 21): _GroupFilterWidgetState.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), loops 2 (5 pts), ternaries 4, boolean chains 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"361272ca3ab956cbb1ad4623e3313e0c3bf01b3411eb0eb25ae0975eebc819ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserListPageState._loadMoreUsers (cognitive 21): _UserListPageState._loadMoreUsers has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (6 pts), boolean chains 4, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b59f63d6ea87bb71538bf04a8635cee21f8aafc9c9f3489efae60b7348274f"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsUiState._showReorderTabsDialog (cognitive 21): _SettingsUiState._showReorderTabsDialog has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 6 (8 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_ui.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd07861b6a425a81a71b153a2a2a4ad2ed24f509dcc3309662fc953bc677555e"}},{"ruleId":"D2","level":"warning","message":{"text":"CastService._castChromecast (cognitive 21): CastService._castChromecast has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_service.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6bf24061eff000a27079562a69be69c0c5bb294ee050363fa0a71e0b20e047"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentumService._mapCommentumToAnymeXComment (cognitive 21): CommentumService._mapCommentumToAnymeXComment has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, error handling 2 (4 pts), ternaries 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21d26d133d5058725a5f639fe012fefe4f5af00d0078139623db0abd768b910"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchOrderUtil.fetchWatchOrder (cognitive 21): WatchOrderUtil.fetchWatchOrder has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 1, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/watch_order_util.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c8cc7326c9cf0360870a1877e0d95f522dfa72fb79b6cca694796b40e0092b"}},{"ruleId":"D2","level":"warning","message":{"text":"_CloudflareBypassWebViewState._syncCookiesAndUserAgent (cognitive 21): _CloudflareBypassWebViewState._syncCookiesAndUserAgent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 6, error handling 2 (3 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/cloudflare_webview.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb97453afdceb67d5f8f5241befb7ffbe8a9fa619cf9b57142c6ba3d509e0a3"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaModeSelector._autoPlayLastMedia (cognitive 21): MediaModeSelector._autoPlayLastMedia has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/media_mode_selector.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f604f6b3ec49bdc6c0ac1613e54340fdcd1b307f1fffdd91df550707c2fe24a2"}},{"ruleId":"D2","level":"warning","message":{"text":"_FloatingPillNavBarState._buildMobileLayout (cognitive 21): _FloatingPillNavBarState._buildMobileLayout has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), ternaries 5, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/navbar/styles/floating_pill_navbar.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b065da39b2c095858239663a192f5940fc2fb4ef34acd00fa3c2e13447cc7e34"}},{"ruleId":"D2","level":"warning","message":{"text":"_ActivityCardState._showActivityOptions (cognitive 21): _ActivityCardState._showActivityOptions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 5 (7 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_card.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f572a73ab44e3e386524baffcef4c8a71d4ce7f0d0022c5139b16d76a911950"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistData.fetchSecondaryDetails (cognitive 20): AnilistData.fetchSecondaryDetails has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (19 pts), error handling 1 (nesting depth added 12). 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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d3185e17fea9c75abc73c80944364aa7b6d31d3d54a86fbe0609e2857753a7"}},{"ruleId":"D2","level":"warning","message":{"text":"_GistSyncCard._importGistJson (cognitive 20): _GistSyncCard._importGistJson has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/sync/progress_sync_section.dart"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db4ac4a5fdc39f88bdec99d2c87d88b13bb1bc25b38ef602539eacdc636f660"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentsDatabase.organizeComments (cognitive 20): CommentsDatabase.organizeComments has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3, boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/comments/comments_db.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"658e0ad337a4872ca9de9987feee9f3206e75da2eb3b9805aab7a341e8500794"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._isAutoSkipEnabledForCurrentSegment (cognitive 20): PlayerController._isAutoSkipEnabledForCurrentSegment has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"353144b98b5f230f0a313da9140e1e6154aba7c139a22d48036ab98f30196b96"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._resolveDecoderHwdec (cognitive 20): PlayerController._resolveDecoderHwdec has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, match/switch 1 (nesting depth added 8). 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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"41460eb434508c5eb7ee1f03f834e8896c9194e32ca811421b7d00222c44a40c"}},{"ruleId":"D2","level":"warning","message":{"text":"_DoubleTapSeekWidgetState.build (cognitive 20): _DoubleTapSeekWidgetState.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11, if/else 7, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab991f1cbd975f9dda433293e649ff62baca9a923d082483515a72c5ec3d05d"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayer.initialize (cognitive 20): MediaKitPlayer.initialize has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 3 (6 pts), boolean chains 1, error handling 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/player/media_kit_player.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"728de8266a585f96f2b09fd2ba7fd00b3b0383bb690a2d9fe8355c8dd40411a4"}},{"ruleId":"D2","level":"warning","message":{"text":"_EpisodeListBuilderState._updateChunkIndex (cognitive 20): _EpisodeListBuilderState._updateChunkIndex has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 1 (4 pts), boolean chains 1, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4681bc9deb96a62e9011c1d7c0d9bc20284a17ca874f404edf7848997e2b39c4"}},{"ruleId":"D2","level":"warning","message":{"text":"NovelReaderController._loadVoices (cognitive 20): NovelReaderController._loadVoices has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"32be903701a51376d973a28c0af4b38a5bf7efd9496348d82cba690fddd980dd"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProfileStatsTabState._getVal (cognitive 20): _ProfileStatsTabState._getVal has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_stats_tab.dart"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c804ba9947155bce4926c37397f6bdce704aea107c6a8dc78cb13c233c46470"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserListPageState._loadUsers (cognitive 20): _UserListPageState._loadUsers has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 2 (5 pts), boolean chains 4, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc114dc87624515f1d64c9dae2f8fad8ec441b02945dc341f6b1fb197881a83"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserStatsPageState.build (cognitive 20): _UserStatsPageState.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/stats/user_stats_page.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b94f10f43957f9021c3972bd1423f0f95be101d862a5243b869b158034c01c"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumPageState._buildJoinByCodeSection (cognitive 20): _WatchiumPageState._buildJoinByCodeSection has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 7 (8 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d042ccef9ad5d8c917793b1a8a005a4ce7805ace2072680b23d64695fee46ad"}},{"ruleId":"D2","level":"warning","message":{"text":"CastService._startRokuAndSsdpDiscovery (cognitive 20): CastService._startRokuAndSsdpDiscovery has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 11). 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/services/cast/cast_service.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"036df349ca017387ec56a21d46ed64b261cb921826c7360ed1de5b53b4f5566d"}},{"ruleId":"D2","level":"warning","message":{"text":"CastService.stopCasting (cognitive 20): CastService.stopCasting has cognitive complexity 20 (threshold 15). Drivers by points: error handling 3 (9 pts), if/else 5 (9 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_service.dart"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce89578f1a382e9167427d43c951a36d54bafcf113050f479c2550f50fa37edd"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnilistAboutMeState._openUrl (cognitive 20): _AnilistAboutMeState._openUrl has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/al_about_me.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"b097a9d7c451e93c478060fe1a10b2cdff82f4d99e896d447b92696d31437bfe"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageColorExtractor.extractColor (cognitive 20): ImageColorExtractor.extractColor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/color_extractor.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b994b01085bbfefb5626db40ef24bc0b82fc424470697ddb300dac0899f143d4"}},{"ruleId":"D2","level":"warning","message":{"text":"Deeplink.handleDeepLink (cognitive 20): Deeplink.handleDeepLink has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, loops 2 (3 pts), ternaries 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/deeplink.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdb3947f8acb109ff311b28e61f108ed84432ae2703e48219696b0371f64f44"}},{"ruleId":"D2","level":"warning","message":{"text":"Liquid._cpuOptimizedBlurCustom (cognitive 20): Liquid._cpuOptimizedBlurCustom has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (6 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/liquid.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f1e1bc2bfba5ccbde9d5870fcb1f6cda6c98a28a3a3888770f5107b95614a2"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitlePreTranslator.preTranslateFromUrl (cognitive 20): SubtitlePreTranslator.preTranslateFromUrl has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 2 (4 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_pre_translator.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8248b641413064ad07a45b6fefacc0846de3de08413532b59ffd83f0d0a1fb79"}},{"ruleId":"D2","level":"warning","message":{"text":"_NavBarItemState.build (cognitive 20): _NavBarItemState.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (18 pts), if/else 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/navbar.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e93e913e5755ab415586898b0cae95f832ac3114b31e7d085dd1629c9440111"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubsamplingScaleImageViewState._loadTile (cognitive 20): _SubsamplingScaleImageViewState._loadTile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef10c3db99a88a7213d88674a80eb9b5440bc56c39182eefe59409dcd2ef938b"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordRPCController.updateMediaPresence (cognitive 19): DiscordRPCController.updateMediaPresence has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, ternaries 4 (5 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/discord/discord_rpc.dart"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"880707b610306171f86b814efbff78ef968c8931e62bc7466d99f2c84c0a9f06"}},{"ruleId":"D2","level":"warning","message":{"text":"ReasonUserProfile.matchesUser (cognitive 19): ReasonUserProfile.matchesUser has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/community_service.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c97da6006af81f0b9d1b066223d4a90488518e855a81171c1adf617aafb71e"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomizationRepository.loadBanners (cognitive 19): CustomizationRepository.loadBanners has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 3, loops 1 (3 pts), error handling 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/comments/model/user_customization.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b97156724b816ac952e63e18af829becda0bcf3e0e99d94a3b2291488ff189"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineMedia.displayTitle (cognitive 19): OfflineMedia.displayTitle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/isar_models/offline_media.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34b8802ca36005272b74b8a80c1558110eac1f5f7a03d4aa9b603a14a1d5ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistNotificationItem.displayBody (cognitive 19): AnilistNotificationItem.displayBody has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_notification.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a401608b0a711f21af9b52a22d95b1d80859f811744f125f194b67451d9afb1a"}},{"ruleId":"D2","level":"warning","message":{"text":"Media.displayTitle (cognitive 19): Media.displayTitle has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (8 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cbcd3202e7dd095fc3e041eabfa7810e48608478381a62f9bb2c972c4d8a81"}},{"ruleId":"D2","level":"warning","message":{"text":"_ListExporterPageState._convertTrackedListToMalXml (cognitive 19): _ListExporterPageState._convertTrackedListToMalXml has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/list_exporter.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c4257a51e78c71a963c17ee9899275b1d84df8eafd1f795391434ccb42d849"}},{"ruleId":"D2","level":"warning","message":{"text":"_ListExporterPageState.build (cognitive 19): _ListExporterPageState.build has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 13 (17 pts), if/else 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/list_exporter.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fae816907e5439f8b0253497197aa1346a84cf6085af2c1d1d2d3c1c57a09f"}},{"ruleId":"D2","level":"warning","message":{"text":"IosLegacyPlayerControlTheme.buildBottomControls (cognitive 19): IosLegacyPlayerControlTheme.buildBottomControls has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 13 (15 pts), if/else 2 (3 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96787df9d4930ab5339c4276be6426fec4d513f9c60c55aadcbf74ec5d2708d"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeRenderer._buildThreeColumnRow (cognitive 19): ThemeRenderer._buildThreeColumnRow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"015490fa6848a35b9a4ad8a10b50b6f03c39c281f2e73a9e1aa145e41f929920"}},{"ruleId":"D2","level":"warning","message":{"text":"_DoubleTapSeekWidgetState._handleKeyboard (cognitive 19): _DoubleTapSeekWidgetState._handleKeyboard has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (19 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe1de2ac2afa9a90b44bc612de9ae2b1e577bd7ed649f9daa427108656c56cb"}},{"ruleId":"D2","level":"warning","message":{"text":"_TracksPopupContentState._buildSourceSubtitles (cognitive 19): _TracksPopupContentState._buildSourceSubtitles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 8, boolean chains 2, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/tracks_popup.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b54134d4a39bbdfed48098fe26eab69c2543cdea7f07caf663eb4cdaad1265"}},{"ruleId":"D2","level":"warning","message":{"text":"_CommentSectionState._findParentUsername (cognitive 19): _CommentSectionState._findParentUsername has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_CommentSectionState._findParentRole) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d30a88e9c45d6a9be3b64ca0b11883f9b14eb554eff9b3180b64fa21c281718"}},{"ruleId":"D2","level":"warning","message":{"text":"_CommentSectionState._findParentRole (cognitive 19): _CommentSectionState._findParentRole has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_CommentSectionState._findParentUsername) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54d9ba580c6041ee155ba2627af82705d6375865381e52b53cb8bac19a58ac1"}},{"ruleId":"D2","level":"warning","message":{"text":"_CommentSectionState._showCommentContextMenu (cognitive 19): _CommentSectionState._showCommentContextMenu has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 5 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10932c4afd264486487de9ca7605bac970e1356fe44b2c0155bf507c6c09598"}},{"ruleId":"D2","level":"warning","message":{"text":"_CommentSectionState._showUserInfoDialog (cognitive 19): _CommentSectionState._showUserInfoDialog has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 7, ternaries 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3131}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cb0ac6ba6c6e07336d0bf412b7248420607db6a80ee76cfd75414fba6ffb2b"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserCommentsSheetContentState._privateRows (cognitive 19): _UserCommentsSheetContentState._privateRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53de371edeadc34c3f1842dc1e00d708c54baee378f544b021f07bfd19cc290"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController._initialize (cognitive 19): DownloadController._initialize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab012f3c922727b1bfee5af62bb1af56fd5cd0cbfbbae576ad628bc29abc390"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController._downloadSubtitles (cognitive 19): DownloadController._downloadSubtitles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2898}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae8302c0078f0088c23b4d4d66c9f82c021bb22bc9439f3a9471ed6ed340bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadScreenState._checkPermissions (cognitive 19): _DownloadScreenState._checkPermissions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 9 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/download_screen.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27754adfcd071f23cd33376821d738d0f3f9e89d9daca8017199531654d7ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadServerSelectorState._buildBody (cognitive 19): _DownloadServerSelectorState._buildBody has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, ternaries 8, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba7c2ab150445b5e38adef506c6101d99610e04682482f6a57eff8216408992"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadedMediaViewState._buildEpisodeTile (cognitive 19): _DownloadedMediaViewState._buildEpisodeTile has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, ternaries 6, if/else 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7bfb6807eede3ec527487043eaff885ac2b656c42e05fb59547c17f358e09f"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompatibilityInputPageState._buildMatchupHero (cognitive 19): _CompatibilityInputPageState._buildMatchupHero has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 17, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4121b38aa15a1ab8374e8985244058251d4c19d66db4ed54b59c3f518fd5f8f7"}},{"ruleId":"D2","level":"warning","message":{"text":"_UserProfilePageState._buildActivitySlivers (cognitive 19): _UserProfilePageState._buildActivitySlivers has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/user_profile_page.dart"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e1ecd2c99f713532e0c398877222aba7c8d2934175646c658f9b9a11de9ade"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProfileStatsTabState.build (cognitive 19): _ProfileStatsTabState.build has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_stats_tab.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a70272174d4396383edb2829465116fbf7db649a4bc527b28d9a65f3508292"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionFilterSheetState._buildSort (cognitive 19): ExtensionFilterSheetState._buildSort has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 2 (5 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"88be5bc11be6c991bd0c7d09e5dbd7997d198d6f27e1e64a5c839cb394c06fff"}},{"ruleId":"D2","level":"warning","message":{"text":"_GroupFilterWidgetState._buildSubGroup (cognitive 19): _GroupFilterWidgetState._buildSubGroup has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe13f7359cd1fb01f05d84cda907d5d03da579f10d0ebe216399644830cf6dd"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsAddonsState._buildTorrServerTile (cognitive 19): _SettingsAddonsState._buildTorrServerTile has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 4, boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_addons.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ad3b86f04b8a87f7b2000f05c445166b600f8468b7d47073ea49abbb1aef67"}},{"ruleId":"D2","level":"warning","message":{"text":"_ReportsQueuePageState._buildReportCard (cognitive 19): _ReportsQueuePageState._buildReportCard has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 6 (8 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcffa6f1b137e56161d5022ec77c487d9bef493660d8e3c21ef75f4a058da453"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsUiDetailsState.build (cognitive 19): _SettingsUiDetailsState.build has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (11 pts), if/else 5 (6 pts), match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4533ae8e0509805dbbfe01523111280f5fed0f4f40bc336ad832c394fa60792c"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumPageState._handleDeepLinkRoom (cognitive 19): _WatchiumPageState._handleDeepLinkRoom has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0ecfd4aed82bfa8d7f299c1a2c58e8e0e12fe93f95d1187305a0f5a06d3577"}},{"ruleId":"D2","level":"warning","message":{"text":"AniSkipApi.getSkipTimes (cognitive 19): AniSkipApi.getSkipTimes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 1 (3 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/aniskip.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cea3f3ff8fce94c5fd3a1c5ab77f78c7ed1292f406242e78b630ed3ffd7e79a"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaDownloader._resolveBestVariant (cognitive 19): MediaDownloader._resolveBestVariant has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_downloader.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45ee19344f3bfde0dcd56d85f79af083f067a5c1c778e62c5a766f0e38f09d5"}},{"ruleId":"D2","level":"warning","message":{"text":"AnymeXDecoratedAvatar.build (cognitive 19): AnymeXDecoratedAvatar.build has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10, if/else 5 (6 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_decorated_avatar.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c8757ce8067319510e1229768777c88d5e80099c69ab4a2756e3ff3eb5af91"}},{"ruleId":"D2","level":"warning","message":{"text":"BakedBlurImage.getCachedBytesOnly (cognitive 19): BakedBlurImage.getCachedBytesOnly has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (BakedBlurImage._getBytesForUrl) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/baked_blur_image.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"91049d56157628c40d39c5e26db7b52afc37ea03184195dcd5d42018c66d39f3"}},{"ruleId":"D2","level":"warning","message":{"text":"BakedBlurImage._getBytesForUrl (cognitive 19): BakedBlurImage._getBytesForUrl has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (BakedBlurImage.getCachedBytesOnly) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/baked_blur_image.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62b6a9dd63d422b1f25ac2a72a5781c153365c26a666f31e0f6a3a070d9657a"}},{"ruleId":"D2","level":"warning","message":{"text":"LeaderboardEntry.fromMap (cognitive 18): LeaderboardEntry.fromMap has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (8 pts), if/else 6 (7 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/comments/model/leaderboard_entry.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6b295b3c99d371511220965ea714b93d33b5011be6401f1c0107c27c4be469"}},{"ruleId":"D2","level":"warning","message":{"text":"Database._migrateLegacyMacosDatabase (cognitive 18): Database._migrateLegacyMacosDatabase has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (5 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/database.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b064ea52c9e94b2feef8c1ab37c65835884437d3007c99e55b759badef400a"}},{"ruleId":"D2","level":"warning","message":{"text":"_AIRecommendationState.fetchAiRecommendations (cognitive 18): _AIRecommendationState.fetchAiRecommendations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 2 (5 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/recommendation.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"412c54529154eeb00e1a712a2ae196748821e90768ba6d86e98f4c006e37f099"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController.fetchEpisode (cognitive 18): PlayerController.fetchEpisode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0e95aba11eaf2895b12b09db1988facbba87c8b325b503adaf5481bd10a7c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeRenderer._makeLabelStackThing (cognitive 18): ThemeRenderer._makeLabelStackThing has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcde7c750fc22ecf3c85fce6b1560f84da5004e7cd587240c70e7562fb5a2ed"}},{"ruleId":"D2","level":"warning","message":{"text":"_AudioPopupContentState._buildInbuiltAudio (cognitive 18): _AudioPopupContentState._buildInbuiltAudio has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 5, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/audio_popup.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"215fcd27513f847b6c5ce7fb8d7f1ea3e56e3f89e0b4ea0a4ef94567d98685c7"}},{"ruleId":"D2","level":"warning","message":{"text":"DecoderQuickButton.build (cognitive 18): DecoderQuickButton.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/decoder_quick_button.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d33c1ae9add25c40d2f4bd8bf62e6a4d4165463850ba86836057a233b3fa3a"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordMarkdown._parseImgTag (cognitive 18): DiscordMarkdown._parseImgTag has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eee93d5afe3e8b7cc88cb8ca542caade0863811599a97f4d3bb1d026f091a3c"}},{"ruleId":"D2","level":"warning","message":{"text":"_ListEditorModalState._setProgress (cognitive 18): _ListEditorModalState._setProgress has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, ternaries 1 (nesting depth added 9). 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/screens/anime/widgets/list_editor.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9633c9377a7fdd0d11bfa28aaefa27f2c52e2f5faa8ddf374e533d6a44cfa7"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadServerSelectorState._startDownload (cognitive 18): _DownloadServerSelectorState._startDownload has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 4, error handling 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f86a65fd163aa49e4b333d19511ab32a02348934172090ff8b455ac9ab9632"}},{"ruleId":"D2","level":"warning","message":{"text":"_ExtensionListState._onReorder (cognitive 18): _ExtensionListState._onReorder has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, loops 3, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionList.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06a01aff732cacf406d3bcff8be736f2e57e6ecb2e82e756a965092246a9f6c"}},{"ruleId":"D2","level":"warning","message":{"text":"NovelDetailsController._fetchChaptersOnly (cognitive 18): NovelDetailsController._fetchChaptersOnly has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, ternaries 1 (3 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/details/controller/details_controller.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"485b97d523f322b76883a3ea5756ea7219a0076315d2b80fbf22b176c882e16f"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProfileStatsTabState._overviewView (cognitive 18): _ProfileStatsTabState._overviewView has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (11 pts), if/else 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_stats_tab.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5a2e3b9d0ee7254d3d3c3a159311ca3bcd5e2e6a5db9dcec4e70adb30fb906"}},{"ruleId":"D2","level":"warning","message":{"text":"SocialTabState._fetchSocial (cognitive 18): SocialTabState._fetchSocial has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (8 pts), boolean chains 1, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/social_tab.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb6636a2fe2adca0548a778407c49033b5969b35bc148ee6b8ab2140fcc800a"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsPlayerShadersState.build (cognitive 18): _SettingsPlayerShadersState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 4 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/player/settings_player_shaders.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9029d8c5c2b8b30de892c94f30ddf03fe192db4dc1945f13d18f17f1b6442152"}},{"ruleId":"D2","level":"warning","message":{"text":"UserStatsController.streaks (cognitive 18): UserStatsController.streaks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/stats/controller/user_stats_controller.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee450b6e04cbe7f09bbd127f9a7dac4f859e4d8a75c75175a17b7440261a6af"}},{"ruleId":"D2","level":"warning","message":{"text":"Deeplink._handleAnimatchDeepLink (cognitive 18): Deeplink._handleAnimatchDeepLink has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/deeplink.dart"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edf9884f2d178eb8f68230f83820a68e1c08b49e7a8e2b324297388bc0de7d9"}},{"ruleId":"D2","level":"warning","message":{"text":"BakedBlurImage.loadCachedOnly (cognitive 18): BakedBlurImage.loadCachedOnly has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/baked_blur_image.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8054a1129eb756ccf33324d5f0cbdb2187091a803820ae05396f25c9f0c68c3"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaPeekPopupState._buildContent (cognitive 18): _MediaPeekPopupState._buildContent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29a1e61dbfb33ad70f4b968c0efa2e4339c6e9e58ac49b6a6280a227e81174a"}},{"ruleId":"D2","level":"warning","message":{"text":"_ReasonsSheetState._buildReasonCard (cognitive 18): _ReasonsSheetState._buildReasonCard has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 6, boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e4de8d98b939544774b8db814befd15e092720f79c7c86400af80a7dd6647f"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubsamplingScaleImageViewState._initImage (cognitive 18): _SubsamplingScaleImageViewState._initImage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, ternaries 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccec444e06fb1ecc318c43f1c0765da8f852263c9809d33510e852560f668f9f"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumPartyPopupContentState._buildMemberTrailing (cognitive 18): _WatchiumPartyPopupContentState._buildMemberTrailing has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 3 (6 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_party_popup.dart"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd631c3f52a2b7d103a2be639a2f2a388386ea55e8f53dc6517567b01f67fba0"}},{"ruleId":"D2","level":"warning","message":{"text":"AppNamePackageManager.run (cognitive 17): AppNamePackageManager.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, match/switch 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package_manager.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"107962c214bc24a958ce6ded43ce38b2cddeea63888ae5a5b7e32361b9ddc168"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineStorageController._attemptDatabaseRepair (cognitive 17): OfflineStorageController._attemptDatabaseRepair has cognitive complexity 17 (threshold 15). Drivers by points: error handling 3 (6 pts), if/else 2 (6 pts), loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f464e1f97a8b29c8699dd53ecbb3b831d043853f007df655cd351cd017972231"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineStorageController._createOfflineMedia (cognitive 17): OfflineStorageController._createOfflineMedia has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, ternaries 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"313eaa8b9ec3e225d97de5c8f2620e44d2c0d894baafce1c7dc2dd6b237806a8"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistAuth.login (cognitive 17): AnilistAuth.login has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e90591e6d28d760569037023b31fed6d8ae36fa6319f4a48056d6db44b59f4c"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageManagerService.clearTorrentCacheOnly (cognitive 17): StorageManagerService.clearTorrentCacheOnly has cognitive complexity 17 (threshold 15). Drivers by points: error handling 2 (7 pts), if/else 2 (5 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9152d6222963ca086d9df0a4685cb19b164a5fa14e1f16ec044743713f98d34"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchiumService._waitForJoin (cognitive 17): WatchiumService._waitForJoin has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/watchium/watchium_service.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"8735fc3dfcbd19870b2ce11c0d3f1e6f3bf2a07f7191c0889f8ef430c88e4ebf"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchiumSyncController._setupJoinerListeners (cognitive 17): WatchiumSyncController._setupJoinerListeners has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/watchium/watchium_sync_controller.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdfda7637aa67697cdef7351836f9e802bae2377023c292a30d068d49e013f3"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackedMedia.effectiveTotal (cognitive 17): TrackedMedia.effectiveTotal has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_media_user.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"601f650786f4d2fded9dfa667bbffbea4babe4616b5eb03cb7ea7bd2d97dcd64"}},{"ruleId":"D2","level":"warning","message":{"text":"IosLegacyPlayerControlTheme._buildBottomSection (cognitive 17): IosLegacyPlayerControlTheme._buildBottomSection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 5, boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"050326fdb53957af30b8552a8543235ec6cf0ba5234452cba0a77ced93818b42"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownFormattingToolbar._insertNumberedList (cognitive 17): MarkdownFormattingToolbar._insertNumberedList has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"61520c55775bcc1c32e28f75386fcec1bebfa04e23e3f8ea85154d12b4759d17"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadedMediaViewState._buildChapterTile (cognitive 17): _DownloadedMediaViewState._buildChapterTile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 4, boolean chains 3, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"80587570ed7e4e6a140c08a909dfcb599fe5e7aa88e9ffc59755c70f8db75bbc"}},{"ruleId":"D2","level":"warning","message":{"text":"_ExtensionListState.build (cognitive 17): _ExtensionListState.build has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 7, if/else 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionList.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb73e948e449d3c693ababb06ff9ea4754c7558a34827629cc8ff2b481e5f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"_SourcePreferenceScreenState._clearCookiesForSource (cognitive 17): _SourcePreferenceScreenState._clearCookiesForSource has cognitive complexity 17 (threshold 15). Drivers by points: error handling 4 (6 pts), if/else 3 (6 pts), loops 1 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a964f621e3fb31a9e0181faf2f446c61b2ec86e57e6adc9b987e1f055e5b78ae"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnilistMangaListState.initState (cognitive 17): _AnilistMangaListState.initState has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/online/manga_list.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3138f36392b0b7dd56812035f84cf1380774dcf0e5842ba183ec615eaf6d3c9"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalSourceController.loadCurrentDirectory (cognitive 17): LocalSourceController.loadCurrentDirectory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (LocalSourceController.loadDownloadDirectory) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"870b4c3196572478d47fcf596623c1415391a2d5c6d5078a69cd6e6b046961a0"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalSourceController.loadDownloadDirectory (cognitive 17): LocalSourceController.loadDownloadDirectory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (LocalSourceController.loadCurrentDirectory) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75eedc166c95fee94ddb11cdda02da3d99fb22be6142f1b3b9ed20f563fbeff"}},{"ruleId":"D2","level":"warning","message":{"text":"NovelReaderController.handleSwipe (cognitive 17): NovelReaderController.handleSwipe has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"49da52b8f1546fbc4c0fd91d817d6e6f67c4176f28d32ed1d4dcfdb4a965a790"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompatibilityResultPageState._buildShareUrl (cognitive 17): _CompatibilityResultPageState._buildShareUrl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (4 pts), error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":2728}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ecbdfc0a859ac9ecfa35dc39a2d14a15a8b5abefaed397c8f7c505ef0cdc19"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsAccountsState._autoSyncLinkedAccounts (cognitive 17): _SettingsAccountsState._autoSyncLinkedAccounts has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, error handling 3 (6 pts), if/else 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_accounts.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5b8a8213c52b8ecefd6963231d5c09f1a239904b66f5adc8b4b38ab301abe3"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsDiscordState._buildAccountCard (cognitive 17): _SettingsDiscordState._buildAccountCard has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11, boolean chains 4, if/else 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_discord.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3675ac738de8719b49a676013c051f5a9f8db801f166e95e41fb38c6a149237a"}},{"ruleId":"D2","level":"warning","message":{"text":"_ExportBackupSheetState.build (cognitive 17): _ExportBackupSheetState.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 1, if/else 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb21fbdfa17b1cec8d173d23c24eb8c5c18b2cfe80be52519fa35ae060c50c7e"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumPageState._showPasswordDialog (cognitive 17): _WatchiumPageState._showPasswordDialog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 7 (8 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2460ceea86ed2a75ce7da2e1b2a45c497bf96fdca885ef5521df8e9c5faeab"}},{"ruleId":"D2","level":"warning","message":{"text":"AdSupportService.didChangeAppLifecycleState (cognitive 17): AdSupportService.didChangeAppLifecycleState has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/ad_support_service.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c51d8c0c828b66a4de08973b671875228b65443c01f3b08fad390743dbeeef"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentumService.manageUser (cognitive 17): CommentumService.manageUser has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be50fd044b2a519d2778afedec7587038e6d979113894d25c28ce00a24d09cf"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentumService.fetchUserCustomizations (cognitive 17): CommentumService.fetchUserCustomizations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"4867591be8e71ed2a57e2c12fab403e9e7cf73e23ebb96040a74e61a0db03ce3"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeThemesAPI.searchAnimeThemes (cognitive 17): AnimeThemesAPI.searchAnimeThemes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AnimeThemesAPI.getAnimeData) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/anime_themes_api.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3f73f3e3655dd445cf54e3fc1f9f7278e8905ba1a6d15635f357b0ee572ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeThemesAPI.getAnimeData (cognitive 17): AnimeThemesAPI.getAnimeData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AnimeThemesAPI.searchAnimeThemes) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/anime_themes_api.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde2984fc4fe651b2e5e50826e93ad2e0cdc575e45e17592e3380ee75d6027bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Deeplink._handleWatchiumDeepLink (cognitive 17): Deeplink._handleWatchiumDeepLink has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, loops 2, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/deeplink.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"7877dcb750a0332338db7e4ed6cdfd5c37804270a2e333654ad9d13a97c9a3cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalFontLoader.getCustomFontNames (cognitive 17): ExternalFontLoader.getCustomFontNames has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (12 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/external_font_loader.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdd1e91bc17028c1f81c6fbb62f3972b16abc4ebbcd1aa9b2d99dd8593ca080"}},{"ruleId":"D2","level":"warning","message":{"text":"_VisualsPopupState._fetchMalVisuals (cognitive 17): _VisualsPopupState._fetchMalVisuals has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c36a2f2bb2ede57e218e1c2a5b6531c90d407aa2e69d899fc653cff6fcb67e3"}},{"ruleId":"D2","level":"warning","message":{"text":"AnymeXDialog.build (cognitive 17): AnymeXDialog.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 13, if/else 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_dialog.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"323bffaf49db1264690f6f0e4c096175ad7b5e958d8466c883e1608ac6a487b1"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceSelectorWidget.build (cognitive 17): SourceSelectorWidget.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/source_selector.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b123983880c28e13de17adc77b9826f9422cb0b3d63dfb3cc865ed8e5806c671"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSourceSection.build (cognitive 17): UnifiedSourceSection.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/unified_source_section.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebec59d6bd8a79c6b9d39b7fe2abe23b54255351cab37af70e34fb71d81ac1d5"}},{"ruleId":"D2","level":"warning","message":{"text":"AnymexOnTap.build (cognitive 17): AnymexOnTap.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5 (7 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/helper/tv_wrapper.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"38160650a6611c29401183adb6b8bff5da14c3c9a8a734051999f7e8a4a37143"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineStorageController.addOrUpdateWatchedEpisode (cognitive 16): OfflineStorageController.addOrUpdateWatchedEpisode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b28a333cbd041f50e80cbfbaaaad01c4e94f3dab535d54ba7ec7719b7d7763"}},{"ruleId":"D2","level":"warning","message":{"text":"AnilistAuth.getNotifications (cognitive 16): AnilistAuth.getNotifications has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2752}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cc55b88c774fb26db0c8cc6cb9b2d3e2ac776d9927a779a16d1b3e070db79d"}},{"ruleId":"D2","level":"warning","message":{"text":"CommunityService._buildUserIdentityBody (cognitive 16): CommunityService._buildUserIdentityBody has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/community_service.dart"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d341e4d879701ae402b00ef518e5f384b5bb87bf1655ee97e114a3e483867c4e"}},{"ruleId":"D2","level":"warning","message":{"text":"SimklService.homeWidgets (cognitive 16): SimklService.homeWidgets has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 3 (4 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf0d955886f2fe5febe75d99e8595391413283fdc2f48ee0705e6dff7b4cd5e"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceController.isExtensionNewerVersion (cognitive 16): SourceController.isExtensionNewerVersion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (5 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/source/source_controller.dart"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"6847bd0b8568f8fbc754e284d538befc560a1dcef09f0b69f8ebc484f082c6ff"}},{"ruleId":"D2","level":"warning","message":{"text":"GistSyncController.syncEpisodeProgressOnExit (cognitive 16): GistSyncController.syncEpisodeProgressOnExit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (GistSyncController.syncChapterProgressOnExit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ef55c6a735003fbbe1ed4907fe92c7adebddb6011b4be15df5d61a73a24f8e"}},{"ruleId":"D2","level":"warning","message":{"text":"GistSyncController.syncChapterProgressOnExit (cognitive 16): GistSyncController.syncChapterProgressOnExit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (GistSyncController.syncEpisodeProgressOnExit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb37e0a7f82eefd07b19fd7397e69b7ce9811a7327ae6a625137bc20f35a50d"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchiumService._handleMemberChanges (cognitive 16): WatchiumService._handleMemberChanges has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/watchium/watchium_service.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd79559eb336a3d4035140d8f617c2795987837164293ae01f77fe5ac30359d"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchiumService.joinRoom (cognitive 16): WatchiumService.joinRoom has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, error handling 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/watchium/watchium_service.dart"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d40ee8319791df977ffd72a9d288d602e161d6f3265297166a6bf2803ea075"}},{"ruleId":"D2","level":"warning","message":{"text":"Media.fromRecs (cognitive 16): Media.fromRecs has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9, boolean chains 6, if/else 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfc35dc2b26a0e28df6bb15838f09317bd086e3a313735ac3a51cb84a238169"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaDetailsController._renewEpisodeData (cognitive 16): MediaDetailsController._renewEpisodeData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9182b1ecf07e14662b49579ed4e917a4521c1dabbc0a4b264e5e7992eed50f"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaDetailsPageState._resolveDynamicColor (cognitive 16): _MediaDetailsPageState._resolveDynamicColor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/media_details_page.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef72e7e774f7822ce71ca2f6e4090350c5a6120aefcedd449db06850d09f99c"}},{"ruleId":"D2","level":"warning","message":{"text":"_CalendarState._isSameDate (cognitive 16): _CalendarState._isSameDate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a135ec16aa6dbd1fbc21f4ab9bcc28b49a8059c7b8fec970051d264642c29a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._loadVisualSettings (cognitive 16): PlayerController._loadVisualSettings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"950476a061e8c643e657fab03f3dfb3718675843b4ff85fd3a417b38d64bdae9"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._openWithCloudFallback (cognitive 16): PlayerController._openWithCloudFallback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, error handling 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d60f8186fcb8d4c6b955450f8fdd6dc3528a3cbb0f8a60d3353d4b9d789c866"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._initializeAniSkip (cognitive 16): PlayerController._initializeAniSkip has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, error handling 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"427451e400e98d20552552dec9d204d80652f154bb1064ca960ac1de869a4135"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerController._initializePersistentListeners (cognitive 16): PlayerController._initializePersistentListeners has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fadfbabf19043124b154e83373ddde1ab340a7c7ae178205931944d887b8a46"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeRenderer.buildBottomShit (cognitive 16): ThemeRenderer.buildBottomShit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7c0bccc638950ae0f2095661b3e5de1e05a2a8829b37e9f224d922a61d58d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeRenderer._checkCondition (cognitive 16): ThemeRenderer._checkCondition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f34d53a73ab6f52dfd212c97df3957121a22c38c30810b05fb4b3b9c040b924"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchTogetherPopupContentState._createRoom (cognitive 16): _WatchTogetherPopupContentState._createRoom has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b6356512c1825134e6b3ce9f4c8328607000a291c0b88b7ce847d8260fdbfd"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayer.setSubtitleTrack (cognitive 16): MediaKitPlayer.setSubtitleTrack has cognitive complexity 16 (threshold 15). Drivers by points: error handling 2 (7 pts), if/else 5 (6 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/player/media_kit_player.dart"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ca233b98d6b9ae8366ad6d0bc0e12a20bd48c306bcf8b0edc8f63cc7d6c7a1"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController.fetchServersForEpisode (cognitive 16): DownloadController.fetchServersForEpisode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"835bfb776a2c2eb18f8a1489905314013543e90d2b35c10349dca61e37dca927"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadController.updateDownloadedMediaMetadata (cognitive 16): DownloadController.updateDownloadedMediaMetadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (6 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1828}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01f897ea622edbb91037f7d4c6e6f291aa835138924f7c6e8849cc00e314e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManager.syncLocalApk (cognitive 16): PluginManager.syncLocalApk has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/widgets/plugin_manager.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"84078a4950498df0d950cb01be2289daeb385e6791446e07f23acf309dc2866a"}},{"ruleId":"D2","level":"warning","message":{"text":"_HomePageState.build (cognitive 16): _HomePageState.build has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home_page.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a31303ec7f276dabc2b815b0e4281915aa83baa1d8278e3fc77cf1111931b0"}},{"ruleId":"D2","level":"warning","message":{"text":"_MangaStatsState.build (cognitive 16): _MangaStatsState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 5, ternaries 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/manga_stats.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"64740269150b9bcd516b10cf1e1c2504bc8273f249d25cff5cdd1dc4a3b282ea"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationController.loadMoreAnilistNotifications (cognitive 16): NotificationController.loadMoreAnilistNotifications has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 1 (3 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/notifications/notification_controller.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"562f741cc7f6835122097808cb559305de2867d078b4b8a92de873b371784b60"}},{"ruleId":"D2","level":"warning","message":{"text":"NovelBottomControls._buildScrollProgress (cognitive 16): NovelBottomControls._buildScrollProgress has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (12 pts), if/else 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/widgets/bottom_controls.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8952c29a66e9c1b23fa95f55ec2e36aaefb1ecc7c86f78ea8a1a595758e08fec"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompatibilityInputPageState._loadFollowing (cognitive 16): _CompatibilityInputPageState._loadFollowing has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"490696e1121637ca7415139eb80f267392371db81d340d28b8ba41a860396db4"}},{"ruleId":"D2","level":"warning","message":{"text":"_ContributorsPageState._buildFeaturedCard (cognitive 16): _ContributorsPageState._buildFeaturedCard has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (7 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/contributors/contributors.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb79a61a00dfc27afc979fd23d1a090562ee1ded0edcba4b9d6b24ca3f016e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsExtensionManagerState._buildExtensionSettings (cognitive 16): _SettingsExtensionManagerState._buildExtensionSettings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_extension_manager.dart"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb94477fc3af2fc9bde16389cfff824a68fedbed7fb1a79794e40c22d6f09a6c"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsUiDetailsState.initState (cognitive 16): _SettingsUiDetailsState.initState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8acffb3e77127f2e8527ec562be9e817d9e9fd3311467c246b8ba0ae23dc292"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentumService.listUsers (cognitive 16): CommentumService.listUsers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3816667db4fdf2bf9c71561372e3ac524a4479b267c4f568b2163896ac8d97"}},{"ruleId":"D2","level":"warning","message":{"text":"Matchmaker._computeEntityStatOverlap (cognitive 16): Matchmaker._computeEntityStatOverlap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 4, ternaries 2 (3 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/compatibility/matchmaker.dart"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35cb7d60bedd0c9d5a9be5fe2b8e2e6afd5b30a378879ca9c9f9b19e6ae37d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Liquid._gpuBlurImageCustom (cognitive 16): Liquid._gpuBlurImageCustom has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (7 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/liquid.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa79390c94fcc5ac43631c6f6b0c619eb143916915b3b59e4f553ae58caab81b"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaDownloader._downloadM3u8WithProgress (cognitive 16): MediaDownloader._downloadM3u8WithProgress has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_downloader.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57614aedf5bce51ae0fbcbbfbb3cd9020b4a8b858548bc0a0f18588438ba205"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaShare._buildTrackingShareLink (cognitive 16): MediaShare._buildTrackingShareLink has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (6 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (MediaShare._buildAnymexShareLink) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_share.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f858493b551c754644733d747a65c0879e301ab16c227ed360d8078dce746990"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaShare._buildAnymexShareLink (cognitive 16): MediaShare._buildAnymexShareLink has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (6 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (MediaShare._buildTrackingShareLink) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_share.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f2448bca19fb676be7ec42545cd212227d9ccf5d87e6cb88e52a9244048840"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkedAccountsBadges.build (cognitive 16): LinkedAccountsBadges.build has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/linked_accounts_badges.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a87003ba25546480e0b9136f058331293b0774052a6e1c4f668d09969441d6"}},{"ruleId":"D2","level":"warning","message":{"text":"_BigCarouselPortraitState.build (cognitive 16): _BigCarouselPortraitState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/carousel/themes/big_carousel_portrait.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa0604c8e991cbfdbda2cdcd7941cf21a555c926aaba09d8129a8af2da0cb51"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaPeekPopupState._buildRecommendedBySection (cognitive 16): _MediaPeekPopupState._buildRecommendedBySection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 4 (6 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8489a57127268818a5e1cbc2ebd1c062796cced068648a7304424e1b1d938c"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubsamplingScaleImageViewState._findCachedFile (cognitive 16): _SubsamplingScaleImageViewState._findCachedFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), error handling 3 (5 pts), loops 2 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b855a5c6562f829e2fc688cf18ff6e77918ba25ccdcb53381beee8762de08ad"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchiumCreateSheetState._createRoom (cognitive 16): _WatchiumCreateSheetState._createRoom has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_create_dialog.dart"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9454fd485f1a3aa4d42f9611db62a1489cf2e1ab81196bd16dc24bc9b1f22d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CommentSectionState: ClassTooLong \u2014 2748 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 2348 over it, 6.87\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0656a8f0e2df29526ce701c2ed6c2c80a9615d413eb7ccf40ae0473e01ec45"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Settings: TooManyMethods \u2014 193 methods. The bar is 30 methods; this is 163 over it, 6.43\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/controllers/settings/settings.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e1f1482df348e769500f9dd34d70c0c80bbbc3e6299babc0424b2dcb57339e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: comments/comments_section.dart: FileTooLong \u2014 2883 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _CommentSectionState (55-3781). The bar is 500 significant lines; this is 2383 over it, 5.77\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcb8a79a73bf1cd2f969f11eba4e4dfb12adec216ff306dc926aca85bd10ed8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnilistAuth: ClassTooLong \u2014 2288 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 1888 over it, 5.72\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0156db64a182ad41befeee2bc82bc099866a276abcc025a5d5044d2b462612"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlayerController: ClassTooLong \u2014 2217 significant lines (blank, comment-only and punctuation-only lines excluded), 129 methods. The bar is 400 significant lines; this is 1817 over it, 5.54\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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"110100538e9091372d034f8970d5b144ca3f7064810e18e8f7315a66e79ada31"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DownloadController: ClassTooLong \u2014 2177 significant lines (blank, comment-only and punctuation-only lines excluded), 84 methods. The bar is 400 significant lines; this is 1777 over it, 5.44\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a1dd8fcf2e00f3b7db2ec8bd7c38b1c03a21ff0c728db0b968f79be20affd3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CompatibilityResultPageState: ClassTooLong \u2014 2090 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 1690 over it, 5.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0334bb2d7211d78d1ca6a97e733725340808c456beaf09afefb6763ab6da0d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anilist/anilist_auth.dart: FileTooLong \u2014 2320 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: AnilistAuth (37-3140). The bar is 500 significant lines; this is 1820 over it, 4.64\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c18ab8949144aefb89b31e7e1446b776fdabe7c7dfed6d98535bf814a7ed2c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/player_controller.dart: FileTooLong \u2014 2301 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: PlayerController (96-3155). The bar is 500 significant lines; this is 1801 over it, 4.60\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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53232c2c8e6938e943a29c7d56e8678a876df68b01f923b29e76fcfc72dbd588"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserProfileHeaderState.build: MethodTooLong \u2014 build runs 456 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 356 over it, 4.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/screens/profile/widgets/user_profile_header.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7df20e33e2ebf35e203babd2f733cdf38cc955c66dd64901778af3f11034f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/download_controller.dart: FileTooLong \u2014 2224 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: DownloadController (37-2939). The bar is 500 significant lines; this is 1724 over it, 4.45\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf6c6ba7405a5c62a4a37f07d191c433089626265d93f18df6e8663bcb4cf6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compatibility/compatibility_result_page.dart: FileTooLong \u2014 2206 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _CompatibilityResultPageState (53-2835). The bar is 500 significant lines; this is 1706 over it, 4.41\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d6da990da2a736bfd2d3dea4a576d7b6f7962146f3ce01730a5027458c794c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: setup/json_player_control_theme.dart: FileTooLong \u2014 2164 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1664 over it, 4.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5118bdc70a0dd311102b50b131d1b5611b2f9679872a6872c392b55f063e0f7b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayerController: TooManyMethods \u2014 129 methods. The bar is 30 methods; this is 99 over it, 4.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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee91a0c26a0719250db1c83a551f81fa41924de77cf8c14527d8577a668d22d1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _FuturisticFilterSheetState: ClassTooLong \u2014 1621 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 1221 over it, 4.05\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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c836692c4b4c3930bb8f5632c5aac967f90eba8a5912749f3df8a06cb973b6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommentumService: ClassTooLong \u2014 1536 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods. The bar is 400 significant lines; this is 1136 over it, 3.84\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/services/commentum_service.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf68e6a6332577eacb106c30a16406d872f6a77e625345a4af323b46c08ff09"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReaderController: ClassTooLong \u2014 1532 significant lines (blank, comment-only and punctuation-only lines excluded), 105 methods. The bar is 400 significant lines; this is 1132 over it, 3.83\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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a65e17ec13107acf47ea0eb188351db1756101f1c9685ec2c307e5af715f8c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserProfileAppBarState.build: MethodTooLong \u2014 build runs 382 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 282 over it, 3.82\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/screens/profile/widgets/user_profile_app_bar.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"447c39769392836c2771e9dc5fc563e5dbede7622886f03c676faeda33d65900"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/search_widgets.dart: FileTooLong \u2014 1830 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: _FuturisticFilterSheetState (263-2415). The bar is 500 significant lines; this is 1330 over it, 3.66\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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af0e9e4e3f26225695aba8aef70f22445a2f45f60b9e5f8d340f87af124f308"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DesktopProfileHeader.build: MethodTooLong \u2014 build runs 360 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 260 over it, 3.60\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"327985f73b0b8511c3394bec35a7099030b4b086d80e11a615f088621f104d5d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaHeader.build: MethodTooLong \u2014 build runs 356 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 256 over it, 3.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/widgets/anime/media_header.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77465f460ab998fa42884b6c242dc98a20f27d584c277a20e40c5fec9d313ee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReaderController: TooManyMethods \u2014 105 methods. The bar is 30 methods; this is 75 over it, 3.50\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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a39f1dd4078cf953f84b207f549e3f9eeaf424ff0381f10d52060f71b2ec5fd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobileProfileHeaderSliver.build: MethodTooLong \u2014 build runs 349 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 249 over it, 3.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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f41639eef3a2b5f46b3afc2d5725ea34184ec18ea5712d1b74673cff60f2b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserSearchSheetState.build: MethodTooLong \u2014 build runs 349 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 249 over it, 3.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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4528373ec0505b4cf133b74bf4741630863d7c68d4515152ec186a223815bbd1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Media: ClassTooLong \u2014 1387 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 987 over it, 3.47\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/models/Media/media.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f40068c09102fb22533c539ef14d4da0bba892a90cc24f568d4ee34b578b15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sub_settings/settings_moderation.dart: FileTooLong \u2014 1711 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1211 over it, 3.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"831706838d4487b930092f093f83204fbce11504f78a2187666e17bf2df1300b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsPlayerShadersState.build: MethodTooLong \u2014 build runs 340 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 240 over it, 3.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/player/settings_player_shaders.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a3088f3865c9d1d3b33bb084865493e48142c1ecce9f50b226bc1d615b3d10"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BackupRestorePageState._buildImportSection: MethodTooLong \u2014 _buildImportSection runs 339 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 239 over it, 3.39\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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"561bbf68c61e14f4df038d6dd1ed008638d44d1a61bbd1256a2cb228d35c592c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ExportBackupSheetState.build: MethodTooLong \u2014 build runs 333 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 233 over it, 3.33\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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"921be4ed6050b48e8c01c5f39228d06e8480ecef684d7611edfc017ba25dd752"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/episode_list_builder.dart: FileTooLong \u2014 1659 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: _EpisodeListBuilderState (87-1547). The bar is 500 significant lines; this is 1159 over it, 3.32\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"815b84c6afcb3772c40ffad22e55184669985c3ac10b0f3c744f52ec1ae8f802"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnilistData: ClassTooLong \u2014 1307 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 907 over it, 3.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83dc84c6495672a70f5602967b9dc7bfbb2b73bc8f8af7086bb370b5aed889a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsRegistry: ClassTooLong \u2014 1302 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 902 over it, 3.26\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/screens/settings/registry/settings_registry.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b23fdaf68c5ea4cf7b6f57d6fd2cfddae58e81a6be7d3623ea4f6cf910b831"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/reader_controller.dart: FileTooLong \u2014 1605 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: ReaderController (95-2234). The bar is 500 significant lines; this is 1105 over it, 3.21\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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8e5cadd1c9a02faa594d9f57995e173676587939b9410c5de901e9a64307a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/commentum_service.dart: FileTooLong \u2014 1573 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: CommentumService (47-2140). The bar is 500 significant lines; this is 1073 over it, 3.15\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/services/commentum_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a907bbe986ea225082c97ea06b5a4eabce2deb2c6d64c61c3fd09a877008d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReaderSettings.showSettings: MethodTooLong \u2014 showSettings runs 311 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 211 over it, 3.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/settings_view.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4625cf7e52a64ee2d163a235e4e10f2863dcbb3747b605f01fde663d510d9f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DownloadScreenState: ClassTooLong \u2014 1227 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 827 over it, 3.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/download_screen.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"69de375b01186db34f674a00987d3eb9d76e61913d52e0e2ec9037b2e6fb0404"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NovelReaderController: TooManyMethods \u2014 92 methods. The bar is 30 methods; this is 62 over it, 3.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dd895774705190fc79f641c97cbdbee903f61773d7cf7509decc249dc3d173"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Media/media.dart: FileTooLong \u2014 1512 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: Media (19-1643). The bar is 500 significant lines; this is 1012 over it, 3.02\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/models/Media/media.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4da16fcf2f009e0723fa2280fb32be0a68521437575a8c4e0069ff14557666b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SearchPageState: ClassTooLong \u2014 1193 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 793 over it, 2.98\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/screens/search/search_view.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05afbfd7aaa8111ebc3acf9ed6457df6745f3b385f40b3ae879c6b6d45a6b2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backup_restore/backup_restore_service.dart: FileTooLong \u2014 1484 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: BackupRestoreService (362-1873). The bar is 500 significant lines; this is 984 over it, 2.97\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0c5471dcab9b3aedcd8a638564ea81f93ef796f3a11d89c56b0afd739f1c29"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BackupRestoreService: ClassTooLong \u2014 1179 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 779 over it, 2.95\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fce496b53cdd146292c96fe064fbcafd0791a7be04448ad29b7b6fc187c4f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsUiDetailsState._buildLivePreviewCard: MethodTooLong \u2014 _buildLivePreviewCard runs 294 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 194 over it, 2.94\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/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a25e72a78c854169f57a1790d9149c3424deac19df92d448cf3bff1e35d184e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Media.fromSimkl: MethodTooLong \u2014 fromSimkl runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\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/models/Media/media.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"446f01271efbc3f68141e68dfc857be382d100d0b1b8ba0a41fcce88bdc95626"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NovelReaderController: ClassTooLong \u2014 1158 significant lines (blank, comment-only and punctuation-only lines excluded), 92 methods. The bar is 400 significant lines; this is 758 over it, 2.90\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/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f75a416ae6137127d7d9725821f3fda1fa087b60171277c67e030ad576d645"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaModeSelector.build: MethodTooLong \u2014 build runs 289 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 189 over it, 2.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/media_mode_selector.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"560b31d644abe3e06903f87ffd8337d2078b4e86b02bd630749f0a6dfe28b99c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnilistAuth.getNotifications: MethodTooLong \u2014 getNotifications runs 285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2752}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6771c9a35cdf7b2e07f3b6a053a5f4015ebdd6b0d7f70451f4557d843069549"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: __ListMediaEditorBottomSheetState.build: MethodTooLong \u2014 build runs 285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\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/screens/library/editor/list_editor.dart"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"c701c7b6f8c6ec669953b72f3d3fc7497aa62901d7b7384b2aa823cf53c87e60"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ThemeRenderer: ClassTooLong \u2014 1133 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 733 over it, 2.83\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/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afc93e42b2a26691b1b6bd7c26f1e82d2aa0fa53e47a8e62837ea75a0eb2843"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ChapterListBuilderState: ClassTooLong \u2014 1130 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 730 over it, 2.83\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/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"83db85f7899d5a76017e940aa8d4e41ab1242b300638f9f3dc4de21a1bc96fd6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DownloadController: TooManyMethods \u2014 84 methods. The bar is 30 methods; this is 54 over it, 2.80\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1800b52fd803fc0ce74d44fe5090af7103a61e3fa4bec488bb44e27e2ad29f5c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _EpisodeListBuilderState: ClassTooLong \u2014 1109 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 709 over it, 2.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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6850780141fcb9877d99198bc23a224c195ea45c0782381c301aba4aa0bfd05c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsReaderState: ClassTooLong \u2014 1107 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 707 over it, 2.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/screens/settings/sub_settings/settings_reader.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9f723ff7ffbda5fde1911ac9ae5d94ccf267213552047bd01f94e2642acffb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _WatchiumPageState: ClassTooLong \u2014 1096 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 696 over it, 2.74\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/screens/watchium/watchium_page.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb80ab665a01f9c4ea4fe556ed588565877cabc392c3ed6916bae44339e7423"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ActiveDownloadsState._buildMediaExpandableCard: MethodTooLong \u2014 _buildMediaExpandableCard runs 272 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 172 over it, 2.72\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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7c257598e021a78b84bfb6070b21fa1a4a37d33af6998b2725474609347aed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WatchiumPageState._buildRoomCard: MethodTooLong \u2014 _buildRoomCard runs 272 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 172 over it, 2.72\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/screens/watchium/watchium_page.dart"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d775bc0255ead93b3c1974989d2dab411e73b744b7ca7ae0be7834d1af76694"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anilist/anilist_data.dart: FileTooLong \u2014 1355 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: AnilistData (54-1786). The bar is 500 significant lines; this is 855 over it, 2.71\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a241b99b67e422daf3edf7a3b1a3f19ba04109957c637e980177058e284b449"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: downloads/download_screen.dart: FileTooLong \u2014 1352 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: _DownloadScreenState (159-1814). The bar is 500 significant lines; this is 852 over it, 2.70\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/screens/downloads/download_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dc9e051c6fd31bc8cd19eb23f8cb701df623acb06c1c7299c1b80cdcda6557"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RecommendSheetState._buildAlreadyAdded: MethodTooLong \u2014 _buildAlreadyAdded runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bf317183c8c0c46988674f9ba07bdca58696d8beeb83155cbaa0a8db7d0340"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DownloadScreenState._buildEpisodeStep: MethodTooLong \u2014 _buildEpisodeStep runs 266 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\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/screens/downloads/download_screen.dart"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"b386fc07e4a5daa6cb84e08ca4cd4144cafeacbefba5624c8194f15ef949fc6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsPlayerEngineState.build: MethodTooLong \u2014 build runs 266 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\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/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"239c478fcb3d57979e774bf7b44c7739c22c13ea2b7615ce0eda20f99d35294d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: registry/settings_registry.dart: FileTooLong \u2014 1327 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: SettingsRegistry (27-1571). The bar is 500 significant lines; this is 827 over it, 2.65\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/screens/settings/registry/settings_registry.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba53c5edb447c04cc00047874a15737f83a1ef5ba7741cd2ea5880cf6d16b93"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsReaderState._buildNovelReaderSection: MethodTooLong \u2014 _buildNovelReaderSection runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.64\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/screens/settings/sub_settings/settings_reader.dart"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bfdcde45b951fbe4ccc318fadcf639aee84b30916d30dc5d9ddff7a4dbcd53"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Ios26PlayerControlTheme.buildBottomControls: MethodTooLong \u2014 buildBottomControls runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4f0c70507015de6e5306caea29b4a7d4195ab56ce1c376e1bf52579b5f886a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ActivityCardState.build: MethodTooLong \u2014 build runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_card.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5605f583f19438a33da6cc36d889b4b3102833c536dba29e9aed1d0b26ff4554"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentsRepliesSheetState._buildCommentCard: MethodTooLong \u2014 _buildCommentCard runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\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/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08b36c459fc4811e1cc27bab80a98daf268be0dbd6a8c2533bdc6f6852afeed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _EpisodeListBuilderState.build: MethodTooLong \u2014 build runs 261 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 161 over it, 2.61\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"c295dbdd94ff3e423b81330bb548edf581819040abd8b39ea03407f82ca19204"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Header.build: MethodTooLong \u2014 build runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/header/legacy_header.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"91540a0c1fdaf4d605139c6423edd3485bc73c0dbaef189b47eb7fa25d7e6a72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: search/search_view.dart: FileTooLong \u2014 1289 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: _SearchPageState (79-1719). The bar is 500 significant lines; this is 789 over it, 2.58\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/screens/search/search_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd036e3fbdf2bd3c62402477de6fdaad74cdec0145238f7762f81ea6534db1fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ChapterListBuilderState.build: MethodTooLong \u2014 build runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\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/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b6594c1df43cbec90d427ce61762f4d5c407ccb6e979f4671fe5c950617a86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackupRestoreService.getBackupInfo: MethodTooLong \u2014 getBackupInfo runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d81abcf4c8bdb9234fae848a322e9065511800a8e98d3b172d91d1f2355f23"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TachiyomiBackupParser.parseBytes: MethodTooLong \u2014 parseBytes runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\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/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2be422aba36674bd1a9869ec9705704d65f38fddf3ceebde69c14cac21efdcb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsReaderNovelState.build: MethodTooLong \u2014 build runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\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/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8490eb790f1c3390c67ba75209777bd466e1a955c4756310effa37531e44203"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DownloadedMediaViewState: ClassTooLong \u2014 1006 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 606 over it, 2.52\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c2ecaeea5bf4bbd7f4daef972430487ad73ce1277b656783fb48783d57a874"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/chapter_list_builder.dart: FileTooLong \u2014 1250 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: _ChapterListBuilderState (148-1639). The bar is 500 significant lines; this is 750 over it, 2.50\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/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a046fa968021a81d1ae8305aba92043cc200b6a054fe70b6df173a562337a8c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsNetworkState._openProxySheet: MethodTooLong \u2014 _openProxySheet runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.50\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb28f402eb0ff8a05e7af3f8b68d7d5da1b64b4355250f42951e7e46efb71a7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AnymeXAnimatedLogoState: ClassTooLong \u2014 997 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 597 over it, 2.49\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"629b900e769a52dc071e1c328718b33c0af6a849de7468b5f49f439a7324255e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActivityComposerSheetState.build: MethodTooLong \u2014 build runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e2aa2fde79432ecc4a0cc1ff004d4025312dd5d9bbc182517b488d8a4819c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _MediaDetailsPageState: ClassTooLong \u2014 968 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 568 over it, 2.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/media_details_page.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"315dfc8410fa7f7afb05cd935271f21ce32836a7aa7e6d547a4b4454b28ffdf7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LogoAnimationPreviewDialogState._showAddCustomLogoDialog: MethodTooLong \u2014 _showAddCustomLogoDialog runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c8dec628b17febd4d1b390db54e7555e8ac2c8e90f41e13d8805be2bc316cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ProfilePageState._buildBody: MethodTooLong \u2014 _buildBody runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\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/screens/profile/profile_page.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0185d51615f7260f9bef018db547d9b4d9bd258fe1738e6ab1786d9ef33a35c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _UserProfilePageState: ClassTooLong \u2014 942 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 542 over it, 2.36\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/screens/profile/user_profile_page.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edda00501fbd96402f9a7bf18823e090f79778a01b76dcdadbe36636f296b25"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/reader_controller.dart: FileTooLong \u2014 1177 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: NovelReaderController (23-1564). The bar is 500 significant lines; this is 677 over it, 2.35\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/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e9206887a1324a12ad6d8399b7c03e805b372c2a04c7122820da36b6f0f3ce"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MediaDetailsPageState.build: MethodTooLong \u2014 build runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.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/screens/anime/details/media_details_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4cadc9f8ed182f90c3a65d192c8bce48cfefd9dbe27d61d3ee5dda12a29905"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ReportsQueuePageState._buildReportCard: MethodTooLong \u2014 _buildReportCard runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81714d850270878675d50181c91c1be1fd3b5501e67ca00d02fa9ccd1a61919"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/character_staff_sheet.dart: FileTooLong \u2014 1151 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 651 over it, 2.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9c86d44d20457b2da0d7765fd3b9b89efcc54e92db8f4f5c1908b418f2c13e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsPlayerControlsState: ClassTooLong \u2014 907 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 507 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37e09be7f3897104470b9eb21d4f837e0f63e83b7ec4b7607bced1f24a69169"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommentumService: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fae4f3e634f4e47504a9851128cb794a455dd8d3e994a12d8afe104dad5c92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sub_settings/settings_reader.dart: FileTooLong \u2014 1133 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: _SettingsReaderState (32-1472). The bar is 500 significant lines; this is 633 over it, 2.27\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/screens/settings/sub_settings/settings_reader.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a097c137d97061f22652d0f1fb50b3a161b133910c6ac3b0a75f96934e0c8232"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OfflineStorageController: ClassTooLong \u2014 906 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods. The bar is 400 significant lines; this is 506 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ff8987db5b4025c55aaf090f5801560a76ef43f2bd87bf59a05908ca2f8924"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SocialTabState.build: MethodTooLong \u2014 build runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\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/screens/profile/widgets/social_tab.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"103f77e27bcb062b68f2e3401f6a449d0bb526558c47d357402941e3d3103bcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/backup_and_restore_widgets.dart: FileTooLong \u2014 1120 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 620 over it, 2.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"011c4cdcdda48a25fa90d88a65fa18a3e7322dc7667ffb4c8994a603bb14ec6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: watchium/watchium_page.dart: FileTooLong \u2014 1117 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: _WatchiumPageState (26-1514). The bar is 500 significant lines; this is 617 over it, 2.23\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/screens/watchium/watchium_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fc0065844998ead249d264c9ae83a8509add66e9204813b42987aa172baeef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ActiveDownloadsState._buildChildTaskCard: MethodTooLong \u2014 _buildChildTaskCard runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"077154c948a6d939af135aec9ce118133e4f82f4a4b13d8340393794dd00c5c0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Matchmaker: ClassTooLong \u2014 887 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 487 over it, 2.22\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0c6322c40208a2a1808f9ed4757e040ee5f14c7ba28a1e61f038c5498637dd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _WatchOfflineState: ClassTooLong \u2014 884 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 484 over it, 2.21\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/screens/local_source/local_source_view.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3580542f6b0eb9536e6aa070bb2ede73f9e1f1ee133c6baa09786e1ef82a57b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DesktopStatsGrid.build: MethodTooLong \u2014 build runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\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/screens/profile/widgets/stats_overview_cards.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b60459793c78eda2f37d44a7a5a0670dbea821a2acc26392cddf153e9ac8015"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsUiState._showReorderTabsDialog: MethodTooLong \u2014 _showReorderTabsDialog runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\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/screens/settings/sub_settings/settings_ui.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6996152dc264fa5b046ab70f628ec226beb1051a93266a736609f453c0c1512"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notifications/notification_screen.dart: FileTooLong \u2014 1099 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: NotificationScreen (24-952). The bar is 500 significant lines; this is 599 over it, 2.20\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/screens/notifications/notification_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b02be11cd9188a61844a17fc36c9aff99615b2b217ccaacf76cf03e746eac1d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _WatchiumPartyPopupContentState: ClassTooLong \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 475 over it, 2.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_party_popup.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61b2a623d16c601dbdbefd63d29fe23fce669f6776f73ffbfb63e0f39c69773"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DownloadServerSelectorState._buildBody: MethodTooLong \u2014 _buildBody runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\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/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"264119f29a999197c273c6ae3f68f15ef00e2f2000b6176270e65d2ae2b16be2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserManagementPageState.build: MethodTooLong \u2014 build runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b299f159c1e00a9c853d38a34b6fa52dc84a6663a4fbee12d8e8a1e060c673"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ProfilePageState: ClassTooLong \u2014 871 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 471 over it, 2.18\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/screens/profile/profile_page.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d43b8372fb84f1f0f57837471b811631be8dc4425f7a04be885b614c2b06dae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DecorationClosetSheetState: ClassTooLong \u2014 871 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 471 over it, 2.18\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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dc16a0da162e06da3fbe0c168cfd6775560a222d6b0ac19f6f5df34e1b0a26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/color_profiler.dart: FileTooLong \u2014 1084 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: _ColorProfileBottomSheetState (289-1476). The bar is 500 significant lines; this is 584 over it, 2.17\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/utils/color_profiler.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98674f12e5d36425f2141b18db01e115bfddcbf7d0cd231efa8d5fe92f48f67a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MediaDetailsController: ClassTooLong \u2014 866 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 466 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f86e51883b49f2da946ebd8b586cb36403b0efebd010daea79f0291e2715ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DownloadedMediaViewState._buildEpisodeTile: MethodTooLong \u2014 _buildEpisodeTile runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df88fc4bbf8f5afd5ca787005944c3219a5a8d0899a31038e35172977f30e8e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserProfilePageState._buildBody: MethodTooLong \u2014 _buildBody runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/user_profile_page.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6ac0582445bf4471e688fea657f37b7d5d63152aeb4ef0c299c6e8752f01d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LiquidPreviewPageState.build: MethodTooLong \u2014 build runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/liquid.dart"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"f650223e38e891140bbb4c3b01a37979dc9c6dcf5b274b9ee0ad5ff70cae08a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeThemePlayerDialogState.build: MethodTooLong \u2014 build runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\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/screens/anime/themes/anime_theme_dialog.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9c44106b626373c7f7bc6051a447abc1ca2c055d00c267fbf05b0ea46bdac6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _RecommendSheetState: ClassTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 458 over it, 2.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95945b4e28e3694c34bc93610605806d1a72704221eb133442dfdc482121ed5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ColorProfileBottomSheetState: ClassTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 457 over it, 2.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/utils/color_profiler.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"14299d9f8b4fa0db2c6bb17aa792fac05df4afb057a4b8b4cd1f30fbfa139578"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsThemeState._buildModeTemplates: MethodTooLong \u2014 _buildModeTemplates runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\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/screens/settings/sub_settings/settings_theme.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78729dbc21dd4886b2ea47b293ddddb6794ad9957968ca87f494b36b6cb22ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnymeXModerationActionSheetState.build: MethodTooLong \u2014 build runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\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/screens/settings/sub_settings/widgets/moderation_action_sheet.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf3856b78f85ba0533ac4db97201af150bcad1d8048fe15fc61e819ead99bab"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _UserStatsPageState: ClassTooLong \u2014 844 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 444 over it, 2.11\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/screens/stats/user_stats_page.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c0bb82558acbcc0cc53c960d87ba0672289733e3c4e8d1945e5cb46da9d5b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnilistData.fetchFilterData: MethodTooLong \u2014 fetchFilterData runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb9c3ca33800667e2e7e1f83e05fbef7684be96a3d701f8be300672b0fb87d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DownloadScreenState._buildChapterStep: MethodTooLong \u2014 _buildChapterStep runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/download_screen.dart"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b764691a48d0a1304306347457f0b6acb850cf8961836083ea23e8476e1c8de1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anymex_widgets/anymex_animated_logo.dart: FileTooLong \u2014 1044 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _AnymeXAnimatedLogoState (38-1457). The bar is 500 significant lines; this is 544 over it, 2.09\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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82770b93a87b19c6d87f722e4b61ae261bbe85ec558b3822c3a67b7e0f7682c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackupRestoreService._applyBackupData: MethodTooLong \u2014 _applyBackupData runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"807d27fc13dcf222f7e44af454410b68dbbcaa206b593db5f5adabd30d903f7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ProfilePageState._buildOverviewTab: MethodTooLong \u2014 _buildOverviewTab runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.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/screens/profile/profile_page.dart"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f62f07ff835fc0d23b18386ab82358742857ae8e70a051f97a17b15ea6a2d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/downloaded_media_view.dart: FileTooLong \u2014 1036 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _DownloadedMediaViewState (35-1376). The bar is 500 significant lines; this is 536 over it, 2.07\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae842cb7f8254562bae652ceb7bf4c4ea17899aedadba22043a541512b72dbef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CompatibilityResultPageState._showCommonMediaSheet: MethodTooLong \u2014 _showCommonMediaSheet runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a048106f638fdde0f4b5ebb58e3213d681097d5ab43fafbc4a036c20095bd89"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CharactersCarousel.build: MethodTooLong \u2014 build runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.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/screens/anime/widgets/voice_actor.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd8a5241150b68cac776830e07bbf6412bb3922b2d80ab3f1a7b7d5814e6afe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserMediaListPageState.build: MethodTooLong \u2014 build runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.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/screens/profile/widgets/user_media_list_page.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"05976283a727a2d88b1125fa1d34376fe8e81e6f99c4b2e922adfc7f9c7456cb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsReaderState._buildMangaReaderSection: MethodTooLong \u2014 _buildMangaReaderSection runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.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/screens/settings/sub_settings/settings_reader.dart"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06a48e2e54b3b9c93eca6e005f918e397c075145696dc9b7beb3c2c00d503fe"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DiscordRPCController: ClassTooLong \u2014 810 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 410 over it, 2.03\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"16466a1b54f22bdb998b53826af2a53d9b6fa19527b1056b8477055c807c7daf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnilistAuth: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee38bea92e096a7b3272af3013cec9a146baa1198538477bf27f9ba79c92ed5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _CommentSectionState: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2d69dbe99ce4a75d883d0e4ca6220deb717cd1a515293f2d6fbec27c23eb2d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WatchiumService._connectSocket: MethodTooLong \u2014 _connectSocket runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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/controllers/watchium/watchium_service.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68aaedc169050c6785900087177c38846982634bc518d20a1cbc451d771fa6d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AboutPageState.build: MethodTooLong \u2014 build runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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/screens/settings/sub_settings/settings_about.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a7e929a6fd5f3d80787793b287d999ae4acc4455df73d6817acbd0513e546a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/community_service.dart: FileTooLong \u2014 999 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: CommunityService (370-1157). The bar is 500 significant lines; this is 499 over it, 2.00\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/controllers/services/community_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbf7df7c55fbd7a8463604e95d4c6a129cfe13e3318285d8a06d154e1158fec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MalService: ClassTooLong \u2014 799 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 399 over it, 2.00\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/controllers/services/mal/mal_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39c8b148c30de4588d82c2ad8ea283cf03bcb927d5be597cabab35bfde84d84"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SimklService: ClassTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 390 over it, 1.98\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/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9b16adc137ae1490429dea41036e0df370202633699d00d2c641956e83455c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._buildCommentItem: MethodTooLong \u2014 _buildCommentItem runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1d931e8ecd38088618c2d083e0c050f52d8e33f8f01669dde227b794c209d4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OfflineStorageController: 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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67fab8371bc7047260ae2ae82cd1a90581f6417ee4afdc8fa2ed9e6c77791a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: details/media_details_page.dart: FileTooLong \u2014 983 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: _MediaDetailsPageState (73-1367). The bar is 500 significant lines; this is 483 over it, 1.97\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71a8f51cb244776534b99b05fef243e81e12f5e62bc64115799ebba76661872"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsThemeState: ClassTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 385 over it, 1.96\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/screens/settings/sub_settings/settings_theme.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7c87028bcd44041e68f909d213fcf4f8ed430b8edee5a906298fb6124721f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: profile/user_profile_page.dart: FileTooLong \u2014 979 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _UserProfilePageState (44-1325). The bar is 500 significant lines; this is 479 over it, 1.96\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/screens/profile/user_profile_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d0e9700d36aac3b4e2446158a67c32ec43202de2099675edc9ac7b8d8ffbd4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserStatsPageState._buildHeatmapSection: MethodTooLong \u2014 _buildHeatmapSection runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\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/screens/stats/user_stats_page.dart"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad575e37f61a6b3c0f2750ae06b3601bcbdba58ff8f4350e7237091ca027411a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BottomControls._buildLayout: MethodTooLong \u2014 _buildLayout runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a109fcf69cd8c9182a24ac621da5b9a77036848da207bfa2ab548e7b468001"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: media_items/media_peek_popup.dart: FileTooLong \u2014 969 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: _MediaPeekPopupState (130-1122). The bar is 500 significant lines; this is 469 over it, 1.94\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/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"345f651c262e012f19cb4210eed72f58491bca8b6f0964d30d1d8268800653a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SourceController: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\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/controllers/source/source_controller.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2addc751d03702ccfe0b6948e26c54e92e63b9509c444d95ba0fbeecf702e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnymeXExpansionTileState.build: MethodTooLong \u2014 build runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_expansion_tile.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f2e4a45ff8a8280e63102481e2db118c7e7353951e3b78c8549085daade9ff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsCommentsState.build: MethodTooLong \u2014 build runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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/screens/settings/sub_settings/settings_comments.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0209954a89e38959c359e19474a4ce7b386c90a7699dce2b62443cd29bc90648"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RestorePreviewSheetState._buildGroupedOptions: MethodTooLong \u2014 _buildGroupedOptions runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bee0c2b9212c427120d283acbfa1f5aa07db14e993fd2237b3acb3cc715aa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subsampling_scale_image_view/subsampling_scale_image_view.dart: FileTooLong \u2014 952 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: _SubsamplingScaleImageViewState (431-1492). The bar is 500 significant lines; this is 452 over it, 1.90\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/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fe95cc77319184f0ec9596fc34dfdb75a54fe1b3728f6a086011601534788e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ChapterListBuilderState._buildChapterDownloadButton: MethodTooLong \u2014 _buildChapterDownloadButton runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b2820b38db73c75ba9ffbd79b930761204e235f3c1bb33662ea2a0de4be656"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsNetworkState._openDnsSheet: MethodTooLong \u2014 _openDnsSheet runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8144fe086edfd754de447ea4df18ec7269ad1aec2eece16343758b9158cad76e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnymeXTileBuilder.build: MethodTooLong \u2014 build runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_tile_builder.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1f03afbdc384d0510fd2b62c9ff815f8779c110a3901ba8f19649249bccdb5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MediaDetailsPageState._buildContinueButton: MethodTooLong \u2014 _buildContinueButton runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a602c111bea0b1c1875d23b09807a119ece904ee6867b788d3438e3b89ec935"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GeneralPage.build: MethodTooLong \u2014 build runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eac223b0e918998f7b558cf1e28af4d9c070541440fda00a1119e35dca87d6b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsReaderMangaState.build: MethodTooLong \u2014 build runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"66971fed70e9513eae5df09029e42445aa3366bea3e518f5dbce87c9f9fadcc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/settings_player_controls.dart: FileTooLong \u2014 938 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _SettingsPlayerControlsState (38-1253). The bar is 500 significant lines; this is 438 over it, 1.88\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e5af58e432187363e8cd1b68a21b305b259724fddae09fd09a76a8ad656cc3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _LogoAnimationPreviewDialogState: ClassTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 350 over it, 1.88\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"368e7fec320a4ec02b980790d5f89ca555ba0d99ea14016232842c338bba8a0c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ActiveDownloadsState: ClassTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 349 over it, 1.87\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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ea6b6339a585d61a895003a3742d5a533d98530de4be6a356b91da9ce146c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnilistData.fetchAnilistMangaPage: MethodTooLong \u2014 fetchAnilistMangaPage 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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"a025968e7900cf504a5709097839d2b75e315156d8c991c86b2564040f2a5ffd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: offline/offline_storage_controller.dart: FileTooLong \u2014 930 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: OfflineStorageController (24-1275). The bar is 500 significant lines; this is 430 over it, 1.86\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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"261a123896b249702e9fd16b42e573fb6cb4dd0a04a49787590675f88c021da2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserProfilePageState._buildOverviewTab: MethodTooLong \u2014 _buildOverviewTab runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\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/screens/profile/user_profile_page.dart"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f082539738adfbe38a46186450ea00d9211699dc5c5ef681d172799934f90b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _MediaPeekPopupState: ClassTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 339 over it, 1.85\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f3a127b960004b100674f8d7ea744c6ec677454209839a6f0385d2de288bcd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WrongTitleModalState.build: MethodTooLong \u2014 build runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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/screens/anime/widgets/wrongtitle_modal.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"195eeec8c9e8032d645cf585122039bb37009009e20aba7c1c0bac6f265f1d5d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnymeXSheet.build: MethodTooLong \u2014 build runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_bottomsheet.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"79da16e17bbaa7c9a52bd2b538a9d84caea1bad7433c50367b3563a5e5a75c0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: watchium/watchium_party_popup.dart: FileTooLong \u2014 917 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _WatchiumPartyPopupContentState (62-1263). The bar is 500 significant lines; this is 417 over it, 1.83\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/widgets/watchium/watchium_party_popup.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aeff44bdba81b8c45a80229fc75846179306765f20ec02347035f1dbffe7a5d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WatchiumService: ClassTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 333 over it, 1.83\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/controllers/watchium/watchium_service.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be1217c07fd4519506ffb3d1184872930403ac4d3e6c5f87f7a2a73b0d76741"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SubsamplingScaleImageViewState: ClassTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 330 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb8c7f235b9d3be9cf41b3f9a4a793dcaade8b5ccee2f69c3aa66038d4ac3da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editor/list_editor.dart: FileTooLong \u2014 910 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 410 over it, 1.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/editor/list_editor.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93bb8ea133dde3503ab17c0e98214538d474a03f0096f9c9d934163d9d96b0c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadController._syncMediaFolderMeta: MethodTooLong \u2014 _syncMediaFolderMeta runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcb9a348c5143b66cd0e089a05d77518a41516800ea73fa7404c3846a6a0def"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsReaderState._showTapZonesDialog: MethodTooLong \u2014 _showTapZonesDialog runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\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/screens/settings/sub_settings/settings_reader.dart"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa8aa6a06e39688ba1d4d87ede65f3dfcd0c285b962810d6cce4b4c1fe00b63"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local_source/local_source_view.dart: FileTooLong \u2014 907 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _WatchOfflineState (32-1349). The bar is 500 significant lines; this is 407 over it, 1.81\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/screens/local_source/local_source_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"381a5948f7807d59c77f622e3a5a4bcfd98ea89dba4ebeef16aaf4cae3522663"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GistSyncController: ClassTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 325 over it, 1.81\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/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfce810ac8346cc6068d6b67d3991c2e4c4423727d3dc63efc3c36f01f287d9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsNetworkState: ClassTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 325 over it, 1.81\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c9af137afae16c0016ab442eaff02ff8a013dc0da51c4aa30361adf14f2c5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: profile/profile_page.dart: FileTooLong \u2014 906 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _ProfilePageState (41-1233). The bar is 500 significant lines; this is 406 over it, 1.81\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/screens/profile/profile_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec313d636e358e3af922a2d1faa5123771879e2a4ae021cb308d561a8ecd859"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._showCommentContextMenu: MethodTooLong \u2014 _showCommentContextMenu runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b16923e56f4215594c0da71c0d6fff9a071d267214f772a032eb373f78096b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compatibility/matchmaker.dart: FileTooLong \u2014 900 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Matchmaker (6-1162). The bar is 500 significant lines; this is 400 over it, 1.80\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9d25166608f63f61fe405b05f367bf8a188c96a79a7e75812f1d4e88efa0bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GifPickerSheetState.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/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af5ae408cc6eeeffe832c607e82c7e22fa1d9d8f84f9c22e8aa7c20bf27c329"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsPlayerSubtitlesState.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/screens/settings/sub_settings/player/settings_player_subtitles.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83df9de8fcc24d1da7bff53fd6c1d738e653150c43285df41c09e37bd182ca7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/media_details_controller.dart: FileTooLong \u2014 896 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: MediaDetailsController (32-1157). The bar is 500 significant lines; this is 396 over it, 1.79\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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4365092297ff7185317e91dd553b1d068bd0cb8350085878a5a0834407a41eaf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/decoration_closet_sheet.dart: FileTooLong \u2014 895 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _DecorationClosetSheetState (32-1245). The bar is 500 significant lines; this is 395 over it, 1.79\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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc2971d3e215de21590e4bcbb272f612485a3e25f346be4665f035c136c1c5e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Media.fromJson: MethodTooLong \u2014 fromJson runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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/models/Media/media.dart"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd30347481599f33bef8328178b6684fe1754280934117adf382516c4479b32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ColorProfileBottomSheetState._buildPresetsTab: MethodTooLong \u2014 _buildPresetsTab runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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/utils/color_profiler.dart"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b75fcba31db24efce6c0dc44bfce718d74c0ea05a937a22d2e5758c29d6e825"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: non_widgets/recommend_sheet.dart: FileTooLong \u2014 894 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _RecommendSheetState (53-1213). The bar is 500 significant lines; this is 394 over it, 1.79\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/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"961a5411733952b27f2a4ff1bdd44648909325978db2e03873d88293bb8815eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: discord/discord_rpc.dart: FileTooLong \u2014 889 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: DiscordRPCController (103-1230). The bar is 500 significant lines; this is 389 over it, 1.78\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4656708ee27b94a7409d879f65c71777755a5001c659826d95f39adf682877"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DubService.fetchDubSources: MethodTooLong \u2014 fetchDubSources runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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/screens/anime/misc/dub_service.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"167d23cf32e43d981307d54e743a8175d50f163cfe4f9e88527f5f4c08b41a35"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ReadingModePage.build: MethodTooLong \u2014 build runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8781de701f5d4cc9f97114bba13a3cd3b64b2b9e1fc5b3b9e4bbbf50af980e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsExtensionManagerState._buildPluginStatusCard: MethodTooLong \u2014 _buildPluginStatusCard runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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/screens/settings/sub_settings/settings_extension_manager.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff86bbc3218e42ff947f18675ece66bb614a1a137555664c0537409f594f072"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommentSectionController: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9945501d7c73b88a3fb5e4011e84d9b7cfa6f5d18f3e48d2b11deb61e7ad8a52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GitHubRepoDialogState.build: MethodTooLong \u2014 build runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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/screens/settings/sub_settings/widgets/repo_dialog.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f284c843d23334cacfefff19b215fd1e46b24192fc4966e17f957007d18854"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UpdateBottomSheetState.build: MethodTooLong \u2014 build runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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/utils/updater.dart"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cfbcb838eae54b4418f2857584af592998996bb82d41abad4f8c750e786de9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DoubleTapSeekWidgetState: ClassTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 302 over it, 1.76\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/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"468a8cc125747c3c25e04efa0704ec375ed9f7b616508236e2388cfb53a840fe"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CompatibilityInputPageState: ClassTooLong \u2014 701 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 301 over it, 1.75\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/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2173b1492ab7bb0df583b5a8ea80f591d08830624218e3eae3aabbe4c9bedb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stats/user_stats_page.dart: FileTooLong \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _UserStatsPageState (36-1170). The bar is 500 significant lines; this is 375 over it, 1.75\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/screens/stats/user_stats_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa78edc094053230ab0bf987d51be295428475010741bf01cbc566eebd2f0a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GistSyncCard.build: MethodTooLong \u2014 build runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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/controllers/sync/progress_sync_section.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ce3940cd3f2f02ef3ddcc909863cc9adf2c03c81581268a1df4fa2568c607e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GridAnimeCardState.build: MethodTooLong \u2014 build runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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/screens/anime/misc/calendar.dart"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a03239788869746b39aedb0a754340264c45e3dde090ca798bf94559392476"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WatchiumPageState._showPasswordDialog: MethodTooLong \u2014 _showPasswordDialog runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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/screens/watchium/watchium_page.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"830ba3a675692d5799ebba20f72a07a5886b981729fcaaa518c19e666f9b973c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsUiState.build: MethodTooLong \u2014 build runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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/screens/settings/sub_settings/settings_ui.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a1bc0ae3cecbea713f966fe369ab0c8176900680de29bd8d03c4c86c323a18"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ProfileStatsTabState: ClassTooLong \u2014 687 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 287 over it, 1.72\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_stats_tab.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5009c2e68150dd9dd3e9b529627c9cfacd002d30344d4a459469c7e70fcdbcc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: active_downloads/active_downloads.dart: FileTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: _ActiveDownloadsState (28-1016). The bar is 500 significant lines; this is 357 over it, 1.71\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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5297ad91c82f79495e35541cd50b3bd485b126698e4929de858deb1de01eb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: non_widgets/activity_card.dart: FileTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: _ActivityCardState (49-979). The bar is 500 significant lines; this is 357 over it, 1.71\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/widgets/non_widgets/activity_card.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"648bea5ba8519bb7c7472f991f3ce882c9bdd51bfbd11bf051678725a74c4331"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsAnilistApiState: ClassTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 284 over it, 1.71\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/screens/settings/sub_settings/settings_anilist_api.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e74984ac3b49564714ca938720d32223ce5f90c8c7c80ad0adf7ffd20779d93"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CompatibilityResultPageState._buildHowItWorksCard: MethodTooLong \u2014 _buildHowItWorksCard runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b89fe15892f4f7aa1f26fa22927efbe227ca1d8370303e58e9df642bf8f169d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerController._bindPlayerStreams: MethodTooLong \u2014 _bindPlayerStreams runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9832baf955862e4cd3be01065f2c694dd6acbac64227f323008ae651803c042"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LeaderboardSheetState.build: MethodTooLong \u2014 build runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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/screens/anime/widgets/comments/widgets/leaderboard_sheet.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe6714710a4f7cadaecdd31c56975801264fda67e93425e9111568aa9013a43"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LeaderboardSheetState._buildLeaderboardTile: MethodTooLong \u2014 _buildLeaderboardTile runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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/screens/anime/widgets/comments/widgets/leaderboard_sheet.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0afe0ac15baabe553a13c1e08dce2473dc5295982f3c7043d88f010e0f8ec75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mal/mal_service.dart: FileTooLong \u2014 845 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: MalService (50-1108). The bar is 500 significant lines; this is 345 over it, 1.69\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/controllers/services/mal/mal_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1be86f1af208b19523990cbd7d4bc078167081def128630b0d14170c562c727"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeThemePlayerPageState.build: MethodTooLong \u2014 build runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/themes/anime_theme_view.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba260c4df4b3b9a937f9798cf7fd961a38c0c687c6ba2eb68928b1cc6b38f180"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnymeXDialog.build: MethodTooLong \u2014 build runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_dialog.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"655cbb311514533b4c9b4ca91d1d9eaec02f765c7515c0e82bd940adee1febdd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ActivityCardState: ClassTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 273 over it, 1.68\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_card.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"391f97ce09b4db605fca9fc541b000386716a70204dcfedaf67c0b79e3b4fb72"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotificationScreen: ClassTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 270 over it, 1.68\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/screens/notifications/notification_screen.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2236f0f6f907f7f9ff6bdd83f7956935319d876a404ebb3fe8014fa9aecdf47"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Settings: ClassTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded), 193 methods. The bar is 400 significant lines; this is 269 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/settings/settings.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3be8660d482bd202d30b56ef8013c07ef0de8d4e41962c0dc04eacfb8dbeb1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GistSyncCard._showManageSheet: MethodTooLong \u2014 _showManageSheet runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/sync/progress_sync_section.dart"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec901b1613d3eb82a8833d8e56e20723b6b699f8628c9a189bc389aaba479468"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sub_settings/settings_anilist_api.dart: FileTooLong \u2014 832 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: _SettingsAnilistApiState (195-1044). The bar is 500 significant lines; this is 332 over it, 1.66\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/screens/settings/sub_settings/settings_anilist_api.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e3e89318001c9b6e5ea8270cf4d6865ee2af088c92b5326dfec26d69454fad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LogoAnimationPreviewDialogState._showEditCustomLogoDialog: MethodTooLong \u2014 _showEditCustomLogoDialog runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc24de2682185c31e6139e862e82d570b93275d9742104d52f9c0360c467fcf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: simkl/simkl_service.dart: FileTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: SimklService (43-1130). The bar is 500 significant lines; this is 327 over it, 1.65\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/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5f930c8e4f3042e3636bede7a8ddb690ad1a5ff7651216aadb9d5f26953ece"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._showUserCommentsSheet: MethodTooLong \u2014 _showUserCommentsSheet runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d9e6bac9858c75c95794f49b7db62c85423bcf3f2a6fbf6ae102bdf4ac30b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WatchiumPageState._buildJoinByCodeSection: MethodTooLong \u2014 _buildJoinByCodeSection runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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/screens/watchium/watchium_page.dart"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"87016370a8a3fe64c27d2439f0c30521dfc863d6fb5cd27f5587d5217e8bf48d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _HistoryEditorState: ClassTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 258 over it, 1.65\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/screens/library/editor/history_editor.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a0d201be96082963976dd09648da35c2ad3926233c1b4e2dd29a8fc8f4c0da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ListEditorModalState: ClassTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 257 over it, 1.64\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/screens/anime/widgets/list_editor.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc3328b26165f4cb0e4fc48e3a0a9ae0f9ce991ac30c51febfc228480e35dbd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadController._mergeMediaDirectory: MethodTooLong \u2014 _mergeMediaDirectory runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07d403f632c020f637d594091f64aa9b9e7fb5da02ee48b38ce979cac72f1df"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommentSectionController: ClassTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 400 significant lines; this is 254 over it, 1.64\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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a63b1e1f3b4c4a287e52c71f5df11cc74ffe9f7a8d4d560fef0d3e5f727b6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsUiDetailsState.build: MethodTooLong \u2014 build runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06c27fc934a694d10c68e9c92befff687becbf05c4f6c58269300629e3e12e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnymexDropdownState._createOverlayEntry: MethodTooLong \u2014 _createOverlayEntry runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_dropdown.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"286369df3974f9ca9edd45a4a3d3101ed532c52272d5ede2ca155bb74754dbc6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _UserCommentsSheetContentState: ClassTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 251 over it, 1.63\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/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a2964ff9c62e594caa58f129f6381670d528aa1738ebe312d5da5be7d53ebd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._buildReplyItem: MethodTooLong \u2014 _buildReplyItem runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"c862ca6b35f9a6384495a6be89f2ecb5f68cef691c5f56be96edcb7ea5dda3f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sub_settings/settings_theme.dart: FileTooLong \u2014 809 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _SettingsThemeState (29-1069). The bar is 500 significant lines; this is 309 over it, 1.62\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/screens/settings/sub_settings/settings_theme.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7ecb9d651ca7992f6effd5a06350eaa8d543284d6a60ba4aed16f8e1ac5be8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: header/header.dart: FileTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 308 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/header/header.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a83632e92490bbe84e90e59ae1b890f006b78933b42229a596f804c77f6e6c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sub_settings/settings_extensions.dart: FileTooLong \u2014 805 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: _SettingsExtensionsState (34-909). The bar is 500 significant lines; this is 305 over it, 1.61\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/screens/settings/sub_settings/settings_extensions.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"421dce0333031d1fb8bb8ef2d34e0849323cec3961b88eb6739ae1a6552b983b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadController._runEpisodeDownload: MethodTooLong \u2014 _runEpisodeDownload runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"049fa6a8eb026399920ecc452af1ce28f9bf25a1b6172c5aeb382a8aa3216326"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsThemeState._showCustomColorPicker: MethodTooLong \u2014 _showCustomColorPicker runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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/screens/settings/sub_settings/settings_theme.dart"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d14480db47f569b17691d43b40c8b876370d40cede821d2b93ced89c474c396"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContinueWatchingCard.build: MethodTooLong \u2014 build runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anime/continue_watching_cards.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a22b6a6c502fc248b2c74c7e4b850e477b6273e0e37488c727b425b71b1336"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LogoAnimationPreviewDialogState._buildAnimationList: MethodTooLong \u2014 _buildAnimationList runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50841c3712a9dedc8c388355214b8d641d5b7836c3ef301c2355702990d0a16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ExtensionListTileWidgetState.build: MethodTooLong \u2014 build runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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/screens/extensions/ExtensionItem.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e83696dfc8cf16d51b90dccf4bd30d40999139fb8eab0cb97f8862152a51a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ActivityHeatmapState.build: MethodTooLong \u2014 build runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ab5c3efa0051f7fe8e5df6825f134bf1606f6c71bd4f065092044a05fde6bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WatchiumCreateSheetState._buildCreateFields: MethodTooLong \u2014 _buildCreateFields runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_create_dialog.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ba09acc8dad2437d069d1edc1b92223858dcad30e218a87ff69c08b5ec658b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._showUserManagementSheet: MethodTooLong \u2014 _showUserManagementSheet runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2894}}}],"partialFingerprints":{"codehealthFindingId/v1":"277071195767cde560c00ec72a98f1c4f28ba2c79bb566ea924685b0af0f211c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsPlayerControlsState.build: MethodTooLong \u2014 build runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"260d4d1e6bfb89c96b93f720eb342f382bc0c4bf3a601140050dbeaf546b4ecb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _BackupRestorePageState: ClassTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 233 over it, 1.58\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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6529c8f412f1c71d191acdf03ed82055e8511ce7c6da695acd1070c0fe8177"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: misc/calendar.dart: FileTooLong \u2014 791 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 291 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6fc9804d59c2a50a78d766857818c500d6cabad5915ccab11b8340a9c29598"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MediaDetailsPageState._buildCommentsTab: MethodTooLong \u2014 _buildCommentsTab runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/media_details_page.dart"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ed97aef739133741a5039df46a551cba473bdcc0c3b966a46f4191d9c8c265"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MangaStatsState.build: MethodTooLong \u2014 build runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/manga_stats.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8195197f7b49269487cd2977bab0d3570f510f782ed4ecf51241ad4656beff39"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsPlayerEngineState: ClassTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 230 over it, 1.58\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/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"af709758a67652aaefa9d2ea705453655ab3399eeafaba1276deb2bad74b673a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommunityService: ClassTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 229 over it, 1.57\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/controllers/services/community_service.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"834b0f641dc7db3f23076ed65e1c4d554b47edbae273875421511e1f7bf6f237"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsExtensionsState: ClassTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 228 over it, 1.57\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/screens/settings/sub_settings/settings_extensions.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"454b83f305852675718733de43b8a5698ad44dfb0bb0f327e10c01ce9e65ce39"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnymeXTile: ClassTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 228 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfccd6ac85e3d8981677644f2365489c532631a5e51a0b94770b832bc3af725"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _FuturisticFilterSheetState: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e116782ff4cefe2a6e91eea945e606246ef66ba1a5c578d19005188924088e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnimeStats: ClassTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 224 over it, 1.56\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1781c4c5b6570a9f06da2c48b1613c59086bfbc9b2af96d6c3bfc6c5981b25"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WatchiumPageState._buildCurrentRoomSection: MethodTooLong \u2014 _buildCurrentRoomSection runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.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/screens/watchium/watchium_page.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f51551113b115860c24bd3ffe8104fdf027235a3b5f35ef89de7b65fc67b81a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/profile_header.dart: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 278 over it, 1.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_header.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc818f1bde4c95801980ba9cbedc226f06854d686648ef2e3e51911d74a9dcd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NovelSettingsPanel: ClassTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 222 over it, 1.56\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/screens/novel/reader/widgets/settings_view.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad8e09ae31975345311118126b1a79eadd1e794db54787790b8f333caf444b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dialogs/logo_animation_preview_dialog.dart: FileTooLong \u2014 776 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _LogoAnimationPreviewDialogState (35-1043). The bar is 500 significant lines; this is 276 over it, 1.55\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/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65887106448e37b493eb9b1146fa7ccba2cfd0d0a4d603b2749926076e39a7a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentInputBarState.build: MethodTooLong \u2014 build runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\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/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c059b0f5209e2a44f2f734f1211a0ddb9674b9941841de00729cc15b810bf9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _SearchPageState: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/search_view.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bc8ba4177a7a545f47142e816fa4eb9fdf9eff8379110979b58c1770715a11"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AnimeListState: ClassTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 213 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/online/anime_list.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa26e87b91c69c21ebd0085da99f3410744b57cb8d6c92c429370aa50ba301bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._buildRepliesSection: MethodTooLong \u2014 _buildRepliesSection runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae67ed56b8d39dcf863cc8fb515b0563f1edb7f41f281703dda6de2e09b3873d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _EpisodeListBuilderState._buildEpisodeDownloadButton: MethodTooLong \u2014 _buildEpisodeDownloadButton runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b486634f161704fab8e1465875d652044eb82fdc60e3df14851c83ccd55424a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsPlayerControlsState._showGestureAreasDialog: MethodTooLong \u2014 _showGestureAreasDialog runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4810117d8268fc9e64d099ea7714142fc4bc0782a4a1fe4c974c1f2cbef675df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: comments/discord_markdown.dart: FileTooLong \u2014 759 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 259 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59733d87de5db6d06b0016efce217433a063b5bb405c460ae33c0648b731a33f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: community/community_recommendations_page.dart: FileTooLong \u2014 759 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 259 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/community/community_recommendations_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0394ff7ea41771c48e1221823c58c0dcd119009f2c1078157c25d75c0f6fe35d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player_control_themes/ios26_player_control_theme.dart: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 254 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c511196d54bcd534c2e3002de5260456fa1fdd64c80ab57e6e20b10c56d5ae28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DiscordRPCController: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d553283a82bff78e46ef1d12c8c3ff5991ef8549f9cdfd59370d090474ff1458"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GistSyncController: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"250e42bd82089145b46a124ace1601d63a7da3fa99114f85ec29e5a12de84fa0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sync/gist_sync_controller.dart: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: GistSyncController (33-1025). The bar is 500 significant lines; this is 250 over it, 1.50\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/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"856a9139ddd4672995e9da2ef783eefa50d9e9c97964ebf5e89e7a4d4adf741c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsAddonsState._buildTorrServerTile: MethodTooLong \u2014 _buildTorrServerTile runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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/screens/settings/sub_settings/settings_addons.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1b63292602a467dda9140038c11bfe93313f0a8d33f2b3e9724f7bfdceb622"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WatchiumPartyPopupContentState._buildChat: MethodTooLong \u2014 _buildChat runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_party_popup.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06085f002b77d495d10931524b4748ddf630c7d1cfd8e0087c262754708f720"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AnilistMangaListState: ClassTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 199 over it, 1.50\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/screens/library/online/manga_list.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a7e9b4c61cb7ea1fa83d32c08aa64f37747c19463750588b2fb52217dd5045"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: watchium/watchium_service.dart: FileTooLong \u2014 746 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: WatchiumService (16-1014). The bar is 500 significant lines; this is 246 over it, 1.49\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/controllers/watchium/watchium_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf2030485fd5887a1ba5b3344b4e024c8eca14b1a62cf9fc02722bca72be9a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sub_settings/settings_network.dart: FileTooLong \u2014 746 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _SettingsNetworkState (27-976). The bar is 500 significant lines; this is 246 over it, 1.49\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6e4d33b9b0c4cc06bc374fe450a50347caff16254e65c76b02450fa076c5f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._showUserHistoryDialog: MethodTooLong \u2014 _showUserHistoryDialog 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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3538}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a99fee1befd211dd3698e5031db3cc3cd0dcc5e275050cde8f670cdd98a902"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anymex_widgets/anymex_tile.dart: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: AnymeXTile (38-783). The bar is 500 significant lines; this is 244 over it, 1.49\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/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6582ecbfba81dda55aa92cf75d5d1462934591c3293e6d4067f403d1d22c1bc6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SourceMapper.mapMedia: MethodTooLong \u2014 mapMedia runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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/controllers/source/source_mapper.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ec004627c299eef9a75ab7a4e5a9c65c41799adc1887491f55623eb5dd3eec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DecorationClosetSheetState._buildBannersTab: MethodTooLong \u2014 _buildBannersTab runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"9065c1a9ba9ee396a6cd4214fb4184daadc2e5d9f4abdf1c1f17c60488e9040d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Matchmaker._computeAnimeSection: MethodTooLong \u2014 _computeAnimeSection runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"20850d2282e85ce6cf54d9627dcd21936627656e96cf1976fe99bebab978b183"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compatibility/compatibility_input_page.dart: FileTooLong \u2014 735 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _CompatibilityInputPageState (42-971). The bar is 500 significant lines; this is 235 over it, 1.47\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/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee2aa74b7321e3dbe822a9042f64b1195b903dbab9c4718968a4e4383ba7583"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentsRepliesSheetState.build: MethodTooLong \u2014 build runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\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/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7a1cd6ba63911d11d057076a55dd5406c30ea77a7e7102e61ff2f98a779e64"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ChapterListSheetState.build: MethodTooLong \u2014 build runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\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/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a57cc200891f6bdec73bb6eadc738e63cd39463b3c4b7cf2338531a5b9f3aeb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsDiscordState.build: MethodTooLong \u2014 build runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\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/screens/settings/sub_settings/settings_discord.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc1ad36606615ec5f79bcd0d2c9d5a5bf1f0b8665c9f1650d59541d370f921b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KotatsuBackupParser.parse: MethodTooLong \u2014 parse runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7374dee984759346c07bb36b5f3ffaea675a6ebdb16a03bb33cec429335e8e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsExtensionManagerState: ClassTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 183 over it, 1.46\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/screens/settings/sub_settings/settings_extension_manager.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"168f26ae293c9ab4c4c8a653aa0d7e58d80deb9e0724296f98278f8c3ab1c99a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _TrackSheetState: ClassTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 182 over it, 1.46\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/screens/downloads/widgets/track_sheet.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda98244ffab6002d8df8226b7484e46498ab989212844c202eae774a573dcf2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _WatchiumCreateSheetState: ClassTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 179 over it, 1.45\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/watchium/watchium_create_dialog.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7bd29fc5094f20e58a992a312718f0483159a935be775c81041f6cdeb29417"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/double_tap_seek.dart: FileTooLong \u2014 722 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _DoubleTapSeekWidgetState (29-1013). The bar is 500 significant lines; this is 222 over it, 1.44\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/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c58206c559219fdeda65dd3b9b0ec43f76469ece45d75a48a970a40e276f2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/anime_stats.dart: FileTooLong \u2014 722 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: AnimeStats (28-888). The bar is 500 significant lines; this is 222 over it, 1.44\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5939f90e756819dd0e062b64ce6bdfd8e71ad174809848e67bedcf95ca7c5ba4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/profile_stats_tab.dart: FileTooLong \u2014 720 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _ProfileStatsTabState (33-982). The bar is 500 significant lines; this is 220 over it, 1.44\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/screens/profile/widgets/profile_stats_tab.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0b10a6e8138d0560aa16733701c01679e27c053945b122fe2667b42cfd6e02"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsPlayerEngineState._showMpvConfEditorSheet: MethodTooLong \u2014 _showMpvConfEditorSheet runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca650fb24259b41d8717f280a0ce5160fbe05d878b81af6bf789857b951ca67"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsCommonState.build: MethodTooLong \u2014 build runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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/screens/settings/sub_settings/settings_common.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b24327b155eb6a88e554c813d97762bb145eb2d753373f24684de343010a24"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _GistSyncCard: ClassTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 174 over it, 1.44\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/controllers/sync/progress_sync_section.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"934cef7ac045da4a6413f8d0cc7b8f5f5b0afc7d75455b33ba34eef9ebd5a94d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileTile.build: MethodTooLong \u2014 build runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\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/screens/settings/sub_settings/widgets/account_tile.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9284c8916a581ea8022d1607eda3236339977cfad7be89572e35679f348e59e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnilistData.anilistSearch: MethodTooLong \u2014 anilistSearch runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"d267110e2a84d2f17bffb7a24ee95e79f3d8818840cee73255433ff05162ba3d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Media.fromFullMAL: MethodTooLong \u2014 fromFullMAL runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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/models/Media/media.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e817c73174297b3dc506c7119c502f327aa708638a44aa4dbf3eea1d86c2d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DecorationClosetSheetState._onSavePressed: MethodTooLong \u2014 _onSavePressed runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20636a6c756934f808108a32d32f380222baa9786c83c3e1c14dffb8ff6ae96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/source_selector.dart: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 204 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/source_selector.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"908627acd6ce03dbf95c92a5839c20ea0b96eba5b79665b86b96286167def68d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/main.dart: FileTooLong \u2014 701 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 201 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9b7d0917cfe5c8a8896b3266ae5cb21018e2995aba6f4c2d89358cddfa6e8b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WatchiumService: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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/controllers/watchium/watchium_service.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"309ecd4ad11b6a0fcdcb2017ef532b1f1bb0e5e17726e24a3a34642283842bc8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MediaDetailsController: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca92f37667a39ee9ab4699e40730c6ab28b331ff50950b4c3fe1fa196a61c76"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThemeRenderer: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af3b0844aa40b34024fca988ea6d97dd36ccd381f05b08a3de727e69472c5c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Matchmaker: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f66226dd7009a63ef7b511b2322324eb3981af17644c52bd99023bd05d00cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnilistAboutMeState.build: MethodTooLong \u2014 build runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/al_about_me.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb2aa55a5f3935eebc9dbf63a93e038e3190531d653053ee10b2e063d3589af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SourceSheetContentState.build: MethodTooLong \u2014 build runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/source_selector.dart"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ed9e665d0981230e8aa18412ac93f13bc33af97d35315fab7633767b134d30"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ReasonsSheetState._buildReasonCard: MethodTooLong \u2014 _buildReasonCard runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5afec23bed89912ba61e78b556dc172ff30f15256ff32894e5e9b9e3fe2ab26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contributors/contributors.dart: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: _ContributorsPageState (291-943). The bar is 500 significant lines; this is 198 over it, 1.40\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/screens/settings/sub_settings/contributors/contributors.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ef82f304eb0e09b9ad64c018160ecf7d6ee7f8841aa61fbfac35b1097a7b5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/list_editor.dart: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _ListEditorModalState (46-916). The bar is 500 significant lines; this is 195 over it, 1.39\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/screens/anime/widgets/list_editor.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"500bfe823eb2204ad71fa58bea76bbd04cc914e247e27b0a483db0582bdbf72a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnilistAuth.fetchUserProfile: MethodTooLong \u2014 fetchUserProfile runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"777c1890865dee78985148a22888f6340e7e669edc992aa0443be5629250fc5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/user_comments_sheet.dart: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _UserCommentsSheetContentState (65-983). The bar is 500 significant lines; this is 193 over it, 1.39\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/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33b501fb450a36147ee9121a1357481287c180117ef225b4c2571add7db9e61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/settings.dart: FileTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Settings (26-974). The bar is 500 significant lines; this is 191 over it, 1.38\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/controllers/settings/settings.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe07cdb5fe8b0e21e6d15924f50056e25885a22b1c39a9c33144ca29194686fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnilistData.fetchAnilistHomepage: MethodTooLong \u2014 fetchAnilistHomepage runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"149bcb696457175ef91c99c7fcef85ab17be74e8cda7aad108878122d6e2659c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WatchTogetherPopupContentState._buildSuccessView: MethodTooLong \u2014 _buildSuccessView runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf1d190ea4011a5df4348de10c276f3117d906f43e7e30c3f906148cc00717b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimeStats._buildOthersSection: MethodTooLong \u2014 _buildOthersSection runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e66de12bb35b52a16edbc77fb132f34a807105bb89115795289b72fb8aeb59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserProfilePageState._buildActivitySlivers: MethodTooLong \u2014 _buildActivitySlivers runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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/screens/profile/user_profile_page.dart"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"b176bd4e43f37459c680c5187748dc4bc567fc72992564a2dcc284bc7653eca1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaDetailsController._fetchContentFromSource: MethodTooLong \u2014 _fetchContentFromSource runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccc110e85ce2a8e771ede55d07249d377c2d73802eeb9e0c6ad3f182605a3ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NotificationScreen._buildAnilistTab: MethodTooLong \u2014 _buildAnilistTab runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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/screens/notifications/notification_screen.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"06909883ac0aeb61a592e99e52537eecd086f575070bf642f7887d74e937720a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnilistData: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc469d29a4bac5f1227d12fd5243d15638174b2ae64d05ce7ef0e4a130be65a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player_control_themes/ios_legacy_player_control_theme.dart: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 182 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59118d01c4fe5b2d0ef3e83be2ce29b4f5b1bf2c80619ae8ebeab0fa52cfced1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editor/history_editor.dart: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _HistoryEditorState (28-927). The bar is 500 significant lines; this is 180 over it, 1.36\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/screens/library/editor/history_editor.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4387b60883e0efc0c3c57fe9d9f88c6e419fb19ff54205d2eedab994e4656058"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SourcePreferenceScreenState._buildPreferenceTile: MethodTooLong \u2014 _buildPreferenceTile runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\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/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4e7d69671d4fec5bc16c76bae3b58c66370d3cd812fbe6ee1aad8382194fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _RestorePreviewSheetState: ClassTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 143 over it, 1.36\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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4741492934235cf05b748141af6871a9c805d5a89d25fccf841b407aaa994837"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sync/progress_sync_section.dart: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: _GistSyncCard (31-797). The bar is 500 significant lines; this is 176 over it, 1.35\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/controllers/sync/progress_sync_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b03d8c3c5edd168e53568e2654e93ca5b499b7856f5269f21f39d7eaf43745"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsUiDetailsState: ClassTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 140 over it, 1.35\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/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c134515f935781ee7b86f189f72c00b16907b6089b4d87bfdc24c674fc6525"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/settings_player_engine.dart: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: _SettingsPlayerEngineState (63-871). The bar is 500 significant lines; this is 175 over it, 1.35\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/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8ae72449dac56783ae01142cb11f0bc44c853bd1e822a372eef942b84ae962"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SyncSubsContentState._buildCueViewer: MethodTooLong \u2014 _buildCueViewer runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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/screens/anime/watch/controls/widgets/sync_subs_popup.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e00ccc45191aaa232f49368bd8910877ab47a9c0e899dad759c1e96a2e53106"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BigCarouselPortraitState._buildPortraitCard: MethodTooLong \u2014 _buildPortraitCard runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/carousel/themes/big_carousel_portrait.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7cc9b8dcb9e7eef74c305e25941043aa9d8dc4a77d6d56be161757c8ab4efa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _MangaStatsState: ClassTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 139 over it, 1.35\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/screens/manga/widgets/manga_stats.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7c2542a7e9c8a67f2e61df29bf0f5bd47b2d9158e57c3b391438892210f6b2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CommentsRepliesSheetState: ClassTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 138 over it, 1.35\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/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d313ff1e34754a748115a0788076bf85fc5e382992d7d3abd0118485be2006"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: online/anime_list.dart: FileTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: _AnimeListState (67-874). The bar is 500 significant lines; this is 169 over it, 1.34\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/screens/library/online/anime_list.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa09663f45eaf172232db4032597678ad8aaf310f03b29158325382813f3c942"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/comments_controller.dart: FileTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: CommentSectionController (16-962). The bar is 500 significant lines; this is 167 over it, 1.33\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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"837164745d1b2d2dc4f2f7e72428f573e6b282084f3e5edb4de258fdbae8cbdb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DoubleTapSeekWidgetState.build: MethodTooLong \u2014 build runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"4343fcac21c10065777ea69f886d7b509494462d5abfc91475f4d1315a47ae58"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserCommentsSheetContentState.build: MethodTooLong \u2014 build runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1855787711e46c261d2b2726103b2657e764e9b6ee33d9e36ef2fd4df4535b5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ReasonsSheetState: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 128 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1dc2d39ff46e731e118448606529442314b0964f1edcd6cba4a6af768feb53"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SauceFinderViewState: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 128 over it, 1.32\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/screens/settings/misc/sauce_finder_view.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b4254262b75cc3e9189809f75b05a6a440a519c82d89929309621a3c23b0b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ListExporterPageState.build: MethodTooLong \u2014 build runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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/screens/anime/misc/list_exporter.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e202cf993c1fa3c5a470d158a86ca96755140e0fdad03a9d0a81f2e6d3079785"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimeStats.build: MethodTooLong \u2014 build runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7c633baa733126d0dc0eeac05ed6d8c839f332cadf1915ecbf2895937dbc0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HistoryEditorState._buildHistoryCard: MethodTooLong \u2014 _buildHistoryCard runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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/screens/library/editor/history_editor.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3737869447e991d2e1ee87ff64025d2035a6c6f295c994c9cdc96777a1fe0fef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/function.dart: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 159 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/function.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8086beb193167fecf0ca788f098ddd39a0eee770468b2265b3947e0fbbfec485"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: online/manga_list.dart: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: _AnilistMangaListState (69-859). The bar is 500 significant lines; this is 157 over it, 1.31\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/screens/library/online/manga_list.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"424c3167851de55323373157c0bd793f1012e82d697d8dbaec9af687268ad0b2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _UserMediaListPageState: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 124 over it, 1.31\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/screens/profile/widgets/user_media_list_page.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e41acf78289af5011886b0f9f149049a4b4e8fb2759727c1fdc74a2c20b5ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TopControls._buildLayout: MethodTooLong \u2014 _buildLayout runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/top_controls.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6b9bebc4fdcbcae0704a85a7bf9891a8f292c2f062450b10ec78cb542b9d92"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DownloadedMediaViewState._buildChapterTile: MethodTooLong \u2014 _buildChapterTile runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74cda92cf6bfb18e8d7a98c5aaf388a55603658c0329a1e1fbba3fb06b3de6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _FloatingPillNavBarState._buildMobileLayout: MethodTooLong \u2014 _buildMobileLayout runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/navbar/styles/floating_pill_navbar.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89ec5d70ec0cdc00381274812589f1f2ba6a59eb4c8a41df8651b05639e80db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sub_settings/settings_backup.dart: FileTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _BackupRestorePageState (26-857). The bar is 500 significant lines; this is 154 over it, 1.31\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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ba692f5384d22c41aed64b989a7ab1f39c4705e475ce801a98d0322465e64a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ActivityComposerSheetState: ClassTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 122 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fd1260a29908103099b3d0def317109967bc0a030d1f635be17eb69b8026ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: non_widgets/reasons_sheet.dart: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: _ReasonsSheetState (54-834). The bar is 500 significant lines; this is 151 over it, 1.30\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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0541d8eb79d2b4a75a4fb82e9c72c9f8a8e431b302d15a36c56a7d8ead4aa4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _CompatibilityResultPageState: 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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d91867a071e7f64288476061cc0585aa6a829d93b94ddda3f5b0e7604ff04e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnilistData.homeWidgets: MethodTooLong \u2014 homeWidgets runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2430169b9a8fca5c26d84fa7dc131eede80d08045612fa819c3b51ca71512f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackupRestoreService._applyExternalMangaAndAnime: MethodTooLong \u2014 _applyExternalMangaAndAnime runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b9a4f8408fd78a894d5e0eeb095416e4686ff699fc1d8d11b58ccccdf1c810"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/manga_stats.dart: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: _MangaStatsState (38-798). The bar is 500 significant lines; this is 145 over it, 1.29\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/screens/manga/widgets/manga_stats.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12694eca8a9c133eb25b814802b06a72db70e550367c0888d80f55ff0b2056f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DownloadScreenState._showExtensionSelector: MethodTooLong \u2014 _showExtensionSelector 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/screens/downloads/download_screen.dart"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"030d1f753dade8c60f28feb2d3ac05b1885d48c41f0a8bd065e06cf06ddf68b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ColorProfileBottomSheetState._buildShadersTab: MethodTooLong \u2014 _buildShadersTab 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/utils/color_profiler.dart"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fb8c6ff7adfb176600c54268919fde1cc50adb1e0fb8d6702934b2e2a40548"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _EpisodeListBuilderState._buildHeaderCard: MethodTooLong \u2014 _buildHeaderCard runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d14aba186f2d697b434c5f49ed84e34a199a100450709dd8a95a1dbd65bd63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _VisualsPopupState.build: MethodTooLong \u2014 build runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"132de7919ede0a1dd5748496cb7e3772cb56bd8adde0bb8cabd8fef46d048690"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnymeXTile.build: MethodTooLong \u2014 build runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90adfe65a0763a280e469cd83dd3a41d86fd691b2a691be8de196bd38110d7b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NewEpisodeReleaseCard.build: MethodTooLong \u2014 build runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/history/tap_history_cards.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f536967da9b6e653223c9c4e85b4fd6c9b8bb58f14c176c9db8c7052b7a4e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/track_sheet.dart: FileTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: _TrackSheetState (69-845). The bar is 500 significant lines; this is 136 over it, 1.27\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/screens/downloads/widgets/track_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08aa61ea4a4c4caa3ccc0e2fc91bf959a0a0bb75871de904157dcd29cb9b77f2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CastService: ClassTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 108 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_service.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"966335dcd4a67a67085966688b9852b003cce63e3a7751f00bb694f6885b1022"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DownloadServerSelectorState: ClassTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 108 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9afb82b1a6125405fcee821f3be841bd0d97cce50cac64c36c313f7c52de6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IosLegacyPlayerControlTheme._buildBottomSection: MethodTooLong \u2014 _buildBottomSection runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.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/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"748973bd36892d2823a8c7cf812dfbe3a63f7b74845a21e03a26f7d34b201daf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._buildHeader: MethodTooLong \u2014 _buildHeader runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"682e90915eb45fe0010c9f34ce848410d478a223993f7d9c878a0ce21f703fbb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/download_isolate_pool.dart: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 133 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/download_isolate_pool.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17174a475b9bfa6a9d057c83321ae98c49db549062bfe24ae0636fc737c59e77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/extension_filter_sheet.dart: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 131 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2688c78ef8414f599a7b78214db513212e00dc5cd7ead0604c5d18103939e60f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CustomListsEditorState: ClassTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 104 over it, 1.26\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/screens/library/editor/list_editor.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f7337cac43d8729591957aad649016c3e41dadecf21fe2d49a9155e6154092"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/settings_view.dart: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: NovelSettingsPanel (10-846). The bar is 500 significant lines; this is 130 over it, 1.26\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/screens/novel/reader/widgets/settings_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b727a2a88f54236c5781f90827a690afcb7a9d7ea51b97aa24e498dc19cc40c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DownloadedMediaViewState._buildHero: MethodTooLong \u2014 _buildHero runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"847eef1d7fdd5142243b96a2cdbe9d31b2cc179ec8b579d6b481c3146df50cdd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InlineSearchHistory.build: MethodTooLong \u2014 build runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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/screens/search/widgets/inline_search_history.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"456f00ff9ff59ec99fdf004f906898256de4799d7637f69d85d5b3e895d1582a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: non_widgets/activity_composer_sheet.dart: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: ActivityComposerSheetState (53-740). The bar is 500 significant lines; this is 125 over it, 1.25\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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee76968fcb8109722588f2729097b4efe60aff8dea7b307e423c62d45e6d8767"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnilistAuth._fetchUserDetailsInternal: MethodTooLong \u2014 _fetchUserDetailsInternal runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"56639ea9730d61af81cb018c471bfd200c23cfe8ed09af4c26ffe514e80bf2be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ControlButtonState.build: MethodTooLong \u2014 build runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/screens/anime/watch/controls/widgets/control_button.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6092f6047ef6367431231a8798bc389ed68f5bbe21169237a371d6d4a7142a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MangaHistoryCard.build: MethodTooLong \u2014 build runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/screens/library/widgets/manga_card.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e4d244e7c4aa7145dd40d73d700addf1144672d2c9bd5a5d3f31dedefe12df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ActivityDetailsSheetState._buildReplyCard: MethodTooLong \u2014 _buildReplyCard runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/screens/profile/activity_details_page.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fd565083e31e0929c4538b0965417db262d5ca4be5a9d61772672843868142"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _StylePickerSectionState.build: MethodTooLong \u2014 build runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/screens/settings/widgets/style_picker_section.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdae955d4af995aa2abbbee4629152bd2594d50bf618decc1e8412ae0d282127"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserStatsPageState.build: MethodTooLong \u2014 build runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/screens/stats/user_stats_page.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf703d53cafa4a988dbd76056277590d91f1fe9d775d5e751f2b8747ce868e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ColorProfileBottomSheetState._buildVisualTab: MethodTooLong \u2014 _buildVisualTab runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/utils/color_profiler.dart"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dbc67e570c5d3aaddf952af73282f589f8e5becf14b9bbff44e9fb5f2689e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MediaModeSelector: ClassTooLong \u2014 494 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 94 over it, 1.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/media_mode_selector.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4c0c6775251a1a03a0a284ce1d1865e96c482973a597a116bb60c17acbb3ee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MediaKitPlayer: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/player/media_kit_player.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"249e558465701575929b8026c21e16e8c275843d5978778d8c09ad0c9d87d3b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Media.fromMAL: MethodTooLong \u2014 fromMAL 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/models/Media/media.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beebf493e552dedffcb0ef4971d79511bf13b215288bab5f46b432b44b011be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HomePageState.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/screens/home_page.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c487b09acf6d5f550f3280223b941e16c02ee327fcadcab5158320afa680e57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ProfilePageState._buildActivitySlivers: MethodTooLong \u2014 _buildActivitySlivers 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/screens/profile/profile_page.dart"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"1761124099213b27417c48803a4c4ed21f910bf3279713c691cfa148f9d351c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NotificationCard.build: MethodTooLong \u2014 build runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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/screens/notifications/notification_screen.dart"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb385589243540d1296b266614fc14374e2667c00eb371ca89e54e6a787866a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ContributorsPageState._buildFeaturedCard: MethodTooLong \u2014 _buildFeaturedCard runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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/screens/settings/sub_settings/contributors/contributors.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"8146a229b06f6dbf517fc1a9e55c255b41e908407b75f0c4d9cfa60d8b7e16de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageButton.build: MethodTooLong \u2014 build runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_image_button.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa96f064bdc57b58819514c2593fd60c52c73c86359ef3a795f4cb07e6be950c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/comments_replies_sheet.dart: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: _CommentsRepliesSheetState (68-817). The bar is 500 significant lines; this is 108 over it, 1.22\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/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4e0e8afac1f7575878fa795d96527cdb728900b0d9ba7e39aa1a3f14e996a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/liquid.dart: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 106 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/liquid.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21851f2c1c386efbc06019176bb93589f64466e3201d049027bcf653620bf7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sub_settings/settings_extension_manager.dart: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _SettingsExtensionManagerState (28-803). The bar is 500 significant lines; this is 105 over it, 1.21\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/screens/settings/sub_settings/settings_extension_manager.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbfdbbd8b5a4340ffc11dbe9105aa58deedb6056fbe2a057f8a72150e01860f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: watchium/watchium_create_dialog.dart: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _WatchiumCreateSheetState (35-804). The bar is 500 significant lines; this is 105 over it, 1.21\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/widgets/watchium/watchium_create_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b0daaf7727baccf81979dc81f8d6c4da37c4ebffffb2239cc4901bbcb5b903"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ColorFilterSettingsPage.build: MethodTooLong \u2014 build runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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/screens/manga/widgets/reader/color_filter_settings_page.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f6bebc4b232d9aeb34ca6428a32766d45f2666e3e0fc716d217ec792af64a4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SimklService: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d26f0fbff331016f111613dd314197741a6652fb0efd79e9e9798b9a1fcda1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/user_media_list_page.dart: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: _UserMediaListPageState (90-799). The bar is 500 significant lines; this is 100 over it, 1.20\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/screens/profile/widgets/user_media_list_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb036370ba79bf7f5719f6bc449ec1a83ecbaa1713447db5bddbd46480be959"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackupRestoreService._buildBackupData: MethodTooLong \u2014 _buildBackupData runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"8493843194c987b92f3e90dea3e10098d1342ec980ca576654c1546b29d261ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._showUserInfoDialog: MethodTooLong \u2014 _showUserInfoDialog runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3131}}}],"partialFingerprints":{"codehealthFindingId/v1":"503cb72e05e05b66282f3f1dd2357d2b896982fb7e63a638e91e00ccd4db5e77"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EpisodesPane.build: MethodTooLong \u2014 build runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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/screens/anime/watch/controls/widgets/episodes_pane.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaea582fb01abae9ce6b59fc9e369ce4993cdf8d6412c7c3dbf195fb901ed47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedHistoryCard.build: MethodTooLong \u2014 build runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f7b86aeed0f5fab47a93643099066c07360754d23b0e96f12c4658ec482ad6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ContributorsPageState: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 73 over it, 1.18\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/screens/settings/sub_settings/contributors/contributors.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeed18f1f1ccb6cd021c66b2dcad83db01b87176ceb85fd02ab64aae1de63999"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainActivity.configureFlutterEngine: MethodTooLong \u2014 configureFlutterEngine runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"android/app/src/main/kotlin/com/ryan/anymex/MainActivity.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bc759bd9103a7e16b3c83244d2a9b4ef052a016103255e18266d61830eae16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackupRestoreService.exportBackupToExternal: MethodTooLong \u2014 exportBackupToExternal runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fa7b1a46ef26c5abb6e9304c8b0a870882df752929b507ef468d9fdaa4e1f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DiscordMarkdown._parseInlineSpans: MethodTooLong \u2014 _parseInlineSpans runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4f9fb61d664f16113adce34c1ac9bdc1ce254214ce3978184619dc5a5033d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CompatibilityResultPageState._buildVoiceActorsCard: MethodTooLong \u2014 _buildVoiceActorsCard runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1751}}}],"partialFingerprints":{"codehealthFindingId/v1":"975637b9996512606aad513dfaa843a5b7e13b30dde8814f23c64afd1ef534e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsCommonState._showHomePageCardsDialog: MethodTooLong \u2014 _showHomePageCardsDialog runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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/screens/settings/sub_settings/settings_common.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12151b3b11a64813a2c46e152c7c9c80bbd3f8db77ccf1bce0cde6fbd6e9cc9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnymeXSectionBuilder.build: MethodTooLong \u2014 build runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_section_builder.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cd2d0d8829775c350f6da79662a25e353a66e4ccbe6f852725e96256e8b203"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsSheet._buildHeroHeader: MethodTooLong \u2014 _buildHeroHeader runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/settings_sheet.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"252888803253a213cb12f36f7fd56661b28f532e68053deffebb908240ad76df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/history_model.dart: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 88 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/widgets/history_model.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56121afbd7a92c016e017d9678a1f9a332077e12708e981541acdc4ca367f110"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeThemePlayerPageState._buildBottomPlayer: MethodTooLong \u2014 _buildBottomPlayer runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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/screens/anime/themes/anime_theme_view.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"412a1f55315adaad4b46ab2461f68da75a408ab463d9c2b7012991c1c756ebd0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CustomListsEditorState._buildHistoryCard: MethodTooLong \u2014 _buildHistoryCard runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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/screens/library/editor/list_editor.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d438b10ab38cda0d84d124bf6798617d1000d217742058a05defa85cc63942"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnymexDropdownState.build: MethodTooLong \u2014 build runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_dropdown.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc93b5b2926b1922d4ab5d7e6dd70131494078418865a27169386aaf56c5c133"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _AnymeXAnimatedLogoState: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fd506eabc522c6b36a9efb0873e9047d507a3ba1634db325e672d75602e4cb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsPlayerShadersState: ClassTooLong \u2014 464 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 64 over it, 1.16\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/screens/settings/sub_settings/player/settings_player_shaders.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9732fd06dcbc21d549fe9f0736110ad6ca08f2da5e82bdbea622ef9c8f78386"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _FilterScreenState._getNavItemForTab: MethodTooLong \u2014 _getNavItemForTab runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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/main.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f33758a57f6f1fa41cbd6a8d8cc867750192edca04c98abb21b12daf9c133f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _StudioDetailsSheetContentState.build: MethodTooLong \u2014 build runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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/screens/anime/studio_details_page.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d26b60dee3523ba3550d02f46f78cc158d0be1d045626eb4be732c71e3b0e42"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SubsamplingImageProviderState.build: MethodTooLong \u2014 build runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"931b4f78ce8fe92b02d175f0fcf363748ef82674fa9861f9fbccf5c547c9e21c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _UserProfileHeaderState: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 58 over it, 1.15\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/screens/profile/widgets/user_profile_header.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5f4970ea0aefc320a6b6fbda8e0919803699dcb41ae73593d3d986e45dd9d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reader/tabbed_reader_settings.dart: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 72 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fa875547a03bf563818d64c43fa7a309f7081c6fd518f3f3a212ddb89d170e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AnimeThemePlayerPageState: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 57 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/screens/anime/themes/anime_theme_view.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46e6f619c9a1c457b19382f1f3e6ed830985ce78b413391d5edb62e99c839c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._buildCommentsList: MethodTooLong \u2014 _buildCommentsList runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54027034d6dbe949fd07f7983be8f1d088d0dc09bc6843fc951906b26825c59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._buildCommentWithReplies: MethodTooLong \u2014 _buildCommentWithReplies runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"2299f370caee7049fc0a9ab51c91f992d0bf0e5ec8e985da2feacc2576a7e9ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsPlayerControlsState._showPlayerControlThemeDialog: MethodTooLong \u2014 _showPlayerControlThemeDialog runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d73ecd407d16970e5c7603199413818e9c5d64d59c7c276bc0c179f6d206adb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsPerformanceState.build: MethodTooLong \u2014 build runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/screens/settings/sub_settings/settings_performance.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb62aa1e079934c802e4c4ba6592ea1377d992d107a351973a10d4851080bbf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SourceController: ClassTooLong \u2014 454 significant lines (blank, comment-only and punctuation-only lines excluded), 58 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/controllers/source/source_controller.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cba21f1c85279e8e894cd18c4b599ef50e0a805b82772557fdf9a516c179a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sub_settings/settings_ui_details.dart: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _SettingsUiDetailsState (34-743). The bar is 500 significant lines; this is 67 over it, 1.13\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/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9ef62c273dbdf85edc23f1eae241361180cd0bde3455054ca6909ce750bdcd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MalService: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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/controllers/services/mal/mal_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afd94df7efd6c38919409ef9a8d0988d10707a3533521ffd6b225206ef54c7d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DiscordRPCController.updateAnimePresence: MethodTooLong \u2014 updateAnimePresence runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"087a59b13c123251fe827d6b387b9521317752c9e4c7851475004b4e35412a67"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SimklService.homeWidgets: MethodTooLong \u2014 homeWidgets runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4342fd20332b9f1f782cf1108cbe135250457aca17358239862c17530765cd9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._buildReplyInput: MethodTooLong \u2014 _buildReplyInput runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"871f0c1e09cde8ccb585522bbfa53ebd797936ce415a66c5459aaec87244e5b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ExtensionScreenState.build: MethodTooLong \u2014 build runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/screens/extensions/ExtensionScreen.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3705d0a63f106414a3bbf18518474ec6cbf74497430e7d961f28962a8082f8e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CompatibilityResultPageState._buildOverallHeader: MethodTooLong \u2014 _buildOverallHeader runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d054252d589a68245a6d2c7c5076a7a44fda73c82e39dd8cd241d06ee06ef28c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ActivityDetailsSheetState: ClassTooLong \u2014 451 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 51 over it, 1.13\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/screens/profile/activity_details_page.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec358bcd77c0b20ee8348b2be3fde89c16a90ff21e6cdb08f93bbf6bc71b9a00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/download_server_selector.dart: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: _DownloadServerSelectorState (65-742). The bar is 500 significant lines; this is 61 over it, 1.12\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/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faefe7489aeb90dcb1be1b3a1b7b67f127c2fefc92bd1ff02b71bfb896615210"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WatchScreenState.build: MethodTooLong \u2014 build runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/screens/anime/watch/watch_view.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadfb6a962a0bf02c89db58c8525498a6c9a1ac4561f05c9301c192ec0b9e137"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkdownFormattingToolbar.build: MethodTooLong \u2014 build runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"289c05e18cfbf4b8258b13ad3775ef9af665be66a07ce7a333f1c56ab08dd822"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsReaderState._showReaderControlThemeDialog: MethodTooLong \u2014 _showReaderControlThemeDialog runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/screens/settings/sub_settings/settings_reader.dart"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23a866244e7f935e4870a6dcae3585fef396401031c7c84f71c60c3e732233d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GridAnimeCard.build: MethodTooLong \u2014 build runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_item.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"295d1f46513e19ca4a747e94976e11383519c891cf2e3eb4cb33f3a97756dac9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CompatibilityResultPageState._buildWatchStatsCard: MethodTooLong \u2014 _buildWatchStatsCard runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"163f51a31d129d8883c232f4e2c67067c3e5246a729a9d02c16464298929d164"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Header.build: MethodTooLong \u2014 build runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/header/header.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c954a94699c1543f2b6166683625d3d29542b860d99c2d2a8b846731e48730e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/plugin_manager.dart: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 54 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/widgets/plugin_manager.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bb20bed89dfd8e837c9513696e137c66bbcb65ed9bd0fa5bbb50b27aaab945"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/updater.dart: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 51 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/updater.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21465e8e165401a641b9f02954d4fa7f4d09460fb4c85bd4fa1e37a9a91c9964"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalSourceController: 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/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f4f75df90efb9776d82b59cf598afc346886fc4093c3159e6f2973f926d201"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CookieManager.parseSingleCookie: MethodTooLong \u2014 parseSingleCookie runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/network/cookie_manager.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"1061bf34b60ceed714ba77202b96f516f86aa9f093e9d5734f90fd7df431f474"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BottomSheetListItemState.build: MethodTooLong \u2014 build runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/bottom_sheet.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a682c9f4fe51bee82e46d74657dcb00e3ce18551ac029a1e94c05b8663882a01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ChapterListBuilderState._buildDetailedTile: MethodTooLong \u2014 _buildDetailedTile runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f5078809ef99af456ebb916bcc13095cd9626823c767da5e6b52c3cf5950ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnymeXScaffold.build: MethodTooLong \u2014 build runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/anymex_scaffold.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1245e712799d612bc4ea0a725176fe8e91f1abed503c530683c3b6420d50b737"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: misc/sauce_finder_view.dart: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _SauceFinderViewState (25-769). The bar is 500 significant lines; this is 48 over it, 1.10\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/screens/settings/misc/sauce_finder_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58c21f54d378cec26941a92c325a567ee3829ee6af558fd8abeb6eb7f903578"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _WatchTogetherPopupContentState: ClassTooLong \u2014 436 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 36 over it, 1.09\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"377b447818c9b1f0a85286b4aafad5f9f99c20c0670653de60adfe56d73b5824"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnilistAuth.fetchUserActivities: MethodTooLong \u2014 fetchUserActivities runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b01d2eabd63fb344d502917a66a36745682831d49d4e6e60338979c0ddadf8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NetflixMobilePlayerControlTheme.buildBottomControls: MethodTooLong \u2014 buildBottomControls runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/netflix_mobile_player_theme.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90c71ed9f5c4e3f3f921a4b563ce1ed407c3f566b8ab1179cda60d54499f17b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NovelReaderState._buildOverscrollIndicator: MethodTooLong \u2014 _buildOverscrollIndicator runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/novel_reader.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c8aade4810201c3030d445ede7b3e74236977ffce1c57cd65106d60c287dbd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CompatibilityResultPageState._buildSectionGrid: MethodTooLong \u2014 _buildSectionGrid runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e127d8ae3072dc6db00a5ca7d1b2779d5296accc1ab877863403bac65884c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PressableHighlightCardState.build: MethodTooLong \u2014 build runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/stats_overview_cards.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da4b9b7a246d3af4eeed8a9802469e942885d35db56da7657d28c3684dfaeed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsAnilistApiState._buildListSection: MethodTooLong \u2014 _buildListSection runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_anilist_api.dart"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72c69eef26a30f27e2ad1434915b21b2a0af6289e5d149bc6310f263ffd8f1a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ios26PlayerControlTheme: ClassTooLong \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 32 over it, 1.08\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"860e30c19dac1213d645f64fd001ef3760af4c1d967133b12529990df6db751d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SocialSection._buildFriendItem: MethodTooLong \u2014 _buildFriendItem 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/screens/anime/widgets/social_section.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fcea6ae8b5f22f617c7e28a0ae787fc3a11acc05b5b180f7c8d80cbf995449"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CompatibilityResultPageState._buildSocialConnectionsCard: MethodTooLong \u2014 _buildSocialConnectionsCard 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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea6fc22923b3579c37182e7880009cc4ec26a608bb8f32322158cfffe604993"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AddRepoDialogState.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/screens/settings/sub_settings/settings_extensions.dart"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb83525a3b27e5a368e6499d725a6289d35b00d2cc02672d8fbae3043045f9b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UserStatsPageState._buildFrequentlyRevisitedSection: MethodTooLong \u2014 _buildFrequentlyRevisitedSection 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/screens/stats/user_stats_page.dart"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b481f77afaf2298fb97fa5ceec1355564d60d1309e8f8c9d23761ce7aee3a3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsReaderNovelState: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 31 over it, 1.08\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/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd61265a44b090dc1b0ad3fc8ed3b4b389d4ad61a47bfb35e77c29fffd9a094"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/anymex_scaffold.dart: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: AnymeXScaffold (24-512). The bar is 500 significant lines; this is 38 over it, 1.08\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/widgets/common/anymex_scaffold.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fbf4e4e3aac6a9f20112528c3c930f98ea23c39ba103b0373e0a38780a1a27"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Deeplink: ClassTooLong \u2014 430 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 30 over it, 1.08\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/utils/deeplink.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c674c19bd99816d4a0e7496f3f138c1ec4c42b474d796508d8dec350cf4c9606"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cast/cast_service.dart: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: CastService (35-715). The bar is 500 significant lines; this is 36 over it, 1.07\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/services/cast/cast_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a9871a05503cea54f77b36a08c3ed43376c0083487730d575dc040d8afe010"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Ios26PlayerControlTheme.buildTopControls: MethodTooLong \u2014 buildTopControls runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c56e74f11f9f3ffe144f3b2ee4c64b110feaaca7543918b22a6e9fa4b03091"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TopControls._buildMobilePortrait: MethodTooLong \u2014 _buildMobilePortrait runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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/screens/anime/watch/controls/top_controls.dart"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0284a5123ba04b22eab47161a90930a05bd2fc40ca97e05cb68b57f705aa391e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Matchmaker._computeMangaSection: MethodTooLong \u2014 _computeMangaSection runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f61a2e9e63f8a7832893aab0afb1830d52b1471ed1d2ae147dcaedd962bc00e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BasePlayer: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/player/base_player.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb968a1e11d82b3cb34ab937beda202335c068be2938a0723c341fe65948b6e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MediaHeader: ClassTooLong \u2014 424 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 24 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anime/media_header.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b6707e7348b96ada81ac67e49b3aefba6ed9556045e9833abd33fb11202293"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GroupFilterWidgetState.build: MethodTooLong \u2014 build runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e861a3132e774ac4b7f1cbf8ff7acd3cca3fec7d3ab1c9d92a850a44bb4f207"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ContributorsPageState._buildContributorRow: MethodTooLong \u2014 _buildContributorRow runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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/screens/settings/sub_settings/contributors/contributors.dart"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b1cebe5074f0301d17c9d055999951e7116a90b181e914579ea9f4af62f6dd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsCommentsState: ClassTooLong \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 21 over it, 1.05\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/screens/settings/sub_settings/settings_comments.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8ca10992ce32e3bc8f94273fff7a3d1e0ce4d70a98350c721df5320f625739"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DoubleTapSeekWidgetState._buildDragSeekHud: MethodTooLong \u2014 _buildDragSeekHud runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"1895452196a1e23f0917194debe14e9ab5572d831cb2887749e9a6dc0c67a8ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SeeAllListTile.build: MethodTooLong \u2014 build runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/community/community_recommendations_page.dart"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3bddc087f1810f1e1a0470f9b4e6b8ce4ce794aaa132a4929853a279938a79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnymeXHistoryPageState.build: MethodTooLong \u2014 build runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/history_page.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d63aa8b046208ab923a81fd68cba8b53c5ca73ed55cda20e8d87ae7f1a593a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CloudflareBypassWebViewState.build: MethodTooLong \u2014 build runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/cloudflare_webview.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9827597a6406c25bfc8a095c89c3d251fc66d3fbe036c53d7535b2663483fb8d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActivityComposerSheetState._buildFormatButton: MethodTooLong \u2014 _buildFormatButton runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53c49968392c6781b189ab05b0a8d3d32cd6263f99aba629ba20fe8635bcd04"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _UserManagementPageState: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 18 over it, 1.05\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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee5a8f34a81b91ba049c7303f84fc2b26bc7741324e0f36e1636a3d5080907c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/watch_together_popup.dart: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: _WatchTogetherPopupContentState (121-688). The bar is 500 significant lines; this is 22 over it, 1.04\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f973e6146f49249ee7242d0d95fa034945e22d81c54bf637e6b5d02e45a8dd77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/bottom_sheet.dart: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/bottom_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9d7fd14ee0c346af0f7f30bb8fcb2bb5b9dadb56cf0eb09fb49e0f675e85bc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsUiState: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 16 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/screens/settings/sub_settings/settings_ui.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5bcb4f2a91d4fcafe3590105e412a7778df0dc6bf61c9909417a0c1841bb02"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CommentSectionState._showReportDialog: MethodTooLong \u2014 _showReportDialog 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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3b9a45ddf3d0e9378155386a88c3852a47ae80a58df24333832200b0d920da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _UserSearchSheetState: ClassTooLong \u2014 414 significant lines (blank, comment-only and punctuation-only lines excluded), 6 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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aed61679a5cecd93f1130896391cf06ddea85be43ba0e69901123978d72195"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommunityService: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/controllers/services/community_service.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a51b5dc6eb9f7db45a226b33d613c34f440d792e0d3ebec317ba27044afb280"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _SubsamplingScaleImageViewState: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bcd80f765469b27aadd16c406e6a58e841b9439f8c4d3c382f3bd22fc52978"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CalendarState: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 13 over it, 1.03\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/screens/anime/misc/calendar.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fae4898f1fd1ec33d322bd0595311fa8c1ce08247bd143ddbc7c66b8eeefc0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommentsDatabase: ClassTooLong \u2014 412 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 12 over it, 1.03\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/database/comments/comments_db.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd2e7d92c25346b40cf9c87546ffc04053c4a643ad46e835807746d9b985e53"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeHomePageState.build: MethodTooLong \u2014 build runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/screens/anime/home_page.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98d4640d7379157bc34eb73df612d179c81f6363fba0db3c2344359e5c881ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMediaIndicatorTheme.buildIndicator: MethodTooLong \u2014 buildIndicator runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"71514932a71050a55cc5bd73673e8935e46e552f70cc0c73245c8464fde85129"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ExpandableCommentTextState.build: MethodTooLong \u2014 build runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/screens/anime/widgets/comments/widgets/expandable_comment_text.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bad0882a5388ed2666a02e96dc0fa40a21f6e1c27cef7575efe2fb6ba1e47a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CompatibilityInputPageState._buildMatchupHero: MethodTooLong \u2014 _buildMatchupHero runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3280b2dcc573b813d2bd140d0a7a829dbcf253a67bbed59faf3171757b434f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsDonationState._buildAdSupportSection: MethodTooLong \u2014 _buildAdSupportSection runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/screens/settings/sub_settings/settings_donation.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b57bc34e1dc0026c5ff301eff9c2553039626713fb5fc1bf820dbe05187bb06"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Anilist/anilist_profile.dart: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_profile.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb7b31b4fa2de42a728495cf840d5f773f15c045efb1fc20d71388d85ea4137"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/al_about_me.dart: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/al_about_me.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4efb3a6c80b4b58df98f7bb733a5bf1e4c079f4ab02e9095de23574b5786332"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: network/cookie_manager.dart: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: CookieManager (9-604). The bar is 500 significant lines; this is 13 over it, 1.03\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/controllers/network/cookie_manager.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05b85146800dd4ab7d0379b0cd715137701420be81bc8804fe5808d5cc9e701"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _LeaderboardSheetState: ClassTooLong \u2014 409 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/leaderboard_sheet.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fad142e397d86e845ae214994998e5ee67fb9e25e87954c15853a723ca6f4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/user_profile_header.dart: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: _UserProfileHeaderState (59-666). The bar is 500 significant lines; this is 10 over it, 1.02\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/screens/profile/widgets/user_profile_header.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3901b829dff616e9100b5e3db47b1c654eec40b0b123a4cafd7f79efd5da5f4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/media_mode_selector.dart: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: MediaModeSelector (18-674). The bar is 500 significant lines; this is 10 over it, 1.02\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/widgets/common/media_mode_selector.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"994c9c81bbe412a720b1b1f14ed21f463cbdac8643749509bd4bf77d237da897"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThemeRenderer._getDynamicColor: MethodTooLong \u2014 _getDynamicColor runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dae4436278d27db2997dbcf5a07acec4c95b7390583ccc5bf17bd008512632"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DecorationClosetSheetState._buildLivePreviewCard: MethodTooLong \u2014 _buildLivePreviewCard runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"162df445be402d750b7e53dcadb624d276d66bb9db7624768750acc20fa723eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FavoritesSection.build: MethodTooLong \u2014 build runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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/screens/profile/widgets/favorites_section.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"22046b9768040ce6823b530e01df366dc55b6cc7682b7c5b992e97b43ded9f81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controls/top_controls.dart: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: TopControls (27-558). The bar is 500 significant lines; this is 9 over it, 1.02\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/screens/anime/watch/controls/top_controls.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87238094a9c7c45f18078a30b7649d4e40861d640f98072b9f085813dc5fc79c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IosLegacyPlayerControlTheme: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c86b7e45407ef14a87212793d9280af952839758cea59aca85f9878221e083e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsPlayerSubtitlesState: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/player/settings_player_subtitles.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1400ab8ac8bd87de222ac82d4214b644543ef5e27d0ac43e11752525bcfa4c82"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnilistAuth.updateListEntry: MethodTooLong \u2014 updateListEntry runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c407ec3cccfbae5138918d3d1bfa109825955ac648a2fd16aa2edfe991e5f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MentionAutocompleteState._buildDropdown: MethodTooLong \u2014 _buildDropdown runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/mention_autocomplete.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d762641b8cefa9c6251d55a8319214a2992ebec42ae6863ec8ebc08a2626b3f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ServerSheetContentState._buildServerList: MethodTooLong \u2014 _buildServerList runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a266a56b84393ce4fa000c14eec9b53ca3bdb86229587f75e38db3826fd37bb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DownloadServerSelectorState._showTracksDialog: MethodTooLong \u2014 _showTracksDialog runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea97076d7abd3f1c55df2b446644f0ed034a78d9737eac509af0457840b9e72"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TrackSheetState._buildTrackerCard: MethodTooLong \u2014 _buildTrackerCard runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/track_sheet.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0e812dd6a3084151da92ee0e1969a0bc62991ccae84cb967a3f1529878694f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnymeXSliderM3TrackShape.paint: MethodTooLong \u2014 paint runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/anymex_slider_m3.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"720b4990e34d77155180deb29500f1b2da763ce32ba3e12ee14915a20b1ac13f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 47 shared lines): lib/screens/profile/widgets/profile_header.dart:72-564 | lib/screens/profile/widgets/profile_header.dart:583-1051 | lib/screens/profile/widgets/user_profile_app_bar.dart:60-576 | lib/screens/profile/widgets/user_profile_header.dart:62-665 \u2014 These 4 members are variants of one another: a block of 47 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_header.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"482555996d17960919d047d3f968facffb373275092a9ae563a6a463a8d866db"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 38 shared lines): lib/utils/color_profiler.dart:588-764 | lib/utils/color_profiler.dart:783-1021 | lib/utils/color_profiler.dart:1023-1184 | lib/utils/color_profiler.dart:1302-1375 \u2014 These 4 members are variants of one another: a block of 38 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/color_profiler.dart"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a712b4ae4d44e38675fdf4f1cc84ef99b8f21fb31cf89072840103137971217"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 38 shared lines): lib/screens/anime/watch/controls/top_controls.dart:104-222 | lib/screens/anime/watch/controls/top_controls.dart:246-418 | lib/screens/anime/watch/controls/top_controls.dart:420-557 \u2014 These 3 members are variants of one another: a block of 38 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/top_controls.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b6689db04cfb1d5527534f226df16a5f77dbbd4adae484bf8315107552ba9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 21 shared lines): lib/screens/settings/sub_settings/player/settings_player_controls.dart:278-428 | lib/screens/settings/sub_settings/player/settings_player_controls.dart:430-549 | lib/screens/settings/sub_settings/settings_reader.dart:426-583 \u2014 These 3 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"660ae72ae558f7e64e738578549b682194e8cfedbf693fe57dbcb69ba03a2931"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (182 shared lines): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:145-382 | lib/screens/settings/sub_settings/settings_reader.dart:867-1120 \u2014 These two members are variants of one another: 182 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/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3c6be54376ed7753a1c50b43e5678ff9ae78b61c214a339b1c077e09baac6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (148 shared lines): lib/screens/anime/widgets/episode_list_builder.dart:1155-1364 | lib/screens/manga/widgets/chapter_list_builder.dart:1217-1474 \u2014 These two members are variants of one another: 148 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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6d6ff65a103aa586501368c40a9e5eccefaa1df1523e5157ece0a6a6fd9736"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (141 shared lines): lib/screens/settings/sub_settings/settings_network.dart:308-554 | lib/screens/settings/sub_settings/settings_network.dart:556-882 \u2014 These two members are variants of one another: 141 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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc100ca9f76c8116465cba7dee796acc6b28c5b43b58c9d940b21fba82806524"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (137 shared lines): lib/screens/profile/profile_page.dart:739-922 | lib/screens/profile/user_profile_page.dart:679-884 \u2014 These two members are variants of one another: 137 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/screens/profile/profile_page.dart"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1b2e1ea9772ee4cb0eb9b24efeb31819b1afb49c357305908178744093a426"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (133 shared lines): lib/widgets/dialogs/logo_animation_preview_dialog.dart:96-414 | lib/widgets/dialogs/logo_animation_preview_dialog.dart:416-639 \u2014 These two members are variants of one another: 133 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/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f43c55a02f815ee10cf0089e1ec6183d29b974da0924f70a7f33024106f72d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (130 shared lines): lib/screens/anime/widgets/comments/comments_section.dart:1385-1591 | lib/screens/anime/widgets/comments/comments_section.dart:1745-2003 \u2014 These two members are variants of one another: 130 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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"836087ff8bf01a54fefc4607993a3817db3769ca7cbd29154a24852f75781129"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (129 shared lines): lib/screens/profile/profile_page.dart:946-1224 | lib/screens/profile/user_profile_page.dart:908-1143 \u2014 These two members are variants of one another: 129 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/screens/profile/profile_page.dart"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"70370576fbf3105d7fd34e80bec0a6b68d5ac03243505ad031ce318e26a476a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (121 shared lines): lib/screens/profile/widgets/activity_heatmap.dart:52-287 | lib/screens/stats/user_stats_page.dart:550-818 \u2014 These two members are variants of one another: 121 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/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"402ead14688cf2db63d5698361fdaaecdaf3149666f34d084067f26f60e0ab89"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (115 shared lines): lib/screens/library/widgets/unified_history_card.dart:19-180 | lib/screens/library/widgets/unified_history_card.dart:321-447 \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/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa382aea86b5fa8cbbe7d771d06037f7679595ba08d2e96a9ada0b3fdae8c8dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (115 shared lines): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:244-555 | lib/screens/settings/sub_settings/settings_reader.dart:1122-1444 \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/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6f7d60755b3aab440baaab149cf8ed972db0109cfcbc80427a55ff8b075cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (103 shared lines): lib/controllers/services/anilist/anilist_auth.dart:2031-2155 | lib/controllers/services/anilist/anilist_auth.dart:2431-2542 \u2014 These two members are variants of one another: 103 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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bd0d94ca86997ce070dd0f708cffed33b92ab3d0357da1df3590652f04ec02"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (73 shared lines): lib/screens/anime/widgets/comments/comments_section.dart:2458-2538 | lib/screens/anime/widgets/comments/comments_section.dart:2540-2674 \u2014 These two members are variants of one another: 73 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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"041c30ddc6baf2177f740a77a3b4e7ba8f48efbf180243d4a34a8ade30202cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (73 shared lines): lib/widgets/common/carousel/themes/big_carousel_classic.dart:32-155 | lib/widgets/common/carousel/themes/big_carousel_portrait.dart:58-177 \u2014 These two members are variants of one another: 73 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/widgets/common/carousel/themes/big_carousel_classic.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c869db99375461b5ac6a341fa6ad172fcc28d44908ca868f030357f79e6fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (72 shared lines): lib/screens/anime/widgets/voice_actor.dart:19-281 | lib/screens/anime/widgets/voice_actor.dart:288-414 \u2014 These two members are variants of one another: 72 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/voice_actor.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e049434edf8799a7fd74ef178aa65d086e8dc593b36e313c3c28cff60ea3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:608-679 | lib/widgets/watchium/watchium_create_dialog.dart:529-598 \u2014 These two members are variants of one another: 57 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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"900448bbe83e4fbd298e7165d52029e708f534992bb07742c4086752fb29fb5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): lib/utils/compatibility/matchmaker.dart:668-764 | lib/utils/compatibility/matchmaker.dart:933-1023 \u2014 These two members are variants of one another: 57 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/utils/compatibility/matchmaker.dart"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad885cedcdb631a0bef80726d7864950efa73e127be42dc4b38d11735d088c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (56 shared lines): lib/screens/anime/misc/calendar.dart:953-1066 | lib/widgets/media_items/media_item.dart:254-364 \u2014 These two members are variants of one another: 56 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/screens/anime/misc/calendar.dart"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"686a56d6081c05c0bdb4cf6b5801fad4c736d34c0ef8358dd50bad4b0ac53090"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): lib/widgets/common/navbar/styles/classic_navbar.dart:305-380 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:361-430 \u2014 These two members are variants of one another: 52 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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c73e3a8668212f479913bbda6a8a36ebac41b5c161bd77e9aab60bbf55beb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (47 shared lines): lib/screens/library/online/manga_list.dart:325-415 | lib/screens/profile/widgets/user_media_list_page.dart:293-387 \u2014 These two members are variants of one another: 47 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/screens/library/online/manga_list.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bae9a5fde28ddd5533b9e9830af0c6349758ede279915e794c474e78e887e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): lib/screens/anime/widgets/anime_stats.dart:757-887 | lib/screens/manga/widgets/manga_stats.dart:456-550 \u2014 These two members are variants of one another: 42 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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e5043c27626472c64432439ee77f1e28b8577f8f92770f5f58b73e7449383b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): lib/utils/compatibility/matchmaker.dart:119-303 | lib/utils/compatibility/matchmaker.dart:305-440 \u2014 These two members are variants of one another: 39 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/utils/compatibility/matchmaker.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a910c7f35e29232c3a1729f6a8a648ef377ffe1ef5dfecbd1be251617f60e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (108 corresponding lines): lib/screens/library/online/anime_list.dart:433-540 | lib/screens/library/online/manga_list.dart:417-524 \u2014 These two members are one piece of code written twice and then edited apart: 108 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/screens/library/online/anime_list.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5433a0622e1339bc4ae85f2181d9847ec64c869ca4dd6d27422a8f52546d49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/controllers/services/anilist/anilist_data.dart:367-428 | lib/controllers/services/anilist/anilist_data.dart:623-870 \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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c2c336b3d8c13a3fb10f7ff524e084bdcdb588db458da521ee177d9415424a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/screens/anime/widgets/episode_list_builder.dart:1110-1148 | lib/screens/manga/widgets/chapter_list_builder.dart:468-797 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f09ec534a679cd66e019127647a2e2cf02268e256d13a55d4cb65c16ebb131"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/screens/settings/sub_settings/settings_comments.dart:358-395 | lib/screens/settings/sub_settings/settings_comments.dart:397-435 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_comments.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"73041b73fcc9308a42d419705a0325088c2185047ec95da02ffa4f3fbe2579c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/controllers/services/anilist/anilist_data.dart:367-428 | lib/controllers/services/anilist/anilist_data.dart:444-621 \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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"885c9a91bcd910e8fe3b82e6ddbde7825285a17d303fbbaa861f3f4f691957aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): lib/controllers/services/anilist/anilist_auth.dart:1521-1555 | lib/controllers/services/anilist/anilist_auth.dart:1557-1588 | lib/controllers/services/anilist/anilist_auth.dart:1590-1621 | lib/controllers/services/anilist/anilist_auth.dart:1623-1654 | lib/controllers/services/anilist/anilist_auth.dart:1656-1687 | lib/controllers/services/anilist/anilist_auth.dart:1751-1786 | lib/controllers/services/anilist/anilist_auth.dart:1788-1829 | lib/controllers/services/anilist/anilist_auth.dart:1831-1862 | lib/controllers/services/anilist/anilist_auth.dart:1864-1911 | lib/controllers/services/anilist/anilist_auth.dart:1913-1944 | lib/controllers/services/anilist/anilist_auth.dart:1946-2000 | lib/controllers/services/anilist/anilist_auth.dart:2544-2599 | lib/controllers/services/anilist/anilist_auth.dart:2601-2656 \u2014 These 13 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 13 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"57aea28b60ef99cb505aef5177643fcae35a7eacc10940832f34b6556b3232a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:506-567 | lib/screens/settings/sub_settings/settings_moderation.dart:303-757 | lib/screens/watchium/watchium_page.dart:237-470 | lib/widgets/non_widgets/reasons_sheet.dart:202-317 | lib/widgets/non_widgets/recommend_sheet.dart:353-462 | lib/widgets/non_widgets/recommend_sheet.dart:558-668 | lib/widgets/non_widgets/recommend_sheet.dart:1060-1134 | lib/widgets/non_widgets/recommend_sheet.dart:1136-1212 | lib/widgets/watchium/watchium_create_dialog.dart:430-493 | lib/widgets/watchium/watchium_party_popup.dart:669-754 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa2f7d533b52f575f60f7fb81d67aa6d43b312bffa204ea450f5fc4f642c10e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): lib/screens/anime/home_page.dart:128-259 | lib/screens/extensions/ExtensionScreen.dart:84-230 | lib/screens/home_page.dart:206-369 | lib/screens/library/history_page.dart:95-239 | lib/screens/library/my_library.dart:80-172 | lib/screens/manga/home_page.dart:48-149 | lib/screens/novel/home_page.dart:40-111 | lib/screens/stats/user_stats_page.dart:99-250 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/home_page.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"615e5fcdd17cabbd885c981cccd3257fc4ab937a93c55ee36cfbb21ef29173d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:374-409 | lib/screens/anime/watch/controls/widgets/progress_slider.dart:291-344 | lib/screens/anime/widgets/video_slider.dart:53-87 | lib/widgets/common/anymex_slider_m3.dart:403-438 | lib/widgets/common/slider_semantics.dart:139-172 | lib/widgets/common/slider_semantics.dart:284-313 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6988ef309a64a3461ec8d5da40f0f5fc4d354462a6f8bb91f46e9b99c1f27e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:815-857 | lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:873-928 | lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:967-1035 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:723-750 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:766-821 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:860-928 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ca8b7e49e350a53147fd021e46cee3df06e388e177a05f4429a5f8b359d53b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/controllers/discord/discord_rpc.dart:538-687 | lib/controllers/discord/discord_rpc.dart:689-792 | lib/controllers/discord/discord_rpc.dart:794-921 | lib/controllers/discord/discord_rpc.dart:923-1040 | lib/controllers/discord/discord_rpc.dart:1054-1136 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/discord/discord_rpc.dart"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c13bd4eb21d694c12f3b4213efb5217616a864cd2d5486a9bb9b24f5c1febcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/screens/anime/details/media_details_page.dart:266-575 | lib/screens/profile/profile_page.dart:240-550 | lib/screens/profile/user_profile_page.dart:333-616 | lib/screens/settings/sub_settings/settings_ui_details.dart:354-742 | lib/widgets/anime/media_header.dart:46-501 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/media_details_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef9adc1145558c28df975ae9f68e9cf97c373d5cb0989a597c68644f7456a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/screens/library/editor/history_editor.dart:261-359 | lib/screens/library/editor/history_editor.dart:361-459 | lib/screens/library/editor/history_editor.dart:795-884 | lib/screens/library/editor/list_editor.dart:165-320 | lib/screens/library/editor/list_editor.dart:322-383 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/editor/history_editor.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece4280b2bd4cfe0251d6492ac01957774c35ca5f978128336acf5c7c548754b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/screens/local_source/local_source_view.dart:492-575 | lib/screens/local_source/local_source_view.dart:577-643 | lib/screens/local_source/local_source_view.dart:645-711 | lib/screens/local_source/local_source_view.dart:713-768 | lib/screens/local_source/local_source_view.dart:1131-1259 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/local_source/local_source_view.dart"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb4477b4e730e826439f59a035e400ecb0ec75346638dd3e5bfdfb3d430e11c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/services/commentum_service.dart:388-454 | lib/services/commentum_service.dart:509-555 | lib/services/commentum_service.dart:596-647 | lib/services/commentum_service.dart:862-905 | lib/services/commentum_service.dart:952-1011 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6b31adadd6b06417265c0e2eedbb42cf022b5b6e8fb37db9c0c9de6e173495"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/controllers/offline/offline_storage_controller.dart:547-617 | lib/controllers/offline/offline_storage_controller.dart:624-688 | lib/controllers/offline/offline_storage_controller.dart:690-752 | lib/controllers/offline/offline_storage_controller.dart:754-816 \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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"883b37bb7efea59a47d3496cc51ca248d76d2226a070a3a7967a8767675a8354"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/controllers/services/anilist/anilist_auth.dart:888-1047 | lib/controllers/services/anilist/anilist_auth.dart:1052-1083 | lib/controllers/services/anilist/anilist_auth.dart:1122-1222 | lib/controllers/services/anilist/anilist_auth.dart:1228-1264 \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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba98773c740f7afea1d597a36f787b369a81b95679c36e98f27b46f616eaa66"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/controllers/services/community_service.dart:1023-1052 | lib/controllers/services/community_service.dart:1054-1083 | lib/controllers/services/community_service.dart:1085-1107 | lib/controllers/services/community_service.dart:1109-1134 \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/controllers/services/community_service.dart"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0cbdd71486a63075a66e447e5f16c4d93c0285c73e92e380c0d355ef05bb0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/controllers/services/widgets/widgets_builders.dart:281-359 | lib/screens/anime/watch/controls/widgets/shader_osd.dart:10-66 | lib/screens/community/community_recommendations_page.dart:523-579 | lib/screens/community/community_recommendations_page.dart:770-810 \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/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bd49b66759d303bc10a5db61954c10d1310bf07e4ff8da584d0660b0370958"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/controllers/services/widgets/widgets_builders.dart:420-453 | lib/screens/community/community_recommendations_page.dart:730-763 | lib/screens/community/user_recommendations_page.dart:360-393 | lib/widgets/media_items/media_peek_popup.dart:1135-1168 \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/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"56075ce32fd1fc6db0a25d1b58ed57eb9e4b219a7baa1020b0e7c1ff485fe320"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/models/Media/media.dart:192-329 | lib/models/Media/media.dart:331-395 | lib/models/Media/media.dart:397-557 | lib/models/Media/media.dart:1128-1338 \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/models/Media/media.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67ac04d9f536830ea56452e6bbb332d84865e5e4fea0b4695e998eefc9fd308"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/models/notification/notification_item.dart:80-129 | lib/screens/anime/misc/list_exporter.dart:213-238 | lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:1547-1592 | lib/screens/search/widgets/search_widgets.dart:33-58 \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/models/notification/notification_item.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9eaaad15f16cf037cf2ad085500bb7039667754e6c8edde2622614782bd0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/anime/widgets/list_editor.dart:616-656 | lib/screens/anime/widgets/list_editor.dart:735-775 | lib/widgets/common/source_selector.dart:553-737 | lib/widgets/header/header.dart:548-606 \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/screens/anime/widgets/list_editor.dart"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"5194ef0629341de4dba0650201fa2323cf923f1e160781572b8fd84d6beb56a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/downloads/controller/download_controller.dart:2605-2651 | lib/screens/downloads/controller/download_controller.dart:2653-2697 | lib/screens/downloads/controller/download_controller.dart:2756-2799 | lib/screens/downloads/controller/download_controller.dart:2801-2842 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c7a8d1ebfd05e602d1e761d9cffa1f92ef1167d724d78590fbd722fb908891"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/downloads/download_screen.dart:870-1217 | lib/screens/downloads/download_screen.dart:1219-1491 | lib/screens/downloads/download_screen.dart:1493-1660 | lib/screens/downloads/widgets/download_server_selector.dart:277-557 \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/screens/downloads/download_screen.dart"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6655a733f38b719eab5d597b5ebf7444bf095156deac65cd341d6479f52dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/downloads/widgets/downloaded_media_view.dart:497-660 | lib/screens/downloads/widgets/downloaded_media_view.dart:824-1109 | lib/screens/downloads/widgets/downloaded_media_view.dart:1111-1283 | lib/screens/extensions/ExtensionItem.dart:106-324 \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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a6958ba46c08def924da8f88b31816789f811ee0d54087e34b60de07c9f0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/extensions/ExtensionScreen.dart:414-444 | lib/screens/extensions/ExtensionScreen.dart:446-465 | lib/screens/extensions/ExtensionScreen.dart:540-552 | lib/widgets/common/source_selector.dart:493-519 \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/screens/extensions/ExtensionScreen.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"a928e2bd85c64c830051592d60de2063cb21b205e871bef86cc9b93247a99d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/library/editor/list_editor.dart:532-571 | lib/screens/local_source/local_source_view.dart:818-869 | lib/screens/local_source/local_source_view.dart:871-922 | lib/screens/local_source/local_source_view.dart:924-959 \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/screens/library/editor/list_editor.dart"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcae9ce79af056955abd3e2f2b73eb945c0a70f649f994709919a9d89046301"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/library/widgets/library_deps.dart:135-231 | lib/widgets/common/custom_tiles.dart:144-200 | lib/widgets/common/custom_tiles.dart:227-285 | lib/widgets/common/custom_tiles.dart:314-418 \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/screens/library/widgets/library_deps.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"89619b081fcc7703d55e7825d41d0875f651791ed10f145c7d748f9989798934"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/manga/widgets/reader/reader_page_actions_dialog.dart:110-188 | lib/widgets/anime/visuals/visuals_popup.dart:162-280 | lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:27-146 | lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:148-190 \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/screens/manga/widgets/reader/reader_page_actions_dialog.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"957255f4d3bb56e17165c4a31b1ce8ffdac465b9b55f608d1847f6787c9815ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/manga/widgets/reader/top_controls.dart:79-94 | lib/screens/manga/widgets/reader/top_controls.dart:178-194 | lib/screens/novel/reader/widgets/top_controls.dart:56-71 | lib/screens/novel/reader/widgets/top_controls.dart:162-177 \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/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24fba0484e01486dc7b12ef4cedbfbe64c0ffb42a137db128a84a62eb39e1d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/novel/reader/widgets/bottom_controls.dart:72-94 | lib/screens/novel/reader/widgets/bottom_controls.dart:151-230 | lib/screens/novel/reader/widgets/bottom_controls.dart:232-296 | lib/screens/novel/reader/widgets/bottom_controls.dart:298-321 \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/screens/novel/reader/widgets/bottom_controls.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"675e4c0409054224cc845d85a3b676dd3602fc6350556d51d0a6801bbec36562"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/search/widgets/search_widgets.dart:1426-1454 | lib/screens/search/widgets/search_widgets.dart:1509-1597 | lib/screens/search/widgets/search_widgets.dart:1599-1671 | lib/screens/search/widgets/search_widgets.dart:1673-1746 \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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b09741158fea002a8175d96c479e1a74205c38aaa6cb6dd4a03462c9a7b54d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/settings/sub_settings/player/settings_player_controls.dart:1055-1252 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:545-870 | lib/screens/settings/sub_settings/player/settings_player_subtitles.dart:340-570 | lib/screens/settings/sub_settings/settings_player.dart:116-230 \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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f1c5af3ca70cb2c483d96439bbe99176ef243a98b8035b07d70a275ecfab68"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/settings/sub_settings/settings_comments.dart:74-316 | lib/screens/settings/sub_settings/settings_donation.dart:372-471 | lib/screens/settings/sub_settings/settings_moderation.dart:56-157 | lib/screens/settings/sub_settings/settings_network.dart:49-124 \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/screens/settings/sub_settings/settings_comments.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7e4749702ef039943283ee754609635be049577f64c6036b5b3a39e570cf43"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/utils/color_profiler.dart:353-379 | lib/utils/color_profiler.dart:381-401 | lib/utils/color_profiler.dart:403-421 | lib/utils/color_profiler.dart:429-449 \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/utils/color_profiler.dart"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebea231fff9007538894e0083ca6218d10ee1af6de3efce63c7690cb955fd027"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/widgets/anymex_widgets/anymex_animated_logo.dart:667-731 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:903-1020 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:1119-1211 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:1316-1391 \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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"02eb979660fb0cae1cafe29572829bce8166998334e5c55e34acc98d1a64bde8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (102 corresponding lines): lib/screens/library/online/anime_list.dart:772-873 | lib/screens/library/online/manga_list.dart:757-858 \u2014 These two members are one piece of code written twice and then edited apart: 102 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/screens/library/online/anime_list.dart"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ff71247267918b88f0c4e4fd58eacae264bc10746508859f60c1a443055ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 121\u002B corresponding lines): lib/screens/profile/widgets/decoration_closet_sheet.dart:619-739 | lib/screens/profile/widgets/decoration_closet_sheet.dart:742-870 | lib/screens/profile/widgets/decoration_closet_sheet.dart:1082-1203 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 121 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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4ea8a9342aa067177b73ec44596cc75ca8d4f01617e22dbb2656ac23cc61df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (115 corresponding lines): lib/screens/profile/profile_page.dart:575-691 | lib/screens/profile/user_profile_page.dart:1210-1324 \u2014 These two members are one piece of code written twice and then edited apart: 115 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/screens/profile/profile_page.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0179c20dc888d65474b52c75aa382aa692ffa32579211b1fb3abee5e9c9e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): lib/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart:79-162 | lib/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart:164-248 \u2014 These two members are one piece of code written twice and then edited apart: 84 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/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee459fe6cf30156e3850a006cc20794baf669091fb13d16694338b132d8ed3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (106 corresponding lines): lib/screens/anime/widgets/episode/styles/minimal_style.dart:30-137 | lib/screens/manga/widgets/chapter_list_builder.dart:839-944 \u2014 These two members are one piece of code written twice and then edited apart: 106 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/screens/anime/widgets/episode/styles/minimal_style.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f499904a3b2dbba62328beca13daa33dc0efd6ee0fa7f5764f0b2e78b281c751"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (105 corresponding lines): lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:206-310 | lib/widgets/common/anymex_slider_m3.dart:211-339 \u2014 These two members are one piece of code written twice and then edited apart: 105 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/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0bde05aefc2e0e0bd68d7c76e5042294784f2083738f2a23c8a3f87f03bce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): lib/screens/library/widgets/anime_card.dart:21-132 | lib/screens/library/widgets/common_widgets.dart:28-120 \u2014 These two members are one piece of code written twice and then edited apart: 93 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/screens/library/widgets/anime_card.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"069d5eef8b06764b83603514636ef34020179d80e034ef5d2d5cf74c755d58fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/widgets/non_widgets/recommend_sheet.dart:263-303 | lib/widgets/non_widgets/recommend_sheet.dart:305-351 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9f2ffa424006a4808a01524af0e46bae5f5095775badfef3a8c353817caf64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): lib/controllers/sync/gist_sync_controller.dart:551-640 | lib/controllers/sync/gist_sync_controller.dart:642-737 \u2014 These two members are one piece of code written twice and then edited apart: 90 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/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"20baabaf5a26aafed048f57075cfb95d4d413d9bf71f6521475e2bf1ff0a0610"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): lib/screens/notifications/notification_screen.dart:408-483 | lib/screens/notifications/notification_screen.dart:580-678 \u2014 These two members are one piece of code written twice and then edited apart: 76 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/screens/notifications/notification_screen.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc6fe552a9f14dbaa65e6edd908247dd30f74ac59a378261fecf116b1499ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): lib/widgets/anymex_widgets/anymex_animated_logo.dart:522-589 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:818-900 \u2014 These two members are one piece of code written twice and then edited apart: 68 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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"206d3dd6b4d095fee61a0bae02b58a21de1854c985b77bc232f19d2c083dd49a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): lib/screens/manga/widgets/reader/auto_scroll_menu.dart:18-112 | lib/screens/novel/reader/novel_reader.dart:94-184 \u2014 These two members are one piece of code written twice and then edited apart: 91 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/auto_scroll_menu.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"06132768218f2ec8fb22a6ece227c6947e623235cf1f91198d903b0bf79b8d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): lib/screens/anime/widgets/episode_list_builder.dart:1441-1546 | lib/screens/manga/widgets/chapter_list_builder.dart:1555-1638 \u2014 These two members are one piece of code written twice and then edited apart: 84 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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa6c8c8e5eadc2d27dee7688bd830f0773e1c2677d66b9163dead4a6f86d81d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): lib/screens/downloads/widgets/downloaded_watch_page.dart:139-230 | lib/screens/local_source/player/offline_player.dart:110-210 \u2014 These two members are one piece of code written twice and then edited apart: 92 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/screens/downloads/widgets/downloaded_watch_page.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bfd672d849c8065eed458e2d4bfd2ad00ed0728c1afdab7c9a66cc68b65632"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): lib/controllers/offline/offline_storage_controller.dart:818-886 | lib/controllers/offline/offline_storage_controller.dart:902-977 \u2014 These two members are one piece of code written twice and then edited apart: 69 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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df6c85317da67931cb87682e6eefad07078addb5cf62f5191722c7a0e4b037"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): lib/widgets/common/navbar/styles/classic_navbar.dart:126-195 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:99-185 \u2014 These two members are one piece of code written twice and then edited apart: 70 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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e2e792727280fdb352a048efb4bed44ac93d233e8b7892546a658c4a9b9639"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): lib/screens/anime/widgets/episode/styles/compact_style.dart:62-144 | lib/screens/anime/widgets/episode/styles/detailed_style.dart:62-144 \u2014 These two members are one piece of code written twice and then edited apart: 83 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode/styles/compact_style.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b9c1b92399c61baedcd3ae8a0810adbc9afb9979f9698f691913ac4938eea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): lib/screens/profile/activity_details_page.dart:608-687 | lib/widgets/non_widgets/activity_card.dart:357-445 \u2014 These two members are one piece of code written twice and then edited apart: 80 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/screens/profile/activity_details_page.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"276313461fca56daef971f2b4930f8b32f5c66a6985e06b671abbb7f3765d355"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): lib/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart:21-83 | lib/screens/anime/watch/controls/themes/player_control_themes/netflix_mobile_player_theme.dart:20-98 \u2014 These two members are one piece of code written twice and then edited apart: 63 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/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"605ef181288d751e54dcdeb0604da8c18da9072921d3c75463f3786188f908aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/screens/extensions/widgets/plugin_manager.dart:107-160 | lib/screens/extensions/widgets/plugin_manager.dart:162-199 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/widgets/plugin_manager.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25a68f0990a0011d7cf6e19801e4caf34a6fb261ea9a4b6c4273623fc04bae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): lib/screens/library/online/anime_list.dart:104-191 | lib/screens/library/online/manga_list.dart:102-169 \u2014 These two members are one piece of code written twice and then edited apart: 68 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/screens/library/online/anime_list.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d673aeb872795ddbdb7cd835dc5215535e08067f311dbb955a5be7134313bc9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/models/Anilist/anilist_profile.dart:336-362 | lib/models/Anilist/anilist_profile.dart:408-431 \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/models/Anilist/anilist_profile.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2d3828d681117bfe272909a098bcc884594fe2a3d04d8997a75090c4e7131f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/screens/search/widgets/search_widgets.dart:995-1038 | lib/screens/search/widgets/search_widgets.dart:1040-1082 \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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca3ecd609da6e9cc90ad23ab921641af8fbbf619f276765e16383a05267340d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): lib/widgets/common/baked_blur_image.dart:237-286 | lib/widgets/common/baked_blur_image.dart:288-347 \u2014 These two members are one piece of code written twice and then edited apart: 50 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/widgets/common/baked_blur_image.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83dc6c9757588fab3b439a6a50b624efc33050299c0a0d947f191e78e08065e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): lib/widgets/media_items/media_peek_popup.dart:1220-1268 | lib/widgets/non_widgets/reasons_sheet.dart:900-948 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe39a1ef449012b15eedfbf207925a963efe6d469ca4e4e4db0490c23abd581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/models/Anilist/anilist_media_user.dart:291-330 | lib/models/Anilist/anilist_media_user.dart:332-368 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_media_user.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5713c65ba918be3cc9bd82734afb79eb39ed8a077cc2b5debdd50ae31059691"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): lib/utils/download_isolate_pool.dart:89-144 | lib/utils/download_isolate_pool.dart:146-211 \u2014 These two members are one piece of code written twice and then edited apart: 56 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/utils/download_isolate_pool.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d563b0653656c5a7b3a2b66caeec7c040a18a0af9916a0b775f6d3de78fc6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): lib/screens/anime/widgets/episode_section.dart:270-328 | lib/screens/manga/widgets/chapter_section.dart:270-331 \u2014 These two members are one piece of code written twice and then edited apart: 59 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/screens/anime/widgets/episode_section.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d9da6e738ba2e80f7a8f2faba5144cd1cfead7fbaa448c1ee04f552d3db69c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): lib/utils/anime_themes_api.dart:11-67 | lib/utils/anime_themes_api.dart:104-163 \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/utils/anime_themes_api.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c89e813e83a23e6c01acbbc0ee326d17286357f0ad92075fe69e64c4767527"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:105-146 | lib/screens/settings/sub_settings/settings_reader.dart:282-328 \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/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89eef4ecf3016dec58269b4427e904564436b44002ea966365c056eafba96fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): lib/widgets/anymex_widgets/anymex_tile.dart:351-422 | lib/widgets/anymex_widgets/anymex_tile.dart:424-488 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e65d88c1fad66119fcd6c5297d222aff1799e7b9553aa991664cefcbf860a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): lib/screens/search/widgets/extension_filter_sheet.dart:271-328 | lib/screens/search/widgets/extension_filter_sheet.dart:766-812 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"678b1c663f1dbeb7999b3af95f777013b477810c60a3b80f0c92a44d0a9a72d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/controllers/stats/stats_tracker.dart:13-63 | lib/controllers/stats/stats_tracker.dart:65-107 \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/controllers/stats/stats_tracker.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"afad1a68a03b63514f5f0727603b6fd182badcaa24236665efb62a9b1da2e3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/screens/library/online/anime_list.dart:292-329 | lib/screens/profile/widgets/user_media_list_page.dart:237-277 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/online/anime_list.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a595fd2f4d2e8ed234b1a9a293d01420df1200a23799c418eeef66f7f6876a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): lib/screens/manga/widgets/reader/top_controls.dart:106-168 | lib/screens/novel/reader/widgets/top_controls.dart:73-136 \u2014 These two members are one piece of code written twice and then edited apart: 63 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/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"34aa18d8ae22f220a8e69b5b6107aee9ffdeca6f4fdd1390855e1beab5663ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): lib/screens/local_source/local_source_view.dart:76-185 | lib/screens/settings/misc/sauce_finder_view.dart:100-162 \u2014 These two members are one piece of code written twice and then edited apart: 63 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/screens/local_source/local_source_view.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8279635aff7e456e301ce28739c9a020bdd0243b716de105ca2694bd01c6e63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): lib/widgets/common/navbar/styles/classic_navbar.dart:382-430 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:432-478 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b35b5770c1ce553524fa8b7c00889d87b58c106728ff2f60aaf2db912c7b396"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): lib/screens/anime/widgets/episode_section.dart:162-216 | lib/screens/manga/widgets/chapter_section.dart:115-171 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_section.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c237bb3f01526bf916b89cc1caccd4372a18c4748e0fc5765ac0d94d5bccf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): lib/screens/anime/misc/calendar.dart:536-586 | lib/screens/search/search_view.dart:1360-1406 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d31eb5e8b2d55771cb7ebc595af6a45bceff0d910ab3fef9b62f3bfa0299989"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/widgets/common/cards/styles/exotic_card.dart:123-164 | lib/widgets/common/cards/styles/minimal_exotic_card.dart:128-174 \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/widgets/common/cards/styles/exotic_card.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d92cd51230db5dbc398185990cfd25f98075816cd59f36f1f7b4613ce2b57e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): lib/screens/library/editor/list_editor.dart:620-666 | lib/screens/library/editor/list_editor.dart:684-732 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/editor/list_editor.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"af639b9629fa3c12fcc94d6f7768ab1c1368a4dd927976c1ffe094047f8aa515"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): lib/widgets/media_items/media_peek_popup.dart:923-971 | lib/widgets/non_widgets/reasons_sheet.dart:772-820 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed6798c0cccded581f43e417410e492aba31b40507dfcd1c69f38495da56469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/screens/settings/sub_settings/player/settings_player_engine.dart:80-115 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:142-213 \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/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"13731a2e3e03f5f7a72334191fce98c1f13052deea57ac73c5b942deb2d0028d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): lib/controllers/services/anilist/anilist_auth.dart:210-259 | lib/controllers/services/mal/mal_service.dart:682-740 \u2014 These two members are one piece of code written twice and then edited apart: 50 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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f310cef6701e4fe61f12f77897c35cc9dd8ef558bb33c8a4f5035b5ada8a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): lib/screens/community/community_recommendations_page.dart:127-174 | lib/widgets/non_widgets/reasons_sheet.dart:153-196 \u2014 These two members are one piece of code written twice and then edited apart: 44 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/screens/community/community_recommendations_page.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7c46b486149619f5cb67b60098b20e2f55884c80f7c1323aec3f1ce8039cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): lib/controllers/services/anilist/anilist_auth.dart:1386-1519 | lib/controllers/services/anilist/anilist_auth.dart:1689-1749 \u2014 These two members are one piece of code written twice and then edited apart: 61 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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"717bd33b562898417c894ae88248045f768e7f9176b3bb45990844b7e8730417"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 46\u002B corresponding lines): lib/widgets/non_widgets/reasons_sheet.dart:319-366 | lib/widgets/non_widgets/recommend_sheet.dart:464-509 | lib/widgets/non_widgets/recommend_sheet.dart:511-556 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 46 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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0ab85ce7d2bf572c9219b5455624ac95dec26df37276df79b5cb3461455ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/screens/downloads/controller/download_controller.dart:1429-1457 | lib/screens/downloads/controller/download_controller.dart:2699-2727 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4601ced97799d58336a3529e7600892aca0a580c95803c05abead8fee9352e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): lib/services/commentum_service.dart:334-386 | lib/services/commentum_service.dart:456-507 \u2014 These two members are one piece of code written twice and then edited apart: 52 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/services/commentum_service.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c0c1101409fef4064e725574bdcbf3b7421d2902f13d0812d2de3934f39d95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:751-803 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:663-715 \u2014 These two members are one piece of code written twice and then edited apart: 53 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef46ca6d3c6a97f4fab249064e395f79b7682f370b9bc9342fbc05abd749f339"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lib/screens/local_source/controller/local_source_controller.dart:351-382 | lib/screens/local_source/controller/local_source_controller.dart:384-415 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadba22de1e404a4809456d57e59c8ef1678ac125bea16b4e20cfee7139a0bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): lib/controllers/services/simkl/simkl_service.dart:437-480 | lib/controllers/services/simkl/simkl_service.dart:482-526 \u2014 These two members are one piece of code written twice and then edited apart: 44 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/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5e93751a2e298a85231507bd0b0730326978dfa6b3c06dd6b92f74bf8ff836"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 44\u002B corresponding lines): lib/services/commentum_service.dart:649-694 | lib/services/commentum_service.dart:696-741 | lib/services/commentum_service.dart:907-950 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 44 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/services/commentum_service.dart"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec50427972c95ba2ccbb6b64c030c6384fed4d55c3e67e9a0f1920dde7abd8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/screens/manga/widgets/manga_stats.dart:336-384 | lib/screens/profile/widgets/profile_stats_tab.dart:409-450 \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/screens/manga/widgets/manga_stats.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"72083bbb8d77a2c805a01a5653ba0515ef1fe32e70876ec61cfa491a90a63597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): lib/widgets/common/media_mode_selector.dart:495-548 | lib/widgets/common/media_mode_selector.dart:619-673 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/media_mode_selector.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"063a629de47aa448c69c2f39926351076e998800ec9ca64040493528f92f2ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/widgets/common/baked_blur_image.dart:183-207 | lib/widgets/common/baked_blur_image.dart:209-235 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/baked_blur_image.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98524400aee37be81647f4865bf49626134b19d663a460e2248d2482144f502"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/screens/downloads/download_screen.dart:302-347 | lib/screens/downloads/download_screen.dart:349-390 \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/screens/downloads/download_screen.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9eeb26014bf9c5752c4a7965d22972e36b7e76a4a4ba15ed52b73f0c58e8b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/services/commentum_service.dart:743-789 | lib/services/commentum_service.dart:791-828 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4b97d2c5aee3789e15427e58714631257d10d14b028f3696a625a6b0327a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): lib/screens/anime/widgets/comments/widgets/user_comments_sheet.dart:645-692 | lib/screens/anime/widgets/comments/widgets/user_comments_sheet.dart:697-749 \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/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"826ccaae0097d6aa316a97ed10443ec9b1766dd016e6b735a6cb4af4eb1d42d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): lib/screens/novel/reader/widgets/settings_view.dart:564-609 | lib/screens/novel/reader/widgets/settings_view.dart:769-818 \u2014 These two members are one piece of code written twice and then edited apart: 46 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/screens/novel/reader/widgets/settings_view.dart"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2fafb35893387e5a12603250285af6432a30563dafb48bf5f8d7e52fb29dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/controllers/services/mal/mal_api.dart:76-98 | lib/controllers/services/mal/mal_service.dart:407-432 \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/controllers/services/mal/mal_api.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ae2d571cbdfa1dea716c2802bfe5fe38dfdf42147cc7cbb4f0c713aa253c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/services/cast/cast_proxy_server.dart:230-259 | lib/services/cast/cast_proxy_server.dart:315-343 \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/services/cast/cast_proxy_server.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f2d5ae351d4b06949df2673596998c2f81bec43cfc00135e9b97bedb8ea2b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): lib/widgets/animation/animations.dart:32-78 | lib/widgets/animation/animations.dart:131-177 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/animation/animations.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ebebb487f8ba2cb168267176bdf4111e386a5065aca4475d7a8ab9ff438288"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 38\u002B corresponding lines): lib/screens/anime/widgets/episode_list_builder.dart:1925-1970 | lib/screens/downloads/widgets/download_server_selector.dart:237-275 | lib/widgets/watchium/watchium_create_dialog.dart:81-119 | lib/widgets/watchium/watchium_server_sheet.dart:71-108 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 38 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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"1370dcaa86a3e844d8adb6b659229129773763e1f60d6c5b7eff68f4d2171400"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/services/cast/cast_proxy_server.dart:199-228 | lib/services/cast/cast_proxy_server.dart:378-412 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_proxy_server.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cd5d730106e53f4a970850e366abd15cbbe99334ab71be7976843834cd8592"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/controllers/services/mal/mal_api.dart:27-52 | lib/controllers/services/mal/mal_service.dart:869-898 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/mal/mal_api.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5b8cb3a0b7f23745ee1f35da673c6444dfbc875e78552db25633090106751d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:691-737 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:609-649 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c57310e7bcbd1e517cdf321a87fe38b0ee3ef372ff391a1fdb47ec1d68e898"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 30\u002B corresponding lines): lib/controllers/services/community_service.dart:612-648 | lib/controllers/services/community_service.dart:650-681 | lib/controllers/services/community_service.dart:683-712 | lib/controllers/services/community_service.dart:714-743 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 30 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/controllers/services/community_service.dart"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0977605bdd6e06ab239322cbb7422101a149acf29a77b89eb867b3f23c8498"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/screens/anime/widgets/episode_section.dart:119-160 | lib/screens/manga/widgets/chapter_section.dart:61-113 \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/screens/anime/widgets/episode_section.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3501209157b2a39dd271f76920cc59ad4e6632dc6b90777142e142e4026f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/screens/anime/widgets/episode_list_builder.dart:401-430 | lib/screens/downloads/controller/download_search_controller.dart:316-347 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"de51522585b67ecf4f3a6af1034837fb889e740d656791795995f61a641283bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): lib/screens/settings/misc/sauce_finder_view.dart:224-278 | lib/screens/settings/misc/sauce_finder_view.dart:573-617 \u2014 These two members are one piece of code written twice and then edited apart: 45 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/screens/settings/misc/sauce_finder_view.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"be87629db9e07d59b5836290eeae384c56ad379d16656200278922a11d45dacf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): lib/screens/settings/sub_settings/settings_addons.dart:144-196 | lib/screens/settings/sub_settings/settings_donation.dart:185-228 \u2014 These two members are one piece of code written twice and then edited apart: 44 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/screens/settings/sub_settings/settings_addons.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"40338833b3a565bc439b7ce3f58aaf59d8986a2b6b94ec419ecb5eca78ed5837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): lib/widgets/watchium/watchium_party_settings.dart:95-144 | lib/widgets/watchium/watchium_party_settings.dart:146-189 \u2014 These two members are one piece of code written twice and then edited apart: 44 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/widgets/watchium/watchium_party_settings.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a5069841bca500f8afad67a7f299635c4234fb7a502cb921999da2abf943a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/screens/manga/controller/reader_controller.dart:1614-1646 | lib/screens/novel/reader/controller/reader_controller.dart:713-745 \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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a7716f2d90fbfc2323906db61e601d1e06470cc18c7360675d170c2df67e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): lib/screens/anime/misc/calendar.dart:249-270 | lib/screens/library/online/anime_list.dart:542-563 | lib/screens/library/online/manga_list.dart:526-547 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1117648f0cf8281ff45d5225822b9c3228063554cb55c6c3ea0819e70c9b0ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/screens/profile/profile_page.dart:693-737 | lib/screens/profile/user_profile_page.dart:638-677 \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/screens/profile/profile_page.dart"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"511581c5ba8b1fba0b8f2c5fcdddf7d5ca0118d7de03a3e7120987c25d2c13ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/models/Media/media.dart:1067-1095 | lib/models/Media/media.dart:1097-1126 \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/models/Media/media.dart"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa52e1d402e6798e3e630501616e0335beb5aa24f277f039aea6e1e914620fba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 27\u002B corresponding lines): lib/controllers/services/community_service.dart:457-483 | lib/controllers/services/community_service.dart:485-511 | lib/controllers/services/community_service.dart:513-539 | lib/controllers/services/community_service.dart:541-567 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/community_service.dart"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b926a8e148136178ec59c9685dabe345ea0897bb6884df8cd33a0ba2b69302"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/controllers/sync/gist_sync_controller.dart:739-775 | lib/controllers/sync/gist_sync_controller.dart:777-819 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"9306552bc5655586fec2c2c28b1b8ae397b92b1277b5efcea05c7b53b82dfe9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/screens/downloads/controller/download_controller.dart:156-194 | lib/screens/downloads/controller/download_controller.dart:196-232 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee13acfc9028e22e0b8f873899dd8e17a7694274f81cd43b05874a124e12557e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:654-686 | lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:696-734 \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/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db94ccea48b46a948b79cac2863c292f75a603d5ae240638539cafd44e8cf70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:158-187 | lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:189-218 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4959b7548b0c0a1410603285ecde5ae67b9f8c3249d56739e19fdc95103f9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/screens/anime/widgets/comments/comments_section.dart:626-653 | lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:46-78 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf91d801703bd26b5885b8d37a5579229ed68ccc66a962a8917fdac51ae0ec50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/screens/search/search_view.dart:442-470 | lib/screens/search/search_view.dart:472-500 \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/screens/search/search_view.dart"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"57682783b0bf5235c8dfbf80453efd8e1cad10d58135c07a0c7a460e03c04399"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/screens/profile/profile_page.dart:139-180 | lib/screens/profile/user_profile_page.dart:239-274 \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/screens/profile/profile_page.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"03326cab7c3a1532822547d468a8d0eae3e33e00444e94b6102e39a355137ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/utils/compatibility/matchmaker.dart:538-559 | lib/utils/compatibility/matchmaker.dart:561-582 \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/utils/compatibility/matchmaker.dart"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"900b20972a3f7f18fd594d844fa91e97b03a824bad964d398f93d0dfbff4ed66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/controllers/services/simkl/simkl_service.dart:1069-1089 | lib/controllers/services/simkl/simkl_service.dart:1091-1110 \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/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"9658e030115ba6e23b77e4bc36479054acc5f020ec484d007fd6a36e7159ed58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): lib/controllers/services/anilist/anilist_auth.dart:600-663 | lib/controllers/services/anilist/anilist_auth.dart:665-709 | lib/controllers/services/anilist/anilist_auth.dart:711-827 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e26fc2d9b33d0bfbeb76c6b5aae1f7051bff9451cf0adb66444589c95800db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/controllers/services/anilist/anilist_auth.dart:2002-2029 | lib/controllers/services/anilist/anilist_auth.dart:2403-2429 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b27cf5eaa96335b048453f0f348efe0e23ef704ce23abe5c1a845e24018bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/controllers/services/anilist/anilist_auth.dart:2717-2735 | lib/controllers/services/mal/mal_service.dart:1067-1086 \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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4d9416b76de23a6306055e16bb4d14cfd5d1260a7ae1d7faf234b209310e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): lib/screens/community/community_recommendations_page.dart:92-125 | lib/widgets/media_items/media_peek_popup.dart:169-201 | lib/widgets/non_widgets/reasons_sheet.dart:124-151 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/community/community_recommendations_page.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57e066bb4e7787e4a970b3eca3278f3cad43a8a30b101f0007bf1571ccba091"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/screens/anime/themes/anime_theme_dialog.dart:72-105 | lib/screens/anime/themes/anime_theme_view.dart:76-98 \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/screens/anime/themes/anime_theme_dialog.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5282a31e6c6144cedf147f120b00afface798819f9e8dcb8ffb5d3e67beb73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/controllers/sync/gist_sync_controller.dart:383-421 | lib/controllers/sync/gist_sync_controller.dart:423-455 \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/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b154cb7c4e2e15edafc73aa1110aab2b0d2aaa9a86647bc04c09dd0fa9c191"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): lib/services/commentum_service.dart:830-860 | lib/services/commentum_service.dart:1585-1621 | lib/services/commentum_service.dart:1623-1653 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae2547656f07c3de9e00df9cd742ef3266c5397f744d0e49ae18e85babf52e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lib/widgets/anymex_widgets/anymex_animated_logo.dart:258-289 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:292-329 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ec39d07b4d36d9f870d0c37ef41b583c857a34029bd86fdea4f796b3ff646c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): lib/database/comments/model/user_customization.dart:156-181 | lib/database/comments/model/user_customization.dart:183-208 | lib/database/comments/model/user_customization.dart:210-232 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/comments/model/user_customization.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b70fc8194cf4d17ba92a5690dc79aa8a352cd39cb38b1c14fee73fb0c3273b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/screens/downloads/controller/download_controller.dart:728-745 | lib/screens/downloads/controller/download_controller.dart:747-765 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14420e994b5ac200e5cc5b2046c44c9d93557d5e2da08196684504215ad17d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): package_manager.dart:293-319 | package_manager.dart:321-346 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package_manager.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fcf553fc30808041eacec150969a3a1ab7cf4f9a633e8220d6b5ed8c6fb0c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/controllers/services/mal/mal_service.dart:636-668 | lib/controllers/services/mal/mal_service.dart:837-867 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/mal/mal_service.dart"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed72802f7cbd1278fd8f797e8dceb3e7c010fcfcd70779c3a461e4b19eb626ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/screens/anime/watch/controls/widgets/source_popup.dart:106-131 | lib/screens/anime/watch/controls/widgets/source_popup.dart:133-161 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/source_popup.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"91577e315965b5d4aa9545848444d952349a88d8e7e02e243c451d5b425ebcb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:2091-2117 | lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:2138-2162 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":2091}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c440c9c33178c86481f98e169b199b5dbb8dbf251d3ed8b82d2d67b22f354ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/screens/anime/widgets/comments/controller/comments_controller.dart:516-553 | lib/screens/anime/widgets/comments/controller/comments_controller.dart:555-584 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"0758fe57f23a05f2510c130f4f35adb61bfc4685c6d60994efb4e2e2a8aef0ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/screens/profile/activity_details_page.dart:112-137 | lib/widgets/non_widgets/activity_card.dart:119-148 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/activity_details_page.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b01e12d52d5f5a0775b774e0c5cfee5d9e9e72ef9cc096b0446c25c1867469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): lib/screens/search/search_view.dart:1582-1611 | lib/screens/settings/sub_settings/player/settings_player_controls.dart:832-865 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:513-543 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 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/screens/search/search_view.dart"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62a6350a96e10d6c00d118be84470869b106cef4dc3b3dbe75bdd90a87a8539"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/screens/anime/widgets/episode_list_builder.dart:1995-2022 | lib/screens/anime/widgets/episode_watch_screen.dart:274-304 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"1449f13a2d27931a97fa3b49ad95b333319f36eec4cfc1b61c995df967ba19b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/screens/manga/widgets/reader/reader_chapter_transition.dart:225-250 | lib/screens/manga/widgets/reader/reader_chapter_transition.dart:252-277 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/reader_chapter_transition.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba9f2c138cf00214456f5a0981cda64c0651fd152a2ed9ca755f7b0a92cf484"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lib/screens/anime/widgets/comments/comments_section.dart:2811-2844 | lib/screens/settings/sub_settings/settings_moderation.dart:2223-2254 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6d3ed9bc18103e7129333deb21b749d5362365bfffe016bd6468120282a2d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/screens/library/online/anime_list.dart:273-290 | lib/screens/library/online/manga_list.dart:251-269 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/online/anime_list.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecfde693f2462300439ab7dab5bc1190935112ba2724f20674783c2ef49c9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): lib/widgets/anymex_widgets/anymex_tile.dart:234-268 | lib/widgets/anymex_widgets/anymex_tile.dart:490-529 | lib/widgets/anymex_widgets/anymex_tile.dart:531-566 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 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/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45641c1d500998e99f3b7e860cbcea169117b28ea014a9cfcee1f821af38582"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/widgets/non_widgets/in_app_notification_banner.dart:128-155 | lib/widgets/non_widgets/torrent_server_overlay.dart:108-134 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/in_app_notification_banner.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"59785a67026daf80141ce2e96f894586801ef6acca1289bf15e62db10cd4bbe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/controllers/services/storage/storage_manager_service.dart:50-68 | lib/controllers/services/storage/storage_manager_service.dart:99-117 \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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"890cc07971664261d86e5e089109abcd486b8b2fe6eb8fe22c85408710d65bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/screens/anime/misc/calendar.dart:865-892 | lib/widgets/common/cards/card_components.dart:257-291 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ea4821549e23b2a3483a62fa6ae9e5bb8721cf85f9e0c3f54e6068ee1dc2ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/controllers/source/source_controller.dart:192-208 | lib/screens/extensions/ExtensionList.dart:168-185 \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/controllers/source/source_controller.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7436235587293aae1648c11eb6be7dc064325327560fd483f383a8b795ac6ab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/screens/anime/widgets/episode_range.dart:23-42 | lib/screens/manga/widgets/chapter_ranges.dart:18-40 \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/screens/anime/widgets/episode_range.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28818a6536888ca84b1ca75ea76c54f00933d4194413ac065e3c4577b8ddf5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/screens/downloads/widgets/downloaded_media_view.dart:1285-1319 | lib/screens/local_source/local_source_view.dart:452-490 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c872323d9abd5711849b1a472650d0185c074acddd8f43a02f3288157fa1a5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/screens/manga/widgets/reader/top_controls.dart:256-270 | lib/screens/novel/reader/widgets/top_controls.dart:214-228 \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/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc0668f0109327f1b1168b85e9c5dc7ec9aba9d2ecac679f44658262c2ad49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/screens/settings/sub_settings/settings_extension_manager.dart:156-183 | lib/screens/settings/sub_settings/settings_extension_manager.dart:302-333 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_extension_manager.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b57db43617d14c2b311590ac71929e2f35d2a5d0f2f9fcb0e0ca5e8258a54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/utils/compatibility/matchmaker.dart:806-819 | lib/utils/compatibility/matchmaker.dart:849-860 \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/utils/compatibility/matchmaker.dart"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b5aa6ef29c333ae62ac3f3a5db877c4e20a41ca613ab3edd4239e14f33fc60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/controllers/watchium/watchium_service.dart:73-103 | lib/widgets/watchium/watchium_party_popup.dart:247-271 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/watchium/watchium_service.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c729278e035980d51d4a75cd19c39a16e0afc3c0d4f8ee3dc9c6f553929b4c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:582-606 | lib/widgets/header/header.dart:234-261 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"0204d32c6bf796e129a9c97bab4f9e2fec4f7af5d3690cdf051d855b8804e3a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/screens/manga/controller/reader_controller.dart:540-564 | lib/screens/manga/controller/reader_controller.dart:566-590 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"214ab5e060ebeb331d14b7496a1ecf6fe5b36cd7f6a60b1b49bcd78c34629b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/widgets/animation/animations.dart:456-491 | lib/widgets/animation/animations.dart:570-602 \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/widgets/animation/animations.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6f648b38f68da4eefe8df0bef6209ba31bdc0dd6fa6e30ac1702a28fec8d63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/widgets/animation/staggered_animations.dart:31-50 | lib/widgets/animation/staggered_animations.dart:98-118 \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/widgets/animation/staggered_animations.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"57df80c5e7ca7c67ca5dcfc9dacd977abcb9e52123a8d469f5a9cf289f1f8fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/screens/downloads/controller/download_controller.dart:118-135 | lib/screens/downloads/controller/download_controller.dart:137-154 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b581e533057e49c2d1967c2912cbedb8a75b4626db0481b826048fba69dc58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/screens/novel/reader/widgets/dictionary_popup.dart:125-160 | lib/screens/novel/reader/widgets/settings_view.dart:107-141 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/widgets/dictionary_popup.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df02c2b5e8e50d6d5f47d8788ffabd030b06aac8a691a0bea5b194e53ff6aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/screens/profile/compatibility/compatibility_result_page.dart:1603-1629 | lib/screens/profile/compatibility/compatibility_result_page.dart:2048-2081 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0353bf9a35eaf3bf660e75bb0af5dde71d599c16cd4e32de5f4c101c4453b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/screens/anime/watch/controls/widgets/speed_popup.dart:403-426 | lib/screens/manga/widgets/reader/reader_page_actions_dialog.dart:227-251 \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/screens/anime/watch/controls/widgets/speed_popup.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c16eaa6d2af7b857a0ce430102508059fa72a52de99d014d8b3907c3b79bba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/screens/downloads/widgets/downloaded_media_view.dart:449-471 | lib/screens/downloads/widgets/downloaded_media_view.dart:473-495 \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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c3940b16796b4774f31b932316b55cae70b0cb54c6f2731d351de1b059b2cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): lib/screens/anime/widgets/episode_list_builder.dart:1407-1439 | lib/screens/manga/widgets/chapter_list_builder.dart:1522-1553 | lib/widgets/watchium/watchium_party_popup.dart:1050-1075 | lib/widgets/watchium/watchium_party_popup.dart:1077-1102 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"637e78d648e7c2642730d2965fc2a8abe64a9f7dc92902740e6b3da32dea0ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/utils/compatibility/matchmaker.dart:766-784 | lib/utils/compatibility/matchmaker.dart:786-804 \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/utils/compatibility/matchmaker.dart"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fc53de8d529440a1ad344ffc8fbd793d833987736fc546fbc875de6fdef0b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/screens/anime/watch/controls/widgets/source_popup.dart:79-104 | lib/screens/anime/watch/controls/widgets/tracks_popup.dart:141-172 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/source_popup.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c0df85fc833dc1920a66e859a19cb404561a33eb8ba9a93a2330912963bea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/screens/downloads/controller/download_controller.dart:325-339 | lib/screens/downloads/controller/download_controller.dart:341-355 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"01133e387ffddbb36e8b507110234711a5284cf03b0d798ef339bb961ac7dc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/controllers/services/backup_restore/backup_restore_service.dart:246-259 | lib/controllers/services/backup_restore/backup_restore_service.dart:308-321 \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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b9342ed21fd6700a87dcf57ee33bc4aa7cd5cb6fd38b6a86dfc29bf8921db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/database/comments/model/user_customization.dart:89-103 | lib/database/comments/model/user_customization.dart:123-135 \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/database/comments/model/user_customization.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efffe6ce32a89cc7c4b72b55289f050f61038e9a7139d86dc7ec9be0eb1a15d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/screens/anime/watch/controls/widgets/bottom_sheet.dart:539-560 | lib/screens/anime/watch/controls/widgets/bottom_sheet.dart:562-587 \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/screens/anime/watch/controls/widgets/bottom_sheet.dart"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6912a966deb18a773c3ec4d6ad3c659bce61fe634832bccbc294b7b4797cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/screens/manga/widgets/reader/continuous_reader.dart:431-450 | lib/screens/manga/widgets/reader/reader_view.dart:373-397 \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/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab651ccd9b2d9e411ee061a0fada614b51b4c00b367f7c5a402972352c0a9da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/screens/novel/reader/widgets/bottom_controls.dart:413-441 | lib/screens/novel/reader/widgets/bottom_controls.dart:443-468 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/widgets/bottom_controls.dart"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5e3bcc3dc23788cb4db2b0f7aa46018b4165d1e2af88f3c641ae67af85b94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/controllers/sync/gist_sync_controller.dart:831-852 | lib/controllers/sync/gist_sync_controller.dart:854-874 \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/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9a30bb091c766aca47547f88b4eab9a0ae4d9ba0d1e41b1327560f4ec71288"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/screens/settings/sub_settings/settings_performance.dart:52-75 | lib/screens/settings/sub_settings/settings_performance.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/screens/settings/sub_settings/settings_performance.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24289a69729ac327b898111c884bea61a237c2586ecadcc201fa3357302cc30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/screens/notifications/notification_controller.dart:248-275 | lib/screens/notifications/notification_controller.dart:277-304 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/notifications/notification_controller.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6df89827a083da01b695c66f13e4d6e30c5d1aade87c78fa79f4c400db682a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/controllers/offline/offline_storage_controller.dart:486-504 | lib/controllers/offline/offline_storage_controller.dart:506-522 \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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b47681b96d009a7d35ca15ede9b3aa13163d95865df5e26220020c3d93084de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/screens/anime/misc/list_exporter.dart:30-53 | lib/screens/anime/misc/list_exporter.dart:55-80 \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/screens/anime/misc/list_exporter.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c5735896d91bd4a786bbfe23cd148a5bce1f4b8e16d27bcb2e0a344f55580d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/controllers/discord/discord_rpc.dart:1042-1052 | lib/services/cast/widgets/cast_device_dialog.dart:368-376 \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/controllers/discord/discord_rpc.dart"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5f189cbfdcd28f3ccc23737551243526f764c1b6fad16060ac154398ce5d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/screens/profile/compatibility/compatibility_result_page.dart:1729-1749 | lib/screens/profile/compatibility/compatibility_result_page.dart:2026-2046 \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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"096db029d8b00328dd617b783795af8aee10cf8ed0852c57e92ee2f31af9ab1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): lib/screens/stats/controller/user_stats_controller.dart:200-216 | lib/screens/stats/controller/user_stats_controller.dart:218-234 | lib/screens/stats/controller/user_stats_controller.dart:236-249 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/stats/controller/user_stats_controller.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"552da805226d62d02c015db83cebb0bfa189056db1712165c367690f1625903d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): lib/services/cast/cast_service.dart:573-592 | lib/services/cast/cast_service.dart:594-613 | lib/services/cast/cast_service.dart:615-634 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_service.dart"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5b7dc0560a160e3fd07bd9ec44e8e37ef647e14cd5fbe76f4edb3e44d9f310"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/widgets/dialogs/donation_dialog.dart:127-151 | lib/widgets/media_items/media_peek_popup.dart:589-609 \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/widgets/dialogs/donation_dialog.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c156c0dd068c0448a33004b5116e1d373a01bb144f6a38206b52aaea66de8d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/screens/downloads/controller/download_controller.dart:287-305 | lib/screens/downloads/controller/download_controller.dart:307-323 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"edeebe8a1203daa21aef96c339e98b78ab27b858505f2b0035bf599542e1e59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/screens/downloads/download_screen.dart:714-741 | lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:146-169 \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/screens/downloads/download_screen.dart"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3d287d452f162373b27866bed79497d309dc1d28296fda6d2b11bb4edf1e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/screens/profile/profile_page.dart:182-202 | lib/screens/profile/user_profile_page.dart:276-295 \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/screens/profile/profile_page.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cc4497d9cb4ad6937b898c5943732f8a63792180e9b2f8469d4a90249965f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/utils/compatibility/matchmaker.dart:902-916 | lib/utils/compatibility/matchmaker.dart:918-931 \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/utils/compatibility/matchmaker.dart"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78a55f5d41ab6f2786e0b161b3a2d51ba2930b2f445c42588c78497ab23122d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/models/Anilist/anilist_profile.dart:594-606 | lib/models/Anilist/anilist_profile.dart:624-633 \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/models/Anilist/anilist_profile.dart"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baf227dee8ef8aefbb92916dbb1fb59b0aa81829c0240525e94f14ab6df6b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/screens/downloads/widgets/downloaded_media_view.dart:117-142 | lib/screens/downloads/widgets/downloaded_media_view.dart:144-168 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b016937b81a84aecb2d3875af329647bfe3da6f40393ca1a9d3cfcee34579b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): lib/screens/profile/widgets/profile_stats_tab.dart:252-265 | lib/screens/profile/widgets/profile_stats_tab.dart:269-282 | lib/screens/profile/widgets/profile_stats_tab.dart:285-301 | lib/screens/profile/widgets/profile_stats_tab.dart:304-320 | lib/screens/profile/widgets/profile_stats_tab.dart:323-342 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_stats_tab.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa7451c9d2567eea07008e6e598b5c725e60769dacbe9ed5416a4e7516f8c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): lib/controllers/services/anilist/anilist_data.dart:276-298 | lib/controllers/services/anilist/anilist_data.dart:300-322 | lib/controllers/services/mal/mal_service.dart:123-150 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab8db1b9b46f94a499a28c155654082440d95355bc29ccb61818c009d411e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/screens/downloads/controller/download_controller.dart:696-710 | lib/screens/downloads/controller/download_controller.dart:712-726 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"6849d11bc621f0b5b9d3ddd70a6804624983f46de56cf36b23232c7181e3a6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/screens/manga/widgets/reader/bottom_controls.dart:78-95 | lib/screens/manga/widgets/reader/bottom_controls.dart:118-135 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/bottom_controls.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4e44894028dbd44d62b8eb1818c8edb570995ccd6a577f1b1d0c78677b8de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/screens/settings/sub_settings/card_customizer_page.dart:109-138 | lib/screens/settings/sub_settings/settings_ui_components.dart:165-190 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/card_customizer_page.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4819bf05c0c6bcac19853a5c2c4c15ee3198223da1c9b49f3368db97d14dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/utils/media_syncer.dart:24-40 | lib/utils/media_syncer.dart:42-56 \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/utils/media_syncer.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbecd25265af7aa50d6ce90190fc50a84df45b5ce7544cad0ac0982ce4fbaa53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): lib/services/commentum_service.dart:1753-1773 | lib/services/commentum_service.dart:1800-1825 | lib/services/commentum_service.dart:1959-1980 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/commentum_service.dart"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c66c0cb2937bd7d9bba5f2ffdde755fef4a4783f8e2b027a1eb5c5714d5afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/screens/library/online/anime_list.dart:331-340 | lib/screens/library/online/manga_list.dart:310-323 \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/screens/library/online/anime_list.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"151da3b70719058c07a96e04ac722793dfbe8bc8404542b7d638a43bb6d3b7b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/screens/anime/widgets/comments/comments_section.dart:1357-1369 | lib/screens/anime/widgets/comments/comments_section.dart:1371-1383 \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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"862bce1151831cd282f6be0812109d6fcb6a3df765ea897043ab964d0bc5d957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:825-841 | lib/widgets/anymex_widgets/anymex_tile.dart:794-808 \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/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"231ed743713b482ec3c8f09619e92da9cc897f42e8cf9ea05d973855f8bb6873"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/screens/manga/controller/reader_controller.dart:1844-1860 | lib/screens/manga/controller/reader_controller.dart:1862-1878 \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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac43d9aa1bf4cc56bea7ae41c14bab20106c0fec1468a28e8b8e83c2006f664"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lib/screens/novel/reader/controller/reader_controller.dart:1080-1101 | lib/screens/novel/reader/controller/reader_controller.dart:1103-1124 | lib/screens/novel/reader/controller/reader_controller.dart:1126-1141 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c034cc57e12d34b840e85090e8faac9fc92a35ae025f7eb32470c1c5508debe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/screens/anime/widgets/comments/widgets/user_comments_sheet.dart:613-640 | lib/screens/notifications/announcement_sheet.dart:289-308 \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/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8a83227c0e4d9244215b7c3bb3e91497d5577ea8c36d7efdbfb06dedc58dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/controllers/watchium/watchium_models.dart:284-293 | lib/controllers/watchium/watchium_models.dart:311-319 \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/controllers/watchium/watchium_models.dart"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a55a947a145558a0ccd5f7c104bd0d6e497c289e2f82d102e36f07c202abc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/screens/extensions/ExtensionSettings/ExtensionSettings.dart:56-71 | lib/screens/extensions/ExtensionSettings/ExtensionSettings.dart:73-86 \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/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"defb815dcd67260b7b4fe2ed0bbc63404d354b42813e59f01ae3e353f00ea0e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): lib/screens/anime/watch/controls/widgets/progress_slider.dart:348-362 | lib/screens/anime/widgets/video_slider.dart:93-106 | lib/widgets/common/slider_semantics.dart:178-194 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/progress_slider.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02dd24da8f07416adf4ee13587159c9acaa41f60f09deac924dff333a406c61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/screens/downloads/widgets/download_server_selector.dart:37-59 | lib/screens/downloads/widgets/manga_chapter_download_confirm.dart:31-52 \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/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dcc9a476a5beaad1c9c7034c1693be9b837a3d4250fd4bb3c193427986c8e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/utils/background_service_handler.dart:197-219 | lib/utils/background_service_handler.dart:221-243 \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/utils/background_service_handler.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bdfb2d1a38c274928d16cc08bc9c52be5b42f2b6493098cdd2fab4824e3c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/widgets/anymex_widgets/anymex_icon_wrapper.dart:10-32 | lib/widgets/anymex_widgets/anymex_icon_wrapper.dart:39-56 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_icon_wrapper.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1236b3d426ea2f6254a1f962d19ea68df543b6951a5bde25c5340d523f8d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/screens/anime/watch/controls/widgets/delay_row.dart:122-138 | lib/screens/anime/watch/controls/widgets/sync_subs_popup.dart:157-177 \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/screens/anime/watch/controls/widgets/delay_row.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"76506e195a34564836df2203e4737d5c9b961e74a6e2524651630811600cd2f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/screens/settings/sub_settings/player/settings_player_engine.dart:281-299 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:301-319 \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/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f6a0f663dd608cd925bdcc3c00832695b5f9e8bca37f7c68fa2eaf32f9d41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/widgets/non_widgets/recommend_button.dart:25-46 | lib/widgets/non_widgets/recommend_sheet.dart:25-47 \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/widgets/non_widgets/recommend_button.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eca996e156deb1a67ba15c016d0d9f4c332ac4b3f3b0b1b0d510daf7be3011a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/utils/compatibility/matchmaker.dart:460-469 | lib/utils/compatibility/matchmaker.dart:483-492 \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/utils/compatibility/matchmaker.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d74b26ea2516b529f3dfb9c1a8636407f5fa24083ffea8be22af6870f5f1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): lib/database/comments/comments_db.dart:218-236 | lib/database/comments/comments_db.dart:238-262 | lib/database/comments/comments_db.dart:277-304 | lib/database/comments/comments_db.dart:412-439 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/comments/comments_db.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0528f7c2da41587a19c25fb45639ee363621338de9cd3071b30ae70f371b3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/screens/settings/misc/sauce_finder_view.dart:198-222 | lib/screens/settings/misc/sauce_finder_view.dart:421-445 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/misc/sauce_finder_view.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"842603a341ce5cf6d005cbcda9a5d29f4b39f3b888d9a3d4bc61f559a199c12b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/controllers/services/mal/mal_api.dart:137-152 | lib/controllers/services/mal/mal_api.dart:154-174 \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/controllers/services/mal/mal_api.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad04fea1b982bdf4a94a9168f90042102787368fa2a868b3891aa11c45ea5403"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/controllers/services/mal/mal_service.dart:560-570 | lib/controllers/services/mal/mal_service.dart:572-582 \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/controllers/services/mal/mal_service.dart"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5426c1dac5c4270ee947e3d840be739a7a3c11d0c2b5d30a877622a69a7da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/controllers/settings/settings.dart:893-905 | lib/controllers/settings/settings.dart:908-921 \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/controllers/settings/settings.dart"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"800d36f7654f094a141926fd49cfd072fcfd8b3bdbb8b11904d4e712b571d4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/screens/downloads/controller/download_controller.dart:600-616 | lib/screens/downloads/controller/download_controller.dart:682-694 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddecec8c4af0dd78bf60849077c7e892b9337bdbe3446091aa7aaac5d613bf42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/screens/profile/widgets/favorites_section.dart:172-189 | lib/screens/profile/widgets/favorites_section.dart:287-310 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/favorites_section.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fb732605163b70dcee1b2624001db94de6128bba815bb8127aceb0f6414d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/screens/anime/widgets/list_editor.dart:263-275 | lib/screens/anime/widgets/list_editor.dart:277-291 \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/screens/anime/widgets/list_editor.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa438c448dc43de7a3bc7f7f42abe982c4534752f12ac3e658c7997282cdc915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/screens/profile/compatibility/compatibility_result_page.dart:1029-1047 | lib/screens/profile/compatibility/compatibility_result_page.dart:1049-1067 \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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1187213b935d7b51d315de6578a118d0179a0e3849c2c49068111ffeb3496e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/controllers/services/simkl/simkl_api.dart:66-75 | lib/controllers/services/simkl/simkl_api.dart:82-92 \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/controllers/services/simkl/simkl_api.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4c8312b5ab9b244062bdfa0f86b0bc519a0571ed2b393b540458b315cebb38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/screens/anime/widgets/comments/controller/comments_controller.dart:736-756 | lib/screens/anime/widgets/comments/controller/comments_controller.dart:813-837 \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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"d906d0cb1b1e0f488721226f87fb6fa43d6c414384eac0522ae87eb0eadabd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/screens/library/editor/history_editor.dart:176-189 | lib/widgets/watchium/watchium_party_popup.dart:1246-1253 \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/screens/library/editor/history_editor.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28e4f3616b82a4b9fd31c59a5755e45708c1f1b61b02e3d4c8105f62a234a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/screens/profile/compatibility/compatibility_result_page.dart:1563-1581 | lib/screens/profile/compatibility/compatibility_result_page.dart:1583-1601 \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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bbd7655c4e517ed6c4fce697f82f94e14c673618ce6ec51f7f7710c7e2d0e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/screens/profile/profile_page.dart:552-573 | lib/screens/profile/user_profile_page.dart:618-636 \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/screens/profile/profile_page.dart"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ca8bf902bf5c212c3e0d7da590d5999e9c18022ba13777eac201716fa43e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/controllers/services/mal/mal_api.dart:176-193 | lib/controllers/services/mal/mal_api.dart:195-210 \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/controllers/services/mal/mal_api.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d27b74563e1896a8ee4e20a1e47f9fb44b0afbc31fe1386bc2636b7ff69a412"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/database/kv_helper.dart:115-126 | lib/database/kv_helper.dart:128-139 \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/database/kv_helper.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6040db8b0f7be6122ec77e9484ee3fe23c621266ceb5704b9b2a54a4b0473b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/utils/download_isolate_pool.dart:346-364 | lib/widgets/subsampling_scale_image_view/ffi_image_decoder.dart:110-127 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/download_isolate_pool.dart"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"312519ed4215e5717156a43c446411bfc8b2ca11ecd58f8b69d43de58b9182a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): lib/controllers/offline/offline_storage_controller.dart:167-180 | lib/controllers/offline/offline_storage_controller.dart:182-195 | lib/controllers/offline/offline_storage_controller.dart:197-210 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfee54af7d57f7911d053762c6eb97b8fb0a10f9c5344ead58ca29de10c5b476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 6\u002B corresponding lines): lib/models/Anilist/anilist_profile.dart:464-469 | lib/models/Anilist/anilist_profile.dart:485-490 | lib/models/Anilist/anilist_profile.dart:506-511 | lib/models/Anilist/anilist_profile.dart:527-532 | lib/models/Anilist/anilist_profile.dart:548-553 | lib/models/Anilist/anilist_profile.dart:569-574 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_profile.dart"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c9424d7be2c1830639cb973a3061f64be1b76c51e25ac4e4cff59382bbcf52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/screens/local_source/local_source_view.dart:793-816 | lib/screens/novel/reader/widgets/novel_content.dart:113-126 \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/screens/local_source/local_source_view.dart"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeb1dcba0810d29c65557ceb342acc0f74211c00ef6fa2ed264fd8810443541"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/database/kv_helper.dart:141-152 | lib/database/kv_helper.dart:154-166 \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/database/kv_helper.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"568a60a74c99a1e419215866f70eac690046665a38cbc25f2254e3dc1f4a1e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:371-381 | lib/widgets/watchium/watchium_create_dialog.dart:205-215 \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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"248e687542e084af6de8c55bc44e1fa7d1d0b69ad7ee229b8be3d2da84b066cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/utils/media_downloader.dart:315-322 | lib/utils/media_downloader.dart:324-331 \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/utils/media_downloader.dart"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9fd92673ab4d7417e6ffc955388bb974c2674c0cc264580a2b0d5290689d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/database/comments/comments_db.dart:264-275 | lib/database/comments/comments_db.dart:399-410 \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/database/comments/comments_db.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d367bf6cf78aa67e0db7a4e5e735ab0d36e2e3530a058f7616e3eedc57c551"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lib/screens/anime/watch/controller/player_controller.dart:3136-3154 | lib/screens/manga/controller/reader_controller.dart:774-792 | lib/screens/novel/reader/controller/reader_controller.dart:854-868 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":3136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56a2c30523e31ca4d8efd0ba44698efe6d714568541172251db057d1d309a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/controllers/sync/gist_sync_service.dart:245-258 | lib/controllers/sync/gist_sync_service.dart:265-277 \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/controllers/sync/gist_sync_service.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf7f7069ff8cad931fc5b2e8092b81749577023bc8d25887375e01de2c4e60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/controllers/watchium/watchium_models.dart:67-77 | lib/database/isar_models/video.dart:91-98 \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/controllers/watchium/watchium_models.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f8222d2e89e9ed49535f735c45cb5c6a255d79c72cd44c2a37ebe8def7c34b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/screens/novel/reader/widgets/bottom_controls.dart:323-337 | lib/screens/novel/reader/widgets/bottom_controls.dart:397-411 \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/screens/novel/reader/widgets/bottom_controls.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"385c9b4bff090b288caeccba963f9726e1094d451d28ce15ef21d88b2e8a77ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/screens/settings/sub_settings/player/settings_player_engine.dart:239-251 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:253-265 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:267-279 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"140336245ac9caa7ec61d8d19559bd440a3d6f37e1105b28de18c7006a87c1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): version_manager.dart:299-310 | version_manager.dart:312-323 | version_manager.dart:325-336 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"version_manager.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7378a319575723be0f34c2229110f4ae95be3772383820dffa399324a08bbeef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/services/fcm_service.dart:106-113 | lib/utils/notification.dart:321-329 \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/services/fcm_service.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ced380cb15b7f05453fa95c6f676577322c19fa1c690a3c59a5df4a84bb0de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/utils/external_font_loader.dart:291-304 | lib/utils/external_font_loader.dart:325-337 \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/utils/external_font_loader.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd5f9fb2af5ce8171c0ebdb7ccfa8f8dfefccf61b5fde1572cdae30cd49fdec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/widgets/anymex_widgets/anymex_animated_logo.dart:377-386 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:467-476 \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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ed5f7798574dbdcdc33dccd824b83dc08c225941c2fed1de91e7ef8e43c475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/controllers/services/mal/mal_api.dart:124-135 | lib/controllers/services/mal/mal_service.dart:620-634 \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/controllers/services/mal/mal_api.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9025b8dffbbbb4b03821480a489669a75e49e5f2d2989fca497eb2e79248dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/screens/extensions/ExtensionItem.dart:41-53 | lib/screens/extensions/ExtensionItem.dart:55-68 | lib/screens/extensions/ExtensionItem.dart:70-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionItem.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f88dcebfd742b73b7c02caf8aa66e64be6a31e6c922b9146f89af58b1d747c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/screens/settings/sub_settings/settings_addons.dart:62-71 | lib/screens/settings/sub_settings/settings_addons.dart:73-82 \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/screens/settings/sub_settings/settings_addons.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61dae84a6824a24f9a62e86ddc4e2071dd2cf508adb14996887a76f8a025236"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/controllers/sync/progress_sync_section.dart:808-823 | lib/widgets/common/source_selector.dart:331-349 \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/controllers/sync/progress_sync_section.dart"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68d714acb542cb00414e3f61c91fb05fc6d1bf969c97c5a46c59b32b170a751"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/screens/downloads/download_screen.dart:1662-1680 | lib/screens/settings/sub_settings/settings_addons.dart:505-523 \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/screens/downloads/download_screen.dart"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"649adf6f140d2a00f54230815ad41dd1ce6daaeb24cfc2eeed6c58f7c089929d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/controllers/custom_logo/custom_logo_service.dart:70-77 | lib/controllers/custom_logo/custom_logo_service.dart:79-86 \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/controllers/custom_logo/custom_logo_service.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cfa17fbf8c586aeeb3db4da6ce9981719271e91acf5c72c1364c2e676c6aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/utils/notification.dart:481-491 | lib/utils/notification.dart:493-506 \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/utils/notification.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75568ce6a4ea400d19c185bb00732318a843faf7e7f50fb0668c347dd942c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/controllers/service_handler/service_handler.dart:29-40 | lib/controllers/service_handler/service_handler.dart:42-53 \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/controllers/service_handler/service_handler.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c1f2d27f5687dbc986c5d132c7d9ccc4092fade4dcf1e7a00bec4ac0b72572"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): lib/screens/anime/watch/controls/widgets/bottom_sheet.dart:267-277 | lib/screens/anime/watch/controls/widgets/control_button.dart:39-50 | lib/widgets/anymex_widgets/anymex_titlebar.dart:263-273 | lib/widgets/common/navbar.dart:102-115 \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/screens/anime/watch/controls/widgets/bottom_sheet.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcc97f4f86ce75522b29be6709e2bd55338af07b60090932c66238feb6edb64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/screens/stats/controller/user_stats_controller.dart:251-258 | lib/screens/stats/controller/user_stats_controller.dart:260-267 \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/screens/stats/controller/user_stats_controller.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"39574f7846a0de0c7301ce028edc9afd23951d031dbfa7761f05c65942c1f35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/controllers/watchium/watchium_service.dart:849-858 | lib/controllers/watchium/watchium_service.dart:870-879 \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/controllers/watchium/watchium_service.dart"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"4596f529b0129c6abc0afd1eeb2ddc62e64999c14a3d13fd288ad97098f8b542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/models/Anilist/anilist_activity.dart:28-36 | lib/models/Anilist/social_user.dart:14-21 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_activity.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5b2482f599aec1e9ecc659988a9d5b7b44bc756c76533814943a03d13e37ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/screens/anime/themes/anime_theme_dialog.dart:163-167 | lib/screens/anime/watch/controls/widgets/sync_subs_popup.dart:57-63 \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/screens/anime/themes/anime_theme_dialog.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"411090181261972c853be1f9922b6812f234ed9c379bdf0a2f4fbf5ad590a90c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): lib/screens/anime/watch/controls/themes/setup/themed_controls.dart:10-20 | lib/screens/anime/watch/controls/themes/setup/themed_controls.dart:26-36 | lib/screens/anime/watch/controls/themes/setup/themed_controls.dart:42-52 | lib/screens/manga/widgets/reader/themes/setup/themed_controls.dart:10-20 | lib/screens/manga/widgets/reader/themes/setup/themed_controls.dart:26-36 | lib/screens/manga/widgets/reader/themes/setup/themed_controls.dart:42-52 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/themed_controls.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e450a5d3c7f580b9fa7de6a972a370e24eb43f1084e8597635f2eb0c39160d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/controllers/network/anilist_interceptor.dart:24-36 | lib/controllers/network/anilist_interceptor.dart:38-50 \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/controllers/network/anilist_interceptor.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad4aea232bd78aaaf45fcbc471a04d8c88ec758b970f4b464dea25eea2c6b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): lib/database/comments/comments_db.dart:306-321 | lib/database/comments/comments_db.dart:323-338 | lib/database/comments/comments_db.dart:340-353 | lib/database/comments/comments_db.dart:382-397 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/comments/comments_db.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f060f00301f50b05e9c8906e11925588f960a5d3409246e463df0a8611e1d26a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/screens/anime/widgets/comments/controller/comments_controller.dart:638-647 | lib/screens/anime/widgets/comments/controller/comments_controller.dart:649-658 \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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0bc64c8bc78662f9a42a059dda3484696b01c6fd51f25652f9fa4b897056af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/screens/notifications/notification_controller.dart:223-240 | lib/services/anilist_notification_service.dart:19-34 \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/screens/notifications/notification_controller.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acae8df4d1842ca9efd32e4c3d76d9d859066a664d0af3a801d9e0b4bc41876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/screens/novel/reader/controller/reader_controller.dart:1052-1060 | lib/screens/novel/reader/controller/reader_controller.dart:1062-1070 \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/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b2a70d7f6cb31d1e3cd7aee62756edc9e02faec015d8bbaf368f2b3780586b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/screens/extensions/ExtensionSettings/ExtensionSettings.dart:189-201 | lib/screens/extensions/ExtensionSettings/ExtensionSettings.dart:203-214 | lib/screens/extensions/ExtensionSettings/ExtensionSettings.dart:216-227 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f15917207ae16f3c5251a3a7f1de9ee4a5ee8feb3391d70b31c1517e4e97e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): lib/controllers/settings/settings.dart:952-957 | lib/controllers/settings/settings.dart:959-965 | lib/controllers/settings/settings.dart:967-973 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/settings/settings.dart"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e987d9bc4d9a017d23bd1bdc2c9c9bb5ec48778d235ce79902d29e88eb68b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): lib/models/Anilist/anilist_profile.dart:233-239 | lib/models/Anilist/anilist_profile.dart:249-255 | lib/models/Media/voice_actor.dart:17-25 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 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/models/Anilist/anilist_profile.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3228e4e57948a9561c662b57f118b3011787310fad6a0964b796470a50ab5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/screens/settings/sub_settings/settings_donation.dart:36-47 | lib/widgets/dialogs/donation_dialog.dart:28-43 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_donation.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"981cc3c80e9389683ca81d518e10b970010acf6dfadb4828967b08af6abcecc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/widgets/anime/visuals/visuals_popup.dart:290-299 | lib/widgets/anime/visuals/visuals_popup.dart:301-311 \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/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57b2fff2e1fc434661f061ecaaf5454f4bb14318e61485fed26c0a13f88f430"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/controllers/services/anilist/anilist_data.dart:324-334 | lib/controllers/services/mal/mal_service.dart:185-195 \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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d369f1135bb9d2a8d930bb747b07fa6706556f55a9727962a6ed4b31924527"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/screens/anime/watch/controls/widgets/double_tap_seek.dart:759-771 | lib/screens/anime/watch/controls/widgets/double_tap_seek.dart:773-785 \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/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"b077fc4acc013a48d58f7aac1e9867363702d939faffe684b442e3cfec60ebc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/screens/extensions/widgets/plugin_manager.dart:70-86 | lib/screens/extensions/widgets/plugin_manager.dart:88-105 \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/screens/extensions/widgets/plugin_manager.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a975433f91d603c3a44cdc54238ab14c0b303318bbcdf216b116d8f7932391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/screens/stats/controller/user_stats_controller.dart:96-99 | lib/screens/stats/controller/user_stats_controller.dart:101-104 \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/screens/stats/controller/user_stats_controller.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11e87a3d41de6e3ba5f85779c99d4692ddd19d5bc93529e0ad78de6f5b7f082"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): lib/utils/external_font_loader.dart:142-149 | lib/utils/external_font_loader.dart:246-253 | lib/utils/local_thumbnail_service.dart:114-121 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/external_font_loader.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"49456bf124f04928cc98d7261f39b70c7713b2b86af3a892f5f25b011680e454"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/widgets/dialogs/alert_dialog_builder.dart:80-86 | lib/widgets/dialogs/alert_dialog_builder.dart:95-106 \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/widgets/dialogs/alert_dialog_builder.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2539306aeecb12a78188ac36c99e9b69ed55592bafa84db46c6c6fee614ada49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/screens/anime/watch/controls/widgets/speed_popup.dart:21-33 | lib/screens/anime/watch/controls/widgets/sync_subs_popup.dart:19-31 \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/screens/anime/watch/controls/widgets/speed_popup.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4a2ebd8c6d8845fb40dcbd74d81c2e8515784b6109062c11d2f2eaff8a9c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/screens/search/search_view.dart:189-197 | lib/screens/search/widgets/inline_search_history.dart:36-44 \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/screens/search/search_view.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bbddee6e5c977b28cd4d3f4584cd1f649c050ff48dbfd4ae24206a22f6a517"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/utils/al_about_me.dart:507-516 | lib/widgets/non_widgets/activity_card.dart:1055-1065 \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/utils/al_about_me.dart"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8efdc111142db6d0ed369fec23a67aa9ad28770cad07aee764a77f97abcad13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/utils/media_downloader.dart:456-462 | lib/screens/downloads/controller/download_controller.dart:1339-1345 \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/utils/media_downloader.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dfe5592e541018b574d05200dacf9207550936f0261ef3de19415db4ff61a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/utils/media_share.dart:202-214 | lib/utils/media_share.dart:216-227 \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/utils/media_share.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"112588b4bf760ece4e898ccacf99b0c1181d3a2f707527399185622e8c1085b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): lib/controllers/watchium/watchium_service.dart:775-785 | lib/controllers/watchium/watchium_service.dart:787-797 | lib/controllers/watchium/watchium_service.dart:799-809 | lib/controllers/watchium/watchium_service.dart:811-821 | lib/controllers/watchium/watchium_service.dart:823-835 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/watchium/watchium_service.dart"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a8b1384bb98c24167edabef1f7539e2b081b0e374ea9b86821c43a27d971de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/screens/anime/widgets/episode/styles/compact_style.dart:46-49 | lib/screens/anime/widgets/episode/styles/detailed_style.dart:46-49 \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/screens/anime/widgets/episode/styles/compact_style.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17469891fd6f94745689fc414d7cf49b8644e20d934656c3fa638be06786728"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/database/comments/model/commentum_role.dart:25-42 | lib/widgets/media_items/media_peek_popup.dart:568-587 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/comments/model/commentum_role.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f16a15fd3fc289283d7b675ec82f61f7a217c8c6cc9a517f2576fa1b5853207"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/screens/anime/widgets/comments/comments_section.dart:979-987 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:113-125 \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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbc4aeeaead28f799746cfbb4b20cfa4ffbbf4b1d63639f34c4eed379361625"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/controllers/services/mal/mal_service.dart:397-405 | lib/controllers/services/mal/mal_api.dart:70-74 \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/controllers/services/mal/mal_service.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67e7cdc883aabf2e4c3baa12737cc83ac0d4366d74192f321b8fa71f87fb789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/database/comments/comments_db.dart:39-44 | lib/services/commentum_service.dart:236-241 \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/database/comments/comments_db.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a77aba5ce5e2c18ca95fa3905f48672de7b52aa55c1ba4257b7ac3cddb8dfde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/screens/search/widgets/search_filter_selector.dart:61-71 | lib/widgets/common/navbar.dart:117-127 \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/screens/search/widgets/search_filter_selector.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"28624df496c62d470facd56ba3c7bc3ce16d973bc7fe81b5bb935416170ebde8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/models/Anilist/anilist_media_user.dart:414-429 | lib/widgets/common/content_error_widget.dart:22-37 \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/models/Anilist/anilist_media_user.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"07521bb23b7b996c10f219733e118c2c652f82bd7dafd6bddc92901c46c944e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/screens/anime/misc/list_exporter.dart:240-248 | lib/services/cast/cast_service.dart:515-522 \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/screens/anime/misc/list_exporter.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecc0208fa1d381e5af4a666808b5306da66cffd9b9263cc121c8b752b39244c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/screens/profile/widgets/activity_heatmap.dart:33-50 | lib/screens/stats/user_stats_page.dart:80-97 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd1ef30972b4fcd800d8978779b0078f651a34126b987b19a895c9247859021"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/screens/settings/sub_settings/settings_accounts.dart:78-90 | lib/screens/settings/sub_settings/settings_discord.dart:406-414 \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/screens/settings/sub_settings/settings_accounts.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a682646cf4342bf84752260e69fd7aa0c4ce07046068d7c772879d20453b7f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/widgets/common/cards/media_card_registry.dart:51-57 | lib/widgets/common/navbar/navbar_registry.dart:44-50 \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/widgets/common/cards/media_card_registry.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"de55a88903804e4b9e0f44f72458afaf8601724d079ac815251d7a1b3c6703e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/screens/anime/widgets/custom_list_dialog.dart:37-46 | lib/screens/library/editor/list_editor.dart:758-766 \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/screens/anime/widgets/custom_list_dialog.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b20699e082976445510b6bfa3ca0e5f18d0762c9c17226c4a7871aa65621198"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/widgets/common/cards/media_card_registry.dart:44-49 | lib/widgets/common/navbar/navbar_registry.dart:37-42 \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/widgets/common/cards/media_card_registry.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"846e6e64af0bfac15c65e46b4b5c12cc310bbdc255d7d758ca7ddb464e3e2f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/screens/manga/controller/reader_controller.dart:1717-1725 | lib/screens/novel/reader/controller/reader_controller.dart:1243-1251 \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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"def6e553b184a96cc70c0045c71d6742cbfd1114c93eca3f9d2aae5ac965157d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/widgets/media_items/media_peek_popup.dart:146-156 | lib/widgets/non_widgets/reasons_sheet.dart:66-75 \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/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c674dcd7506f947a3378b5b4ceb6e6dec8f7e1681388818225db5e86b349f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/screens/library/editor/history_editor.dart:171-174 | lib/screens/manga/widgets/reader/themes/reader_control_themes/ios_reader_control_theme.dart:188-191 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/editor/history_editor.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9d2f5d104579fcc80139fa23ae99de7da489f19c6f2dbd433bedfcaa8bdfdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/screens/profile/widgets/activity_heatmap.dart:28-31 | lib/screens/stats/user_stats_page.dart:75-78 \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/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"305249cec59636f25f5e6fe0b46600ee93fffb723948e5560105019f18fea61e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/screens/anime/widgets/watch_order_page.dart:311-317 | lib/screens/downloads/controller/download_controller.dart:2597-2603 \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/screens/anime/widgets/watch_order_page.dart"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f635969e2bf6e81c92b164e6c7c71ba76b2ce98ff7ab7d4fe4230b63ccd6781b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/widgets/common/cards/media_card_registry.dart:38-42 | lib/widgets/common/navbar/navbar_registry.dart:31-35 \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/widgets/common/cards/media_card_registry.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca581517a86f3a07ccf2c30a3120b0434838c4a6d4334d293eea407db08ed2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (121\u2013171 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:471-591 | lib/controllers/services/anilist/anilist_data.dart:661-831 \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/controllers/services/anilist/anilist_data.dart:471\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99dd02df507ce21e617d9541b32a16240202bc84bb581540c99e5fda6027ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u2013124 lines \u00D7 4): lib/controllers/services/anilist/anilist_auth.dart:889-1012 | lib/controllers/services/anilist/anilist_auth.dart:1053-1068 | lib/controllers/services/anilist/anilist_auth.dart:1124-1169 | lib/controllers/services/anilist/anilist_auth.dart:1229-1245 \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/controllers/services/anilist/anilist_auth.dart:889\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"f140ce5112b8f2954baea87c6712155624003f5156eff2760bc6eb88f7d92598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (103 lines \u00D7 2): lib/widgets/dialogs/logo_animation_preview_dialog.dart:274-376 | lib/widgets/dialogs/logo_animation_preview_dialog.dart:503-605 \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/widgets/dialogs/logo_animation_preview_dialog.dart:274\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/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c8956b8fa6565f9baea5caa8a9bd594eab93703466d54d308b921f38b7bedb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (94\u201397 lines \u00D7 3): lib/screens/library/online/anime_list.dart:443-536 | lib/screens/library/online/manga_list.dart:427-520 | lib/screens/profile/widgets/user_media_list_page.dart:420-516 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:443\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/screens/library/online/anime_list.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f667364bbec1ee7ffe95f23d346deca69bfbb837458581ef8a76ad6a95f77218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (94 lines \u00D7 2): lib/utils/image_cropper.dart:152-245 | lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart:223-316 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cropper.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ce7ab3efeb32f062dc9395715887571124da3c3c654edad30b88dd2188f77e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 2): lib/models/Media/media.dart:194-286 | lib/models/Media/media.dart:399-491 \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/models/Media/media.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1173e530201a0cb3d42ef1f3c8eb0616a9312e665dd969aed9d88c785fc09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (90\u201392 lines \u00D7 2): lib/screens/profile/activity_details_page.dart:517-606 | lib/widgets/non_widgets/activity_card.dart:264-355 \u2014 before extracting anything, compare \u0060lib/screens/profile/activity_details_page.dart\u0060 and \u0060lib/widgets/non_widgets/activity_card.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/non_widgets/activity_card.dart:264\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/activity_details_page.dart"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"12732c6dbf9b2acda19aa8beae8eec0d868e87c0e32ad6e337ab1dae4453dffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74\u201387 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:2052-2138 | lib/controllers/services/anilist/anilist_auth.dart:2452-2525 \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/controllers/services/anilist/anilist_auth.dart:2052\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9116e7620fd69a8848d10bb1279342baa8711c2c7890abc6147a594f0f9e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (86 lines \u00D7 2): lib/screens/library/online/anime_list.dart:565-650 | lib/screens/library/online/manga_list.dart:549-634 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/online/anime_list.dart"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ed3dafe1c74e01709352bce26fd6caa42eed96502592a92fd254c299efde34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (109\u2013111 lines \u00D7 2): lib/widgets/common/media_mode_selector.dart:267-377 | lib/widgets/common/media_mode_selector.dart:383-491 \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/widgets/common/media_mode_selector.dart:267\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/widgets/common/media_mode_selector.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"9810d9fe5a33573db9185a661e0543853cfaebb486821ab5bf180a1659586b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:829-906 | lib/screens/manga/widgets/chapter_list_builder.dart:355-432 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"7265116ff2041418a19683c03768c71db839c10adcd72de8befb64b9a505d73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77\u201378 lines \u00D7 2): lib/screens/library/online/anime_list.dart:694-770 | lib/screens/library/online/manga_list.dart:678-755 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"962bd1530128faba95481ab5a2709395c074fb8efc0fe6862f5588813429bee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): lib/screens/library/online/anime_list.dart:772-849 | lib/screens/library/online/manga_list.dart:757-834 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:772\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/screens/library/online/anime_list.dart"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c73eedca977e79152dccabdb1e86c03baf3275e23a7c5e95b64b6627dcc451e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:303-376 | lib/screens/settings/sub_settings/settings_reader.dart:1043-1116 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:303\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/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"60099a4fff0639f8d8cf31097cf1fccb9b6e259c3724026f54bcd2713bf374e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:1215-1285 | lib/screens/manga/widgets/chapter_list_builder.dart:1334-1404 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1215\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4232b83adc6701140b1be6127398aa9c00292cccc18c33d6089a7be0b0d2701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:967-1035 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:860-928 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f6aaddccb082e93a78139668fe4cf657fa1502e3cbc0821b139df3e2f03518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): lib/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart:96-162 | lib/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart:182-248 \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/screens/anime/widgets/comments/widgets/gif_picker_sheet.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart:179\u0060 calls \u0060encodeComponent\u0060 and \u0060lib/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart:93\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/screens/anime/widgets/comments/widgets/gif_picker_sheet.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"87393cea2e2cd813dc066fe5b039a91550115a47472cd08dcd2470900f2153a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:246-310 | lib/widgets/common/anymex_slider_m3.dart:275-339 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart\u0060 and \u0060lib/widgets/common/anymex_slider_m3.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:246\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/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8012ac7d4f288b420074fc8d70d2d07d2cef69430d591da0f53ff67292bafc29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): lib/screens/anime/widgets/episode/styles/compact_style.dart:80-144 | lib/screens/anime/widgets/episode/styles/detailed_style.dart:80-144 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode/styles/compact_style.dart\u0060 and \u0060lib/screens/anime/widgets/episode/styles/detailed_style.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 114 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/screens/anime/widgets/episode/styles/compact_style.dart:80\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/screens/anime/widgets/episode/styles/compact_style.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8833c6747795b0c86775d5b924d1aac090bd84e9380b778199facf5e0b335d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): lib/screens/profile/profile_page.dart:1074-1138 | lib/screens/profile/user_profile_page.dart:997-1061 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:1074\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/screens/profile/user_profile_page.dart:1064\u0060 calls \u0060SizedBox\u0060 and \u0060lib/screens/profile/profile_page.dart:1141\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/screens/profile/profile_page.dart"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa0866038be242da05453916f452104e1e5adfeba9b016f7f6b65125436cd6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201365 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:419-483 | lib/screens/settings/sub_settings/settings_reader.dart:1305-1368 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:419\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/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbead211048226c1b9328e9614e0f259cbfed6e37e54c6c5b6c85364c520875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60\u201361 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:508-567 | lib/widgets/watchium/watchium_create_dialog.dart:433-493 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:508\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb7eae45122ab2a9e7bc3c9f7b17b7236a4a7e8ea425b3d3abd3fc58dd57c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (95 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:148-242 | lib/screens/settings/sub_settings/settings_reader.dart:330-424 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bee16043db8c1e0ab6bd71a4dae3e748aa5ae05d4a115c4927d54d0944a6a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): lib/widgets/anime/visuals/visuals_popup.dart:181-240 | lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:46-105 \u2014 before extracting anything, compare \u0060lib/widgets/anime/visuals/visuals_popup.dart\u0060 and \u0060lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:46\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/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83e98daccb4a039ba4277e883192ce67204b9d4ec6c3222a03de602af6b188c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:873-928 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:766-821 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"6448419a4a12a729d0bc526abea125caf7b6578fdbc7dd3d04c7e147d6a5e71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54\u201355 lines \u00D7 2): lib/screens/profile/widgets/activity_heatmap.dart:182-235 | lib/screens/stats/user_stats_page.dart:683-737 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/activity_heatmap.dart\u0060 and \u0060lib/screens/stats/user_stats_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/activity_heatmap.dart:182\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6b163eada75516d35b935c062af5570ac09ef820766fb094ac0c4bac455bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201354 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:1006-1057 | lib/screens/anime/widgets/comments/comments_section.dart:1070-1123 \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/screens/anime/widgets/comments/comments_section.dart:1006\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ff47e7ddb3938c9877a440b26d502cc65a5cf9e2410259e2a53e082365c5d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201351 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:501-551 | lib/screens/profile/widgets/profile_header.dart:780-825 \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/screens/profile/widgets/profile_header.dart:501\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d44bd8b7292153379f037718795bc24be22e7dc1806a0507f928f2ee0e347b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): lib/screens/novel/reader/widgets/bottom_controls.dart:152-201 | lib/screens/novel/reader/widgets/bottom_controls.dart:233-282 \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/screens/novel/reader/widgets/bottom_controls.dart:152\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/screens/novel/reader/widgets/bottom_controls.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8193a7131e4134c5e22731496a6a2de4831df46e9fd019020fb482fd7f28364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201349 lines \u00D7 2): lib/screens/profile/profile_page.dart:831-878 | lib/screens/profile/user_profile_page.dart:791-839 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:831\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/profile_page.dart"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8d8a812a993f59bb1a4cf72e2c4848007d810e87e2e8b82e59eda34efcb7c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201348 lines \u00D7 3): lib/screens/anime/widgets/anime_stats.dart:942-987 | lib/screens/manga/widgets/manga_stats.dart:852-897 | lib/screens/novel/details/widgets/novel_stats.dart:246-293 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3e49d8dd0e09c8864ea86bdb9e61509435f46361465330e5960dcd56ad8e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77\u201378 lines \u00D7 3): lib/screens/anime/details/media_details_page.dart:486-562 | lib/screens/profile/profile_page.dart:472-548 | lib/screens/profile/user_profile_page.dart:539-616 \u2014 before extracting anything, compare \u0060lib/screens/anime/details/media_details_page.dart\u0060 and \u0060lib/screens/profile/profile_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/user_profile_page.dart:539\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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/screens/anime/details/media_details_page.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c56afe6f6f7dcf960387a132d9404b4294262daf498b74948ca805f4fd3c154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201346 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:601-646 | lib/controllers/services/anilist/anilist_auth.dart:666-692 \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/controllers/services/anilist/anilist_auth.dart:601\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"33db600f9434494199bad699bd8137b86243f696286237e37193ff1b4fd848d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:255-300 | lib/screens/settings/sub_settings/settings_reader.dart:987-1032 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:255\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060icon\u0060 to \u0060Icons.image_search_rounded\u0060 in one and \u0060Iconsax.book_1\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/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1b45695aeda3486dc52139f84012884d293d6a5f99fd94f3bf7f5517e08397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): lib/screens/anime/watch/watch_view.dart:206-250 | lib/screens/local_source/player/offline_player.dart:130-174 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/watch_view.dart\u0060 and \u0060lib/screens/local_source/player/offline_player.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/watch_view.dart:206\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/screens/anime/watch/watch_view.dart:205\u0060 calls \u0060BufferingOverlay\u0060 and \u0060lib/screens/local_source/player/offline_player.dart:129\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/screens/anime/watch/watch_view.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b65c5bb7b417b24f218f74d45e70b88b80eba3fabd4bdcddb58da62cdaac7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:1469-1513 | lib/screens/anime/widgets/comments/comments_section.dart:1803-1847 \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/screens/anime/widgets/comments/comments_section.dart:1469\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c099b4cd0aadf1f0ede623022bba6c1d938fde9224a47c9709fae51ed644e39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:312-355 | lib/widgets/common/anymex_slider_m3.dart:341-384 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart\u0060 and \u0060lib/widgets/common/anymex_slider_m3.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"16298e23fa6d677e212a6d7ba0579cbd3f9ed5531586d4165a4306ebc2e109e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): lib/screens/anime/widgets/episode_section.dart:270-313 | lib/screens/manga/widgets/chapter_section.dart:270-313 \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/screens/anime/widgets/episode_section.dart:270\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060BuildContext\u0060 in one and \u0060context\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/screens/anime/widgets/episode_section.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa182e3dfaa605d527b88e9fc7e26fc7a4dd80e477ec24c1a75aecf9ef67a8fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): lib/screens/library/online/anime_list.dart:342-384 | lib/screens/library/online/manga_list.dart:325-368 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:342\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/screens/library/online/anime_list.dart"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f77adcdc910d1bf6876853a11e2ec9515e617b825661c50fc084281b8da6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): lib/screens/profile/profile_page.dart:880-922 | lib/screens/profile/user_profile_page.dart:841-884 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:880\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/screens/profile/profile_page.dart"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcce2c43f4cff199999938444885f4370c55319c22eb47b2de76c53fe7dfc36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201344 lines \u00D7 2): lib/screens/profile/widgets/user_profile_app_bar.dart:166-204 | lib/screens/profile/widgets/user_profile_header.dart:420-463 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_header.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 167 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/screens/profile/widgets/user_profile_app_bar.dart:166\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/screens/profile/widgets/user_profile_app_bar.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b247c20f03e2d1fb1d9f767d49b48ba4a03d4896cf70a394a83d413e93ea533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:228-270 | lib/screens/manga/widgets/manga_stats.dart:681-723 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"339127a527a792529c5add67ea63a72e783074ae28af55f1295e944a0601a373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): lib/screens/settings/sub_settings/settings_moderation.dart:333-375 | lib/screens/settings/sub_settings/settings_moderation.dart:377-419 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/settings/sub_settings/settings_moderation.dart:331\u0060 calls \u0060Row\u0060 and \u0060lib/screens/settings/sub_settings/settings_moderation.dart:376\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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9032f828c79ee966c662e49583faf68f9df490b74f0fb52616d410c1e0b0e2df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:751-792 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:663-704 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:751\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70c46357e5fefaefddbf39bdde6279ec758d436e50d41999a89630d2a41601d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:463-504 | lib/widgets/watchium/watchium_create_dialog.dart:387-428 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:463\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9e89a3b0a180fa6651e10c9ee1eef2f4ee6ae443c614bec51dae2b511c3e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201342 lines \u00D7 2): lib/screens/library/widgets/unified_history_card.dart:107-148 | lib/screens/library/widgets/unified_history_card.dart:378-417 \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/screens/library/widgets/unified_history_card.dart:107\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/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d37cb2487a26d1091abc099764b99964721d7f29f8a1145618d4969ea5191e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): lib/widgets/animation/animations.dart:32-73 | lib/widgets/animation/animations.dart:131-172 \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/widgets/animation/animations.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/animation/animations.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"26564af6b05514e760792f2341a155635ce2687d7820bbadc901127bdecde712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): lib/widgets/common/navbar/styles/classic_navbar.dart:199-240 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:193-234 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 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/widgets/common/navbar/styles/classic_navbar.dart:199\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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caac12cdc7a012384f8d387867ad3328e4f114f67587701aa231866fa698718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): lib/models/Media/media.dart:1174-1214 | lib/models/Media/media.dart:1401-1441 \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/models/Media/media.dart"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"185548fd6fc7d68fbac83cc6264dd37ca1d2e91bb7d87b7134ff242801c370c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart:24-64 | lib/screens/anime/watch/controls/themes/player_control_themes/netflix_mobile_player_theme.dart:39-79 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/netflix_mobile_player_theme.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 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/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9deaf7c4f7880a5bcb99f8c9fa0db740b8eeab53cffd4c142cb961b96ac10b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): lib/screens/library/online/anime_list.dart:652-692 | lib/screens/library/online/manga_list.dart:636-676 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d7d682e8d6701751d0b7b41ec0faa6685d129bae282b0c0862b367609cc5f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): lib/screens/search/widgets/search_widgets.dart:1867-1907 | lib/screens/search/widgets/search_widgets.dart:2047-2087 \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/screens/search/widgets/search_widgets.dart:1867\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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"56548893fdbda460a96abb0a8caf548447ff971c803d6279e15aaa742ab8083e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:388-427 | lib/widgets/watchium/watchium_create_dialog.dart:221-260 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:388\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a323bef657cf59f3d9ab906a870f5be8bbbb549cf6ba4a62c37c889e8bc591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): lib/screens/profile/profile_page.dart:610-649 | lib/screens/profile/user_profile_page.dart:1246-1284 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:610\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/screens/profile/profile_page.dart"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1707a4f1609cce2d4b022c18262ec152a7be22adde9384e2daa129ddad1904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): lib/widgets/media_items/media_peek_popup.dart:1229-1268 | lib/widgets/non_widgets/reasons_sheet.dart:909-948 \u2014 before extracting anything, compare \u0060lib/widgets/media_items/media_peek_popup.dart\u0060 and \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/media_items/media_peek_popup.dart:1229\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/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"59263180bb63bd918384a646c2c0f1474e6b16dd5d16a8b293f30f1c741ccdd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201339 lines \u00D7 4): lib/screens/anime/details/media_details_page.dart:457-479 | lib/screens/profile/profile_page.dart:447-469 | lib/screens/profile/user_profile_page.dart:514-536 | lib/screens/settings/sub_settings/settings_ui_details.dart:438-476 \u2014 before extracting anything, compare \u0060lib/screens/anime/details/media_details_page.dart\u0060 and \u0060lib/screens/profile/profile_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/details/media_details_page.dart:457\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1111b09421fb4f99ec83a2d6073806296fc56079f7ce9f53b68b5342ebc1a570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:206-244 | lib/widgets/common/anymex_slider_m3.dart:211-249 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart\u0060 and \u0060lib/widgets/common/anymex_slider_m3.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:206\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/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b0ea082044b82b1edabb3ed8131d2f90b59745409692f19e44f0f0fb94f7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): lib/controllers/sync/gist_sync_controller.dart:603-640 | lib/controllers/sync/gist_sync_controller.dart:700-737 \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/controllers/sync/gist_sync_controller.dart:603\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/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9fc080b1194526f9b5024214073e9f7b9d69d0820665830661fa1f2bf452e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): lib/screens/community/user_recommendations_page.dart:115-152 | lib/screens/community/user_recommendations_page.dart:160-197 \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/screens/community/user_recommendations_page.dart:115\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/screens/community/user_recommendations_page.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc4505b6d947451958c3071a6bf4f56cd6e23cc3a6fee214c1d825bac57e304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/screens/profile/profile_page.dart:953-991 | lib/screens/profile/user_profile_page.dart:912-950 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:953\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/screens/profile/profile_page.dart"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"c735be148b07aaa50409a7b24661eb9e7139695459a1d26292b3404912ca8c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 3): lib/widgets/non_widgets/reasons_sheet.dart:245-281 | lib/widgets/non_widgets/recommend_sheet.dart:395-430 | lib/widgets/non_widgets/recommend_sheet.dart:601-636 \u2014 before extracting anything, compare \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 and \u0060lib/widgets/non_widgets/recommend_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 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/widgets/non_widgets/reasons_sheet.dart:245\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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb170228715a430579ed45885008d05b95c13ce4cf8ad26873c7d5c2eff60636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:1267-1319 | lib/controllers/services/anilist/anilist_auth.dart:1327-1379 \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/controllers/services/anilist/anilist_auth.dart:1267\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c7d014683a9609a8770dee75f9274c04186d58daa004b5024ad21295e44779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:719-755 | lib/screens/manga/widgets/manga_stats.dart:761-797 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfeeaf8dbc8b025b0ecd7e9b960f0f6554218cd9971a5f8da82151c9d07ce3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:791-827 | lib/screens/manga/widgets/chapter_list_builder.dart:317-353 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"10275dc3eda244cd660c2f6df8f7bd9c14df528485008396da9777081ca26631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:216-252 | lib/screens/settings/sub_settings/settings_reader.dart:940-976 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:216\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060icon\u0060 to \u0060Icons.image_search_rounded\u0060 in one and \u0060Iconsax.book_1\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/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"352d01d545f0637d4c6399cfd2b35120be47e9eeef772f33c9aa6cebfa701230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lib/services/commentum_service.dart:558-594 | lib/services/commentum_service.dart:1676-1712 \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/services/commentum_service.dart"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2016481227b4ddb566755d43c01bc4e239af63abd65f0b96022ba158d9c7511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lib/widgets/common/navbar/styles/classic_navbar.dart:151-187 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:130-166 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 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/widgets/common/navbar/styles/classic_navbar.dart:151\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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcc0bc6df9583af60d08b3e8ebe858c26cbb27e97ae26f2edb3602100ce9cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): lib/screens/anime/studio_details_page.dart:193-227 | lib/screens/anime/widgets/character_staff_sheet.dart:366-401 \u2014 before extracting anything, compare \u0060lib/screens/anime/studio_details_page.dart\u0060 and \u0060lib/screens/anime/widgets/character_staff_sheet.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/studio_details_page.dart:193\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/screens/anime/studio_details_page.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b604d716e9c78a8ac24a85d507513493d6c74599640dc1e3e33a209ad0db53f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:682-717 | lib/screens/manga/widgets/manga_stats.dart:724-759 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5d3018c6af09a6893e467eed917a43ab1b9eaaa82d0a7493542cdc3e19dd41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:577-611 | lib/screens/anime/widgets/episode_list_builder.dart:714-749 \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/screens/anime/widgets/episode_list_builder.dart:577\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/anime/widgets/episode_list_builder.dart:713\u0060 calls \u0060NeverScrollableScrollPhysics\u0060 and \u0060lib/screens/anime/widgets/episode_list_builder.dart:576\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2fb8aef02f09dce195df27e774e2725c4911f4c3c3706e796fa473eb65c9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:1112-1146 | lib/screens/manga/widgets/chapter_list_builder.dart:655-690 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"407b29242822be3bff49912d6ac1d375b2bec4339837e3bc6591d7d8136fa737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): lib/screens/profile/activity_details_page.dart:608-643 | lib/widgets/non_widgets/activity_card.dart:357-392 \u2014 before extracting anything, compare \u0060lib/screens/profile/activity_details_page.dart\u0060 and \u0060lib/widgets/non_widgets/activity_card.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/activity_details_page.dart:608\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/screens/profile/activity_details_page.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"15543be155de49f5f22cb19ec50756be3e428989adba0071cd513d2b35823cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): lib/widgets/common/carousel/themes/big_carousel_classic.dart:37-72 | lib/widgets/common/carousel/themes/big_carousel_portrait.dart:71-106 \u2014 before extracting anything, compare \u0060lib/widgets/common/carousel/themes/big_carousel_classic.dart\u0060 and \u0060lib/widgets/common/carousel/themes/big_carousel_portrait.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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/widgets/common/carousel/themes/big_carousel_classic.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/widgets/common/carousel/themes/big_carousel_classic.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcb50f52d683a33182dacc91676d9afdb9d5fbb43f479082e56c612244dc8b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201335 lines \u00D7 4): lib/screens/profile/widgets/profile_header.dart:429-463 | lib/screens/profile/widgets/profile_header.dart:711-740 | lib/screens/profile/widgets/user_profile_app_bar.dart:150-179 | lib/screens/profile/widgets/user_profile_header.dart:401-434 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 192 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/screens/profile/widgets/profile_header.dart:429\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d588d6833c81dfdd9b08158d798e8dcd3aed8f30e1d3e1c102c246b683ee60f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201335 lines \u00D7 3): lib/screens/manga/widgets/reader/reader_page_actions_dialog.dart:152-182 | lib/widgets/anime/visuals/visuals_popup.dart:238-271 | lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:103-137 \u2014 before extracting anything, compare \u0060lib/widgets/anime/visuals/visuals_popup.dart\u0060 and \u0060lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/manga/widgets/reader/reader_page_actions_dialog.dart:152\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/screens/manga/widgets/reader/reader_page_actions_dialog.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"875deba9ac26563da22fe25194c0976cdfaee5f896267d88577d2c01a754c0c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:658-692 | lib/screens/anime/widgets/episode_list_builder.dart:754-787 \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/screens/anime/widgets/episode_list_builder.dart:658\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/screens/anime/widgets/episode_list_builder.dart:753\u0060 calls \u0060NeverScrollableScrollPhysics\u0060 and \u0060lib/screens/anime/widgets/episode_list_builder.dart:657\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e282f16b846094d44c711e37a46e8774e4fd4ea7cb667a3adf9255156f71a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): lib/screens/library/online/anime_list.dart:157-191 | lib/screens/library/online/manga_list.dart:136-169 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:157\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/screens/library/online/anime_list.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3ed4a99e23f0a55ae2742062a48ea991a4fd6a01f0c6312d614cc2df986679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): lib/screens/library/online/anime_list.dart:374-408 | lib/screens/profile/widgets/user_media_list_page.dart:335-369 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/profile/widgets/user_media_list_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 270 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/library/online/anime_list.dart:374\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/screens/library/online/anime_list.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"79417794b0df81003f9b4974dccd153384a4127ed0b4793910e615655b94fae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): lib/screens/library/widgets/library_deps.dart:138-171 | lib/widgets/common/custom_tiles.dart:319-353 \u2014 before extracting anything, compare \u0060lib/screens/library/widgets/library_deps.dart\u0060 and \u0060lib/widgets/common/custom_tiles.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/library/widgets/library_deps.dart:138\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/screens/library/widgets/library_deps.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"99585693ea02079f2fcf131cb11d157f8e9ccaa5ee92b439ce1da0b3bcc1544f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): lib/screens/profile/profile_page.dart:408-442 | lib/screens/profile/user_profile_page.dart:475-509 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:408\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/screens/profile/profile_page.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb42c13c4331dbe9e6c05a261ff4ab597539f8fde87de08672809d1f1d39346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): lib/utils/download_isolate_pool.dart:110-144 | lib/utils/download_isolate_pool.dart:177-211 \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/utils/download_isolate_pool.dart:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/download_isolate_pool.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc5d1f50447ca8b0928393aca7f2bd7d39206880ba334034bd433a5b8c70794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4): lib/controllers/services/widgets/widgets_builders.dart:420-453 | lib/screens/community/community_recommendations_page.dart:730-763 | lib/screens/community/user_recommendations_page.dart:360-393 | lib/widgets/media_items/media_peek_popup.dart:1135-1168 \u2014 before extracting anything, compare \u0060lib/controllers/services/widgets/widgets_builders.dart\u0060 and \u0060lib/screens/community/community_recommendations_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"03662c85e187967a91a6b533803deb9fe1a6ddafc4af248fed51593c42dc7ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:376-409 | lib/widgets/common/anymex_slider_m3.dart:405-438 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart\u0060 and \u0060lib/widgets/common/anymex_slider_m3.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:376\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/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0466a27f1ade9aee1214da9198153767b6e807f888fdabcda9915159f0803274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:245-278 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:283-316 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:245\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3a1ec5b470625a647408bf5c4876ffcab90149136f32177819cd0dad6c83b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/screens/downloads/widgets/download_server_selector.dart:517-550 | lib/widgets/watchium/watchium_server_sheet.dart:240-273 \u2014 before extracting anything, compare \u0060lib/screens/downloads/widgets/download_server_selector.dart\u0060 and \u0060lib/widgets/watchium/watchium_server_sheet.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/widgets/download_server_selector.dart:517\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/screens/downloads/widgets/download_server_selector.dart:515\u0060 calls \u0060SizedBox\u0060 and \u0060lib/widgets/watchium/watchium_server_sheet.dart:239\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/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b303f47430ea50d9a2dbfed840ddc9f95345f2af178080b20406d620571f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/screens/profile/profile_page.dart:576-609 | lib/screens/profile/user_profile_page.dart:1211-1244 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:576\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/screens/profile/profile_page.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0264694e5fdc903a6de5186b15f77cc5ac4dece5288380b6e52b1f07facb52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:393-425 | lib/controllers/services/anilist/anilist_data.dart:626-657 \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/controllers/services/anilist/anilist_data.dart:393\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"370c0e4f5efcd9934ac1f01b5c29284600ce02fed78973be3c8ceb8765c6954f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:908-940 | lib/screens/manga/widgets/chapter_list_builder.dart:434-466 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"2888f221e0625184761f75c4ae22b7e292c4f4379e876a8a4800a377a2056ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): lib/screens/downloads/download_screen.dart:1129-1161 | lib/screens/downloads/download_screen.dart:1409-1441 \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/screens/downloads/download_screen.dart:1129\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/screens/downloads/download_screen.dart"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9dce1b0320299f98b0f47214255559f5bce848953a8feabf98ea0698b3fcc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): lib/screens/profile/widgets/activity_heatmap.dart:111-143 | lib/screens/stats/user_stats_page.dart:614-645 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/activity_heatmap.dart\u0060 and \u0060lib/screens/stats/user_stats_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/activity_heatmap.dart:111\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/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e1170208fed02322da5eb54b0f9176ad0ca0795de12ea455cad1ee8e1ecc5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201333 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_shaders.dart:419-446 | lib/screens/settings/sub_settings/player/settings_player_shaders.dart:563-595 \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/screens/settings/sub_settings/player/settings_player_shaders.dart:419\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/screens/settings/sub_settings/player/settings_player_shaders.dart"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ca08bfe9d8dc475640915233c6fe262aaa538480dd01b0e8234a9fd108993c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): lib/utils/media_share.dart:123-155 | lib/utils/media_share.dart:158-190 \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/utils/media_share.dart:123\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/utils/media_share.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"07429db35901e72171f3901178945575fd31303572fdf70675058f55bff3fd12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): lib/widgets/non_widgets/reasons_sheet.dart:204-235 | lib/widgets/non_widgets/recommend_sheet.dart:355-385 | lib/widgets/non_widgets/recommend_sheet.dart:561-591 \u2014 before extracting anything, compare \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 and \u0060lib/widgets/non_widgets/recommend_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 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/widgets/non_widgets/reasons_sheet.dart:204\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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6808f27621d938c3be320ce52ca903f561344ea75a41dfaef4c4e422f9ebd804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/screens/profile/widgets/decoration_closet_sheet.dart:696-727 | lib/screens/profile/widgets/decoration_closet_sheet.dart:1160-1191 \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/screens/profile/widgets/decoration_closet_sheet.dart:696\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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27c0e24f6b74f4c72a17137db8213d70475abf07c5e5c9bd3f7c476f3434722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/screens/settings/sub_settings/settings_addons.dart:326-357 | lib/screens/settings/sub_settings/settings_addons.dart:437-468 \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/screens/settings/sub_settings/settings_addons.dart"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cecde2a2fcfe2c9f7bc896a5d2325eb2a832fb4d2809745847530c935b18d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:1558-1588 | lib/controllers/services/anilist/anilist_auth.dart:1657-1687 \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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c5425482495191ddd1a71a4646e6c886037938c8e4de886ec95ec675f73aad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:2007-2037 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:726-756 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 and \u0060lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/comments/comments_section.dart:2007\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2007}}}],"partialFingerprints":{"codehealthFindingId/v1":"60367fe862db06196cf7d2d972c408305726b6f63c13233194a7218ed2697cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201331 lines \u00D7 2): lib/screens/profile/widgets/social_tab.dart:300-330 | lib/widgets/non_widgets/activity_card.dart:383-407 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/social_tab.dart\u0060 and \u0060lib/widgets/non_widgets/activity_card.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/social_tab.dart:300\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/screens/profile/widgets/social_tab.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc35c8973ef83fe52b514002d4998ebd44b82b2c6c4cd8050edf6a3cf984c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): lib/screens/profile/widgets/user_profile_app_bar.dart:260-287 | lib/screens/profile/widgets/user_profile_header.dart:105-135 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_header.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 167 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/screens/profile/widgets/user_profile_app_bar.dart:260\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/screens/profile/widgets/user_profile_app_bar.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1b98f31b6bad4e5084303283ebc0dbfbb514db813d811450130f2435533f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/screens/search/widgets/extension_filter_sheet.dart:479-509 | lib/screens/search/widgets/extension_filter_sheet.dart:837-867 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a4824eb7567f8fc3a1f545f3bdb4fd5cab4c1b2c22966402b2c8a6d8cec220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/screens/settings/sub_settings/settings_network.dart:449-479 | lib/screens/settings/sub_settings/settings_network.dart:771-801 \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/screens/settings/sub_settings/settings_network.dart:449\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6ad04daed5a5bfa80208415f6bb9450caee5fab8493c0407d199ab348aee04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201331 lines \u00D7 2): lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:82-108 | lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:1348-1378 \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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:82\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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"613ce492b96bea1b5156b4a5364c55a4058744ae9bcc76ceb1bff7d8c635a4f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201331 lines \u00D7 2): lib/utils/anime_themes_api.dart:12-42 | lib/utils/anime_themes_api.dart:105-129 \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/utils/anime_themes_api.dart:12\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/utils/anime_themes_api.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"214e426591a5b407723eb8bc2d1eacae3a753e3fba7cb07999096579fa6a16ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201330 lines \u00D7 5): lib/screens/anime/details/media_details_page.dart:459-472 | lib/screens/profile/profile_page.dart:449-462 | lib/screens/profile/user_profile_page.dart:516-529 | lib/screens/settings/sub_settings/settings_ui_details.dart:440-469 | lib/widgets/anime/media_header.dart:135-163 \u2014 before extracting anything, compare \u0060lib/screens/anime/details/media_details_page.dart\u0060 and \u0060lib/screens/profile/profile_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/details/media_details_page.dart:459\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b4080767b8299ee2f1c6c7fb5ae61fbb5a12f8be0f8f9f65ca5eecd664bd26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 3): lib/controllers/services/backup_restore/backup_restore_service.dart:589-618 | lib/controllers/services/backup_restore/backup_restore_service.dart:621-650 | lib/controllers/services/backup_restore/backup_restore_service.dart:653-680 \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/controllers/services/backup_restore/backup_restore_service.dart:589\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"1245ebe646955e94d0ccc66c3cbeb8037083771afdf1b6154a3e544f1d6e89f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/controllers/discord/discord_rpc.dart:729-758 | lib/controllers/discord/discord_rpc.dart:858-887 \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/controllers/discord/discord_rpc.dart:729\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"55695895007fbf342d0846307a9da346b40180857387809686c5f76058a60390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): lib/controllers/sync/gist_sync_controller.dart:566-593 | lib/controllers/sync/gist_sync_controller.dart:659-688 \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/controllers/sync/gist_sync_controller.dart:659\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/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5479f4fd90c7e2ce1f5f20429e2156946a3464b6cf4210f26ccc6642a369cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201330 lines \u00D7 2): lib/screens/anime/studio_details_page.dart:358-382 | lib/screens/anime/widgets/character_staff_sheet.dart:937-966 \u2014 before extracting anything, compare \u0060lib/screens/anime/studio_details_page.dart\u0060 and \u0060lib/screens/anime/widgets/character_staff_sheet.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/studio_details_page.dart:358\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/screens/anime/studio_details_page.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f44b9a20b2dc46228927111a3e70260e229e8b1cd9f91e0c4513528ba5f8efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:1183-1212 | lib/screens/manga/widgets/chapter_list_builder.dart:1302-1331 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1183\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2257b9ec3b58d5cfa4bcf3702e15d70d3fe200ca97cf4f976b1061a46878ef63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/screens/manga/widgets/reader/continuous_reader.dart:390-419 | lib/screens/manga/widgets/reader/reader_view.dart:335-364 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/continuous_reader.dart\u0060 and \u0060lib/screens/manga/widgets/reader/reader_view.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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/screens/manga/widgets/reader/continuous_reader.dart:390\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/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2ec58542d74555f3b7612d8eb45cb2c9ede4bfcb8e4efe583234f385571d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/screens/profile/profile_page.dart:64-93 | lib/screens/profile/user_profile_page.dart:78-107 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"765a44b4951fa06f883e93a9953c39b50f79916dfbdb6ec5fc8ace383d248431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:627-656 | lib/screens/profile/widgets/user_profile_app_bar.dart:76-105 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 192 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/screens/profile/widgets/profile_header.dart:627\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaedd6d3d6aa6212677a9c7d948f6f0a2a669882d965c5023c93d88898230d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/screens/settings/sub_settings/settings_comments.dart:359-388 | lib/screens/settings/sub_settings/settings_comments.dart:398-427 \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/screens/settings/sub_settings/settings_comments.dart:359\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/screens/settings/sub_settings/settings_comments.dart:428\u0060 calls \u0060_buildBulletPoint\u0060 and \u0060lib/screens/settings/sub_settings/settings_comments.dart:389\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/screens/settings/sub_settings/settings_comments.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe7eb0d59870112511dcb4ebf2d0072417b80ff11949adbc7055b9d29d61048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201330 lines \u00D7 2): lib/utils/notification.dart:187-216 | lib/utils/notification.dart:228-247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/utils/notification.dart:187\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/utils/notification.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c801a37095511c099fe1bb7f87e7d87425e5a80712a5e9007c45c1b5f57875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/widgets/media_items/media_peek_popup.dart:923-952 | lib/widgets/non_widgets/reasons_sheet.dart:772-801 \u2014 before extracting anything, compare \u0060lib/widgets/media_items/media_peek_popup.dart\u0060 and \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/media_items/media_peek_popup.dart:923\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/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5824188d31b91dd45fb45ddd498bf760a862a81b20388cbe594834a630d550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/screens/downloads/download_screen.dart:880-908 | lib/screens/downloads/download_screen.dart:1221-1249 \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/screens/downloads/download_screen.dart:880\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/screens/downloads/download_screen.dart"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20ca4d1dafaf70bbe5714b896daecaf800cb32c4a5b5ada06ceb89870cb31ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/screens/library/editor/list_editor.dart:622-650 | lib/screens/library/editor/list_editor.dart:686-714 \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/screens/library/editor/list_editor.dart:622\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/screens/library/editor/list_editor.dart"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6957d2a1dab01e3d31d6d1a6eec5fa3460438534b4fda2f74393954a533a9c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): lib/screens/library/online/anime_list.dart:302-329 | lib/screens/profile/widgets/user_media_list_page.dart:249-277 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/profile/widgets/user_media_list_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 270 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/library/online/anime_list.dart:302\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/screens/library/online/anime_list.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda44325d98467d81f59293710e42d226539162abcc145ddb2612cf4324647b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/screens/profile/profile_page.dart:344-372 | lib/screens/profile/user_profile_page.dart:420-448 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:344\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/screens/profile/profile_page.dart"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7e28131504c5b1f938d6c003ca50d19a48a518b3f35cf67e11b54d958e37cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): lib/screens/profile/profile_page.dart:803-830 | lib/screens/profile/user_profile_page.dart:761-789 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:803\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/screens/profile/profile_page.dart"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb84e76bb2f7bbd7e6690d12a0bafc04c530c9db43f4edd402ea649ae42cf08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:100-128 | lib/screens/profile/widgets/user_profile_header.dart:83-109 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_header.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/profile_header.dart:100\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"55de119b2a8cb5332c3210a2f15df13ef46e637b0b6d45a435ce8f2a4e78d106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/services/commentum_service.dart:650-678 | lib/services/commentum_service.dart:697-725 \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/services/commentum_service.dart:650\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/services/commentum_service.dart"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eba083ea3b350b9e6e8994bdbc5a0614b86893bd09c5a4d402fa879807d8d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/widgets/common/media_mode_selector.dart:520-548 | lib/widgets/common/media_mode_selector.dart:645-673 \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/widgets/common/media_mode_selector.dart:520\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/widgets/common/media_mode_selector.dart"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f519aef944bae03c05f53b2594e5d03c011f4b40d0cad7d2ff10baa68072ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/widgets/common/navbar/styles/classic_navbar.dart:382-410 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:432-460 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 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/widgets/common/navbar/styles/classic_navbar.dart:382\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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0e2594941def9c3e3d56235ca9b1b67adab479c4aab9b93395c29e2c29c6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/widgets/non_widgets/recommend_sheet.dart:1103-1131 | lib/widgets/non_widgets/recommend_sheet.dart:1182-1210 \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/widgets/non_widgets/recommend_sheet.dart:1103\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/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"03664868e58b04685b3a0568a9349bccc7b6c9e7612c52ef7285990926fdff1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): lib/controllers/services/anilist/anilist_auth.dart:1947-1974 | lib/controllers/services/anilist/anilist_auth.dart:2550-2577 | lib/controllers/services/anilist/anilist_auth.dart:2607-2634 \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/controllers/services/anilist/anilist_auth.dart:1947\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 after the matched lines, \u0060lib/controllers/services/anilist/anilist_auth.dart:2578\u0060 calls \u0060toInt\u0060 and \u0060lib/controllers/services/anilist/anilist_auth.dart:2635\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"feee83a033ea4ec8a3b4a3431a09beef6f1544ad446a9c1cf4c6ab4d1cc08119"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:608-635 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:566-593 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f0fd5d0a6ff4e004548d0b2ff39dc054d46fb65b01dc69382f1f3f5968cd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/screens/library/widgets/library_deps.dart:43-70 | lib/widgets/common/search_bar.dart:59-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/widgets/library_deps.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"be237a86fee5a28af81a7ad969234641a4745fc1a5602c1b2ed06eac44229a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): lib/screens/manga/controller/reader_controller.dart:741-767 | lib/screens/manga/controller/reader_controller.dart:1585-1612 \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/screens/manga/controller/reader_controller.dart:741\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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a709e592e9fae07d35c5ab25ad9d818bc0451b7422c4b21133b557eee72664c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/utils/lanczos_image.dart:150-177 | lib/utils/lanczos_image.dart:255-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/lanczos_image.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"748deac07683c1674fe29b264626364ade20fe51be8c7dfdd943eab10744e045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): lib/widgets/common/cards/styles/exotic_card.dart:123-149 | lib/widgets/common/cards/styles/minimal_exotic_card.dart:128-155 \u2014 before extracting anything, compare \u0060lib/widgets/common/cards/styles/exotic_card.dart\u0060 and \u0060lib/widgets/common/cards/styles/minimal_exotic_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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/widgets/common/cards/styles/exotic_card.dart:123\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/widgets/common/cards/styles/exotic_card.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6435819b197308fad52486cc8ac4e347f58865c970d403903bc571a22e3f4da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): lib/widgets/common/navbar/styles/classic_navbar.dart:350-377 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:402-428 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 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/widgets/common/navbar/styles/classic_navbar.dart:350\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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5212227e18539ee6f6287622e53ec7e2dd3a4c21234338bbcb3ff38dc3c68fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/widgets/media_items/media_peek_popup.dart:221-248 | lib/widgets/non_widgets/reasons_sheet.dart:169-196 \u2014 before extracting anything, compare \u0060lib/widgets/media_items/media_peek_popup.dart\u0060 and \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/media_items/media_peek_popup.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"333d398bb9103b95e6cbb5c00176dd44975206ec455a39962bfadc2120c48f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): lib/screens/anime/details/media_details_page.dart:504-530 | lib/screens/profile/profile_page.dart:490-516 | lib/screens/profile/user_profile_page.dart:557-583 | lib/screens/settings/sub_settings/settings_ui_details.dart:708-734 \u2014 before extracting anything, compare \u0060lib/screens/anime/details/media_details_page.dart\u0060 and \u0060lib/screens/profile/profile_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/details/media_details_page.dart:504\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"908784d0601333a8d2bdd8b44ad65501034ced90d4fb57a4ea46e1093d0f2251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 3): lib/widgets/anime/visuals/visuals_popup.dart:163-189 | lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:28-54 | lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:154-179 \u2014 before extracting anything, compare \u0060lib/widgets/anime/visuals/visuals_popup.dart\u0060 and \u0060lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:28\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/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff4cf4a02d53b6ac96bdce7bee7899a986a0ea24a06a12b0d8897833bfc994b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/controllers/discord/discord_rpc.dart:593-619 | lib/controllers/discord/discord_rpc.dart:838-864 \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/controllers/discord/discord_rpc.dart:593\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fed3d6aa7c05e50fe7e3f6e62bc8df8e1f409201bff9173847fe79ab7c97dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): lib/controllers/services/anilist/anilist_auth.dart:1270-1295 | lib/controllers/services/anilist/anilist_auth.dart:1330-1355 | lib/controllers/services/anilist/anilist_auth.dart:1693-1726 \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/controllers/services/anilist/anilist_auth.dart:1270\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d15825790d2558635e574bbc13b4074ad7c23a12ffd914da3ddcecc1eccbdee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/controllers/services/backup_restore/backup_restore_service.dart:1686-1711 | lib/controllers/services/backup_restore/backup_restore_service.dart:1756-1781 \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/controllers/services/backup_restore/backup_restore_service.dart:1686\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"32abc4a4671c4fffa4c8e71f113ace325577b838b708e23999e2a6cda1f2869d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/screens/anime/watch/controls/bottom_controls.dart:330-355 | lib/screens/anime/watch/controls/bottom_controls.dart:423-448 \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/screens/anime/watch/controls/bottom_controls.dart:330\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/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a460dea837486b26db5e2caaaf901c5aaa8089338876a0b01db03388d4c85b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:1896-1921 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:377-402 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 and \u0060lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/comments/comments_section.dart:1896\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a9dbcb192bbf15adb0f2fd277b37f46a8ac886cfde0b6919d2b89379a37862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/screens/downloads/widgets/download_server_selector.dart:651-676 | lib/screens/downloads/widgets/download_server_selector.dart:692-717 \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/screens/downloads/widgets/download_server_selector.dart:651\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/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f65a917a31b6b59e0affa57d090891ad7770b4f948d70b52e43e6eefec14193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/screens/library/editor/history_editor.dart:280-305 | lib/screens/library/editor/history_editor.dart:380-405 \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/screens/library/editor/history_editor.dart:280\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/screens/library/editor/history_editor.dart"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72f930eb94efdf1ad8ff86d2cdf3ba426c2554022d2645d042d7aae01c5aff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/screens/library/editor/history_editor.dart:307-332 | lib/screens/library/editor/history_editor.dart:407-432 \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/screens/library/editor/history_editor.dart:307\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/screens/library/editor/history_editor.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"740127b46b9925f26a55d98725d96f1802847819e91a9c0e7b7f09323d0e0ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/screens/profile/profile_page.dart:213-238 | lib/screens/profile/user_profile_page.dart:306-331 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"922e26c49e371e6413ead18271e154c9c136edd60f60ff3c1f12166f236afa74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:265-290 | lib/screens/profile/widgets/profile_header.dart:941-965 \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/screens/profile/widgets/profile_header.dart:265\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7683d20c2bcc718b46b637be1a56707a1c0044cf9e1f6be436c77dc975f86dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:927-952 | lib/screens/profile/widgets/user_profile_app_bar.dart:447-472 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 192 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/screens/profile/widgets/profile_header.dart:927\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed44bd41264891bc998b471e58b52e1237ab74ae2e66bf4da9fc5b4599a71a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/screens/settings/sub_settings/settings_network.dart:311-336 | lib/screens/settings/sub_settings/settings_network.dart:566-591 \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/screens/settings/sub_settings/settings_network.dart:311\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc15dc14e1259b614eba6a2439c75439edc428c4e9263ba992fecccfe92662e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/screens/settings/sub_settings/settings_theme.dart:774-799 | lib/screens/settings/sub_settings/settings_theme.dart:811-836 \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/screens/settings/sub_settings/settings_theme.dart:774\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/screens/settings/sub_settings/settings_theme.dart"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48e82c90431ffdad2f8bd13e06c3114e3be6474b93222b80286835ca2dd293a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): lib/widgets/anime/visuals/visuals_popup.dart:379-404 | lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:228-251 \u2014 before extracting anything, compare \u0060lib/widgets/anime/visuals/visuals_popup.dart\u0060 and \u0060lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:228\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/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12f61c50c2996873e88fb7621e51840b91729d9eb46af1007cdf568728df602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): lib/widgets/non_widgets/reasons_sheet.dart:320-344 | lib/widgets/non_widgets/recommend_sheet.dart:465-489 | lib/widgets/non_widgets/recommend_sheet.dart:512-536 \u2014 before extracting anything, compare \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 and \u0060lib/widgets/non_widgets/recommend_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"448a7cf1984a3aa59971d8e1aeeb8deb5f83ca719a407f4053b78d60ff122611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/screens/anime/widgets/character_staff_sheet.dart:1280-1304 | lib/screens/anime/widgets/character_staff_sheet.dart:1310-1334 \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/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac80ac7e95a991eacae7d0798f25745716178c66f41005abbafbfaebdc92731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:627-651 | lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:51-75 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a0f287b9610ba3340a8705fb6b3f96c82a0ab2271db61ec006e4656208c4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:1517-1541 | lib/screens/anime/widgets/comments/comments_section.dart:1870-1894 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/anime/widgets/comments/comments_section.dart:1869\u0060 calls \u0060Spacer\u0060 and \u0060lib/screens/anime/widgets/comments/comments_section.dart:1516\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d42c819ff3616678773d114af2d651f6e4c1dd02c3286c3df37b0c68ba116a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:1543-1567 | lib/screens/anime/widgets/comments/comments_section.dart:1922-1946 \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/screens/anime/widgets/comments/comments_section.dart:1543\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/screens/anime/widgets/comments/comments_section.dart:1542\u0060 calls \u0060Spacer\u0060 and \u0060lib/screens/anime/widgets/comments/comments_section.dart:1921\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"edab363c76ead601bf014bce0cc15879cffde1f191e4b29d3f6907e5bd0b5a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/screens/anime/widgets/list_editor.dart:622-646 | lib/screens/anime/widgets/list_editor.dart:741-765 \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/screens/anime/widgets/list_editor.dart:622\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/screens/anime/widgets/list_editor.dart"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8a85e9776aaa7d43defb326553ebe6394e843d5c65c2b31776b0eed43e8837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/screens/library/online/anime_list.dart:407-431 | lib/screens/library/online/manga_list.dart:391-415 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:407\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/screens/library/online/anime_list.dart"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd4018d950763f1e3d9932060880e398536b975dea23b19de17f2ea439e7f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/screens/library/widgets/unified_history_card.dart:150-174 | lib/screens/library/widgets/unified_history_card.dart:419-443 \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/screens/library/widgets/unified_history_card.dart:150\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/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c2761fb26d4bd87a7f4e2a697d1d93ac2cfe0bc6641399d6af83b476dde16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): lib/screens/manga/widgets/reader/continuous_reader.dart:221-244 | lib/screens/manga/widgets/reader/continuous_reader.dart:246-270 \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/screens/manga/widgets/reader/continuous_reader.dart:246\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/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d65e923f9e9cea37c017b8de7aa0dbd29c5c394babddac51f69f495551c248a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_controls.dart:299-323 | lib/screens/settings/sub_settings/settings_reader.dart:447-471 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart:299\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a60cd2584456329a329430cab0ad75fd3cff801fec538528f21cd7f5be32b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:178-202 | lib/screens/settings/sub_settings/settings_reader.dart:900-924 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:178\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/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68304d93a270d99efee54f5f0f5cb9f78deb2271ba4ccfb779e4e9c6f9c4a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/utils/liquid.dart:623-647 | lib/utils/liquid.dart:655-679 \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/utils/liquid.dart:623\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/utils/liquid.dart:654\u0060 calls \u0060_loadMeshImage\u0060 and \u0060lib/utils/liquid.dart:622\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/utils/liquid.dart"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cdeca665a315581cd034f9124fe0a745efa19945d8fa879093322b5f232153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/widgets/non_widgets/recommend_sheet.dart:438-462 | lib/widgets/non_widgets/recommend_sheet.dart:644-668 \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/widgets/non_widgets/recommend_sheet.dart:438\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/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3b021c0862c09bb2072276acf33d8ad13087f56b3ac0ac641048d3803a8553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 9): lib/controllers/services/anilist/anilist_auth.dart:1522-1545 | lib/controllers/services/anilist/anilist_auth.dart:1558-1578 | lib/controllers/services/anilist/anilist_auth.dart:1591-1611 | lib/controllers/services/anilist/anilist_auth.dart:1624-1644 | lib/controllers/services/anilist/anilist_auth.dart:1657-1677 | lib/controllers/services/anilist/anilist_auth.dart:1752-1773 | lib/controllers/services/anilist/anilist_auth.dart:1790-1813 | lib/controllers/services/anilist/anilist_auth.dart:1832-1853 | lib/controllers/services/anilist/anilist_auth.dart:1914-1935 \u2014 all 9 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/controllers/services/anilist/anilist_auth.dart:1522\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea949ea163d0dae175b4c828a5d09bbe46ae255a71b1b123a06f77be72c6b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): lib/controllers/discord/discord_rpc.dart:627-650 | lib/controllers/discord/discord_rpc.dart:738-761 | lib/controllers/discord/discord_rpc.dart:867-890 \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/controllers/discord/discord_rpc.dart:627\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"d443b084d5a41390c88319d8f7e87faf843c7db0636163eba7d060315b6dbe6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): lib/controllers/discord/discord_rpc.dart:664-687 | lib/controllers/discord/discord_rpc.dart:769-792 | lib/controllers/discord/discord_rpc.dart:898-921 \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/controllers/discord/discord_rpc.dart:664\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a31e12d36503334cb65a84eab9a834eed04e90ada2db9f3f4d4e330bd7249f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): lib/screens/anime/widgets/comments/comments_section.dart:2371-2394 | lib/screens/anime/widgets/comments/comments_section.dart:2460-2482 | lib/screens/anime/widgets/comments/comments_section.dart:2544-2567 \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/screens/anime/widgets/comments/comments_section.dart:2371\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cfcc373c248f9b9faf5273a2bbea359c8421c2b0395a3188d0236838099f6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): lib/screens/library/online/anime_list.dart:746-768 | lib/screens/library/online/manga_list.dart:730-753 | lib/screens/profile/widgets/user_media_list_page.dart:627-649 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:746\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/screens/library/online/anime_list.dart"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67b4ac118a99367feee6d30acfcb0ac87d1192e4a7161b2a85818b26301deac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 3): lib/screens/library/widgets/library_deps.dart:160-183 | lib/widgets/common/custom_tiles.dart:149-168 | lib/widgets/common/custom_tiles.dart:342-365 \u2014 before extracting anything, compare \u0060lib/screens/library/widgets/library_deps.dart\u0060 and \u0060lib/widgets/common/custom_tiles.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/library/widgets/library_deps.dart:160\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/screens/library/widgets/library_deps.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e576daf29fd061df787f0ba5bcbe71b23aab9a55e79a3806224cd0bb6985eb01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): lib/screens/settings/sub_settings/settings_theme.dart:765-788 | lib/screens/settings/sub_settings/settings_theme.dart:802-825 | lib/screens/settings/sub_settings/settings_theme.dart:840-863 \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/screens/settings/sub_settings/settings_theme.dart:765\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/screens/settings/sub_settings/settings_theme.dart"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec71cf544c696164204e519d1788446afffac312e7058ba923c88be137d41ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 3): lib/widgets/common/media_mode_selector.dart:183-204 | lib/widgets/common/media_mode_selector.dart:338-361 | lib/widgets/common/media_mode_selector.dart:453-476 \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/widgets/common/media_mode_selector.dart:183\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/widgets/common/media_mode_selector.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17d39d0822cb003d6a76b3449ddd76c365044f128fb640fb62e4bc779c99778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/models/Media/media.dart:1068-1091 | lib/models/Media/media.dart:1098-1121 \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/models/Media/media.dart:1068\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/models/Media/media.dart"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc97b1d66dad9d27d14b0f97a98a2df94aed1a077316e0036f57d69f0435b96d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/screens/anime/watch/controller/player_controller.dart:1155-1178 | lib/screens/anime/watch/controller/player_controller.dart:2062-2085 \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/screens/anime/watch/controller/player_controller.dart:1155\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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8267915330dc36cbf2795d169c0d948a32d1ea6db71e00733bb90b842c31359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:181-204 | lib/widgets/common/anymex_slider_m3.dart:186-209 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart\u0060 and \u0060lib/widgets/common/anymex_slider_m3.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"47aedacd8c58c4c0149a2bd761049fd64fcac47858d7f0ccc9ca1716b3f8f4ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:548-571 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:360-383 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:548\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"44677651c3143dd84fdb54115586df82a340423cfae4fddf800fcd1b3687bc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:213-236 | lib/widgets/watchium/watchium_create_dialog.dart:699-722 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:213\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b8f97fb3ad5984da7e7eb51f4abb9f1b9ba6fba995976710660001d796ecf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:739-761 | lib/screens/anime/widgets/comments/comments_section.dart:1669-1692 \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/screens/anime/widgets/comments/comments_section.dart:739\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/screens/anime/widgets/comments/comments_section.dart:738\u0060 calls \u0060opaque\u0060, \u0060OutlineInputBorder\u0060 and \u0060lib/screens/anime/widgets/comments/comments_section.dart:1669\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"6649f807b5edb5ce55225ef466a2d75a84ceda4702c07cd3a6b1334ebfb37b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:1954-1977 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:437-460 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 and \u0060lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/comments/comments_section.dart:1954\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c3d2f15a93bbaae276e5d9a787fa6fe15838c88a1c85c72b21f7841ee42dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:1523-1546 | lib/screens/manga/widgets/chapter_list_builder.dart:1615-1638 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1523\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab5c4c25bca145bc8645f88592448861af645ef8815261d7ba0cf4953c2f9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:1430-1453 | lib/screens/downloads/controller/download_controller.dart:2700-2723 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99b3235519784c12d5138c33da97e47f24712f0da51b86418aebe2ae584afd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/screens/profile/profile_page.dart:157-180 | lib/screens/profile/user_profile_page.dart:251-274 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:157\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/screens/profile/profile_page.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4959e210ce7f0ab35dac3b8261ed7749c9516714b978f54ed75a1e81a0f4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:229-250 | lib/screens/profile/widgets/user_profile_header.dart:207-230 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_header.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/user_profile_header.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_header.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a355f33f7e798c01e2c3d3e83f3106ca4b709d92c1d31f780048cb22085424db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_shaders.dart:355-378 | lib/screens/settings/sub_settings/player/settings_player_shaders.dart:498-521 \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/screens/settings/sub_settings/player/settings_player_shaders.dart:355\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/screens/settings/sub_settings/player/settings_player_shaders.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c659d5112aa405face8b390390e258ae33c2a024a0a484f3f92248c661a26e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:123-146 | lib/screens/settings/sub_settings/settings_reader.dart:305-328 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:123\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/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfe8038c7620afb4a2ef416f8035ede3602621b4fa785e52a64de5cc661c607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/utils/compatibility/matchmaker.dart:738-764 | lib/utils/compatibility/matchmaker.dart:997-1023 \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/utils/compatibility/matchmaker.dart:738\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/compatibility/matchmaker.dart"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a457494fed0811afaaecf9143bee20836f640d76b4a05810472496656c5530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): lib/screens/local_source/local_source_view.dart:499-521 | lib/screens/local_source/local_source_view.dart:582-604 | lib/screens/local_source/local_source_view.dart:650-672 | lib/screens/local_source/local_source_view.dart:716-738 \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/screens/local_source/local_source_view.dart:499\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/screens/local_source/local_source_view.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2203c5d8b84d23c5217753b28a12b661804109242ddf5b65d0059cc1377fb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): lib/screens/anime/widgets/anime_stats.dart:305-327 | lib/screens/anime/widgets/anime_stats.dart:368-390 | lib/screens/anime/widgets/anime_stats.dart:431-453 \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/screens/anime/widgets/anime_stats.dart:305\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"393d6401c06f4774cdf92a4fa6b5cef420196efde4d328477e23d5536862fd79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): lib/screens/library/widgets/manga_card.dart:83-105 | lib/screens/library/widgets/unified_history_card.dart:46-68 | lib/widgets/media_items/media_item.dart:281-303 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/library/widgets/manga_card.dart:83\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/screens/library/widgets/manga_card.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8dc6b4db618b1a5a39e0740985890c13eb21828498b59fd1ffda211b95eef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 3): lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:74-93 | lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:1340-1362 | lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:1403-1425 \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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:74\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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f57e76c390b0a3bdddbf753291d67588b3e477e44dc25d67798b044a64c15c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart:152-181 | lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart:302-331 \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/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart:152\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/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7b9c851a2c73750990cb0a10d7682955173fbf8a209d76793e7e9d3c98feb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): lib/screens/anime/details/media_details_page.dart:934-955 | lib/screens/anime/widgets/comments/comments_section.dart:462-484 \u2014 before extracting anything, compare \u0060lib/screens/anime/details/media_details_page.dart\u0060 and \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/details/media_details_page.dart:934\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edda4e29a2184d2ecae62de191284b23ae887274552fbf26ff43a7137a44a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/downloads/widgets/downloaded_media_view.dart:1061-1083 | lib/screens/downloads/widgets/downloaded_media_view.dart:1257-1279 \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/screens/downloads/widgets/downloaded_media_view.dart:1061\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"c607b3398a61e1ac8ccb16c8d26d1910a03c7a701df628fcc1faf9572e133dea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/manga/widgets/reader/auto_scroll_menu.dart:122-144 | lib/screens/novel/reader/novel_reader.dart:187-209 \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/screens/manga/widgets/reader/auto_scroll_menu.dart:122\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/screens/manga/widgets/reader/auto_scroll_menu.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b83817a02ac5cc260abe8adc6d8fa900039ca89df77aa82b033a78b81889ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/manga/widgets/reader/top_controls.dart:39-61 | lib/screens/novel/reader/widgets/top_controls.dart:28-50 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/top_controls.dart\u0060 and \u0060lib/screens/novel/reader/widgets/top_controls.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/manga/widgets/reader/top_controls.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/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b789004591fe58bf89f5bf87f1129257fa3c4c39152f4f365b4c0ba0f9bc80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/profile/activity_details_page.dart:665-687 | lib/screens/profile/widgets/social_tab.dart:338-360 \u2014 before extracting anything, compare \u0060lib/screens/profile/activity_details_page.dart\u0060 and \u0060lib/screens/profile/widgets/social_tab.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/activity_details_page.dart:665\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/screens/profile/activity_details_page.dart"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e1a63f4b00084fc0868e2b26d0722d3037c84aaad3e3ddaebf383bbda2c6ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:314-336 | lib/screens/profile/widgets/profile_header.dart:974-994 \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/screens/profile/widgets/profile_header.dart:314\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9fb8f402aa1063a5aaa5fb35c9b0647f268f405e249d13e000d166be04c75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/search/search_view.dart:975-997 | lib/screens/search/search_view.dart:1041-1063 \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/screens/search/search_view.dart:975\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/screens/search/search_view.dart"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"454983ffcf4ea3cabefec8dcbe6a28fe5241a53ea5ba1598463f4c83f8e15462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/search/widgets/extension_filter_sheet.dart:273-295 | lib/screens/search/widgets/extension_filter_sheet.dart:767-789 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2c2b19d141f9c64b6655f98b2c7915e108e25131472df16a4d566abad24b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:516-538 | lib/screens/settings/sub_settings/settings_reader.dart:1411-1433 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:516\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/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7298416fff7092e26720e61b3dbd37d614d8e6972c4200ce64c58900fd975c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/settings/sub_settings/settings_network.dart:338-360 | lib/screens/settings/sub_settings/settings_network.dart:593-615 \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/screens/settings/sub_settings/settings_network.dart:338\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6179c450613413ea13372c3287666e355995afdfafc64e0be5d07fd5b62b96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): lib/widgets/common/media_mode_selector.dart:115-136 | lib/widgets/common/media_mode_selector.dart:237-259 \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/widgets/common/media_mode_selector.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2478f1f040dee442cb6d1a5fa69ebf2bc65d30ae11f8bee95ad567a68afa0b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/widgets/media_items/media_peek_popup.dart:457-479 | lib/widgets/non_widgets/reasons_sheet.dart:431-453 \u2014 before extracting anything, compare \u0060lib/widgets/media_items/media_peek_popup.dart\u0060 and \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"b157de73831b56886cec374698712ad89dc12bba5fc1a50e8531b68bc41ae90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): lib/screens/anime/widgets/anime_stats.dart:314-335 | lib/screens/anime/widgets/anime_stats.dart:377-398 | lib/screens/anime/widgets/anime_stats.dart:440-461 | lib/screens/manga/widgets/manga_stats.dart:429-449 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:314\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"955d715be168feb2b270b3e2bb06ad91610bbf64da040369f848afd82fbe5caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): lib/controllers/offline/offline_storage_controller.dart:659-680 | lib/controllers/offline/offline_storage_controller.dart:723-744 | lib/controllers/offline/offline_storage_controller.dart:787-808 \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/controllers/offline/offline_storage_controller.dart:659\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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b5fb51f1905578c559718e631646ae4e8c57ef8ea46e6be59beab2a5817457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 3): lib/screens/downloads/widgets/downloaded_media_view.dart:620-639 | lib/screens/downloads/widgets/downloaded_media_view.dart:1218-1239 | lib/screens/extensions/ExtensionItem.dart:253-272 \u2014 before extracting anything, compare \u0060lib/screens/downloads/widgets/downloaded_media_view.dart\u0060 and \u0060lib/screens/extensions/ExtensionItem.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/widgets/downloaded_media_view.dart:620\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a0b2287bce6c2b5087161a953723a49612c8777662eb472bb8cf007ade2943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 3): lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:51-70 | lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:1316-1337 | lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:1379-1400 \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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:51\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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d218b3576530a0a5e4a46b22081a0aad962e429b065de137193bbfd7119f336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/controllers/services/backup_restore/backup_restore_service.dart:1099-1120 | lib/controllers/services/backup_restore/backup_restore_service.dart:1125-1146 \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/controllers/services/backup_restore/backup_restore_service.dart:1099\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"4444159ee7010cf93becc3e2c3cd463baf71e8ac0118bf332ca76a069d4d9b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/controllers/services/community_service.dart:227-248 | lib/controllers/services/community_service.dart:311-332 \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/controllers/services/community_service.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c73b36c87c4af905e353a49dbd38aeb837e712ad512d468c34b79c9e8900e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:85-106 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:154-174 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:85\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060tooltip\u0060 to \u0060\u0027Player Settings\u0027\u0060 in one and \u0060\u0027Settings\u0027\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69bcee37b12cd44fb8c69f99604ad239f310f7b52a57eee5eee433dce4210ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/screens/anime/watch/controls/top_controls.dart:114-135 | lib/screens/anime/watch/controls/top_controls.dart:254-275 \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/screens/anime/watch/controls/top_controls.dart:114\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/screens/anime/watch/controls/top_controls.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2533b48ea7a113d5a68f2d6ede3a6fb9d21cb24da91ef6525df6d8761be8ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/progress_slider.dart:364-385 | lib/screens/anime/watch/controls/widgets/progress_slider.dart:484-505 \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/screens/anime/watch/controls/widgets/progress_slider.dart:364\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/screens/anime/watch/controls/widgets/progress_slider.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3756316cc74d87a9938909661090cc62b12e0c9e5a776534aaef97b82f921e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:273-294 | lib/widgets/watchium/watchium_create_dialog.dart:754-773 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:273\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ffd97bcc0ea05db7535857c7462f975d132f948287ec74ceb4bc81b2d3920e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/screens/anime/watch/watch_view.dart:259-280 | lib/screens/local_source/player/offline_player.dart:183-204 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/watch_view.dart\u0060 and \u0060lib/screens/local_source/player/offline_player.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/watch_view.dart:259\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/screens/anime/watch/watch_view.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49ed115a937d2811fbaf82e9d5b17e70b914bb182905f42e4f8747ba4e3f5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:366-387 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:689-710 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 and \u0060lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"76867063483b58b5a10eb83d89c8b62c346bf0db595e30a2e2cfe5879a6bac49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:1415-1435 | lib/screens/anime/widgets/comments/comments_section.dart:1763-1784 \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/screens/anime/widgets/comments/comments_section.dart:1415\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cec421ba8667b8786b6ec8b70a3d7b2a35312e8fd11e7801af2d034b1ca8bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:1302-1323 | lib/screens/manga/widgets/chapter_list_builder.dart:1420-1441 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1302\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc196e55785bae3c751f11b3cd1366b6eafee1baf8cdaa3b601d978a9b868c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): lib/screens/downloads/widgets/download_server_selector.dart:238-259 | lib/widgets/watchium/watchium_server_sheet.dart:72-92 \u2014 before extracting anything, compare \u0060lib/screens/downloads/widgets/download_server_selector.dart\u0060 and \u0060lib/widgets/watchium/watchium_server_sheet.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/widgets/download_server_selector.dart:238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1746132849d8eeb1a86d6a4c7906ffed154081969538268160c89ae9ea0a7644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/screens/library/editor/history_editor.dart:238-259 | lib/screens/library/editor/list_editor.dart:142-163 \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/screens/library/editor/history_editor.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e14fd07d4b97d456839acaec24760f747a182c3f97451b47c2074d2b0d8d02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/screens/local_source/local_source_view.dart:405-426 | lib/screens/local_source/local_source_view.dart:429-450 \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/screens/local_source/local_source_view.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b9f18f416f97fcbd5f1d522c7b6d14438106287c5139f439c122ac631a7777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/screens/manga/widgets/reader/reader_color_overlay.dart:43-64 | lib/screens/manga/widgets/reader/reader_view.dart:243-264 \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/screens/manga/widgets/reader/reader_color_overlay.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2aa892c481375ebc0fe1a1ad96b7d6ed0498d27a244d5ef2c12638ce250534f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:140-161 | lib/screens/profile/widgets/profile_header.dart:849-868 \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/screens/profile/widgets/profile_header.dart:140\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f842287898cc348c61aaab10ae2469fd50d8bc353e6d8ec8b081b5dc233299ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:353-374 | lib/screens/profile/widgets/profile_header.dart:1005-1025 \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/screens/profile/widgets/profile_header.dart:353\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac5e9a8c52767113c283211aac03bf6244b1f5166dbb5917058ee2f768294d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): lib/screens/settings/sub_settings/contributors/contributors.dart:672-692 | lib/screens/settings/sub_settings/contributors/contributors.dart:820-841 \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/screens/settings/sub_settings/contributors/contributors.dart:672\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/screens/settings/sub_settings/contributors/contributors.dart"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cae7e5b43ed86d2357df0f065c69a1a527128b79045263c2f2782ea4284674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_animated_logo.dart:269-289 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:308-329 \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/widgets/anymex_widgets/anymex_animated_logo.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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c0b119b03ac58f8c73fcbc481ead13915d7d9a98d091265c107190693c5e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): lib/widgets/common/navbar/styles/classic_navbar.dart:323-344 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:374-392 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 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/widgets/common/navbar/styles/classic_navbar.dart:323\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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28366569812208a400700b73ab372bfbe7a8a0e42037fb90995a82b28854d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): lib/screens/anime/details/media_details_page.dart:539-559 | lib/screens/profile/profile_page.dart:525-545 | lib/screens/profile/user_profile_page.dart:592-612 | lib/screens/settings/sub_settings/settings_ui_details.dart:673-693 \u2014 before extracting anything, compare \u0060lib/screens/anime/details/media_details_page.dart\u0060 and \u0060lib/screens/profile/profile_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/media_details_page.dart"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d47bdc67e799d8f4b927c85140aa2922698777e23eabecdb17810a39ce15999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): lib/controllers/discord/discord_rpc.dart:724-744 | lib/controllers/discord/discord_rpc.dart:853-873 | lib/controllers/discord/discord_rpc.dart:972-992 \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/controllers/discord/discord_rpc.dart:724\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"353fab882442b1de13cf95eaa148822fcb2fc48af673a0ae9101b3156a6b8cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 3): lib/screens/anime/watch/controls/top_controls.dart:174-193 | lib/screens/anime/watch/controls/top_controls.dart:313-333 | lib/screens/anime/watch/controls/top_controls.dart:522-540 \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/screens/anime/watch/controls/top_controls.dart:174\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/screens/anime/watch/controls/top_controls.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb93ddeeb6720eb71a181d1d8cbe7e1cf8c2a8f00454c32b6006a2b553b748da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 3): lib/screens/anime/widgets/episode_list_builder.dart:551-571 | lib/screens/anime/widgets/episode_list_builder.dart:589-607 | lib/screens/anime/widgets/episode_list_builder.dart:726-744 \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/screens/anime/widgets/episode_list_builder.dart:551\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8ae02774c1696919bcb8da4c7565599501fd27f3af1dc9f48e8d141f7bc69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 3): lib/screens/library/online/anime_list.dart:292-309 | lib/screens/library/online/manga_list.dart:271-288 | lib/screens/profile/widgets/user_media_list_page.dart:237-257 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:292\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/screens/library/online/anime_list.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f848c00ba17c7d987d369115eec2287a58cb6ca061fb02950599403ba0e009fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 3): lib/screens/profile/activity_details_page.dart:620-637 | lib/screens/profile/widgets/social_tab.dart:274-294 | lib/widgets/non_widgets/activity_card.dart:369-386 \u2014 before extracting anything, compare \u0060lib/screens/profile/activity_details_page.dart\u0060 and \u0060lib/screens/profile/widgets/social_tab.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/activity_details_page.dart:620\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/screens/profile/activity_details_page.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb95f6707b6df8bd24c2a614ffc490bf645ac82377b563197b359f727297e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): lib/screens/profile/widgets/decoration_closet_sheet.dart:719-739 | lib/screens/profile/widgets/decoration_closet_sheet.dart:850-870 | lib/screens/profile/widgets/decoration_closet_sheet.dart:1183-1203 \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/screens/profile/widgets/decoration_closet_sheet.dart:719\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/screens/profile/widgets/decoration_closet_sheet.dart:718\u0060 calls \u0060only\u0060 and \u0060lib/screens/profile/widgets/decoration_closet_sheet.dart:849\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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"202614f027383bbdced7bf576cb259dce5c42b81e3c2d4c295679d763b37b8f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:370-390 | lib/controllers/services/anilist/anilist_data.dart:447-467 \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/controllers/services/anilist/anilist_data.dart:370\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"270d1861e0445f68bacaab10ac313f2d5fc9e400d0a8d71a161e02fe598af04b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:1295-1315 | lib/controllers/services/anilist/anilist_data.dart:1346-1366 \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/controllers/services/anilist/anilist_data.dart:1295\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b279a255e16e6c155a6c18d1bd7cae1e3d17872941c5f58f701c7d823aaa8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lib/screens/anime/details/media_details_page.dart:1276-1296 | lib/widgets/common/home_continue_button.dart:151-170 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/media_details_page.dart"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a48813e6ff4c9018706312ef38627ac0048fc6f660d98d882d36e292ff81e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/anime/watch/controls/bottom_controls.dart:25-45 | lib/screens/anime/watch/controls/bottom_controls.dart:103-123 \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/screens/anime/watch/controls/bottom_controls.dart:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed2994ab767201be3f2af1dcb5c92905571945efe21bdca34fb1dc5eac608e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lib/screens/anime/watch/controls/top_controls.dart:383-403 | lib/screens/anime/watch/controls/top_controls.dart:462-481 \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/screens/anime/watch/controls/top_controls.dart:383\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/screens/anime/watch/controls/top_controls.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15858e452ba2e8b409b6acb6bc32f7bcacc6d0bff0dcb30c474378a0d23ac72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:356-376 | lib/screens/manga/widgets/manga_stats.dart:407-427 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:356\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcebe8ea118d6a23bbbd93917e62419a95024ecab1eaafe633ecbb180a77744f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:2487-2507 | lib/screens/anime/widgets/comments/comments_section.dart:2572-2592 \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/screens/anime/widgets/comments/comments_section.dart:2487\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2487}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c8c791c4652c94d4310b38f9b3f751e4314c89bda06a19826388436f251749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201321 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:3169-3189 | lib/screens/settings/sub_settings/settings_moderation.dart:1794-1806 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_moderation.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e73cec526784c2ef74bcbeb4e359f116eb6e670093be0b54a3531534150fcf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:1286-1306 | lib/screens/anime/widgets/episode_list_builder.dart:1324-1344 \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/screens/anime/widgets/episode_list_builder.dart:1286\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f164282a1b19c24fd838c08e8bd04df558a85070f4ea4fb8409d58da00b9bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:1344-1364 | lib/screens/manga/widgets/chapter_list_builder.dart:1454-1474 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1344\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"407ab61c110025ed7f8749c070010208edbcda8b73ac3f90eebd8999bcc388b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/community/community_recommendations_page.dart:131-151 | lib/widgets/media_items/media_peek_popup.dart:205-225 \u2014 before extracting anything, compare \u0060lib/screens/community/community_recommendations_page.dart\u0060 and \u0060lib/widgets/media_items/media_peek_popup.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \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/screens/community/community_recommendations_page.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"101266e806241b4f2ad858bcb232aac29883520f32d8bc81f819e100870573d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/library/editor/history_editor.dart:339-359 | lib/screens/library/editor/history_editor.dart:439-459 \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/screens/library/editor/history_editor.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/editor/history_editor.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d30010b82b08e38b35a4f1a782a0320434e725f809cd50be35fa350fb2a72df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/library/online/anime_list.dart:237-257 | lib/screens/library/online/manga_list.dart:215-235 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ea5b80ea9965766eddadd9ee0ff1d605ee1206e5173701473e52cbd64ad483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/notifications/notification_screen.dart:452-472 | lib/screens/notifications/notification_screen.dart:628-648 \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/screens/notifications/notification_screen.dart:452\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/screens/notifications/notification_screen.dart"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d843d71508c065df2f44793fb2188702171e2a4e9153b031bd9a306b8b5b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/search/search_view.dart:445-465 | lib/screens/search/search_view.dart:475-495 \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/screens/search/search_view.dart:445\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/screens/search/search_view.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"de35197b6e77c9afebeeb4642f1a7dc7414f82d82654919b6d4b2c57191c25d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:107-127 | lib/screens/settings/sub_settings/settings_reader.dart:191-211 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6ed5bf5cb6df68e39131dee7410bf7cdcc3aed695be936e4d12c4516244e8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/settings/sub_settings/settings_network.dart:490-510 | lib/screens/settings/sub_settings/settings_network.dart:812-832 \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/screens/settings/sub_settings/settings_network.dart:490\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"93039fb68b1eb1581767b80f479beed1bd4422e381ccfa882089e229081a50b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/utils/color_profiler.dart:709-729 | lib/utils/color_profiler.dart:967-987 \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/utils/color_profiler.dart:709\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/utils/color_profiler.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10dc757f136852342bc7567514f0f3cac2ba0b461acef4ea9bd6d1dfc44162a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_tile.dart:360-380 | lib/widgets/anymex_widgets/anymex_tile.dart:432-452 \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/widgets/anymex_widgets/anymex_tile.dart:360\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/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ba2ccbf7bf67ce31b0f771c4c250864db7fe689d5da4248e3fbefa23b77320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/widgets/common/baked_blur_image.dart:265-285 | lib/widgets/common/baked_blur_image.dart:322-342 \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/widgets/common/baked_blur_image.dart:265\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/widgets/common/baked_blur_image.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db2aaec614b93306c65574c7627a566e873d5d7e2944dab4b5e007201c8a6e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): lib/widgets/header/header.dart:794-812 | lib/widgets/header/header.dart:840-860 \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/widgets/header/header.dart:794\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/widgets/header/header.dart"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cf9b71e8fc7cc763f2441ad1f4bd38b326f7e213e2de0ab2091fce227c6fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): lib/models/notification/notification_item.dart:107-126 | lib/screens/anime/misc/list_exporter.dart:216-235 | lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:1570-1589 | lib/screens/search/widgets/search_widgets.dart:36-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/notification/notification_item.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"03201328ee88cb702d028d5b9fe1bac56a70bbd55fa75f243544202252cb411f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 4): lib/screens/downloads/controller/download_controller.dart:2612-2631 | lib/screens/downloads/controller/download_controller.dart:2659-2678 | lib/screens/downloads/controller/download_controller.dart:2758-2776 | lib/screens/downloads/controller/download_controller.dart:2803-2821 \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/screens/downloads/controller/download_controller.dart:2612\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2612}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6195835ef2bce16ac56416b099e9242edeb5653f1af8aee3bbbfe45a297c763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 4): lib/screens/library/editor/list_editor.dart:548-567 | lib/screens/local_source/local_source_view.dart:831-849 | lib/screens/local_source/local_source_view.dart:884-902 | lib/screens/local_source/local_source_view.dart:936-954 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/library/editor/list_editor.dart:548\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/screens/library/editor/list_editor.dart"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ae251db81ece1e5366fbbb02cab367835c93acf2c6f0ed870703e106c52047"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 4): lib/screens/settings/sub_settings/player/settings_player_shaders.dart:354-370 | lib/screens/settings/sub_settings/player/settings_player_shaders.dart:418-434 | lib/screens/settings/sub_settings/player/settings_player_shaders.dart:497-513 | lib/screens/settings/sub_settings/player/settings_player_shaders.dart:562-581 \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/screens/settings/sub_settings/player/settings_player_shaders.dart:354\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/screens/settings/sub_settings/player/settings_player_shaders.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1470b03458f4609a0f2fec2ba5b13bf3ae40bf6b25af0cfd7d0cc14bee41e8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): lib/utils/color_profiler.dart:745-764 | lib/utils/color_profiler.dart:1002-1021 | lib/utils/color_profiler.dart:1165-1184 | lib/utils/color_profiler.dart:1356-1375 \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/utils/color_profiler.dart:745\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/utils/color_profiler.dart"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab93454aefde3b5f55f02940e15e01e795c78d92b516ef425f004e2e5477784a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): lib/database/comments/comments_db.dart:243-262 | lib/database/comments/comments_db.dart:420-439 | lib/database/comments/comments_db.dart:459-478 \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/database/comments/comments_db.dart:243\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/database/comments/comments_db.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca2019c83cb18bcd25837a8991e26b82784dcb2f4de1e6cc8974116ae4496d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): lib/screens/anime/watch/controls/top_controls.dart:147-166 | lib/screens/anime/watch/controls/top_controls.dart:287-306 | lib/screens/anime/watch/controls/top_controls.dart:496-514 \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/screens/anime/watch/controls/top_controls.dart:147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/top_controls.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddb23527a6dac0d45ce985c53a886b73e0ab69575d3ae8eefac9cf4a83a9545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): lib/services/commentum_service.dart:667-686 | lib/services/commentum_service.dart:714-733 | lib/services/commentum_service.dart:923-942 \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/services/commentum_service.dart:667\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/services/commentum_service.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb2ce781f1a340b8eef7cc23bfa8135d2493e1bfb32814289d66694f054a11e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): lib/widgets/non_widgets/reasons_sheet.dart:296-315 | lib/widgets/non_widgets/recommend_sheet.dart:442-461 | lib/widgets/non_widgets/recommend_sheet.dart:648-667 \u2014 before extracting anything, compare \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 and \u0060lib/widgets/non_widgets/recommend_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 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/widgets/non_widgets/reasons_sheet.dart:296\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/widgets/non_widgets/recommend_sheet.dart:441\u0060 calls \u0060_runCheck\u0060 and \u0060lib/widgets/non_widgets/reasons_sheet.dart:295\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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd7e106417259614f45f159c3d8a541f5b964d8176c2a21341cdff4798f039"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/controllers/services/widgets/widgets_builders.dart:375-394 | lib/screens/community/community_recommendations_page.dart:864-883 \u2014 before extracting anything, compare \u0060lib/controllers/services/widgets/widgets_builders.dart\u0060 and \u0060lib/screens/community/community_recommendations_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/widgets/widgets_builders.dart:375\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/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"52939aea0100c4fafae77fc70bc6f0de17ac99acb3b5e1d561eb5706bbb3b0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:645-664 | lib/screens/manga/widgets/manga_stats.dart:348-367 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:645\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1191d77e5dbe02c34192d72f9d69953a3a334ff29deefdb2821b7cae02c7bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:1981-2000 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:463-482 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 and \u0060lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/comments/comments_section.dart:1981\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc631acb5dcafd1281cd8028b6af64f1e069c081531f5be03258f5e8180fea28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:2217-2236 | lib/screens/anime/widgets/comments/comments_section.dart:2756-2775 \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/screens/anime/widgets/comments/comments_section.dart:2217\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"94598fe71300922dc712f921d5dcba36db97d52acb12347a0de40f7c3df8ae32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:2679-2698 | lib/screens/anime/widgets/comments/comments_section.dart:2896-2915 \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/screens/anime/widgets/comments/comments_section.dart:2679\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"3310b1dfa8d705986d22bfb01d7dedf46a74abde05d7aa668f24dc0bd1c4bb6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/anime/widgets/voice_actor.dart:61-80 | lib/screens/anime/widgets/voice_actor.dart:327-346 \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/screens/anime/widgets/voice_actor.dart:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/voice_actor.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9d467645fa820f8695973176110350781f14ac04804f3792ccf6dc0d6daf42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): lib/screens/library/editor/list_editor.dart:251-270 | lib/screens/library/editor/list_editor.dart:364-380 \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/screens/library/editor/list_editor.dart:251\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/screens/library/editor/list_editor.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aab1e0c456901def7b58fef3a4c7a25c87b7cbcca1b001da50508856fc0ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/library/widgets/unified_history_card.dart:86-105 | lib/screens/library/widgets/unified_history_card.dart:357-376 \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/screens/library/widgets/unified_history_card.dart:86\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/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6157c448def974958d5dbe2b0d4b9e78d29ebea6739e48d3997f5a81140851f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:1009-1024 | lib/screens/profile/compatibility/compatibility_result_page.dart:1858-1877 \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/screens/profile/compatibility/compatibility_result_page.dart:1858\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e52f7ea4ac6d16dda6ad85feb10c36e39645c6ac0cb81146162de891d7f3569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/profile/widgets/decoration_closet_sheet.dart:665-684 | lib/screens/profile/widgets/decoration_closet_sheet.dart:1129-1148 \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/screens/profile/widgets/decoration_closet_sheet.dart:665\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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fb458430ddf7ec69e4a8c60b7b03016c40c8104f93545d116de83482692ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/search/widgets/search_widgets.dart:1569-1588 | lib/screens/search/widgets/search_widgets.dart:1643-1662 \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/screens/search/widgets/search_widgets.dart:1569\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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6356d75dcb19829ea87cff612bcd761ae1713b2ee2df7f8353e0e0a258fe2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:66-85 | lib/screens/settings/sub_settings/settings_reader.dart:150-169 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2ba16ad9a019b5189d9b01ad189e18b379dbdac4cd063a6e8c7f0ab26f9513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:68-87 | lib/screens/settings/sub_settings/settings_reader.dart:245-264 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2f9add4e80909d952cabe0cccf652551bae1563e97602418f19925c1be6aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/settings/sub_settings/settings_network.dart:421-440 | lib/screens/settings/sub_settings/settings_network.dart:734-753 \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/screens/settings/sub_settings/settings_network.dart:421\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"be69ef10ae8a345b73ca6c2b2fd4035447a78c8f493354141af2d4009dd2f10f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/settings/sub_settings/widgets/account_tile.dart:72-91 | lib/screens/settings/sub_settings/widgets/account_tile.dart:131-150 \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/screens/settings/sub_settings/widgets/account_tile.dart:72\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/screens/settings/sub_settings/widgets/account_tile.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3db5a5fbf6cbb9e5e5b8ceb1956741b88e2e0c16b2df031a245c4d4b77338e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/services/commentum_service.dart:2014-2033 | lib/services/commentum_service.dart:2095-2114 \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/services/commentum_service.dart"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a80e422d79c22a62c0393891dfc691caf9fd46d34697e61db78f67e3a54a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): lib/utils/color_profiler.dart:667-682 | lib/utils/color_profiler.dart:854-873 \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/utils/color_profiler.dart:667\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/utils/color_profiler.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"76148ffe2a836cb316990cf585342b1dd1c5d1e066658b5fe157b51b005a3bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/widgets/common/carousel/themes/big_carousel_classic.dart:95-114 | lib/widgets/common/carousel/themes/big_carousel_portrait.dart:129-148 \u2014 before extracting anything, compare \u0060lib/widgets/common/carousel/themes/big_carousel_classic.dart\u0060 and \u0060lib/widgets/common/carousel/themes/big_carousel_portrait.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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/widgets/common/carousel/themes/big_carousel_classic.dart:95\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/widgets/common/carousel/themes/big_carousel_classic.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c66cac8a3d5468ca810a44d351e80453385d91cf7ebcd7afeecd15edc51abe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): package_manager.dart:300-319 | package_manager.dart:328-346 \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 \u0060package_manager.dart:300\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":"package_manager.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7395f98bf492c27ffd5dc0d50aa47ab2ce9532d52d0755b8ed3c89b257eba4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): lib/screens/anime/widgets/anime_stats.dart:607-625 | lib/screens/anime/widgets/anime_stats.dart:732-750 | lib/screens/manga/widgets/manga_stats.dart:310-328 | lib/screens/manga/widgets/manga_stats.dart:774-792 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:607\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"46859376304a28e1be5cf3815305273fd4ad4bdaf82bf75b2ea05ff55d483632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 4): lib/utils/color_profiler.dart:595-613 | lib/utils/color_profiler.dart:794-812 | lib/utils/color_profiler.dart:1031-1048 | lib/utils/color_profiler.dart:1306-1324 \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/utils/color_profiler.dart:595\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/utils/color_profiler.dart:593\u0060 calls \u0060Opacity\u0060 and \u0060lib/utils/color_profiler.dart:793\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/utils/color_profiler.dart"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c498eb85f18332ba1c9e11cb850822c22fa10cfffc2d9fef6f2b78505e2477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): lib/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart:198-216 | lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart:181-199 | lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart:331-349 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/backup_restore/parsers/kotatsu_backup_parser.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/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"642622ce7599619194259730b49b8960f62592b9afa35d6f6f119486d6675e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:2032-2050 | lib/controllers/services/anilist/anilist_auth.dart:2432-2450 \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/controllers/services/anilist/anilist_auth.dart:2032\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03f3503ac5181066f3855a521104e9a5f5cf178c443b95ec20f3450f6aab60b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/controllers/services/backup_restore/backup_restore_service.dart:1365-1382 | lib/controllers/services/backup_restore/backup_restore_service.dart:1409-1427 \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/controllers/services/backup_restore/backup_restore_service.dart:1365\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bffa76fffdf673c35bcce3ca130dedad56f821526fbd478dd964fff977202fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart:66-91 | lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart:201-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78e999fb843de9622ae89e79c336f70b416add402f5d3b5c87a78f7b96a7572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): lib/main.dart:768-786 | lib/widgets/header/header.dart:401-415 \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/main.dart:768\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/main.dart"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dfdd6504e6b644f85ddee24f32c48b67d78df58e25491f444179ae3e6c5f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/screens/anime/misc/calendar.dart:989-1007 | lib/widgets/media_items/media_item.dart:290-307 \u2014 before extracting anything, compare \u0060lib/screens/anime/misc/calendar.dart\u0060 and \u0060lib/widgets/media_items/media_item.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/misc/calendar.dart:989\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/screens/anime/misc/calendar.dart"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df1124a9ea3f5df346eba44fec8d93cb46c984abd0562608130bdb271387b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): lib/screens/anime/studio_details_page.dart:313-327 | lib/screens/anime/widgets/character_staff_sheet.dart:826-844 \u2014 before extracting anything, compare \u0060lib/screens/anime/studio_details_page.dart\u0060 and \u0060lib/screens/anime/widgets/character_staff_sheet.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/studio_details_page.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d541a70cf3e5a1b8e88392658fcfd81dbeaf0d3d355c8cc52bbd91e7ac36e0d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/anime/watch/controls/bottom_controls.dart:364-382 | lib/screens/anime/watch/controls/bottom_controls.dart:466-484 \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/screens/anime/watch/controls/bottom_controls.dart:364\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/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8765b536ee664bc5a546636077d7721ce86a0e71f526add224d3e91289a5f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:592-610 | lib/screens/profile/widgets/profile_stats_tab.dart:415-433 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/profile/widgets/profile_stats_tab.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:592\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a9edfc87daabc441172c10d6e3e610c37137d3e5f870df3311dda618accfba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:2193-2211 | lib/screens/anime/widgets/comments/comments_section.dart:2728-2746 \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/screens/anime/widgets/comments/comments_section.dart:2193\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9610cb438d06286a5a47a73e7745e01d7cbc3c689c15c75822d3f6e60907525f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:3140-3157 | lib/screens/anime/widgets/comments/comments_section.dart:3548-3566 \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/screens/anime/widgets/comments/comments_section.dart:3140\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddffaa42aed22284cc7331566d78ca6a028854aa06e1b43cda2ac2ff73070f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:192-210 | lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:242-259 \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/screens/anime/widgets/comments/widgets/comment_input_bar.dart:192\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c17d7e800aab72f990347a5075634aa9f64d676764dcfcb072797addf8660ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:222-240 | lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:284-301 \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/screens/anime/widgets/comments/widgets/comment_input_bar.dart:222\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/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ffc872bfa7056f1f54c5bcff3ebfd80bbb55052013dcb6a272d364a4423d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/library/widgets/anime_card.dart:32-50 | lib/screens/library/widgets/common_widgets.dart:33-51 \u2014 before extracting anything, compare \u0060lib/screens/library/widgets/anime_card.dart\u0060 and \u0060lib/screens/library/widgets/common_widgets.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/screens/library/widgets/anime_card.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/widgets/anime_card.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e481838e9c007c2405149a5d35aedc60ee394ae40608cad741b218fd438c673b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/screens/library/widgets/unified_history_card.dart:66-84 | lib/screens/library/widgets/unified_history_card.dart:337-354 \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/screens/library/widgets/unified_history_card.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a927a360add3ef5b75445d02069d90ca6a1fc753af9d1993c4ae74ff825fa51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/local_source/local_source_view.dart:606-624 | lib/screens/local_source/local_source_view.dart:674-692 \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/screens/local_source/local_source_view.dart:606\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/screens/local_source/local_source_view.dart"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3020635cc076b1d720779ef64fe113a018b5f2b41462ef31fbd6c89f5599b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:1452-1470 | lib/screens/profile/compatibility/compatibility_result_page.dart:1656-1674 \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/screens/profile/compatibility/compatibility_result_page.dart:1452\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/screens/profile/compatibility/compatibility_result_page.dart:1471\u0060 calls \u0060of\u0060, \u0060pop\u0060 and \u0060lib/screens/profile/compatibility/compatibility_result_page.dart:1675\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3abb581f207563a28d937c77df40f0ac9f6377e6c0dfadd0dfcce920f1e7523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/screens/profile/profile_page.dart:264-282 | lib/screens/profile/user_profile_page.dart:364-381 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:264\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/screens/profile/profile_page.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e9ac2abe73b8c5127cf8cffff5dec2e14092c9e05c9dda119588ef6fb5dbed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/profile/profile_page.dart:379-397 | lib/screens/profile/user_profile_page.dart:451-469 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:379\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/screens/profile/profile_page.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"226b2bee3d54154c83492decaba8fcb7da0d50c0df95622b4ced23a2a474cec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/profile/widgets/activity_heatmap.dart:161-179 | lib/screens/stats/user_stats_page.dart:662-680 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/activity_heatmap.dart\u0060 and \u0060lib/screens/stats/user_stats_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/activity_heatmap.dart:161\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/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c054aad22e69b2d93a67d6e63e1af181bde46f6120c9efe8f4b53a660fc8e869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:997-1015 | lib/screens/profile/widgets/user_profile_app_bar.dart:534-552 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 192 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/screens/profile/widgets/profile_header.dart:997\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64b7cb8f0a7a51f41ea0d939187fca7323432dd273ac6fd9199a19a97ba05f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/screens/settings/misc/sauce_finder_view.dart:253-271 | lib/screens/settings/misc/sauce_finder_view.dart:461-478 \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/screens/settings/misc/sauce_finder_view.dart:253\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/screens/settings/misc/sauce_finder_view.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"337b98c31e53ce508aefbc5c0dee8ff219351d9fa783d986425df26e433ebd88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/settings/misc/sauce_finder_view.dart:360-378 | lib/screens/settings/misc/sauce_finder_view.dart:712-730 \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/screens/settings/misc/sauce_finder_view.dart:360\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/screens/settings/misc/sauce_finder_view.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"259629026a68ecb8acfd7835a74d9af54a7f7d832b46dfc49f1233a78fe97685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:87-105 | lib/screens/settings/sub_settings/settings_reader.dart:171-189 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efcfd70bd3dd3e8b7604a6ee2ef242d89f2155dcf0cbf3ffdd4c8800a453bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:480-498 | lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:504-522 \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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e10e30f9b9a065b0225d6b78dd0ee7fc8336e2d09585a62dd65fb164de6f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): lib/widgets/dialogs/logo_animation_preview_dialog.dart:131-147 | lib/widgets/dialogs/logo_animation_preview_dialog.dart:254-272 \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/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5870defdf8c7aaf3dac5675146706588332bbded55e0bd8656029e4467b233b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/widgets/header/legacy_header.dart:129-147 | lib/widgets/header/legacy_header.dart:170-188 \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/widgets/header/legacy_header.dart:129\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/widgets/header/legacy_header.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"84da8c43cf3952266ef6a7c000755d3d253671ac389504678cddbc3410924275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 10): lib/controllers/services/anilist/anilist_auth.dart:1525-1545 | lib/controllers/services/anilist/anilist_auth.dart:1561-1578 | lib/controllers/services/anilist/anilist_auth.dart:1594-1611 | lib/controllers/services/anilist/anilist_auth.dart:1627-1644 | lib/controllers/services/anilist/anilist_auth.dart:1660-1677 | lib/controllers/services/anilist/anilist_auth.dart:1755-1773 | lib/controllers/services/anilist/anilist_auth.dart:1793-1813 | lib/controllers/services/anilist/anilist_auth.dart:1835-1853 | lib/controllers/services/anilist/anilist_auth.dart:1868-1892 | lib/controllers/services/anilist/anilist_auth.dart:1917-1935 \u2014 all 10 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/controllers/services/anilist/anilist_auth.dart:1525\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e620f449ae5124814819be1c4e2df80aeb0a660c1b77ad7bcf538fa8162e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 8): lib/controllers/services/anilist/anilist_auth.dart:1525-1545 | lib/controllers/services/anilist/anilist_auth.dart:1594-1611 | lib/controllers/services/anilist/anilist_auth.dart:1627-1644 | lib/controllers/services/anilist/anilist_auth.dart:1793-1814 | lib/controllers/services/anilist/anilist_auth.dart:1835-1853 | lib/controllers/services/anilist/anilist_auth.dart:1868-1892 | lib/controllers/services/anilist/anilist_auth.dart:1917-1935 | lib/controllers/services/anilist/anilist_auth.dart:2613-2635 \u2014 all 8 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/controllers/services/anilist/anilist_auth.dart:1525\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fc64c08bf1c8dbfe5aa1da3566153134a2bae3a6942074fc205725c608fae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): lib/screens/anime/widgets/anime_stats.dart:654-671 | lib/screens/anime/widgets/anime_stats.dart:694-710 | lib/screens/manga/widgets/manga_stats.dart:357-374 | lib/screens/manga/widgets/manga_stats.dart:736-752 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:654\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"0666d93349dc0a0093736ca069f496790355cf38b24ed545e5a10109601eaea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): lib/screens/library/widgets/library_deps.dart:163-180 | lib/widgets/common/custom_tiles.dart:151-168 | lib/widgets/common/custom_tiles.dart:245-262 | lib/widgets/common/custom_tiles.dart:345-362 \u2014 before extracting anything, compare \u0060lib/screens/library/widgets/library_deps.dart\u0060 and \u0060lib/widgets/common/custom_tiles.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/library/widgets/library_deps.dart:163\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/screens/library/widgets/library_deps.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38e9ecbbe0b870ab15be1472e05a6668988847d28d0164c70464eb188cf5e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/screens/anime/watch/controls/widgets/audio_popup.dart:261-278 | lib/screens/anime/watch/controls/widgets/source_popup.dart:163-180 | lib/screens/anime/watch/controls/widgets/tracks_popup.dart:426-443 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/source_popup.dart\u0060 and \u0060lib/screens/anime/watch/controls/widgets/tracks_popup.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/audio_popup.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64ed74a1946a3601faf5dead6d310df40cfa28c53711e4baa29d7002e097bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/screens/anime/widgets/anime_stats.dart:614-631 | lib/screens/anime/widgets/anime_stats.dart:663-680 | lib/screens/manga/widgets/manga_stats.dart:317-334 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:614\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"2745c46401b7679c9f7163f05130308613fc2eb5f0387b02485cbff1d6843ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 3): lib/screens/profile/activity_details_page.dart:632-646 | lib/screens/profile/widgets/social_tab.dart:298-315 | lib/widgets/non_widgets/activity_card.dart:381-395 \u2014 before extracting anything, compare \u0060lib/screens/profile/activity_details_page.dart\u0060 and \u0060lib/screens/profile/widgets/social_tab.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/activity_details_page.dart:632\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/screens/profile/activity_details_page.dart"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"3284cf64302a82e8718dbc415cdb1fbff3120a3cec19a129ab917d04ef28595b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/screens/settings/sub_settings/player/settings_player_subtitles.dart:245-262 | lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:177-194 | lib/screens/settings/sub_settings/settings_reader.dart:359-376 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/player/settings_player_subtitles.dart:245\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/screens/settings/sub_settings/player/settings_player_subtitles.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"487ca0fb9e201e9b64e26595091f089105fe7333b651b429c5894b4c182226f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): lib/screens/anime/details/media_details_page.dart:1217-1234 | lib/screens/manga/widgets/chapter_list_builder.dart:282-295 \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/screens/anime/details/media_details_page.dart:1217\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb224519787e2aa112c6b28f6ad6c81d012f02af6767d5a8f6637db9587703f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:329-346 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:359-375 \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/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:329\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 after the matched lines, \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:347\u0060 calls \u0060SizedBox\u0060, \u0060_buildBottomSection\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:376\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/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0201d00f4f69010f33e735d5f5f6de22de27a8c55949490fcf60ffe3faa3cc3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:2419-2436 | lib/screens/anime/widgets/comments/comments_section.dart:2634-2651 \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/screens/anime/widgets/comments/comments_section.dart:2419\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1f46af0514c39e3f3df88b2d08959822fc370a8b6e71ed462ae7eb62cb7254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:2521-2538 | lib/screens/anime/widgets/comments/comments_section.dart:2657-2674 \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/screens/anime/widgets/comments/comments_section.dart:2521\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bac37e23d8159629006deaa840ce5a9c37d4e6b813b4bc4502215e82e47ffbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:972-989 | lib/screens/manga/widgets/chapter_list_builder.dart:535-552 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:972\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4d1634a8d21b0582d23d2e59a1712ed7941f8db5316309b4ba8b7f71f85eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/screens/extensions/ExtensionScreen.dart:98-115 | lib/screens/extensions/ExtensionScreen.dart:191-207 \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/screens/extensions/ExtensionScreen.dart:191\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/screens/extensions/ExtensionScreen.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb64aa801e7917d491890546423dc85f1e38c23cc50a73da90d34ca012eb8604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/manga/home_page.dart:53-70 | lib/screens/novel/home_page.dart:43-60 \u2014 \u0060lib/screens/manga/home_page.dart\u0060 and \u0060lib/screens/novel/home_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 57 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/manga/home_page.dart:53\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/screens/manga/home_page.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff04d5744fb2f20f2aa83f90a261cdbc96145a70fd7cb2e95473b5ac66eef45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/notifications/notification_screen.dart:356-373 | lib/screens/notifications/notification_screen.dart:544-561 \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/screens/notifications/notification_screen.dart:356\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/screens/notifications/notification_screen.dart"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6a4c2a6c06f4febcf46308a774b3b993bf961330082f79329dadc6b66e2229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/novel/reader/controller/reader_controller.dart:1084-1101 | lib/screens/novel/reader/controller/reader_controller.dart:1107-1124 \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/screens/novel/reader/controller/reader_controller.dart:1084\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/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f63a19f5ec10168369a8bb65ce5f80cba047908d3e11041f137997d30a55860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:879-895 | lib/screens/profile/compatibility/compatibility_result_page.dart:947-964 \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/screens/profile/compatibility/compatibility_result_page.dart:879\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28cec30697ccfbcd7740ea70b5f2705e453891c72205673c0ef8a349813e86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/profile/profile_page.dart:778-795 | lib/screens/profile/user_profile_page.dart:737-754 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:778\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/screens/profile/profile_page.dart"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"1581205ce96e6f22efd3c8319344eb1e3bd970b4a2e72b17462c44e43dccc099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/screens/search/widgets/search_widgets.dart:755-771 | lib/screens/search/widgets/search_widgets.dart:2215-2232 \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/screens/search/widgets/search_widgets.dart:755\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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e248b4be6e4d75d5ed1f21764ed9242ebbec57ff23724abbc8447331fd0298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_controls.dart:353-370 | lib/screens/settings/sub_settings/settings_reader.dart:519-536 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart:353\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"401a54b1d4153e1284a8754e5acdbb52c817f126b60b5a5fb746109698790f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:105-122 | lib/screens/settings/sub_settings/settings_reader.dart:282-299 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:105\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/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a92d60e13f21079ca3dd106a671f51a6ce7d50708c5e7ebb77c85716be756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/settings/sub_settings/settings_comments.dart:76-93 | lib/screens/settings/sub_settings/settings_network.dart:51-68 \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/screens/settings/sub_settings/settings_comments.dart:76\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/screens/settings/sub_settings/settings_comments.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04555b0d456bf2d9390473aeb51d0c36c0be596255f626c40c60714c109c3e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/settings/sub_settings/settings_extensions.dart:469-486 | lib/screens/settings/sub_settings/settings_extensions.dart:531-548 \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/screens/settings/sub_settings/settings_extensions.dart:469\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/screens/settings/sub_settings/settings_extensions.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78490772e3feb88152f1c12afe247e912e514c6548861bbed3992d78e8e731c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/settings/sub_settings/settings_moderation.dart:823-840 | lib/screens/settings/sub_settings/settings_moderation.dart:1465-1482 \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/screens/settings/sub_settings/settings_moderation.dart:823\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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"f945d9ab4a0f2cf4f9ec0e06f380f064545561e2e2557579fb59f8a56bfe5b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/stats/user_stats_page.dart:394-411 | lib/screens/stats/user_stats_page.dart:1147-1164 \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/screens/stats/user_stats_page.dart:394\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/stats/user_stats_page.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84e572f45d45cd68362e24bfd2d72e13ad42f526747b93b525e3f4066672819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/services/commentum_service.dart:762-778 | lib/services/commentum_service.dart:1514-1531 \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/services/commentum_service.dart:762\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/services/commentum_service.dart"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40e625597777ee97da9d04b1cc688f954ab85b3281f860387a3aa17fd89eea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_animated_logo.dart:572-589 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:647-664 \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/widgets/anymex_widgets/anymex_animated_logo.dart:572\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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5c73c30a367c900edb8ee030090b068475f2e01de361d0edc375beaaece4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/widgets/header/header.dart:118-135 | lib/widgets/header/header.dart:202-218 \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/widgets/header/header.dart:118\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/widgets/header/header.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b3a0d87809e704922a6af81624d167b6b18c2f1cc39bf840532ff9e4da1c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 5): lib/services/commentum_service.dart:678-694 | lib/services/commentum_service.dart:725-741 | lib/services/commentum_service.dart:775-789 | lib/services/commentum_service.dart:813-828 | lib/services/commentum_service.dart:934-950 \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/services/commentum_service.dart:678\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/services/commentum_service.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d1d6b377361c4a1576c059cb569d3e0f625549bac31b88be7e51767854cd44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): lib/screens/profile/widgets/profile_header.dart:119-135 | lib/screens/profile/widgets/profile_header.dart:831-847 | lib/screens/profile/widgets/user_profile_app_bar.dart:255-271 | lib/screens/profile/widgets/user_profile_header.dart:100-116 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 192 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/screens/profile/widgets/profile_header.dart:119\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dce9a3082f83e69d3948e6a985fedd79fd4cd766ad04dd592624e994852e68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): lib/screens/anime/watch/controls/widgets/episodes_pane.dart:260-275 | lib/screens/anime/widgets/episode_list_builder.dart:528-543 | lib/screens/anime/widgets/episode_list_builder.dart:614-630 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/episodes_pane.dart:260\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/screens/anime/watch/controls/widgets/episodes_pane.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b5d177160bf8ae63a6efb9a76035a767c67b688b0bba929c21979b7df618c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): lib/screens/anime/widgets/anime_stats.dart:282-298 | lib/screens/anime/widgets/anime_stats.dart:347-362 | lib/screens/manga/widgets/manga_stats.dart:398-413 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:282\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d2926c3a52cea8f27d684f7b2a7484cbc47eaf4214069d8c501916d63b4a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 3): lib/screens/anime/widgets/anime_stats.dart:599-615 | lib/screens/manga/widgets/manga_stats.dart:302-318 | lib/screens/profile/widgets/profile_stats_tab.dart:422-435 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:599\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc64a9974381f2a94982994d3d6e98cbfcb14366a605f5444bf461915d53b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/screens/anime/widgets/episode_list_builder.dart:636-652 | lib/screens/anime/widgets/episode_list_builder.dart:669-685 | lib/screens/anime/widgets/episode_list_builder.dart:765-781 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa331e1f16e35fc047de53090e87ec0dea919fa52289dafd2e17c9c308e3f311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/screens/community/community_recommendations_page.dart:667-683 | lib/widgets/media_items/media_peek_popup.dart:1220-1236 | lib/widgets/non_widgets/reasons_sheet.dart:900-916 \u2014 before extracting anything, compare \u0060lib/screens/community/community_recommendations_page.dart\u0060 and \u0060lib/widgets/media_items/media_peek_popup.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/community/community_recommendations_page.dart:667\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/screens/community/community_recommendations_page.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"431ecf65d91e5c6e0ec465757c5aff5cbe0d2436cfdec541840db0c8aef5c5bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/screens/library/stats_page.dart:35-51 | lib/screens/library/stats_page.dart:54-70 | lib/screens/library/stats_page.dart:73-89 \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/screens/library/stats_page.dart:35\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/screens/library/stats_page.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e19fc33d8c339b632adee33197bd7a58c3a13e2e80ecdba10a286520d77009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/screens/local_source/local_source_view.dart:523-539 | lib/screens/local_source/local_source_view.dart:606-622 | lib/screens/local_source/local_source_view.dart:674-690 \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/screens/local_source/local_source_view.dart:523\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/screens/local_source/local_source_view.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d882518911ed5fed4289d015c358d7e6223c1981cab5128368f3a3b2e9af35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): lib/services/commentum_service.dart:434-450 | lib/services/commentum_service.dart:627-643 | lib/services/commentum_service.dart:992-1007 \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/services/commentum_service.dart:434\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/services/commentum_service.dart"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"193260526256ae166343894a0e0ae68b19e60c04afaab623f4426d698a1d3cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/models/reader/tap_zones.dart:115-131 | lib/models/reader/tap_zones.dart:134-150 \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/models/reader/tap_zones.dart:115\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/models/reader/tap_zones.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1108bf11fd60d330b09fbefbb660bcae69df928dca9e6e9c1f3c0780c697662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/models/reader/tap_zones.dart:153-169 | lib/models/reader/tap_zones.dart:172-188 \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/models/reader/tap_zones.dart:153\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/models/reader/tap_zones.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe2226e552e72b736e54842735775d6b649449a8e2a188efe08e85712901c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:590-606 | lib/widgets/watchium/watchium_create_dialog.dart:512-527 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:590\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:589\u0060 calls \u0060all\u0060, \u0060opaque\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart:511\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"151e193af9c2056cd4cb74bbbd0116cdf17cb98ec971e4cc4e344039f4c83026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/anime/widgets/episode/styles/compact_style.dart:62-78 | lib/screens/anime/widgets/episode/styles/detailed_style.dart:62-78 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode/styles/compact_style.dart\u0060 and \u0060lib/screens/anime/widgets/episode/styles/detailed_style.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 114 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/screens/anime/widgets/episode/styles/compact_style.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. 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/screens/anime/widgets/episode/styles/compact_style.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"25659695bd695ae61888f96eb756656ac2db5a2e571a06d6604a53fe1d9d0e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/community/community_recommendations_page.dart:94-110 | lib/widgets/media_items/media_peek_popup.dart:170-186 \u2014 before extracting anything, compare \u0060lib/screens/community/community_recommendations_page.dart\u0060 and \u0060lib/widgets/media_items/media_peek_popup.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/community/community_recommendations_page.dart:94\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/screens/community/community_recommendations_page.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94a08d1e0f587a2d7f1179572bf0252cf7889696e64602175e3aef5ed874b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/downloads/download_screen.dart:1066-1082 | lib/screens/downloads/download_screen.dart:1344-1360 \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/screens/downloads/download_screen.dart:1066\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/screens/downloads/download_screen.dart"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"319f8329fc03995cf2c65ca1b2977e88a9ec5d9ffd2e717f5f5a21c83e3ad6bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/downloads/widgets/downloaded_media_view.dart:597-613 | lib/screens/downloads/widgets/downloaded_media_view.dart:1195-1211 \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/screens/downloads/widgets/downloaded_media_view.dart:597\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c25cebc716900390ac30a30f2b189836e7dd3a13eaee610fd55dc60faeb507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/library/online/anime_list.dart:204-220 | lib/screens/library/online/manga_list.dart:182-198 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/online/anime_list.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"63958084a9b6b4716f63494eb37640570957968d7be63cf8913413c93cd7b25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/library/online/anime_list.dart:542-558 | lib/screens/library/online/manga_list.dart:526-542 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:542\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/screens/library/online/anime_list.dart"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"90adca47a330f94bfe93b350307fd97493acb9df59939658c0e7dc10fc1ba39e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/local_source/local_source_view.dart:98-114 | lib/screens/settings/misc/sauce_finder_view.dart:129-145 \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/screens/local_source/local_source_view.dart:98\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/screens/local_source/local_source_view.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0aac3c8f2c42fee7675957b0160132e5bb06e0eee48d380597490a055921d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/local_source/local_source_view.dart:853-869 | lib/screens/local_source/local_source_view.dart:906-922 \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/screens/local_source/local_source_view.dart:853\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/screens/local_source/local_source_view.dart"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dab853955993d5f0687fc654849f4b1b6cfbf7542aa181c25c33883bfcba64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/manga/widgets/manga_stats.dart:288-304 | lib/screens/manga/widgets/manga_stats.dart:337-353 \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/screens/manga/widgets/manga_stats.dart:288\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/screens/manga/widgets/manga_stats.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"9168354758323e6cb8cf093fe74df1cc547ce7b5aa38b4b048ceb45e4af45718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): lib/screens/manga/widgets/manga_stats.dart:421-435 | lib/screens/settings/sub_settings/settings_donation.dart:260-276 \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/screens/manga/widgets/manga_stats.dart:421\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/screens/manga/widgets/manga_stats.dart"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e418b70af97a3b86154224603ce8a6807427e71646df816402d8f491a2cfe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:213-228 | lib/screens/profile/widgets/user_profile_header.dart:185-201 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_header.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/profile_header.dart:213\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/profile_header.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"da17c3fe4b3822ecf70c26ad081f114da88def710c7e702ef39b91fe7e1c23c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/settings/misc/sauce_finder_view.dart:329-345 | lib/screens/settings/misc/sauce_finder_view.dart:680-696 \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/screens/settings/misc/sauce_finder_view.dart:329\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/screens/settings/misc/sauce_finder_view.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55a69decd41fffbc72a7e9a3601632768dfd516769b4e1565787cd9cb03f208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_controls.dart:316-332 | lib/screens/settings/sub_settings/player/settings_player_controls.dart:482-498 \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/screens/settings/sub_settings/player/settings_player_controls.dart:316\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ff2d17fc13825ff69b400c4d45ed77802a3346963dd1da03741c696471d08c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_engine.dart:754-770 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:773-789 \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/screens/settings/sub_settings/player/settings_player_engine.dart:754\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/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e749d9f02e36d102cb54d7c23ed5856ff507d78537d29de70f445570724f6281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/settings/sub_settings/settings_network.dart:519-535 | lib/screens/settings/sub_settings/settings_network.dart:841-857 \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/screens/settings/sub_settings/settings_network.dart:519\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060label\u0060 to \u0060\u0027Reset\u0027\u0060 in one and \u0060\u0027Clear Proxy\u0027\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b10c881ca72cf9e0112e3c7f88f84c0f9c40612d8f23e7104c7c4defffcf5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/screens/stats/user_stats_page.dart:455-470 | lib/screens/stats/user_stats_page.dart:954-970 \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/screens/stats/user_stats_page.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff491d0db71a723764feaa09c25ac2f6cd870809c4f151fc0b548b9c6d2977e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/utils/color_profiler.dart:814-830 | lib/utils/color_profiler.dart:1326-1342 \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/utils/color_profiler.dart:814\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/utils/color_profiler.dart"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"19db7a509a5ed2d61da670950d987f1de1ad91340c192bbfe12537a789034c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/widgets/common/cards/styles/exotic_card.dart:66-82 | lib/widgets/common/cards/styles/minimal_exotic_card.dart:64-80 \u2014 before extracting anything, compare \u0060lib/widgets/common/cards/styles/exotic_card.dart\u0060 and \u0060lib/widgets/common/cards/styles/minimal_exotic_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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/widgets/common/cards/styles/exotic_card.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/widgets/common/cards/styles/exotic_card.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e8b493d807501dc46b20ec8c0639c5badaa5c5a14ff08b2265ee5dfb0af225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/widgets/common/carousel/themes/big_carousel_classic.dart:76-92 | lib/widgets/common/carousel/themes/big_carousel_portrait.dart:110-126 \u2014 before extracting anything, compare \u0060lib/widgets/common/carousel/themes/big_carousel_classic.dart\u0060 and \u0060lib/widgets/common/carousel/themes/big_carousel_portrait.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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/widgets/common/carousel/themes/big_carousel_classic.dart:76\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/widgets/common/carousel/themes/big_carousel_classic.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c382ab15b731a5ee5252cf23ed1838ace43e6d400968e4ed72ac378b76ec4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/widgets/dialogs/logo_animation_preview_dialog.dart:208-224 | lib/widgets/dialogs/logo_animation_preview_dialog.dart:465-481 \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/widgets/dialogs/logo_animation_preview_dialog.dart:208\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7b858ad4ae176e331156f8a663deb9033d5fe4445dd956b334fcb21db3a58c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart:92-108 | lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart:160-176 \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/widgets/subsampling_scale_image_view/subsampling_image_provider.dart:92\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/widgets/subsampling_scale_image_view/subsampling_image_provider.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1651f452f0fb4c41e1f4d949bd597525f3fb141a599dd499275148183e93315e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): lib/screens/anime/home_page.dart:240-255 | lib/screens/extensions/ExtensionScreen.dart:211-226 | lib/screens/home_page.dart:348-363 | lib/screens/library/my_library.dart:151-166 | lib/screens/manga/home_page.dart:129-144 | lib/screens/novel/home_page.dart:91-106 \u2014 \u0060lib/screens/anime/home_page.dart\u0060 and \u0060lib/screens/manga/home_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/home_page.dart:240\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/screens/anime/home_page.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4000c77d78a3cf7c8a7f3cc2c09236ca08a0df60c711ce83de56c5015209e82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): lib/controllers/discord/discord_rpc.dart:724-739 | lib/controllers/discord/discord_rpc.dart:853-868 | lib/controllers/discord/discord_rpc.dart:972-987 | lib/controllers/discord/discord_rpc.dart:1083-1098 \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/controllers/discord/discord_rpc.dart:724\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/controllers/discord/discord_rpc.dart:852\u0060 calls \u0060_processImageUrl\u0060 and \u0060lib/controllers/discord/discord_rpc.dart:1081\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75e3341b0dfb4182e12ce3bc70879c6d02ee2569cc54c9260cef6eecabd5677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:549-564 | lib/screens/watchium/watchium_page.dart:377-392 | lib/widgets/watchium/watchium_create_dialog.dart:475-490 | lib/widgets/watchium/watchium_party_popup.dart:705-720 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b1256a904c1f7cd8e0ca2a4563719a0584f55ef0ba7d1104c7940c346433a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): lib/screens/anime/widgets/anime_stats.dart:288-303 | lib/screens/anime/widgets/anime_stats.dart:352-366 | lib/screens/anime/widgets/anime_stats.dart:414-429 | lib/screens/manga/widgets/manga_stats.dart:403-417 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:288\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de8e512d7937a1ddd50e3899083bd6f74d849cf1fd63990e43ba3f0985823cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): lib/screens/settings/sub_settings/settings_comments.dart:74-89 | lib/screens/settings/sub_settings/settings_donation.dart:372-387 | lib/screens/settings/sub_settings/settings_moderation.dart:56-71 | lib/screens/settings/sub_settings/settings_network.dart:49-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/settings_comments.dart:74\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/screens/settings/sub_settings/settings_comments.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d954cd26f3134dcdc76e09cbd1a96b3994a579a6c2fe51b8cf18e88233a92f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/controllers/services/anilist/anilist_auth.dart:2122-2137 | lib/controllers/services/anilist/anilist_auth.dart:2222-2237 | lib/controllers/services/anilist/anilist_auth.dart:2509-2524 \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/controllers/services/anilist/anilist_auth.dart:2122\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1aff887b61f4c154ed8fb6b27fdd478eee748ffe7605d142dc48c3d75a05528"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): lib/screens/anime/widgets/voice_actor.dart:81-95 | lib/screens/anime/widgets/voice_actor.dart:204-219 | lib/screens/anime/widgets/voice_actor.dart:348-363 \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/screens/anime/widgets/voice_actor.dart:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/voice_actor.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1406158159b3879a3e407996acfb45d9f8409a61597481b596fd62c5fc4c10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/screens/downloads/widgets/downloaded_media_view.dart:603-618 | lib/screens/downloads/widgets/downloaded_media_view.dart:1201-1216 | lib/screens/extensions/ExtensionItem.dart:234-249 \u2014 before extracting anything, compare \u0060lib/screens/downloads/widgets/downloaded_media_view.dart\u0060 and \u0060lib/screens/extensions/ExtensionItem.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/widgets/downloaded_media_view.dart:603\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcba18c50ca464348121262be13e13818201109d2f6c4490d844dd9904be132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/screens/library/online/anime_list.dart:351-366 | lib/screens/library/online/manga_list.dart:334-349 | lib/screens/profile/widgets/user_media_list_page.dart:316-331 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:351\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/screens/library/online/anime_list.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b782321474ab0b7e7e3143bb17240ed0e8489252e0714b525002c4c5bcce40e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): lib/screens/library/online/anime_list.dart:372-386 | lib/screens/library/online/manga_list.dart:355-370 | lib/screens/profile/widgets/user_media_list_page.dart:333-347 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:372\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/screens/library/online/anime_list.dart"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd32c41b9a8ccd7e20cf8dc494eec41fb16d65994bc011db41248b852b81386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/screens/library/online/anime_list.dart:400-415 | lib/screens/library/online/manga_list.dart:384-399 | lib/screens/profile/widgets/user_media_list_page.dart:361-376 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:400\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/screens/library/online/anime_list.dart"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c20436e92aaa397cca6b70236ee1e5b8556f7062dcb4f0c5c16a347cc9cd562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/screens/library/online/anime_list.dart:820-835 | lib/screens/library/online/manga_list.dart:805-820 | lib/screens/profile/widgets/user_media_list_page.dart:749-764 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacdfbfd5210996119b2ee449eb8a7b1fce3d2dec883910955d1c7cff11a43e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): lib/screens/search/search_view.dart:425-440 | lib/screens/search/search_view.dart:456-470 | lib/screens/search/search_view.dart:486-500 \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/screens/search/search_view.dart:425\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/screens/search/search_view.dart"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8037912fc8019106e2a586c3e6191d4082b47e1ceeb98ef823ccd1a6f307356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/widgets/animation/animations.dart:63-78 | lib/widgets/animation/animations.dart:162-177 | lib/widgets/animation/animations.dart:476-491 \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/widgets/animation/animations.dart:63\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/widgets/animation/animations.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e680600d4e8921087d375473c038682a6344a2a7d66547feb392b6e622a22a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/widgets/anymex_widgets/anymex_tile.dart:198-213 | lib/widgets/anymex_widgets/anymex_tile.dart:506-521 | lib/widgets/anymex_widgets/anymex_tile.dart:588-603 \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/widgets/anymex_widgets/anymex_tile.dart:198\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/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6473446ac54692f4cc165c2b84d3b890a6addc8dd684228fe753be38e6157cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/controllers/services/backup_restore/backup_restore_service.dart:732-747 | lib/controllers/services/backup_restore/backup_restore_service.dart:1497-1512 \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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"805a7c07e70ab078d67403867ad630565d74c95f5f6dc1a51de33b8125ee993f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/controllers/watchium/watchium_service.dart:79-94 | lib/widgets/watchium/watchium_party_popup.dart:252-267 \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/controllers/watchium/watchium_service.dart:79\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/controllers/watchium/watchium_service.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa342d8983e65f57ab114819dc02d8e9ab068fd03cda4048c557e1bf3901b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): lib/database/kv_helper.dart:35-48 | lib/database/kv_helper.dart:75-90 \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/database/kv_helper.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b62811ca1b7eb81316a05602373f8372a7f0c55202f88f1f89670fb2fb65825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:164-179 | lib/widgets/common/anymex_slider_m3.dart:169-184 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart\u0060 and \u0060lib/widgets/common/anymex_slider_m3.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4cc344cffa86b9c6e5d09aa45e98abbfad54bcf83f6e14e4792a9aff500a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:944-959 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:837-852 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"5640bdcfd650ff36e50a251594e4d3c2354b3a50b7e64421bd54a21c5b64dfa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart:68-83 | lib/screens/anime/watch/controls/themes/player_control_themes/netflix_mobile_player_theme.dart:83-98 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/netflix_mobile_player_theme.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 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/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart:68\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/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e2dbe75b738fe29842b9d1222e8116d6005cccb839f30e6e8244ab712b5b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/episodes_pane.dart:272-287 | lib/screens/anime/watch/controls/widgets/episodes_pane.dart:309-323 \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/screens/anime/watch/controls/widgets/episodes_pane.dart:272\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/screens/anime/watch/controls/widgets/episodes_pane.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c84f5e342e16e72549536f7da7f7ec4d15542f0538f94dd3e4427940f73e8c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:608-623 | lib/widgets/watchium/watchium_create_dialog.dart:529-544 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:608\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebf4b3eab8db4484f03f28d0a4f8334da2274d33389a345a6a424dbd0507f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/anime/watch/watch_view.dart:189-204 | lib/screens/local_source/player/offline_player.dart:114-129 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/watch_view.dart\u0060 and \u0060lib/screens/local_source/player/offline_player.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/watch_view.dart:189\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/screens/anime/watch/watch_view.dart:205\u0060 calls \u0060BufferingOverlay\u0060 and \u0060lib/screens/local_source/player/offline_player.dart:130\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/screens/anime/watch/watch_view.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c99f3e14bdd729560338e22b8d069406ea235dc12cf97cdb0f68cb44eb53fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:54-69 | lib/screens/manga/widgets/manga_stats.dart:69-84 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"49336a13afa91e45c94c69870d50847754d217a0707f68934b73d3da8a512f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:824-839 | lib/screens/manga/widgets/manga_stats.dart:490-505 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:824\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"39014954b56589c6260b7ea586c2dfd09c14d48f5ff02fb49e7f3293eb84538d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/anime/widgets/character_staff_sheet.dart:493-508 | lib/screens/anime/widgets/character_staff_sheet.dart:513-528 \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/screens/anime/widgets/character_staff_sheet.dart:493\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f0a183984f318b928d2edb5af2475f25af7899076648136610f73882f39bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/downloads/download_screen.dart:310-325 | lib/screens/downloads/download_screen.dart:357-372 \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/screens/downloads/download_screen.dart:310\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/screens/downloads/download_screen.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7df45cd0520a2cabb9da9afa0365cad2c8312f48283abfdf4c27479860073f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/library/widgets/unified_history_card.dart:230-245 | lib/screens/library/widgets/unified_history_card.dart:368-383 \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/screens/library/widgets/unified_history_card.dart:230\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/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c76b15dd013be6d11842a94cc697421dabd89dc0bb09fba7666e02c1dcd926f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/manga/widgets/reader/top_controls.dart:79-94 | lib/screens/novel/reader/widgets/top_controls.dart:56-71 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/top_controls.dart\u0060 and \u0060lib/screens/novel/reader/widgets/top_controls.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e2d219857e5d05999a02e7de6c3c5e8d8700a77153b1ec2fe8156e45e85f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/profile/profile_page.dart:598-613 | lib/widgets/non_widgets/activity_card.dart:461-476 \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/screens/profile/profile_page.dart:598\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/screens/profile/profile_page.dart"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a95b9899b194a9c4546e0a836d8d6a95ac5db277d5027a40048f371af3428c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/screens/profile/widgets/activity_heatmap.dart:86-101 | lib/screens/stats/user_stats_page.dart:590-604 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/activity_heatmap.dart\u0060 and \u0060lib/screens/stats/user_stats_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bf363bac6f54b69d1c13962667fcf42c77a5e2ec142d672a8c9ebab7656bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:486-501 | lib/screens/settings/sub_settings/settings_reader.dart:1381-1396 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:486\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/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"064d083d4737df88e6d4a08c8374091241f74068e2afd5ddc484616c979d8fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/settings/sub_settings/settings_moderation.dart:1965-1980 | lib/screens/settings/sub_settings/settings_moderation.dart:2032-2047 \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/screens/settings/sub_settings/settings_moderation.dart:1965\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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"8665fbfa657d0b8eeb70ef4951c7379a8e0d06b79e835b81304f1764a31ef5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/settings/sub_settings/settings_reader.dart:687-702 | lib/screens/settings/sub_settings/settings_reader.dart:704-719 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/settings/sub_settings/settings_reader.dart:685\u0060 calls \u0060Row\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart:703\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/screens/settings/sub_settings/settings_reader.dart"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3e26051e478d55578fe3115f3abe17895eefdeea2f19a380935749662da765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/settings/sub_settings/widgets/about_deps.dart:27-42 | lib/screens/settings/sub_settings/widgets/about_deps.dart:112-127 \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/screens/settings/sub_settings/widgets/about_deps.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/screens/settings/sub_settings/widgets/about_deps.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c8f14ef5fc601b38f5291a641fb39a3b265e9307f3ac394e2690ef647ad51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/services/cast/cast_proxy_server.dart:234-249 | lib/services/cast/cast_proxy_server.dart:319-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/services/cast/cast_proxy_server.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/services/cast/cast_proxy_server.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c7bc430f74ff243253b1cd0cde3760680d9d076ef68856b6e825a5c1f53d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/utils/updater.dart:90-105 | lib/utils/updater.dart:123-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/utils/updater.dart:122\u0060 calls \u0060_fetchLatestRelease\u0060 and \u0060lib/utils/updater.dart:88\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/utils/updater.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84cef1ee85699150affc7877c5ce4f7ce62c38388576d540cef8a0ca303331a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/widgets/animation/animations.dart:316-331 | lib/widgets/animation/animations.dart:390-405 \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/widgets/animation/animations.dart:316\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/widgets/animation/animations.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"efab5d96054154771749457b3714c5d331d723d0b43954193fa76fa124f352ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_tile.dart:491-506 | lib/widgets/anymex_widgets/anymex_tile.dart:532-547 \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/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3ad61c94a731efba4623aa2489651096364c3ae98534c930943c868d12e3f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): lib/widgets/common/cards/styles/exotic_card.dart:151-164 | lib/widgets/common/cards/styles/minimal_exotic_card.dart:159-174 \u2014 before extracting anything, compare \u0060lib/widgets/common/cards/styles/exotic_card.dart\u0060 and \u0060lib/widgets/common/cards/styles/minimal_exotic_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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/widgets/common/cards/styles/exotic_card.dart:151\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/cards/styles/exotic_card.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1cdd7c7a1869186152eb61d13d44d8983a9cfb68accc784bae99d7b0561224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/widgets/common/navbar.dart:172-187 | lib/widgets/common/navbar.dart:209-224 \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/widgets/common/navbar.dart:172\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/navbar.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"059962caa1969b7b91e8a56eb6897c62a2f636c61734a50b74654661eb45f83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/widgets/media_items/media_peek_popup.dart:419-433 | lib/widgets/non_widgets/reasons_sheet.dart:381-396 \u2014 before extracting anything, compare \u0060lib/widgets/media_items/media_peek_popup.dart\u0060 and \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/media_items/media_peek_popup.dart:419\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/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"079c44f11cd28119c5beec21fb9f2c3d4c4051e6e55955f86128910997703779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart:82-97 | lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart:109-124 \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/widgets/subsampling_scale_image_view/subsampling_image_provider.dart:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fda4ffed1e71294b91cf514d6e4a49f97f66cece0eb9d3350b788bd8a26e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 6): lib/screens/anime/watch/controls/bottom_controls.dart:269-283 | lib/screens/anime/watch/controls/bottom_controls.dart:331-345 | lib/screens/anime/watch/controls/bottom_controls.dart:356-370 | lib/screens/anime/watch/controls/bottom_controls.dart:424-438 | lib/screens/anime/watch/controls/bottom_controls.dart:458-472 | lib/screens/anime/watch/controls/top_controls.dart:363-376 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/bottom_controls.dart:269\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/screens/anime/watch/controls/bottom_controls.dart:457\u0060 calls \u0060SizedBox\u0060 and \u0060lib/screens/anime/watch/controls/bottom_controls.dart:423\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/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aee5caa28e35165622e7d6719375cb8f13f58a22918bdb32acc14e7a45cb67e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:374-388 | lib/screens/anime/watch/controls/widgets/progress_slider.dart:291-305 | lib/screens/anime/widgets/video_slider.dart:53-67 | lib/widgets/common/anymex_slider_m3.dart:403-417 | lib/widgets/common/slider_semantics.dart:139-153 | lib/widgets/common/slider_semantics.dart:284-298 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart\u0060 and \u0060lib/widgets/common/anymex_slider_m3.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart:374\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/screens/anime/watch/controls/themes/media_indicator_themes/default_media_indicator_theme.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6fb27339144bd6aa0e8a46b44f6f5776d65c01c6e629c3620a9b80c3e2039f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 5): lib/services/commentum_service.dart:440-454 | lib/services/commentum_service.dart:541-555 | lib/services/commentum_service.dart:633-647 | lib/services/commentum_service.dart:891-905 | lib/services/commentum_service.dart:998-1011 \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/services/commentum_service.dart:440\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/services/commentum_service.dart"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"937df621184d55fb5d8d6fde19a801c5d05d65cd8ab99bb8db02074ad097d4f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): lib/widgets/anymex_widgets/anymex_tile.dart:197-211 | lib/widgets/anymex_widgets/anymex_tile.dart:367-381 | lib/widgets/anymex_widgets/anymex_tile.dart:505-519 | lib/widgets/anymex_widgets/anymex_tile.dart:587-601 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/anymex_widgets/anymex_tile.dart:197\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9f73e3a12e0b4c6f9d7a24c98ddccf83d504fac1b6b73cb315a18678ae7516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/controllers/discord/discord_rpc.dart:607-621 | lib/controllers/discord/discord_rpc.dart:723-737 | lib/controllers/discord/discord_rpc.dart:852-866 \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/controllers/discord/discord_rpc.dart:607\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"5359c79dd72f8d858f1ebc0eb4a50df1f8d1e2b2f60161803fdb42ffaf4f7d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:38-52 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:40-54 | lib/screens/anime/watch/controls/top_controls.dart:49-62 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:38\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"871c3cb74c01132f953e5a0e9ae1d21fd4749b5e30f236929b4de49c9c64d29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:90-104 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:159-172 | lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:1271-1284 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:90\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d3182879fcef441c9eb6bcb916d727676d140e3b70fba088d9d68000c9511d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): lib/screens/anime/widgets/anime_stats.dart:648-662 | lib/screens/manga/widgets/manga_stats.dart:351-365 | lib/screens/settings/widgets/style_picker_section.dart:126-139 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:648\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c897282720c83558ed4698488e6bc3ba042a69f9a0152aa5933463fddc4134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): lib/screens/community/community_recommendations_page.dart:691-705 | lib/widgets/media_items/media_peek_popup.dart:1245-1258 | lib/widgets/non_widgets/reasons_sheet.dart:925-938 \u2014 before extracting anything, compare \u0060lib/screens/community/community_recommendations_page.dart\u0060 and \u0060lib/widgets/media_items/media_peek_popup.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/community/community_recommendations_page.dart:691\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/screens/community/community_recommendations_page.dart"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"848490d2b858f8bb824758af7456a1ce28f6f8090d370212290e42f647fa4a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/screens/settings/sub_settings/player/settings_player_controls.dart:1069-1083 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:552-566 | lib/screens/settings/sub_settings/player/settings_player_subtitles.dart:342-356 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart:1069\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/screens/settings/sub_settings/player/settings_player_subtitles.dart:357\u0060 calls \u0060_buildSubtitlePreviewCard\u0060 and \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart:1084\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e9ec41129f123eb666894f40dc15e849ebcb792872a2524f87e9e388cdeefc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:145-159 | lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:244-258 | lib/screens/settings/sub_settings/settings_reader.dart:1446-1460 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:145\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:259\u0060 calls \u0060_buildNovelPreviewCard\u0060 and \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:160\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/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a992231ae3b1a69a2111251c9501051cf0d29e7e6447aca0219aec519b8f0ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/services/commentum_service.dart:651-665 | lib/services/commentum_service.dart:698-712 | lib/services/commentum_service.dart:908-922 \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/services/commentum_service.dart:651\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/services/commentum_service.dart"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ab80b347f110f36b5b41350c02237d1b0aac663d7c5740010dfbbc01a58c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/widgets/anymex_widgets/anymex_tile.dart:197-211 | lib/widgets/anymex_widgets/anymex_tile.dart:367-381 | lib/widgets/anymex_widgets/anymex_tile.dart:439-453 \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/widgets/anymex_widgets/anymex_tile.dart:197\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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/widgets/anymex_widgets/anymex_tile.dart:454\u0060 calls \u0060onChanged\u0060 and \u0060lib/widgets/anymex_widgets/anymex_tile.dart:212\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/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9366a3a7967d649c7c8f0f016908362c4b367212dc9c1a010bd7bb56e50b86ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:1015-1028 | lib/controllers/services/anilist/anilist_auth.dart:1173-1187 \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/controllers/services/anilist/anilist_auth.dart:1015\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb90ac42f8956117dafff39230e401f814edb361569116086c3a9576b2ae8db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:308-320 | lib/controllers/services/mal/mal_service.dart:166-180 \u2014 before extracting anything, compare \u0060lib/controllers/services/anilist/anilist_data.dart\u0060 and \u0060lib/controllers/services/mal/mal_service.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/anilist/anilist_data.dart:308\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cff479cbdd8f6dc1b51601f4d516dd1856eb39d1c19159ab55a29f248e17fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/controllers/services/widgets/widgets_builders.dart:304-318 | lib/screens/community/community_recommendations_page.dart:537-551 \u2014 before extracting anything, compare \u0060lib/controllers/services/widgets/widgets_builders.dart\u0060 and \u0060lib/screens/community/community_recommendations_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/widgets/widgets_builders.dart:304\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/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b28caa68e29477ef10f1c27e8579bdd66b827d9dc3436d7910544307c647d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/controllers/source/source_controller.dart:595-608 | lib/screens/extensions/widgets/plugin_manager.dart:204-218 \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/controllers/source/source_controller.dart:595\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/source/source_controller.dart"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"281da2336f7ba78383395f5d89908a134be09e50867650f8483e322630c6ceb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/anime/studio_details_page.dart:118-132 | lib/screens/anime/widgets/character_staff_sheet.dart:140-154 \u2014 before extracting anything, compare \u0060lib/screens/anime/studio_details_page.dart\u0060 and \u0060lib/screens/anime/widgets/character_staff_sheet.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/studio_details_page.dart:118\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/studio_details_page.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b225a792bbd3b3ef06ff3604f3d4c84c13edc62c7a103c8721cc3b29aac14719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/netflix_shared.dart:199-213 | lib/screens/anime/watch/controls/themes/player_control_themes/netflix_shared.dart:435-449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/netflix_shared.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1727b2963bcc9b3c0831da4591d40aa769d1922efa1d6f01c61bc535e2d35f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/control_button.dart:165-178 | lib/screens/anime/watch/controls/widgets/control_button.dart:181-195 \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/screens/anime/watch/controls/widgets/control_button.dart:181\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/screens/anime/watch/controls/widgets/control_button.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde3912bb219d16f5e0d18577d7af1f637d0161b6807b3931899e7ef148dd5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/anime/widgets/comments/discord_markdown.dart:1083-1097 | lib/widgets/non_widgets/activity_composer_sheet.dart:227-241 \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/screens/anime/widgets/comments/discord_markdown.dart:1083\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/widgets/non_widgets/activity_composer_sheet.dart:225\u0060 calls \u0060requestFocus\u0060 and \u0060lib/screens/anime/widgets/comments/discord_markdown.dart:1082\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/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"e804c09363574b93257eecb915199e0a097084e0adf6a12401223642a759231e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/anime/widgets/episode/styles/minimal_style.dart:81-95 | lib/screens/manga/widgets/chapter_list_builder.dart:888-902 \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/screens/anime/widgets/episode/styles/minimal_style.dart:81\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/screens/anime/widgets/episode/styles/minimal_style.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"862af7827270183a8f33bd2f2efdd9d5dfe21eb0041adf73e3882f9ec7d34984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/anime/widgets/video_slider.dart:108-122 | lib/widgets/common/slider_semantics.dart:196-210 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/video_slider.dart\u0060 and \u0060lib/widgets/common/slider_semantics.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/video_slider.dart:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/video_slider.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba381f752d353df9a810c3cf718df9a36c1300ea4654893f292bb94aac2aa0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:180-194 | lib/screens/downloads/controller/download_controller.dart:218-232 \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/screens/downloads/controller/download_controller.dart:180\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1432478cd034d0f89044a97adc74230e7d6a1b635cea5473d844f2c2a7b369a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:1519-1533 | lib/screens/downloads/controller/download_controller.dart:1565-1579 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d671e7c487d5ed05d8e7fb1c3f8afcc0f6ce55663754bf219f6862dcfe3180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/downloads/download_screen.dart:1189-1203 | lib/screens/downloads/download_screen.dart:1463-1477 \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/screens/downloads/download_screen.dart:1189\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/screens/downloads/download_screen.dart"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4545dd6e8e688caf007883eb53f35490dbfd4d673c712d51d279bf4a3cb56537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:88-102 | lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:724-738 \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/screens/downloads/nested_screens/active_downloads/active_downloads.dart:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:87\u0060 calls \u0060all\u0060, \u0060opaque\u0060 and \u0060lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:723\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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b662b992128587c474715d688a1e9802044829d2f50ce2e1567bedd5e1c8d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/downloads/widgets/downloaded_media_view.dart:369-383 | lib/screens/manga/widgets/chapter_list_builder.dart:1498-1512 \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/screens/downloads/widgets/downloaded_media_view.dart:369\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f7503d9a64e8cd51bc2e3b5e2545a76bfb1eadfcc9a7f98d1bcc2ee2ab28bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/library/online/anime_list.dart:276-290 | lib/screens/library/online/manga_list.dart:255-269 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:276\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/screens/library/online/anime_list.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"3850a592745dd9ac3eeaae92d9a99926786eb7720034e79f192f8540803f0b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/manga/widgets/chapter_list_builder.dart:692-706 | lib/screens/manga/widgets/chapter_list_builder.dart:748-762 \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/screens/manga/widgets/chapter_list_builder.dart:692\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/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"3111e566ec8088f10debd2bae27554a6d7a2fb84d2a6e3fb87db6e0e379c5367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:65-79 | lib/widgets/header/header.dart:686-700 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/tabbed_reader_settings.dart\u0060 and \u0060lib/widgets/header/header.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3b9c2a1f0bac2067a9a34ee6808a08f0989f7fb04eb84a3e1e3f9997179c53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:2530-2544 | lib/screens/settings/sub_settings/settings_addons.dart:169-183 \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/screens/profile/compatibility/compatibility_result_page.dart:2530\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":2530}}}],"partialFingerprints":{"codehealthFindingId/v1":"9863433aba41bf67f3b35c3b94bfcd3f19eea03fe95f9ba070613565f3355555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:777-791 | lib/screens/profile/widgets/user_profile_app_bar.dart:206-220 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 192 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/screens/profile/widgets/profile_header.dart:777\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"9146f820accfc7bf7e4196e49a06bee9357eed1db2daf230879a294ff981cc18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:50-64 | lib/screens/settings/sub_settings/settings_reader.dart:134-148 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee6fcaaff4fe925aa444a5d05f768de5a28b594799487996486447cc98e43cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:129-143 | lib/screens/settings/sub_settings/settings_reader.dart:213-227 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fea0e691c65fa0abca9a9c3af07a5f431d80ecceb7927b60f322c1c8545e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:89-103 | lib/screens/settings/sub_settings/settings_reader.dart:266-280 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08076c0d264d07c1b529842f39351fc70c4b5eaab66f27fa02bd49142f17511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/settings/sub_settings/settings_backup.dart:384-398 | lib/screens/settings/sub_settings/settings_backup.dart:793-807 \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/screens/settings/sub_settings/settings_backup.dart:384\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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3a6dfee284e5751685167ac8c4a33659c4c187ddef24e25662787dcff37e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/screens/settings/sub_settings/settings_extensions.dart:624-638 | lib/screens/settings/sub_settings/settings_extensions.dart:673-686 \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/screens/settings/sub_settings/settings_extensions.dart:624\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/screens/settings/sub_settings/settings_extensions.dart:640\u0060 calls \u0060Obx\u0060 and \u0060lib/screens/settings/sub_settings/settings_extensions.dart:688\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/screens/settings/sub_settings/settings_extensions.dart"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"342c873f58912083e901b9342bb247523929749f9e16be5daf252e18b80c762e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/utils/compatibility/matchmaker.dart:162-176 | lib/utils/compatibility/matchmaker.dart:348-362 \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/utils/compatibility/matchmaker.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f4d5d319f4cd3db09f79c33f775b1850d79655c041d0eecbd1a55d088601b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/utils/download_isolate_pool.dart:93-107 | lib/utils/download_isolate_pool.dart:155-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/utils/download_isolate_pool.dart:93\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/utils/download_isolate_pool.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"392799492f0dc68883397906bdb9a0e425cc621c982e06d8167ca827c2683505"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_expansion_tile.dart:239-253 | lib/widgets/anymex_widgets/anymex_tile_builder.dart:96-110 \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/widgets/anymex_widgets/anymex_expansion_tile.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c9abc72cc7ac65a5a1d410256d0b2f939e0466f6ed5a60c7cf1f868233556c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_tile.dart:253-267 | lib/widgets/anymex_widgets/anymex_tile.dart:552-566 \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/widgets/anymex_widgets/anymex_tile.dart:253\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/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"be81246e5b1089b6b2b513a657e9412cfaecc5816b4e3819718901c3d406a9db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_tile_builder.dart:159-173 | lib/widgets/anymex_widgets/anymex_tile_builder.dart:235-249 \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/widgets/anymex_widgets/anymex_tile_builder.dart:159\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/widgets/anymex_widgets/anymex_tile_builder.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"127e4887686c5a409e16218c892d8bca9dae6dc643c28003761da85f731a20ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_tile_builder.dart:179-193 | lib/widgets/anymex_widgets/anymex_tile_builder.dart:254-268 \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/widgets/anymex_widgets/anymex_tile_builder.dart:179\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/widgets/anymex_widgets/anymex_tile_builder.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1fb231e8b454c699c717dbf28ae9cb916dfb50e8f7c1accc631a6c09d5688c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/widgets/common/baked_blur_image.dart:192-207 | lib/widgets/common/baked_blur_image.dart:220-235 \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/widgets/common/baked_blur_image.dart:192\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/widgets/common/baked_blur_image.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06017a985b7cac0f4d41428b4a965e62815afed568ca5baa29429f9b5407cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/common/navbar/styles/classic_navbar.dart:126-140 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:99-113 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 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/widgets/common/navbar/styles/classic_navbar.dart:126\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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"07be7915f3f62c2c4da6322efd83866023b8e13c6b50e429eea1764bf494e18d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): lib/screens/local_source/local_source_view.dart:499-512 | lib/screens/local_source/local_source_view.dart:582-595 | lib/screens/local_source/local_source_view.dart:650-663 | lib/screens/local_source/local_source_view.dart:716-729 | lib/screens/local_source/local_source_view.dart:1169-1182 \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/screens/local_source/local_source_view.dart:499\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/screens/local_source/local_source_view.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b55f1f3310fa7ccfa87ac980b0d7871bc61db21585da96d2998bd9d30677c6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 4): lib/controllers/discord/discord_rpc.dart:542-555 | lib/controllers/discord/discord_rpc.dart:693-705 | lib/controllers/discord/discord_rpc.dart:800-811 | lib/controllers/discord/discord_rpc.dart:924-936 \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/controllers/discord/discord_rpc.dart:542\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/controllers/discord/discord_rpc.dart:707\u0060 calls \u0060toString\u0060 and \u0060lib/controllers/discord/discord_rpc.dart:813\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/controllers/discord/discord_rpc.dart"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba54dd5ed9dbbd2ff4ab1e7b805e8bff56ece8a49cf16a4dd1839b676d7c97a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): lib/controllers/offline/offline_storage_controller.dart:569-582 | lib/controllers/offline/offline_storage_controller.dart:654-667 | lib/controllers/offline/offline_storage_controller.dart:718-731 | lib/controllers/offline/offline_storage_controller.dart:782-795 \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/controllers/offline/offline_storage_controller.dart:569\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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84ae9412fb3fd57a3520805f0f8a537e5781df36b0155b5bd9cbbafce45a150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): lib/screens/anime/widgets/episode_list_builder.dart:581-594 | lib/screens/anime/widgets/episode_list_builder.dart:661-674 | lib/screens/anime/widgets/episode_list_builder.dart:718-731 | lib/screens/anime/widgets/episode_list_builder.dart:757-770 \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/screens/anime/widgets/episode_list_builder.dart:581\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"3391717e594b2ecab16411b15a43a9c51982162519a23cbec4dee1e44bdce374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): lib/screens/settings/sub_settings/player/settings_player_engine.dart:674-686 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:689-702 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:705-717 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:720-732 \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/screens/settings/sub_settings/player/settings_player_engine.dart:674\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/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c4e97c4910ecd94916780261b920997584e16e8c1c49d6bc9237b31d57dd6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): lib/utils/color_profiler.dart:366-379 | lib/utils/color_profiler.dart:388-401 | lib/utils/color_profiler.dart:408-421 | lib/utils/color_profiler.dart:436-449 \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/utils/color_profiler.dart:366\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/utils/color_profiler.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c1ed4021f28eb4e048845de956148be5e422ed5904db92490ac37a80b54910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/screens/anime/misc/calendar.dart:225-238 | lib/screens/library/online/anime_list.dart:222-235 | lib/screens/library/online/manga_list.dart:200-213 \u2014 before extracting anything, compare \u0060lib/screens/anime/misc/calendar.dart\u0060 and \u0060lib/screens/library/online/anime_list.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01cd61ab693e284c2992727c21be3b71faa755700be87e1342c7a5331d619b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): lib/screens/downloads/download_screen.dart:1132-1145 | lib/screens/downloads/download_screen.dart:1412-1425 | lib/screens/downloads/widgets/download_server_selector.dart:411-423 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/download_screen.dart:1132\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/screens/downloads/widgets/download_server_selector.dart:409\u0060 calls \u0060Row\u0060 and \u0060lib/screens/downloads/download_screen.dart:1131\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/screens/downloads/download_screen.dart"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca558b5c92ffc3aca59ea9618a6883607f7eec1a93eb509fa030796bf69fbb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/utils/color_profiler.dart:817-830 | lib/utils/color_profiler.dart:1051-1064 | lib/utils/color_profiler.dart:1329-1342 \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/utils/color_profiler.dart:817\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/utils/color_profiler.dart"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"3846f3f1100a7cc47b4903a7d3a1a721d0c9a15ff77514c1051050bd6208db46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:286-296 | lib/controllers/services/mal/mal_service.dart:134-147 \u2014 before extracting anything, compare \u0060lib/controllers/services/anilist/anilist_data.dart\u0060 and \u0060lib/controllers/services/mal/mal_service.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3719a408d55e6f223e9985c1a0ada8b88e0075411416e348405e14880a639d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:592-605 | lib/controllers/services/anilist/anilist_data.dart:835-848 \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/controllers/services/anilist/anilist_data.dart:592\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34a4804e061424209861536e1588587ccea24fd434dc4b3706e5699fc989af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/controllers/services/widgets/widgets_builders.dart:301-314 | lib/screens/community/community_recommendations_page.dart:777-790 \u2014 before extracting anything, compare \u0060lib/controllers/services/widgets/widgets_builders.dart\u0060 and \u0060lib/screens/community/community_recommendations_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/widgets/widgets_builders.dart:301\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/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f00044912f78aaa62d8e8209b95d5e0bdffef65b7fbd22afea7f7e2133d918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/anime/details/media_details_page.dart:1314-1327 | lib/widgets/common/home_continue_button.dart:188-201 \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/screens/anime/details/media_details_page.dart:1314\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"805d96277f7270b46c1840425ca63f22205cbaf4864850513fd6a17cfa82e771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/anime/misc/calendar.dart:965-978 | lib/widgets/media_items/media_item.dart:265-278 \u2014 before extracting anything, compare \u0060lib/screens/anime/misc/calendar.dart\u0060 and \u0060lib/widgets/media_items/media_item.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/misc/calendar.dart:965\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/screens/anime/misc/calendar.dart"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"6422fef25e3f53db802dcc65d52a047c106063123cc6e848955edc026c62f166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/anime/misc/calendar.dart:1040-1053 | lib/widgets/media_items/media_item.dart:338-351 \u2014 before extracting anything, compare \u0060lib/screens/anime/misc/calendar.dart\u0060 and \u0060lib/widgets/media_items/media_item.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/misc/calendar.dart:1040\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/screens/anime/misc/calendar.dart"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b33183100a798faf4bfe0fd9c3199ef7de3a5819883e86f9f62cb3dfbad0ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lib/screens/anime/watch/controls/bottom_controls.dart:294-307 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:499-510 \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. 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/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d6d6352bc156241d3cf8242c4b89528f8666ff7c75515499bee711746919d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/anime/watch/controls/bottom_controls.dart:311-324 | lib/screens/anime/watch/controls/bottom_controls.dart:404-417 \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/screens/anime/watch/controls/bottom_controls.dart:311\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/screens/anime/watch/controls/bottom_controls.dart:325\u0060 calls \u0060SizedBox\u0060 and \u0060lib/screens/anime/watch/controls/bottom_controls.dart:418\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/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f7793d74d4bfcb086d1037d1ddb9aea14aaaf26d9b99c6fb4c3c368c2fa3bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/anime/watch/controls/center_controls.dart:80-93 | lib/screens/anime/watch/controls/center_controls.dart:156-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/center_controls.dart:80\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/screens/anime/watch/controls/center_controls.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"324547e075dfe560165ebf76c91dd8f2816d91ae25996e2d4ab77bb00acdd71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/shader_osd.dart:31-44 | lib/screens/community/community_recommendations_page.dart:780-792 \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/screens/anime/watch/controls/widgets/shader_osd.dart:31\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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/screens/anime/watch/controls/widgets/shader_osd.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e4882844c6c4ef741e2f1fdb30d3956a3aa9334cdbfa6d97a20c8c8652fc2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/anime/widgets/character_staff_sheet.dart:920-933 | lib/screens/anime/widgets/character_staff_sheet.dart:955-968 \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/screens/anime/widgets/character_staff_sheet.dart:920\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/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdccfa8d2bea767f9bde62fca2d811e31b05cb837ff660f347504a9397123690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:1437-1450 | lib/screens/anime/widgets/comments/comments_section.dart:1786-1799 \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/screens/anime/widgets/comments/comments_section.dart:1437\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"6889789292cc93211dc359ba467724d7d3a80df8ac8025e5e0d1d72bd3de235d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/anime/widgets/voice_actor.dart:121-134 | lib/screens/anime/widgets/voice_actor.dart:381-393 \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/screens/anime/widgets/voice_actor.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. 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/screens/anime/widgets/voice_actor.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0f44d1488d3c2d7c10fd5fe2f1647414c85529dd3319c65a7b8a634e28e0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:828-841 | lib/screens/downloads/controller/download_controller.dart:1180-1193 \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/screens/downloads/controller/download_controller.dart:828\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe02c43ba403a223b6020682da71a6edf3168ac04a0635841b7517ec7adeb410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:1351-1364 | lib/screens/downloads/controller/download_controller.dart:1742-1754 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"803b975377dd6a79a0edbaf36090da0ddea4861d1a125019353fcccadd54113e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:1653-1666 | lib/screens/downloads/controller/download_controller.dart:1716-1728 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c01a96f7de6a1991be2efd6198d151f3c5f7f0ce6d60d89d68915d8835b4432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:409-422 | lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:629-641 \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/screens/downloads/nested_screens/active_downloads/active_downloads.dart:409\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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"da584c3a40ef85b8fd5600799f47accc142c22189103f8e5597a867ac9a8e98c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lib/screens/downloads/widgets/downloaded_media_view.dart:1331-1342 | lib/screens/search/widgets/search_widgets.dart:794-807 \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/screens/search/widgets/search_widgets.dart:794\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4544c41e61f995497a10ff3a5eaf9477a6fb1f7aeb1c928a9cfb7a6fbef351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/library/stats_page.dart:95-108 | lib/screens/library/stats_page.dart:113-126 \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/screens/library/stats_page.dart:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/stats_page.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db794775140435aca3dd985b478977174cef01b09ae68abfb3bc6e77f8910f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/manga/widgets/chapter_list_builder.dart:1032-1045 | lib/screens/novel/details/widgets/chapter_item.dart:142-154 \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/screens/manga/widgets/chapter_list_builder.dart:1032\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/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"363a87a46a64f43f25dde4697415a9b018077950506fa341ffabc0142d47a4e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lib/screens/manga/widgets/reader/continuous_reader.dart:433-444 | lib/screens/manga/widgets/reader/reader_view.dart:378-391 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/continuous_reader.dart\u0060 and \u0060lib/screens/manga/widgets/reader/reader_view.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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/screens/manga/widgets/reader/continuous_reader.dart:433\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/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"22329a5d690dfa4a16c41e09e1c68b39fd2b6566999111e9b7a89116b977c8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/notifications/notification_screen.dart:415-428 | lib/screens/notifications/notification_screen.dart:589-601 \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/screens/notifications/notification_screen.dart:415\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/screens/notifications/notification_screen.dart"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c06ebb15bfb17daabfd114f16a022c1ed2ab28985f8e9af84a8eae1e89e9b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/notifications/notification_screen.dart:438-451 | lib/screens/notifications/notification_screen.dart:613-626 \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/screens/notifications/notification_screen.dart:438\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/screens/notifications/notification_screen.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4e1cc111b7e4930159221049b24aeb18dba6abdac67a263d9cbf17d619f8f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/novel/reader/widgets/bottom_controls.dart:420-433 | lib/screens/novel/reader/widgets/bottom_controls.dart:449-461 \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/screens/novel/reader/widgets/bottom_controls.dart:420\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/screens/novel/reader/widgets/bottom_controls.dart"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"c214f40492922eb45273a9c39f3824f702f8bed0135bbdaa01b3b349db3bdfbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:1436-1449 | lib/screens/profile/compatibility/compatibility_result_page.dart:1638-1650 \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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66b208ec01787944b3fecd2b6544f7d8f511bc27f10ba32b17c2a1728ab4213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:163-176 | lib/screens/profile/widgets/user_profile_header.dart:137-148 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_header.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/profile_header.dart:163\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7020d7b40b2459f4989724bd8c280b6d7d1e6bb4e5acdcbe43deaf991666008a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:179-191 | lib/screens/profile/widgets/user_profile_header.dart:150-163 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_header.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/profile_header.dart:179\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/profile/widgets/user_profile_header.dart:148\u0060 calls \u0060IconButton\u0060, \u0060Icon\u0060 and \u0060lib/screens/profile/widgets/profile_header.dart:178\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f038a0800e9524413ce214d5a1a6212b4a0042278988cf5efc16e51887ff6491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:673-686 | lib/screens/profile/widgets/profile_header.dart:690-703 \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/screens/profile/widgets/profile_header.dart:673\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d81c55a1c5bad580527891eb286a4658f432a361e30201b7a54998846cbc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/profile/widgets/user_profile_app_bar.dart:513-526 | lib/screens/profile/widgets/user_profile_header.dart:301-313 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_header.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 167 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/screens/profile/widgets/user_profile_app_bar.dart:513\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/screens/profile/widgets/user_profile_app_bar.dart"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"45094b1b13da71b037a39765334251db11468fe5bb556ec03468939e84c845e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/profile/widgets/user_profile_app_bar.dart:550-563 | lib/screens/profile/widgets/user_profile_header.dart:343-355 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_header.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 167 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/screens/profile/widgets/user_profile_app_bar.dart:550\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/screens/profile/widgets/user_profile_app_bar.dart"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a44c318de76ee520577a236c5c0ee0dbeffdfcb13ff846f7a1a1218073a7d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/search/widgets/extension_filter_sheet.dart:459-472 | lib/screens/search/widgets/extension_filter_sheet.dart:616-629 \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/screens/search/widgets/extension_filter_sheet.dart:459\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/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8374781723c37cfaeaa19e5baddf4aebdf31b696798101a0d89d9c0dff2db4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_subtitles.dart:340-353 | lib/screens/settings/sub_settings/settings_player.dart:116-128 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/player/settings_player_subtitles.dart:340\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/screens/settings/sub_settings/player/settings_player_subtitles.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca70b5a0afe08a8f4ddc34378a75f7b0d87e171e4511b5071fed4cf565a6a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/screens/settings/sub_settings/settings_downloads.dart:25-37 | lib/screens/settings/sub_settings/settings_ui.dart:57-70 \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/screens/settings/sub_settings/settings_downloads.dart:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_downloads.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce65567d88f69d00515e5770ef408168b158e2eb35b2f5c2f100162d9bbb011d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lib/screens/settings/sub_settings/settings_extensions.dart:349-360 | lib/widgets/anymex_widgets/anymex_tabbar.dart:94-107 \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/screens/settings/sub_settings/settings_extensions.dart:349\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060children\u0060 to \u0060tabs.map((t\u0060 in one and \u0060selectTabs.asMap().entries.map((e\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/screens/settings/sub_settings/settings_extensions.dart"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cf530fb360addc4d1f742fbc5f36d767a927b72d01198fad497ab7933566ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/commentum_service.dart:602-615 | lib/services/commentum_service.dart:961-974 \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/services/commentum_service.dart:602\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/services/commentum_service.dart"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd1d1873f01ec5baadca0dc2a453e103ae7d3d68baab6f419e92119292d94f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart:72-85 | lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart:146-159 \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/widgets/subsampling_scale_image_view/subsampling_image_provider.dart:72\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/widgets/subsampling_scale_image_view/subsampling_image_provider.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc82a89d2b0fe4d671407a6f9d0217557a1b15fcf9066389367692ab0b89cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/controllers/services/widgets/widgets_builders.dart:304-316 | lib/screens/anime/watch/controls/widgets/shader_osd.dart:31-43 | lib/screens/community/community_recommendations_page.dart:537-549 | lib/screens/community/community_recommendations_page.dart:780-792 \u2014 before extracting anything, compare \u0060lib/controllers/services/widgets/widgets_builders.dart\u0060 and \u0060lib/screens/community/community_recommendations_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/widgets/widgets_builders.dart:304\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/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47b035cf6545438116ee26e74178d40764285dbdd27cf9cf6353cf086e8813e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/screens/anime/widgets/anime_stats.dart:688-700 | lib/screens/anime/widgets/anime_stats.dart:725-737 | lib/screens/manga/widgets/manga_stats.dart:730-742 | lib/screens/manga/widgets/manga_stats.dart:767-779 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:688\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1a1df7e48427c698029e6b70e208a4469f2af6da1032bfefa5657f279bceca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): lib/screens/profile/widgets/profile_header.dart:967-979 | lib/screens/profile/widgets/profile_header.dart:997-1009 | lib/screens/profile/widgets/user_profile_app_bar.dart:498-509 | lib/screens/profile/widgets/user_profile_app_bar.dart:534-546 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 192 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/screens/profile/widgets/profile_header.dart:967\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c40829c4b0c12cd02e62b8e9b0c0b26c5581ba6e280f377f6e3eba0292732cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/screens/search/widgets/search_widgets.dart:1432-1444 | lib/screens/search/widgets/search_widgets.dart:1523-1535 | lib/screens/search/widgets/search_widgets.dart:1605-1617 | lib/screens/search/widgets/search_widgets.dart:1679-1691 \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/screens/search/widgets/search_widgets.dart:1432\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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"52954a5a9b73fd2c508b12d916672c091e55a439075d4d0fc776870e3e21e749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/screens/settings/sub_settings/settings_network.dart:351-363 | lib/screens/settings/sub_settings/settings_network.dart:606-618 | lib/screens/settings/sub_settings/settings_network.dart:643-655 | lib/screens/settings/sub_settings/settings_network.dart:681-693 \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/screens/settings/sub_settings/settings_network.dart:351\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"76764a4cd59e977e569f4f2715a223636b8df95d21d0a5dcb57127f6273e15a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/controllers/watchium/watchium_sync_controller.dart:324-336 | lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:635-647 | lib/widgets/watchium/watchium_create_dialog.dart:557-569 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/watchium/watchium_sync_controller.dart:324\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/controllers/watchium/watchium_sync_controller.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb71d92d25e987d30a737934283a727a7c7b123576a7e1a4bdef62b9b47dd7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): lib/screens/anime/misc/calendar.dart:380-404 | lib/screens/library/online/anime_list.dart:622-646 | lib/screens/library/online/manga_list.dart:606-630 \u2014 before extracting anything, compare \u0060lib/screens/anime/misc/calendar.dart\u0060 and \u0060lib/screens/library/online/anime_list.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/misc/calendar.dart:380\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/screens/anime/misc/calendar.dart"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3ca233665fc624838429566a07043701b075526ca7221e606f3879e5b27417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/screens/anime/widgets/comments/comments_section.dart:2423-2435 | lib/screens/anime/widgets/comments/comments_section.dart:2506-2518 | lib/screens/anime/widgets/comments/comments_section.dart:2638-2650 \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/screens/anime/widgets/comments/comments_section.dart:2423\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"48734aa1519a54e81eb6212268c14cb94bb9883ab9f275285fff4f432358efbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/screens/anime/widgets/video_slider.dart:154-166 | lib/screens/anime/widgets/video_slider.dart:178-190 | lib/screens/anime/widgets/video_slider.dart:199-211 \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/screens/anime/widgets/video_slider.dart:154\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/video_slider.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1742a57767bfbd4dcf03d408101dbabbe2e628b4c038d8207ab255ec0be91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/screens/local_source/local_source_view.dart:407-419 | lib/screens/local_source/local_source_view.dart:431-443 | lib/screens/local_source/local_source_view.dart:796-808 \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/screens/local_source/local_source_view.dart:407\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/screens/local_source/local_source_view.dart"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c35bd59d701cc7d76184fa7b9f0efc90048c1719cc798626e41b5b0dfd6fc80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:199-211 | lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:251-263 | lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:304-316 \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/screens/manga/widgets/reader/tabbed_reader_settings.dart:199\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/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea870e3f9d12832387ec6aee556c4903c8925ca8ccdef4c9341269b0099d4e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/screens/profile/activity_details_page.dart:543-555 | lib/widgets/non_widgets/activity_card.dart:167-179 | lib/widgets/non_widgets/activity_card.dart:291-303 \u2014 before extracting anything, compare \u0060lib/screens/profile/activity_details_page.dart\u0060 and \u0060lib/widgets/non_widgets/activity_card.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/activity_details_page.dart:543\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/screens/profile/activity_details_page.dart"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef9a91faf29376f404a8f9e887c31147c13c348c9927a4d048f7aff891f9795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/screens/settings/sub_settings/player/settings_player_controls.dart:284-296 | lib/screens/settings/sub_settings/player/settings_player_controls.dart:438-450 | lib/screens/settings/sub_settings/settings_reader.dart:432-444 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart:284\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9cc3ab3501416eccf81c42a76d0339c67ca20e3d48a86de8b4ed609c364db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): lib/screens/settings/sub_settings/settings_common.dart:41-53 | lib/screens/settings/sub_settings/settings_logs.dart:24-35 | lib/screens/settings/sub_settings/settings_storage_manager.dart:183-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/settings_common.dart:41\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/screens/settings/sub_settings/settings_common.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"da882506bd182dfd9a8caedcb15068849007315418b503c0aae001dfd283eae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/screens/settings/sub_settings/settings_moderation.dart:548-560 | lib/widgets/non_widgets/recommend_sheet.dart:1097-1109 | lib/widgets/non_widgets/recommend_sheet.dart:1176-1188 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/settings_moderation.dart:548\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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5039cc98526901e036d68366424bbe5141dd2a50d7c40a638b328bce58b871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/widgets/common/navbar/styles/classic_navbar.dart:165-177 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:144-156 | lib/widgets/header/header.dart:1056-1068 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 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/widgets/common/navbar/styles/classic_navbar.dart:165\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/widgets/header/header.dart:1069\u0060 calls \u0060symmetric\u0060 and \u0060lib/widgets/common/navbar/styles/classic_navbar.dart:178\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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"938544df0cd5ad02f9caa9a4063d6091fd5d29af1de83bc89c9a48594c92335d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/controllers/offline/offline_storage_controller.dart:934-946 | lib/controllers/offline/offline_storage_controller.dart:998-1010 \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/controllers/offline/offline_storage_controller.dart:934\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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b6d404509ce23b6831cfec6ffb820882fb01a8443fa310e7592a9552e1343a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:210-222 | lib/controllers/services/mal/mal_service.dart:683-695 \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/controllers/services/anilist/anilist_auth.dart:210\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e5ac539dc08233367526fc34c0d4c6ff730c4a2290b3ad163d8f510ce578bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:1775-1786 | lib/controllers/services/anilist/anilist_auth.dart:1817-1829 \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/controllers/services/anilist/anilist_auth.dart:1775\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1775}}}],"partialFingerprints":{"codehealthFindingId/v1":"8027e41b124ef18f748f24b3c76fbe032db0af08a4b7a76a4903ac3311bfef10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/controllers/services/community_service.dart:1024-1036 | lib/controllers/services/community_service.dart:1086-1097 \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/controllers/services/community_service.dart:1024\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/controllers/services/community_service.dart"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c3f1678bb57b60a01b156ec2506e91586d50b4c6c29548d1a7febe51214aad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/controllers/services/community_service.dart:1055-1067 | lib/controllers/services/community_service.dart:1110-1121 \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/controllers/services/community_service.dart:1055\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/controllers/services/community_service.dart"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"44618797f19f24397d36e066233dd9651d9f4383d592a71cd181f60047305b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/controllers/services/simkl/simkl_api.dart:134-146 | lib/controllers/services/simkl/simkl_api.dart:149-161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/simkl/simkl_api.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6e1cf8eac0cbb3429d22fd3b0b3fd72091b4651c81f17927ef2d262e4cfe68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/controllers/sync/gist_sync_controller.dart:1012-1024 | lib/controllers/sync/progress_sync_section.dart:361-373 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/sync/gist_sync_controller.dart"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7adddc05836fb95155f2da903c2752e71667836df988ec698917a64517fda7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/models/Media/media.dart:1157-1169 | lib/models/Media/media.dart:1372-1384 \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/models/Media/media.dart:1157\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/models/Media/media.dart"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"201ef6282fa0954d8742a05c6c090eeaf481065beabe9fe7d374331e320bb6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/anime/details/controller/media_details_controller.dart:625-637 | lib/screens/anime/details/controller/media_details_controller.dart:750-762 \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/screens/anime/details/controller/media_details_controller.dart:625\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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"08006d35ba7e0b7bcf11bf0d01b855a4242c447fe0e32f5e1173b7835671297f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/anime/misc/list_exporter.dart:385-397 | lib/screens/anime/misc/list_exporter.dart:449-461 \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/screens/anime/misc/list_exporter.dart:385\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/screens/anime/misc/list_exporter.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe6ae5606561fa677b3a7d6d4bd7a5dc72368c4f11d49d61b440b6401dec6f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart:95-107 | lib/screens/anime/watch/controls/themes/player_control_themes/netflix_mobile_player_theme.dart:174-186 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/netflix_mobile_player_theme.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 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/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart:95\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/netflix_desktop_player_theme.dart.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"83313559d6ea987652adc01603b31a587067f8fbaf629d8354989075c4f76106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/progress_slider.dart:88-100 | lib/screens/anime/watch/controls/widgets/progress_slider.dart:105-116 \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/screens/anime/watch/controls/widgets/progress_slider.dart:88\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/screens/anime/watch/controls/widgets/progress_slider.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"247c9b2047baed49ceb2c5d13b6821eea78f352f2679761fbebc1543f942c32b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:585-597 | lib/screens/anime/widgets/anime_stats.dart:634-646 \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/screens/anime/widgets/anime_stats.dart:585\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadc55aa7664debfd3d940b006cde700d6d9064d2503ae6261f2c7919b3d9ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:850-862 | lib/screens/manga/widgets/manga_stats.dart:513-525 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:850\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"337b03c5482198895949e0ff08ce1008b754224c8f684c804e108193ea5806ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:870-882 | lib/screens/manga/widgets/manga_stats.dart:534-546 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:870\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ea3bc7f6bbaca06aa15036c72e2db5b0fe740273e1095b7c4f5e2257a4de78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/screens/anime/widgets/character_staff_sheet.dart:261-272 | lib/screens/extensions/ExtensionItem.dart:184-196 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/character_staff_sheet.dart:261\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/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebc53b172c82f4fc89ab8e5120ea92a1cee33e34bca986b57c92f2ab4fb7b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:1204-1214 | lib/screens/anime/widgets/comments/comments_section.dart:1288-1300 \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/screens/anime/widgets/comments/comments_section.dart:1204\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce8c6424daac7488831dfc21d87309d93f22a366788faf0670a8a837b3e4385"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/anime/widgets/comments/discord_markdown.dart:921-933 | lib/screens/anime/widgets/comments/discord_markdown.dart:935-947 \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/screens/anime/widgets/comments/discord_markdown.dart:921\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/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07ec14d7927cc2a587fea61cc3e989e749cd48038a9ce341088def4c4206f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lib/screens/anime/widgets/video_slider.dart:71-83 | lib/widgets/common/slider_semantics.dart:299-309 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/video_slider.dart\u0060 and \u0060lib/widgets/common/slider_semantics.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/video_slider.dart:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/video_slider.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3431d8960c0fcb62b136bb2f821e522fa5aa51eb26390f4d89946aa5e0150ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/anime/widgets/wrongtitle_modal.dart:261-273 | lib/screens/library/online/manga_list.dart:833-845 \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/screens/anime/widgets/wrongtitle_modal.dart:261\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/screens/anime/widgets/wrongtitle_modal.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c28b41420159f6780a24c72d85c5e83d6f6615bed5a3e4b89b86241d21d767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/downloads/widgets/download_server_selector.dart:678-690 | lib/screens/downloads/widgets/download_server_selector.dart:719-731 \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/screens/downloads/widgets/download_server_selector.dart:678\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/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a46bc13314b01a9c87bbe44c69ccf46deed65164fc4f80a53e9d65fb1000da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/downloads/widgets/manga_chapter_download_confirm.dart:131-143 | lib/widgets/watchium/watchium_create_dialog.dart:369-381 \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/screens/downloads/widgets/manga_chapter_download_confirm.dart:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/manga_chapter_download_confirm.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5696937853088407821ed95d18fc33a90a9f7b026a8df1e61c47504eeae093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/extensions/ExtensionItem.dart:361-373 | lib/screens/extensions/ExtensionItem.dart:396-408 \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/screens/extensions/ExtensionItem.dart:361\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/screens/extensions/ExtensionItem.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e23020e26d45f3b9529270d739b7fc5d2c6df00ed5a6e45646f8d660b23ebe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/library/history_page.dart:222-234 | lib/screens/stats/user_stats_page.dart:232-244 \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/screens/library/history_page.dart:222\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/screens/library/history_page.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd25fae01c44683edcbfdc604fb8fb9a4b09495e3515128af633673040473d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/library/widgets/anime_card.dart:80-92 | lib/screens/library/widgets/common_widgets.dart:84-96 \u2014 before extracting anything, compare \u0060lib/screens/library/widgets/anime_card.dart\u0060 and \u0060lib/screens/library/widgets/common_widgets.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/screens/library/widgets/anime_card.dart:80\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/screens/library/widgets/anime_card.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"488eff841c06599363ba4060d7095055d4126bdc56e2765537e68251901c94c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/manga/widgets/reader/settings_view.dart:94-106 | lib/screens/manga/widgets/reader/settings_view.dart:164-176 \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/screens/manga/widgets/reader/settings_view.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"feddd3097474db110e03f2da5b5dc3cf393ad133b5a955d907e1791de0f4c890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/manga/widgets/reader/top_controls.dart:258-270 | lib/screens/novel/reader/widgets/top_controls.dart:216-228 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/top_controls.dart\u0060 and \u0060lib/screens/novel/reader/widgets/top_controls.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/manga/widgets/reader/top_controls.dart:258\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/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efcf72dd3b27ed8ccd70791f12a97fdc22a13d627add9638af82672d62767c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/novel/reader/widgets/settings_view.dart:297-309 | lib/screens/novel/reader/widgets/settings_view.dart:413-425 \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/screens/novel/reader/widgets/settings_view.dart:297\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/widgets/settings_view.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0f8c92fac8a3644db1d47ca035100732ed9d2fa8f2c91bfb18227bb3ce583f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:836-848 | lib/screens/profile/compatibility/compatibility_result_page.dart:2370-2382 \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/screens/profile/compatibility/compatibility_result_page.dart:836\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"27455fc2d074f409e566adebf0fcbbe8d11203fc2bf46cc1e4d5ac97e083f266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/profile/profile_page.dart:932-944 | lib/screens/profile/user_profile_page.dart:894-906 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce1adc782d96c86fb1a3f1898bc13436dd42e3027db1ca047b57ce77b28c2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/profile/profile_page.dart:1141-1153 | lib/screens/profile/user_profile_page.dart:1065-1077 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:1141\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/screens/profile/user_profile_page.dart:1064\u0060 calls \u0060SizedBox\u0060 and \u0060lib/screens/profile/profile_page.dart:1139\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/screens/profile/profile_page.dart"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"469f26fad9e434bdc1bafc7c98b5045cfb6f30c0a738ae75cd26bba4a558454f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/screens/profile/profile_page.dart:1192-1203 | lib/screens/profile/user_profile_page.dart:1113-1125 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:1192\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/screens/profile/profile_page.dart"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bcd02dd42a1e44241178fd01993faeb2ca78c1feb871136ef2122a492250d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:894-906 | lib/screens/profile/widgets/user_profile_app_bar.dart:313-325 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 192 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/screens/profile/widgets/profile_header.dart:894\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f30187db928fc5bfcad4a918b06afcecbfac34c182d9971524abcf81a0f498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/screens/profile/widgets/user_media_list_page.dart:304-315 | lib/widgets/non_widgets/recommend_sheet.dart:168-180 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/user_media_list_page.dart:304\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/screens/profile/widgets/user_media_list_page.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3844cef5b08273c17fade11ac75a5cf7447e467b930737518b1b383f49223263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/screens/search/search_view.dart:363-375 | lib/screens/search/search_view.dart:391-402 \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/screens/search/search_view.dart:363\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. 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/screens/search/search_view.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"2425d199b0852031a936dab55fd1c92bcb671745e7625ccf8963ba422440eb15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/settings/misc/sauce_finder_view.dart:199-211 | lib/screens/settings/misc/sauce_finder_view.dart:422-434 \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/screens/settings/misc/sauce_finder_view.dart:199\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/screens/settings/misc/sauce_finder_view.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd491d2ed7f0bc77356e2b4eedfef976dbfa930c0bb064bb3f5577de19bda29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_controls.dart:521-533 | lib/screens/settings/sub_settings/settings_reader.dart:555-567 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart:521\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"353b8ee103c31a4703dfb5e1e2ec210aea33985ed5e6b4f36742844deda9ce3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/settings/sub_settings/settings_extensions.dart:505-517 | lib/screens/settings/sub_settings/settings_extensions.dart:566-578 \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/screens/settings/sub_settings/settings_extensions.dart:505\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/screens/settings/sub_settings/settings_extensions.dart"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa3c2a48a086a3f4e6edf3a9616b20bba1015f0a908391599ddef9648d0d066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lib/screens/settings/sub_settings/settings_moderation.dart:1545-1557 | lib/screens/settings/sub_settings/settings_moderation.dart:1569-1579 \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/screens/settings/sub_settings/settings_moderation.dart:1545\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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba419ea8052b4db29759ca8a149cf2d435f606b1ce397a00b2c33868f853f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lib/screens/settings/sub_settings/settings_network.dart:392-404 | lib/screens/settings/sub_settings/settings_ui_details.dart:340-350 \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/screens/settings/sub_settings/settings_network.dart:392\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5263325c221f30a6d0fa592b48dfdc233f648fa9ace884fc2a85838fa07bb366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/settings/sub_settings/settings_ui_details.dart:480-492 | lib/widgets/anime/media_header.dart:121-133 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3524754055303b848d6862e3542049fba0207adaed12986d9a33412ea9892e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:747-759 | lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:1232-1244 \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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:747\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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec25a04ce05a2c9ceed52f7a4d0bbf9e47a323f9d78f3ba7035c9783aa9d67ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/cast/cast_service.dart:575-587 | lib/services/cast/cast_service.dart:596-608 \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/services/cast/cast_service.dart:575\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/services/cast/cast_service.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef69042a7b3fb760e9920f41925dca60485dcbb8ec9e84b82b64d17737885bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/commentum_service.dart:1754-1766 | lib/services/commentum_service.dart:1802-1814 \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/services/commentum_service.dart:1754\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/services/commentum_service.dart"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ede320ba69da78ad93dd2bd525d021702ba66198ac549f9b231f46daf46a965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/utils/al_about_me_helpers.dart:138-150 | lib/utils/al_about_me_helpers.dart:174-186 \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/utils/al_about_me_helpers.dart:138\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/utils/al_about_me_helpers.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a363823ffba2829c8bb9dcdf0fe695cf561ba897532bd2b799021eed75307e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/utils/background_service_handler.dart:183-195 | lib/utils/background_service_handler.dart:316-328 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/utils/background_service_handler.dart:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/background_service_handler.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad46142e2d8f8fcc356ff91752ea03ec5a3fa6bfb6724958beca593ea4c5007d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/utils/compatibility/matchmaker.dart:291-303 | lib/utils/compatibility/matchmaker.dart:428-440 \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/utils/compatibility/matchmaker.dart:291\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f40d936b9aa40a9b78faccef18ef458ba7ed82855f2aac4e8a726f71f24dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/utils/updater.dart:427-439 | lib/utils/updater.dart:473-485 \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/utils/updater.dart"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"840893ddc08069238aab0dc40f271208b7f7d457d42ce464085c9b8e98ef884e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_animated_logo.dart:939-951 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:973-985 \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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"950301c56f24d91e65993cbf171768d59cb5fb735ecc56b6ae22fde8b013e6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_button.dart:139-150 | lib/widgets/anymex_widgets/anymex_container.dart:72-84 \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/widgets/anymex_widgets/anymex_button.dart:139\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/widgets/anymex_widgets/anymex_button.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1552bcca19b0b722d3008b10d62577206903f7b79f413e39b8de7a0696a0957a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/widgets/common/cards/card_components.dart:132-143 | lib/widgets/common/cards/card_components.dart:264-276 \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/widgets/common/cards/card_components.dart:132\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/widgets/common/cards/card_components.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b17427e45b9d370c515c2eaf0842b31a044e3623db63da5e77012f0e3ca8da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/widgets/dialogs/logo_animation_preview_dialog.dart:189-201 | lib/widgets/dialogs/logo_animation_preview_dialog.dart:446-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/logo_animation_preview_dialog.dart:189\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/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc3dccbe86ad770003ba01234f70b98e4db2f9460bad0dfe0025642e88c88d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/widgets/helper/platform_builder.dart:184-195 | lib/widgets/helper/platform_builder.dart:198-210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/helper/platform_builder.dart:184\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/widgets/helper/platform_builder.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"924751c6c05c43dfb8d77f3512b74ff623c82abf64a9aa1b572c73a20939e0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/widgets/media_items/media_peek_popup.dart:183-195 | lib/widgets/non_widgets/reasons_sheet.dart:135-147 \u2014 before extracting anything, compare \u0060lib/widgets/media_items/media_peek_popup.dart\u0060 and \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/media_items/media_peek_popup.dart:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b181a54b8ea83d94c9d78ae967578e9da417f6ba39ab2da9450563b488c4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/widgets/watchium/watchium_party_popup.dart:1051-1063 | lib/widgets/watchium/watchium_party_popup.dart:1078-1090 \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/widgets/watchium/watchium_party_popup.dart:1051\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/widgets/watchium/watchium_party_popup.dart"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"724579db8582a4826f5904da506b9732844c7c73b4aa1058c7be599df5205c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): package_manager.dart:234-246 | package_manager.dart:268-280 \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 \u0060package_manager.dart:234\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":"package_manager.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a1cf95bdb96a2885edb2cdaa402f36da04331c5684b076fac0541e14ecbd46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): lib/screens/anime/home_page.dart:236-247 | lib/screens/extensions/ExtensionScreen.dart:207-218 | lib/screens/home_page.dart:344-355 | lib/screens/library/history_page.dart:218-229 | lib/screens/library/my_library.dart:147-158 | lib/screens/manga/home_page.dart:125-136 | lib/screens/novel/home_page.dart:87-98 | lib/screens/stats/user_stats_page.dart:228-239 \u2014 \u0060lib/screens/anime/home_page.dart\u0060 and \u0060lib/screens/manga/home_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/home_page.dart:236\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/screens/anime/home_page.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcc156ff83159eb80048c1def9540341867ed1b1817c07437d4b5709f39e77a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): lib/screens/settings/sub_settings/settings_moderation.dart:545-556 | lib/widgets/non_widgets/reasons_sheet.dart:257-268 | lib/widgets/non_widgets/recommend_sheet.dart:406-417 | lib/widgets/non_widgets/recommend_sheet.dart:612-623 | lib/widgets/non_widgets/recommend_sheet.dart:1094-1105 | lib/widgets/non_widgets/recommend_sheet.dart:1173-1184 \u2014 before extracting anything, compare \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 and \u0060lib/widgets/non_widgets/recommend_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ee238bf46914f1f646ed4d9a8dfad24ab5cbf10218566a17cc5153ed64fe6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): lib/screens/library/editor/history_editor.dart:273-284 | lib/screens/library/editor/history_editor.dart:373-384 | lib/screens/library/editor/history_editor.dart:798-809 | lib/screens/library/editor/list_editor.dart:174-185 | lib/screens/library/editor/list_editor.dart:324-335 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/editor/history_editor.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2b1bc44f3161eedbfa21da0086e1e1ec328b775be9802662ad02a2c77455e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): lib/screens/anime/widgets/episode_list_builder.dart:1183-1194 | lib/screens/anime/widgets/episode_list_builder.dart:1215-1226 | lib/screens/manga/widgets/chapter_list_builder.dart:1302-1313 | lib/screens/manga/widgets/chapter_list_builder.dart:1334-1345 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1183\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"884e290652c2f3d38d596477b472bba4cc494378c637b52c3c2590be90c7f1ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/controllers/services/anilist/anilist_auth.dart:238-248 | lib/controllers/services/mal/mal_service.dart:721-731 | lib/controllers/services/simkl/simkl_service.dart:953-964 \u2014 \u0060lib/controllers/services/mal/mal_service.dart\u0060 and \u0060lib/controllers/services/simkl/simkl_service.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/anilist/anilist_auth.dart:238\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"232b773b357b40aca9e279d62d5819ed8766bec642bd0d2adc0d8299b6094cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/models/Media/media.dart:233-244 | lib/models/Media/media.dart:335-346 | lib/models/Media/media.dart:438-449 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0719e56922964a628c5fabb17eaf8f1e144cfaf4a2fc902993e019f09079cf51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/screens/anime/widgets/comments/comments_section.dart:3140-3150 | lib/screens/anime/widgets/comments/comments_section.dart:3336-3347 | lib/screens/anime/widgets/comments/comments_section.dart:3548-3558 \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/screens/anime/widgets/comments/comments_section.dart:3140\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3140}}}],"partialFingerprints":{"codehealthFindingId/v1":"10150bfa677a8fc6f8612e766de957e55bf794dc085c3f752ab7e2e05c4de17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/screens/manga/widgets/reader/reader_page_actions_dialog.dart:137-147 | lib/widgets/anime/visuals/visuals_popup.dart:214-225 | lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart:79-90 \u2014 before extracting anything, compare \u0060lib/widgets/anime/visuals/visuals_popup.dart\u0060 and \u0060lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/manga/widgets/reader/reader_page_actions_dialog.dart:137\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/screens/manga/widgets/reader/reader_page_actions_dialog.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e924eac2c84d368b8ab23fddc046bed118fffd9e19039d56aaa0cd9a634452a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/screens/novel/reader/controller/reader_controller.dart:1087-1098 | lib/screens/novel/reader/controller/reader_controller.dart:1110-1121 | lib/screens/novel/reader/controller/reader_controller.dart:1129-1140 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecf3258c14309ebcd415281e2fcfc9d8e9dfdb1cabd6ae0af8ff3f1389b03b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/screens/novel/reader/widgets/bottom_controls.dart:153-164 | lib/screens/novel/reader/widgets/bottom_controls.dart:234-245 | lib/screens/novel/reader/widgets/bottom_controls.dart:300-311 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/widgets/bottom_controls.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"572c70a3611283496c486adab2021cc607912fa20510aae833592a59a4aa81d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/screens/profile/compatibility/compatibility_result_page.dart:882-893 | lib/screens/profile/compatibility/compatibility_result_page.dart:951-962 | lib/screens/profile/compatibility/compatibility_result_page.dart:2338-2349 \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/screens/profile/compatibility/compatibility_result_page.dart:882\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37bf923f83cbd8d4fe36e36da6a6ea5f03193ab62b47f51b10069c98190565f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/screens/settings/sub_settings/settings_backup.dart:360-371 | lib/screens/settings/sub_settings/settings_backup.dart:488-499 | lib/screens/settings/sub_settings/settings_backup.dart:769-780 \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/screens/settings/sub_settings/settings_backup.dart:360\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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf782530422898e9fb9803d7770e3ba81be1322f2be6529960bc1229b0c5e7b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/screens/settings/sub_settings/settings_backup.dart:822-833 | lib/screens/settings/sub_settings/settings_common.dart:39-50 | lib/screens/settings/sub_settings/settings_ui_details.dart:123-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/settings_backup.dart:822\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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cafcd668287c01df346e66bfeac468002ac785893fe78e4af5b75295281043a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/screens/settings/sub_settings/settings_theme.dart:744-755 | lib/screens/settings/sub_settings/settings_theme.dart:786-797 | lib/screens/settings/sub_settings/settings_theme.dart:823-834 \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/screens/settings/sub_settings/settings_theme.dart:744\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/screens/settings/sub_settings/settings_theme.dart"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d91824ded149e16884ebb0b6a04ab9b8fd8acbddfb55fab509aea9e2c8700ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/widgets/common/navbar/styles/classic_navbar.dart:153-164 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:132-143 | lib/widgets/header/header.dart:1039-1049 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 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/widgets/common/navbar/styles/classic_navbar.dart:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf97d5ccb94bd06f3f8da136d76b54b0b5e7869836882dc25504062785d2605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/controllers/services/anilist/anilist_api.dart:127-138 | lib/controllers/services/anilist/anilist_api.dart:140-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_api.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"988ea1983dded274825e2192be67d65acdd74814c1d4f03b56942053884bc32d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:2584-2595 | lib/controllers/services/anilist/anilist_auth.dart:2641-2652 \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/controllers/services/anilist/anilist_auth.dart:2584\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5aa27b597e7713b39e9f27a6363521a6790b474293027e93bdfe01660b4b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:102-113 | lib/controllers/services/mal/mal_service.dart:77-88 \u2014 before extracting anything, compare \u0060lib/controllers/services/anilist/anilist_data.dart\u0060 and \u0060lib/controllers/services/mal/mal_service.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e770e0f0d976cd2218257b38b74be07f1b64a04f1b9289623b00ed50ace97075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/controllers/services/mal/mal_api.dart:42-52 | lib/controllers/services/mal/mal_service.dart:887-898 \u2014 before extracting anything, compare \u0060lib/controllers/services/mal/mal_api.dart\u0060 and \u0060lib/controllers/services/mal/mal_service.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/mal/mal_api.dart:42\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/controllers/services/mal/mal_api.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc016f0d165eab397c5ac152929a8e8ca5dae3fee9effd536df2522f23dea453"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/controllers/services/mal/mal_api.dart:87-98 | lib/controllers/services/mal/mal_service.dart:421-432 \u2014 before extracting anything, compare \u0060lib/controllers/services/mal/mal_api.dart\u0060 and \u0060lib/controllers/services/mal/mal_service.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/mal/mal_api.dart:87\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/mal/mal_api.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d6475724b028c38185e51b55631398fd11c530b13d542e8d348b2c17535260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/controllers/services/mal/mal_service.dart:650-661 | lib/controllers/services/mal/mal_service.dart:847-858 \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/controllers/services/mal/mal_service.dart:650\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/controllers/services/mal/mal_service.dart"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f6e50780a6f1c22540d2110cdbe7901568050806a66f8e63a659566e4d7d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): lib/models/Media/media.dart:288-296 | lib/models/Media/media.dart:515-526 \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/models/Media/media.dart:288\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/models/Media/media.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5510276941781f9055935d725d42ecc53655cbb9421064d402ad7560cc428b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/screens/anime/details/media_details_page.dart:982-993 | lib/screens/anime/details/media_details_page.dart:996-1007 | lib/screens/anime/details/media_details_page.dart:1008-1018 \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/screens/anime/details/media_details_page.dart:982\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/anime/details/media_details_page.dart:982\u0060 calls \u0060Icon\u0060 and \u0060lib/screens/anime/details/media_details_page.dart:1008\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"0469d4f94457e892692f1dc0a9fe52b093801090ffbd5985cf2c69f75f0576e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:695-706 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:614-625 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:695\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"008aefddc96c6030dd50cf8c5502a752d3e56017191d591aac87716f7948cc2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:316-327 | lib/widgets/watchium/watchium_party_popup.dart:1231-1242 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97409f149d2c66730ea4f4368533d2b41ebd42e3f5496636a0d040a2b0f7bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:1065-1076 | lib/screens/manga/widgets/chapter_list_builder.dart:609-620 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1065\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"2138c87a9b3f4ceb66405296bddb436c9e7fd299a808c9d24c6ed4bb80767ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:1419-1430 | lib/screens/manga/widgets/chapter_list_builder.dart:1534-1545 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1419\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"299d014641e872bf37e92eaf62e48892eb020b2cd96f8375081f9ae32af5f7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/anime/widgets/voice_actor.dart:144-155 | lib/screens/anime/widgets/voice_actor.dart:296-307 \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/screens/anime/widgets/voice_actor.dart:144\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/screens/anime/widgets/voice_actor.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d418b50f64ef4a0df855bba5e3b9f05139b73ad0058b48163d615ab09b18ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/anime/widgets/wrongtitle_modal.dart:214-225 | lib/screens/anime/widgets/wrongtitle_modal.dart:275-286 \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/screens/anime/widgets/wrongtitle_modal.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"594c33424d74742eff6c121cb4857e6a98316e4a5e4c725d3312ca98a4d4728f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/screens/library/editor/history_editor.dart:192-203 | lib/screens/library/editor/history_editor.dart:480-490 \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/screens/library/editor/history_editor.dart:192\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/screens/library/editor/history_editor.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"876c2b2c69de3ed0b550cbf192d73bead7bcab9d5a68ecf0d9fe0cc301812406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/library/widgets/unified_history_card.dart:28-39 | lib/screens/library/widgets/unified_history_card.dart:324-335 \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/screens/library/widgets/unified_history_card.dart:28\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/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a3fe63d09725498de56d5bf22983b0f5920be88dcad0112dfbfb40a0bc9618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/screens/manga/controller/reader_controller.dart:282-292 | lib/screens/manga/controller/reader_controller.dart:1944-1955 \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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bcbdc294a588f52ba7fa680fcf706c85e9d48c75b8e07aacbde4bafaee8e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/novel/details/widgets/novel_stats.dart:30-41 | lib/screens/novel/details/widgets/novel_stats.dart:65-76 \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/screens/novel/details/widgets/novel_stats.dart:30\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/screens/novel/details/widgets/novel_stats.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cd6cf383f59158ff0065c851ec371e62ce30c36b48e6e4fa0a5e03009008b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:1472-1483 | lib/screens/profile/compatibility/compatibility_result_page.dart:1675-1686 \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/screens/profile/compatibility/compatibility_result_page.dart:1472\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/profile/compatibility/compatibility_result_page.dart:1471\u0060 calls \u0060of\u0060, \u0060pop\u0060 and \u0060lib/screens/profile/compatibility/compatibility_result_page.dart:1674\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3a8aa39122e727b071ebf89b439d0d4568a20b8085a698ab7e2fb41c0b0eab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:1792-1803 | lib/screens/profile/compatibility/compatibility_result_page.dart:2110-2122 \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/screens/profile/compatibility/compatibility_result_page.dart:1792\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02d2904da805192e0c0901c663a2ed22472fa699b3449d7c2b5e5126534a615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/screens/profile/profile_page.dart:95-105 | lib/screens/profile/user_profile_page.dart:109-120 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:95\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/screens/profile/profile_page.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ee37a0595032f161927077da85d43596a061abbe910e4b226eab770de2b256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/profile/profile_page.dart:308-319 | lib/screens/profile/user_profile_page.dart:395-406 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:308\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/screens/profile/profile_page.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"492a8e3020325666b8e1f68d946b158d0bd53f5fcdfd50643d7f6583ddda4e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/profile/profile_page.dart:693-704 | lib/screens/profile/user_profile_page.dart:638-649 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart:693\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/screens/profile/profile_page.dart"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"47de8d2cd67001aeb30b8d23c5679e8edeb8f1e3059a46170b1d6b668bfb1ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/profile/profile_page.dart:1042-1053 | lib/screens/profile/profile_page.dart:1058-1069 \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/screens/profile/profile_page.dart:1042\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/screens/profile/profile_page.dart"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9882453fa35eb9d6fdd203d2ea3686ddf4956ea4952420d650156309087ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/profile/widgets/profile_header.dart:416-427 | lib/screens/profile/widgets/user_profile_header.dart:383-399 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_header.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/widgets/profile_header.dart:416\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"6218c06bbd32824d6c195cb8aa8b5aa279dd8c83cecbb41dd59310ac6ff9ab35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/profile/widgets/user_profile_header.dart:286-297 | lib/screens/profile/widgets/user_profile_header.dart:327-339 \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/screens/profile/widgets/user_profile_header.dart:286\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/screens/profile/widgets/user_profile_header.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"449b50897e0c7b6b9d3a9ddadae30b04b3318cd72ce4d504cdbe4b4fc6db41e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_engine.dart:282-293 | lib/screens/settings/sub_settings/player/settings_player_engine.dart:302-313 \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/screens/settings/sub_settings/player/settings_player_engine.dart:282\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/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ff9f6db7bb42ba772988a21d11400434b225f8d98d0651cb4366d22ac2492f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:503-514 | lib/screens/settings/sub_settings/settings_reader.dart:1398-1409 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:503\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/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed1462c871f29ce1a1c44842c410c92c80f7c077d9ba89c92e577f8d1446c8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/settings/sub_settings/settings_addons.dart:227-238 | lib/screens/settings/sub_settings/settings_addons.dart:418-429 \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/screens/settings/sub_settings/settings_addons.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b82e83c193412b663c9e147840b1d63f1843dbd032adf903ef373fbb67fda8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/settings/sub_settings/settings_backup.dart:323-334 | lib/screens/settings/sub_settings/settings_backup.dart:445-456 \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/screens/settings/sub_settings/settings_backup.dart:323\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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e4c9e2edf2921ed5d0cdb4ab953c0aa0c65843598c625030ffd1bb716b4a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/settings/sub_settings/settings_extension_manager.dart:67-78 | lib/screens/settings/sub_settings/settings_extension_manager.dart:102-113 \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/screens/settings/sub_settings/settings_extension_manager.dart:67\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/screens/settings/sub_settings/settings_extension_manager.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5536c8b7704153f91a64d3cffa18e0fe0530eb3af59f14a908e80304811182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/settings/sub_settings/settings_reader.dart:868-879 | lib/screens/settings/sub_settings/settings_reader.dart:1123-1134 \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/screens/settings/sub_settings/settings_reader.dart:868\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/screens/settings/sub_settings/settings_reader.dart:1135\u0060 calls \u0060_buildNovelPreviewCard\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart:880\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/screens/settings/sub_settings/settings_reader.dart"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e40ad17288ffbcf5c6609b7e514038fefa66576bb75149915b5d89b96c7460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/stats/user_stats_page.dart:898-909 | lib/screens/stats/user_stats_page.dart:1045-1056 \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/screens/stats/user_stats_page.dart:898\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/screens/stats/user_stats_page.dart"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbba9446e275088499d9c5b987688859b4a785ad859f832fbfa8affd7b73e633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/cast/cast_proxy_server.dart:200-211 | lib/services/cast/cast_proxy_server.dart:386-397 \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/services/cast/cast_proxy_server.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fa345dbdeb91cfd40d08aaa25349d419cdaadb90d1702f490086a9a7b74f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/cast/cast_proxy_server.dart:302-313 | lib/services/cast/cast_proxy_server.dart:365-376 \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/services/cast/cast_proxy_server.dart:302\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_proxy_server.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8555e40f8f2dc303acf393e6ce11965dc60bfd9a5de3dda53ca53a0188d1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/cast/cast_proxy_server.dart:316-327 | lib/services/cast/cast_proxy_server.dart:379-390 \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/services/cast/cast_proxy_server.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"569d7c27b2ae2b5a73c726f6a7c4c3e734024ee53bd2448ffbc6084252366df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/commentum_service.dart:320-331 | lib/services/commentum_service.dart:374-385 \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/services/commentum_service.dart:320\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/commentum_service.dart:319\u0060 calls \u0060i\u0060, \u0060encode\u0060 and \u0060lib/services/commentum_service.dart:373\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/services/commentum_service.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"73022ab0e2796ae0d030f2e47d8513a73f90c0068a94ed7d5beca7c68a56859e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/commentum_service.dart:1757-1768 | lib/services/commentum_service.dart:2001-2012 \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/services/commentum_service.dart:2001\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. 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/services/commentum_service.dart"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"1627fc4b6c00f0d9a1f3d6288a145ffcb505b9d514620ad8b8c4734e2e4f575e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/utils/compatibility/matchmaker.dart:702-724 | lib/utils/compatibility/matchmaker.dart:968-990 \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/utils/compatibility/matchmaker.dart:702\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"0538ea745372c11f9165779222d2896c9d7ad36250573b4ad527136681a98bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/widgets/common/cards/styles/minimal_exotic_card.dart:88-99 | lib/widgets/common/cards/styles/modern_card.dart:63-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/common/cards/styles/minimal_exotic_card.dart:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/widgets/common/cards/styles/minimal_exotic_card.dart:101\u0060 calls \u0060buildCardBadgeV2\u0060 and \u0060lib/widgets/common/cards/styles/modern_card.dart:74\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/widgets/common/cards/styles/minimal_exotic_card.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"37254b1fc3fe432e0b51a5d8b4c517a4e6664eb22cb63923af05d939e2e4ff6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/widgets/non_widgets/activity_composer_sheet.dart:216-227 | lib/widgets/non_widgets/activity_composer_sheet.dart:261-272 \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/widgets/non_widgets/activity_composer_sheet.dart:216\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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b51a2a82dda51f0e14bc371fba41301407f4ea859a11ac862072a96086da5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/widgets/non_widgets/activity_composer_sheet.dart:766-777 | lib/widgets/non_widgets/activity_composer_sheet.dart:797-808 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/non_widgets/activity_composer_sheet.dart:766\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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c81e790d030f31ca7368d328ea99e72bb0a851bf15fdb3f843e7da520993f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/widgets/non_widgets/reasons_sheet.dart:672-682 | lib/widgets/non_widgets/recommend_sheet.dart:986-997 \u2014 before extracting anything, compare \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 and \u0060lib/widgets/non_widgets/recommend_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 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/widgets/non_widgets/reasons_sheet.dart:672\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/widgets/non_widgets/recommend_sheet.dart:998\u0060 calls \u0060TextStyle\u0060 and \u0060lib/widgets/non_widgets/reasons_sheet.dart:683\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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7f4888211bdcf41e1fadec636c7afc2a41c0675671226f4c56a8b0fa1deff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/widgets/non_widgets/recommend_button.dart:26-37 | lib/widgets/non_widgets/recommend_sheet.dart:27-38 \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/widgets/non_widgets/recommend_button.dart:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/recommend_button.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"68314b2166889436885fb397bd86e1ff550fb5ddca0378a5c89176a3ee2dadc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 5): lib/screens/anime/details/media_details_page.dart:894-902 | lib/screens/anime/widgets/comments/comments_section.dart:370-379 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:692-702 | lib/screens/library/widgets/library_deps.dart:247-254 | lib/widgets/anime/media_header.dart:441-449 \u2014 before extracting anything, compare \u0060lib/screens/anime/details/media_details_page.dart\u0060 and \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:692\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb238824bfaa5427e24eadc4310fd988a73394cb763cbc9c4551a6e3bafaa5b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 5): lib/screens/library/online/anime_list.dart:599-609 | lib/screens/library/online/manga_list.dart:583-593 | lib/widgets/common/navbar/styles/classic_navbar.dart:157-166 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:136-145 | lib/widgets/header/header.dart:1043-1051 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart:599\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/screens/library/online/anime_list.dart"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"b123a7c40a6c3771808475d424b186ae36ec8094f25b572c04995b8a8665cc15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): lib/screens/profile/widgets/profile_header.dart:641-651 | lib/screens/profile/widgets/profile_header.dart:658-669 | lib/screens/profile/widgets/profile_header.dart:675-686 | lib/screens/profile/widgets/profile_header.dart:692-703 | lib/screens/profile/widgets/user_profile_app_bar.dart:90-100 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 192 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/screens/profile/widgets/profile_header.dart:641\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"e781f332c815454785f269a377a8ee81bcbd202697dc99a135123583d9c62fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): lib/screens/anime/widgets/episode_list_builder.dart:1254-1264 | lib/screens/anime/widgets/episode_list_builder.dart:1342-1352 | lib/screens/manga/widgets/chapter_list_builder.dart:1373-1383 | lib/screens/manga/widgets/chapter_list_builder.dart:1452-1462 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf732959b54bdc9a675e9bc41a76b606724740039bfcff2d89ea2eb1d410992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): lib/screens/downloads/widgets/downloaded_media_view.dart:607-617 | lib/screens/downloads/widgets/downloaded_media_view.dart:994-1005 | lib/screens/downloads/widgets/downloaded_media_view.dart:1205-1215 | lib/screens/extensions/ExtensionItem.dart:238-248 \u2014 before extracting anything, compare \u0060lib/screens/downloads/widgets/downloaded_media_view.dart\u0060 and \u0060lib/screens/extensions/ExtensionItem.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/widgets/downloaded_media_view.dart:607\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62bf7b5c451994ae08ac1ccdca81c2de4ad9d610ad6e98e436e94101549d6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): lib/controllers/services/anilist/anilist_auth.dart:178-188 | lib/controllers/services/anilist/anilist_auth.dart:346-354 | lib/controllers/services/anilist/anilist_auth.dart:402-410 \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/controllers/services/anilist/anilist_auth.dart:178\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/controllers/services/anilist/anilist_auth.dart:176\u0060 calls \u0060prefetchSettings\u0060 and \u0060lib/controllers/services/anilist/anilist_auth.dart:345\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b126fc85a28b5d364650b5a04c2f1dab215df11b9b5e74c25b747794fb0826c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/models/Media/media.dart:270-280 | lib/models/Media/media.dart:475-485 | lib/models/Media/media.dart:1230-1240 \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/models/Media/media.dart:270\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/models/Media/media.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2d2d38c2d660d71867ec035cda72a4911060348e957baa5f6dd0ed94a802b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): lib/screens/anime/home_page.dart:132-141 | lib/screens/manga/home_page.dart:52-62 | lib/screens/novel/home_page.dart:42-52 \u2014 \u0060lib/screens/anime/home_page.dart\u0060 and \u0060lib/screens/manga/home_page.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/home_page.dart:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/anime/home_page.dart:131\u0060 calls \u0060put\u0060, \u0060MediaModeController\u0060 and \u0060lib/screens/novel/home_page.dart:41\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/screens/anime/home_page.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d34b45b17107031e23e487981539ae0fd5c242255bfe6d268a2c1e424ac5db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/anime/misc/calendar.dart:250-260 | lib/screens/library/online/anime_list.dart:543-553 | lib/screens/library/online/manga_list.dart:527-537 \u2014 before extracting anything, compare \u0060lib/screens/anime/misc/calendar.dart\u0060 and \u0060lib/screens/library/online/anime_list.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70c1f8e9ce9e484cdbc2357b0510042fd74048d67a7cb0efda2eab94277cc54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/anime/misc/list_exporter.dart:387-397 | lib/screens/anime/misc/list_exporter.dart:451-461 | lib/screens/extensions/widgets/plugin_manager.dart:601-611 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/misc/list_exporter.dart:387\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/screens/anime/misc/list_exporter.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"490f70e010a992ff547627fbca351b44a1b1975c6fa1aff452c7bf3bf2721089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): lib/screens/anime/widgets/episode_list_builder.dart:1187-1195 | lib/screens/manga/widgets/chapter_list_builder.dart:1306-1314 | lib/screens/search/widgets/search_widgets.dart:2249-2259 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1187\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7666fcdb51f99989f538878947b8469da2cdca1797a55b5d659734ba9c60c7a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/downloads/download_screen.dart:1070-1080 | lib/screens/downloads/download_screen.dart:1348-1358 | lib/screens/downloads/download_screen.dart:1571-1581 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/download_screen.dart"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"723ca12b01558645ad96d1aa270dcead231d284fd7320c17cf040ea4d0b9ecba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/library/stats_page.dart:79-90 | lib/screens/library/stats_page.dart:98-108 | lib/screens/library/stats_page.dart:116-126 \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/screens/library/stats_page.dart:79\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/screens/library/stats_page.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5c63f04f8563aef885874012baad0be3f17ce9becb2ed49122bc0a4c020dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/library/widgets/unified_history_card.dart:95-105 | lib/screens/library/widgets/unified_history_card.dart:228-238 | lib/screens/library/widgets/unified_history_card.dart:366-376 \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/screens/library/widgets/unified_history_card.dart:95\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1092d54d591c3d5257dbf1db55bf5989f382fe351b62aee20accaa7f68bfb8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/manga/widgets/reader/color_filter_settings_page.dart:84-94 | lib/screens/manga/widgets/reader/color_filter_settings_page.dart:98-108 | lib/screens/manga/widgets/reader/color_filter_settings_page.dart:112-122 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/manga/widgets/reader/color_filter_settings_page.dart:84\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/screens/manga/widgets/reader/color_filter_settings_page.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7304596fd15a391551d2029929f06d5c51a8ff7725c5a13993956e050362c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:184-194 | lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:236-246 | lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:289-299 \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/screens/manga/widgets/reader/tabbed_reader_settings.dart:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"704d8f88dcdfc95d6eb1c2321a7ce28089f4cad3d8bb1f98e4340dba94502e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/profile/widgets/profile_header.dart:937-948 | lib/screens/profile/widgets/user_profile_app_bar.dart:457-468 | lib/screens/profile/widgets/user_profile_header.dart:253-263 \u2014 before extracting anything, compare \u0060lib/screens/profile/widgets/profile_header.dart\u0060 and \u0060lib/screens/profile/widgets/user_profile_app_bar.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 192 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/screens/profile/widgets/profile_header.dart:937\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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dfa603e56560f4b0b55f7bcdcd5fa132925119908f401802c7f6f860e4af1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/settings/sub_settings/player/settings_player_shaders.dart:339-349 | lib/screens/settings/sub_settings/player/settings_player_shaders.dart:401-411 | lib/screens/settings/sub_settings/player/settings_player_shaders.dart:543-553 \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/screens/settings/sub_settings/player/settings_player_shaders.dart:339\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/screens/settings/sub_settings/player/settings_player_shaders.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"9923a5a397d141cea31e5c99e08f5663bd12e1e35e8a29d5543afa45ac4a7a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): lib/screens/settings/sub_settings/settings_downloads.dart:24-33 | lib/screens/settings/sub_settings/settings_ui.dart:56-66 | lib/screens/settings/sub_settings/settings_ui_components.dart:169-179 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/settings_downloads.dart:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/settings/sub_settings/settings_ui_components.dart:167\u0060 calls \u0060sizeOf\u0060 and \u0060lib/screens/settings/sub_settings/settings_ui.dart:55\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/screens/settings/sub_settings/settings_downloads.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"70708fde80c2dfe50be1597273bb465aea807369b061f8aa4920f34f743a9468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/services/commentum_service.dart:322-332 | lib/services/commentum_service.dart:376-386 | lib/services/commentum_service.dart:1082-1092 \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/services/commentum_service.dart:322\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/commentum_service.dart:319\u0060 calls \u0060i\u0060, \u0060encode\u0060 and \u0060lib/services/commentum_service.dart:373\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/services/commentum_service.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c8da62b7c013894ce0548e17a4ab25ce342af2d70396a9d3764712ece019b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): lib/services/commentum_service.dart:1069-1078 | lib/services/commentum_service.dart:1103-1112 | lib/services/commentum_service.dart:1223-1233 \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/services/commentum_service.dart:1069\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/services/commentum_service.dart"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e05eabfa949aaedab187a50d3c7bbae4170b658ea6c8b28e3d1422bb2730932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:90-100 | lib/controllers/services/mal/mal_service.dart:65-75 \u2014 before extracting anything, compare \u0060lib/controllers/services/anilist/anilist_data.dart\u0060 and \u0060lib/controllers/services/mal/mal_service.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4bc9fde0efae1a0e1b9c6c56a88351f5507be072bb6f805a7e77fe3bf5d0f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/controllers/services/backup_restore/backup_restore_service.dart:247-257 | lib/controllers/services/backup_restore/backup_restore_service.dart:309-319 \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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b2fafd65043b56a8e9ff76645dd8c0b8a9e6a0512318d15f8b458a2e8901a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart:139-146 | lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart:286-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"638daafe0cf7bb4be301d7b34b4f387386b6c8a3cd8835b4b43c5235a21fad00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/controllers/services/mal/mal_api.dart:28-37 | lib/controllers/services/mal/mal_service.dart:870-880 \u2014 before extracting anything, compare \u0060lib/controllers/services/mal/mal_api.dart\u0060 and \u0060lib/controllers/services/mal/mal_service.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/mal/mal_api.dart:28\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/controllers/services/mal/mal_api.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa76bf4a112ac9323c9980881a4f23492f6c41a6ddbdc0172da91c7d62d1ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/controllers/services/mal/mal_service.dart:789-799 | lib/controllers/services/mal/mal_service.dart:817-827 \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/controllers/services/mal/mal_service.dart:789\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/controllers/services/mal/mal_service.dart"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf265f3ac375b25ab0b9a55a11ca5dfe48cfff9c91a444e0092899a194420e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/controllers/stats/stats_tracker.dart:32-41 | lib/controllers/stats/stats_tracker.dart:83-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/stats/stats_tracker.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a59d8cfe0c9fcb2b867581df7b1e0525cb347c06795cbc72a717e1d69d51388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/models/Media/media.dart:315-329 | lib/models/Media/media.dart:543-557 \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/models/Media/media.dart:315\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/models/Media/media.dart"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a3c732c9a78bb7c68aaf0ff2afd65840c37f05d5e73e58d0f0c807c5cb0745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/details/controller/media_details_controller.dart:668-678 | lib/screens/anime/details/controller/media_details_controller.dart:786-796 \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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"6987f968dba3fce5160c5a338e51292f75398c341b5d4a51f86b2546229dc808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/screens/anime/misc/calendar.dart:91-108 | lib/screens/anime/misc/calendar.dart:111-129 \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/screens/anime/misc/calendar.dart:91\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/screens/anime/misc/calendar.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cb776b2437337463b6c203248b08d5c8c77e6484cfa12aae19b0ba8d170d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): lib/screens/anime/misc/dub_service.dart:184-192 | lib/screens/anime/misc/dub_service.dart:213-223 \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/screens/anime/misc/dub_service.dart:184\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/screens/anime/misc/dub_service.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9825bd50652e4e6545b3e1d0dc485b6bacb2b70b1bf79940e709f5b4de4ce97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/source_popup.dart:86-96 | lib/screens/anime/watch/controls/widgets/tracks_popup.dart:153-163 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/source_popup.dart\u0060 and \u0060lib/screens/anime/watch/controls/widgets/tracks_popup.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/source_popup.dart:86\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/screens/anime/watch/controls/widgets/source_popup.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"96487f2b22451f9a58332a4364ce3ece50dd877cecc11dfacfcb29d63129621c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/torrent_files_popup.dart:60-70 | lib/screens/downloads/widgets/torrent_file_selector_sheet.dart:99-109 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/torrent_files_popup.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"812b2643cca6db43c2dfee55818844eacac3b0bdef1ea57ad59f2fc7c888536e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/tracks_popup.dart:222-232 | lib/widgets/anymex_widgets/anymex_tile_builder.dart:112-121 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/tracks_popup.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2415856ecfac5926c6e38ead3bc237e4ea974d021ea5841050e78578ca66efe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:652-662 | lib/widgets/watchium/watchium_create_dialog.dart:574-584 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:652\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbfc3b6b0e57b8a59a457204927837c61dd3ba769afd0347d3e69ec5c14f673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:347-357 | lib/screens/settings/widgets/style_picker_section.dart:121-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/comments/comments_section.dart:347\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dc82378c33cfb27bf0038c904abd7b31bf4dc8bc14ec01634eb434add0cebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/widgets/comments/discord_markdown.dart:475-485 | lib/screens/anime/widgets/comments/discord_markdown.dart:487-497 \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/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04a8026b0bcebf5c7011954dee90c4e00b0a5d5b0497cc486bdd4cf1aeeedeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/widgets/episode/styles/compact_style.dart:34-44 | lib/screens/anime/widgets/episode/styles/detailed_style.dart:34-44 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode/styles/compact_style.dart\u0060 and \u0060lib/screens/anime/widgets/episode/styles/detailed_style.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode/styles/compact_style.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b1f132b44f522b343776ab12be2ab2238d01df2c125bbf346e3a61010fd82a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/widgets/episode/styles/compact_style.dart:146-156 | lib/screens/anime/widgets/episode/styles/detailed_style.dart:162-172 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode/styles/compact_style.dart\u0060 and \u0060lib/screens/anime/widgets/episode/styles/detailed_style.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 114 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/screens/anime/widgets/episode/styles/compact_style.dart:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/screens/anime/widgets/episode/styles/compact_style.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"19df3c5a24c9ad32367dff82959b5ef2aa954de0078c9178fa7773165d5d6d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/widgets/voice_actor.dart:49-59 | lib/screens/anime/widgets/voice_actor.dart:315-325 \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/screens/anime/widgets/voice_actor.dart:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/voice_actor.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb25e0cb5c54a9f4036b5582426a302b0813bae070b9d6430b5ec05b050396a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/widgets/wrongtitle_modal.dart:243-253 | lib/screens/anime/widgets/wrongtitle_modal.dart:291-301 \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/screens/anime/widgets/wrongtitle_modal.dart:243\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/screens/anime/widgets/wrongtitle_modal.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d233dc6c579d88548013be55ccfbb0a15ffc3cacbb56a096cb6ae76039d77092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:389-399 | lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:405-415 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:389\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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7ecf2e5a9a22d79d0d052d6041e4f124cd6a050ffa24837357be30173bcfd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/downloads/widgets/downloaded_media_view.dart:844-854 | lib/screens/downloads/widgets/downloaded_media_view.dart:1141-1151 \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/screens/downloads/widgets/downloaded_media_view.dart:844\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"39790e6ea547e3c9acf71753859fb3d8839f7a457f4a553c83892920558844f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/library/widgets/anime_card.dart:51-61 | lib/screens/library/widgets/common_widgets.dart:54-64 \u2014 before extracting anything, compare \u0060lib/screens/library/widgets/anime_card.dart\u0060 and \u0060lib/screens/library/widgets/common_widgets.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/screens/library/widgets/anime_card.dart:51\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/screens/library/widgets/anime_card.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a051864b07c0bea57578ffd02b2a91efc3c95de55b572ae4b15c905ec73eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/library/widgets/library_deps.dart:202-212 | lib/widgets/common/custom_tiles.dart:382-392 \u2014 before extracting anything, compare \u0060lib/screens/library/widgets/library_deps.dart\u0060 and \u0060lib/widgets/common/custom_tiles.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/library/widgets/library_deps.dart:202\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/screens/library/widgets/library_deps.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de83d145a197507937a90508502b8c65dd2938035cbeea4a3430c871c0acf74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/local_source/local_source_view.dart:77-87 | lib/screens/settings/misc/sauce_finder_view.dart:102-112 \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/screens/local_source/local_source_view.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. 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/screens/local_source/local_source_view.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a3afc740f9db3df87e3c8ef6cc352f202acbb24c9645fcccad8723241b85b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/manga/widgets/reader/bottom_controls.dart:85-95 | lib/screens/manga/widgets/reader/bottom_controls.dart:125-135 \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/screens/manga/widgets/reader/bottom_controls.dart:85\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/screens/manga/widgets/reader/bottom_controls.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1441c51fddfbed7d4f84db9a44a0df26a2b5e2fbbdf6817a2f3b864c0d86a41a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/manga/widgets/reader/top_controls.dart:506-516 | lib/screens/manga/widgets/reader/top_controls.dart:575-585 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/manga/widgets/reader/top_controls.dart:505\u0060 calls \u0060symmetric\u0060 and \u0060lib/screens/manga/widgets/reader/top_controls.dart:574\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/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"86388064ba24c77b42b24f70086e103097cb475bf11354e6f9d91a1adee31681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/screens/notifications/notification_screen.dart:259-268 | lib/screens/notifications/notification_screen.dart:295-305 \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/screens/notifications/notification_screen.dart:259\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/screens/notifications/notification_screen.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb022a2f4d2ce206eeac89753fc1ca00946cc5c9ef0d82eb4a098bc318d2f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/novel/reader/widgets/settings_view.dart:575-585 | lib/screens/novel/reader/widgets/settings_view.dart:784-794 \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/screens/novel/reader/widgets/settings_view.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b844da41a5f4480674cb52c70d95bedf24b724f2ee910ea4558ba8e8dcf3855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/profile/activity_details_page.dart:350-360 | lib/screens/profile/activity_details_page.dart:378-388 \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/screens/profile/activity_details_page.dart:350\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/screens/profile/activity_details_page.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"030513bc142910e1814a8b14cf9eac2b3a82d1cb7ca17099cfddef6964113e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:1608-1619 | lib/screens/profile/compatibility/compatibility_result_page.dart:2055-2065 \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/screens/profile/compatibility/compatibility_result_page.dart:1608\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf08b4454693351030fc3baadc76a82fc4e71f37667e754248457b966a28a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:1752-1762 | lib/screens/profile/compatibility/compatibility_result_page.dart:1904-1914 \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/screens/profile/compatibility/compatibility_result_page.dart:1752\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"899a8fe47ebf058f0b7e25de2030055cf28972287ff56efc84197caf5ff97af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/profile/widgets/user_media_list_page.dart:528-538 | lib/screens/profile/widgets/user_media_list_page.dart:544-554 \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/screens/profile/widgets/user_media_list_page.dart:528\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/screens/profile/widgets/user_media_list_page.dart"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd9f18c1f2e97b3d4eb42e2c055d9468cd8497ff5be2f2a91bd147fcdaf0d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/search/widgets/search_widgets.dart:1108-1118 | lib/screens/search/widgets/search_widgets.dart:1127-1137 \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/screens/search/widgets/search_widgets.dart:1108\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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd84f41c059129f4e75c7d71fb13f96beb3d55fc6628f1df56fd5a82c05b7295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_controls.dart:394-404 | lib/screens/settings/sub_settings/settings_reader.dart:550-560 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart:394\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd76085a940094fe81acd95b34a582c3e2ee3b13ed1f7c1fdddf5450dcbfd193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/settings/sub_settings/settings_about.dart:215-225 | lib/screens/settings/sub_settings/settings_about.dart:275-285 \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/screens/settings/sub_settings/settings_about.dart:215\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/screens/settings/sub_settings/settings_about.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5894bc329610bef6ccdefda17c00a66323ba0b10ad72cdb7585b473af86fc28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/settings/sub_settings/settings_backup.dart:233-243 | lib/screens/settings/sub_settings/settings_backup.dart:250-260 \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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"426f8d73b7a73cd65a0822db339c87978890eaac91e4e4790332147f4c8e9b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/settings/sub_settings/settings_backup.dart:335-345 | lib/screens/settings/sub_settings/settings_backup.dart:458-468 \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/screens/settings/sub_settings/settings_backup.dart:335\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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4261be4e05ceacb2d4f48140ee5a10f2179ba0bef4578a666d6fe2db1dc30eb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/stats/controller/user_stats_controller.dart:206-216 | lib/screens/stats/controller/user_stats_controller.dart:224-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/stats/controller/user_stats_controller.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/screens/stats/controller/user_stats_controller.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0f620fb7c1e49040fe4ba24496d335ec22440c41dd255c55173d2ad8ffdc41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/stats/user_stats_page.dart:496-506 | lib/screens/stats/user_stats_page.dart:971-981 \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/screens/stats/user_stats_page.dart:971\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/screens/stats/user_stats_page.dart"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed97910a364734d6543f6ecb5f9c21dc5478b37fc0c3dc228131996926c2f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/watchium/watchium_page.dart:154-164 | lib/screens/watchium/watchium_page.dart:209-219 \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/screens/watchium/watchium_page.dart:154\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/screens/watchium/watchium_page.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4092f59f3d223f1f86b5225ebad779b10a307f7781221e9f74ddd1250305357d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/services/cast/cast_proxy_server.dart:213-223 | lib/services/cast/cast_proxy_server.dart:399-409 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/services/cast/cast_proxy_server.dart:225\u0060 calls \u0060ContentType\u0060 and \u0060lib/services/cast/cast_proxy_server.dart:411\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/services/cast/cast_proxy_server.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec4458f792eec11af3132609636d36f202d4c2588b37b5084f63dac441437c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/services/commentum_service.dart:1601-1611 | lib/services/commentum_service.dart:1635-1645 \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/services/commentum_service.dart:1601\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/services/commentum_service.dart"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da9532bd3e443ec16ef2d22a8b88fb4006e7d083a7db1b0b682f86f30f98f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/utils/compatibility/matchmaker.dart:122-132 | lib/utils/compatibility/matchmaker.dart:308-318 \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/utils/compatibility/matchmaker.dart:122\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40cd0cd9772bb1f3ba9d05d37cc141143a58c74869e10d323ddeaf1a0f17f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/common/anymex_scaffold.dart:370-380 | lib/widgets/common/anymex_scaffold.dart:383-393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/anymex_scaffold.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca29935a4a9d9e4fce35d07725603db2530a9b902fac409e4f93f171746309a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/common/anymex_scaffold.dart:396-406 | lib/widgets/common/anymex_scaffold.dart:453-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/anymex_scaffold.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b478882993bf465df699e820c9b55e79939b0f1807c2e7afac722ccc03e9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/widgets/common/cards/styles/simple_card.dart:124-134 | lib/widgets/history/tap_history_cards.dart:197-206 \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/widgets/common/cards/styles/simple_card.dart:124\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/widgets/common/cards/styles/simple_card.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e1b79ebac20bd161a5ce0883dc158828e003b65a8be7bd5c4bbfde95615c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/non_widgets/activity_card.dart:1131-1141 | lib/widgets/non_widgets/recommend_sheet.dart:779-790 \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/widgets/non_widgets/activity_card.dart:1131\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/widgets/non_widgets/activity_card.dart"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea358afdfe7ed18294daec8d473d139c5ab8458178bd93538808b5544a8fc45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/non_widgets/activity_composer_sheet.dart:242-252 | lib/widgets/non_widgets/activity_composer_sheet.dart:275-285 \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/widgets/non_widgets/activity_composer_sheet.dart:242\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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"28aa41ac96981fe235c7aced3c0f3d311afa2d847bc892308c36d41cc5d785ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/non_widgets/reasons_sheet.dart:697-707 | lib/widgets/non_widgets/recommend_sheet.dart:1012-1022 \u2014 before extracting anything, compare \u0060lib/widgets/non_widgets/reasons_sheet.dart\u0060 and \u0060lib/widgets/non_widgets/recommend_sheet.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 159 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/widgets/non_widgets/reasons_sheet.dart:697\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/widgets/non_widgets/recommend_sheet.dart:1023\u0060 calls \u0060TextStyle\u0060 and \u0060lib/widgets/non_widgets/reasons_sheet.dart:708\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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cf4de4f62eb5fedc5c8284b7e141cc0f692773d16fe4e3a386d72d77d29061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/non_widgets/recommend_sheet.dart:1081-1092 | lib/widgets/non_widgets/recommend_sheet.dart:1161-1171 \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/widgets/non_widgets/recommend_sheet.dart:1081\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/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"34af0e5c59c1361f1fb25467bfcc3e3ae31df47d16059b3a4d42897ef28f74f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:556-565 | lib/screens/watchium/watchium_page.dart:384-393 | lib/widgets/non_widgets/reasons_sheet.dart:260-269 | lib/widgets/non_widgets/recommend_sheet.dart:409-418 | lib/widgets/non_widgets/recommend_sheet.dart:615-624 | lib/widgets/watchium/watchium_create_dialog.dart:482-491 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:556\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be3de7b92e4949eddbcab0adf41262044ebb5093fb3c60003e1050ca4e52ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): lib/screens/anime/widgets/list_editor.dart:633-642 | lib/screens/anime/widgets/list_editor.dart:752-761 | lib/widgets/common/source_selector.dart:639-649 | lib/widgets/header/header.dart:586-596 \u2014 there are 4 copies across 3 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/list_editor.dart:633\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/screens/anime/widgets/list_editor.dart"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"245a444df2f05314dc426f448f68f9f40359556dff8e5ea64012565ea7f0e721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): lib/screens/downloads/widgets/downloaded_media_view.dart:629-638 | lib/screens/downloads/widgets/downloaded_media_view.dart:1019-1028 | lib/screens/downloads/widgets/downloaded_media_view.dart:1229-1238 | lib/screens/extensions/ExtensionItem.dart:262-271 \u2014 before extracting anything, compare \u0060lib/screens/downloads/widgets/downloaded_media_view.dart\u0060 and \u0060lib/screens/extensions/ExtensionItem.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/widgets/downloaded_media_view.dart:629\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db9826b67c5236fa405c962874e55f2d1dbae59d4ce1d717b0e919fe7d835e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): lib/screens/manga/widgets/reader/top_controls.dart:80-88 | lib/screens/manga/widgets/reader/top_controls.dart:179-188 | lib/screens/novel/reader/widgets/top_controls.dart:57-65 | lib/screens/novel/reader/widgets/top_controls.dart:163-171 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/top_controls.dart\u0060 and \u0060lib/screens/novel/reader/widgets/top_controls.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/manga/widgets/reader/top_controls.dart:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b24949afcbf46b7b7dc3be653b170cc055c8d12009be02872800d145a69948c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/controllers/services/widgets/widgets_builders.dart:373-382 | lib/screens/community/community_recommendations_page.dart:412-421 | lib/screens/community/community_recommendations_page.dart:862-871 \u2014 before extracting anything, compare \u0060lib/controllers/services/widgets/widgets_builders.dart\u0060 and \u0060lib/screens/community/community_recommendations_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/widgets/widgets_builders.dart:373\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/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e24bb965f5b97c93ac63777ba45c60d5575fa8ca837986352a2b8c819b826da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): lib/screens/anime/misc/calendar.dart:206-215 | lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:66-74 | lib/widgets/header/header.dart:687-695 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/tabbed_reader_settings.dart\u0060 and \u0060lib/widgets/header/header.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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/screens/anime/misc/calendar.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc37eb752856f594faa4803a58281a6ca50cd041856fa4fbe8e44691437e57f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/screens/anime/studio_details_page.dart:361-370 | lib/screens/anime/widgets/character_staff_sheet.dart:906-918 | lib/screens/anime/widgets/character_staff_sheet.dart:941-953 \u2014 before extracting anything, compare \u0060lib/screens/anime/studio_details_page.dart\u0060 and \u0060lib/screens/anime/widgets/character_staff_sheet.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/studio_details_page.dart:361\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/screens/anime/studio_details_page.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb476c3c1859a3b0d14bc7b707c82a38d5439e9522d5cb4a4b0e9589bf125e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): lib/screens/anime/widgets/episode/styles/detailed_style.dart:201-208 | lib/screens/downloads/widgets/download_server_selector.dart:518-527 | lib/widgets/watchium/watchium_server_sheet.dart:241-250 \u2014 before extracting anything, compare \u0060lib/screens/downloads/widgets/download_server_selector.dart\u0060 and \u0060lib/widgets/watchium/watchium_server_sheet.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode/styles/detailed_style.dart:201\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/screens/downloads/widgets/download_server_selector.dart:515\u0060 calls \u0060SizedBox\u0060 and \u0060lib/widgets/watchium/watchium_server_sheet.dart:239\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/screens/anime/widgets/episode/styles/detailed_style.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ec7d3c897ff732add8d19ce0419cecf211a8fcb621efb13ce458610013f777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/screens/downloads/widgets/download_server_selector.dart:238-247 | lib/widgets/watchium/watchium_create_dialog.dart:82-91 | lib/widgets/watchium/watchium_server_sheet.dart:72-81 \u2014 before extracting anything, compare \u0060lib/screens/downloads/widgets/download_server_selector.dart\u0060 and \u0060lib/widgets/watchium/watchium_server_sheet.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/widgets/download_server_selector.dart:238\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/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9178bad3b24ecc53032cc942baa44103efa22f3ff1d057cb04c37b95be02f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): lib/screens/library/editor/history_editor.dart:292-301 | lib/screens/library/editor/history_editor.dart:392-401 | lib/screens/library/editor/history_editor.dart:843-851 \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/screens/library/editor/history_editor.dart:292\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/screens/library/editor/history_editor.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0421a1f95b406eb1e21f0138d1ea13c599b88b850ade141534da2af2a71bcac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/screens/library/editor/history_editor.dart:321-330 | lib/screens/library/editor/history_editor.dart:421-430 | lib/screens/library/editor/history_editor.dart:819-828 \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/screens/library/editor/history_editor.dart:321\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/screens/library/editor/history_editor.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"930857b93b2c374729866734a788f5162fc3e7c4af9988414d606db16a698e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): lib/screens/library/widgets/unified_history_card.dart:122-131 | lib/screens/library/widgets/unified_history_card.dart:268-276 | lib/screens/library/widgets/unified_history_card.dart:392-401 \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/screens/library/widgets/unified_history_card.dart:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e5c28b561dcf0d814fdd6d0b12745d382e5457d12c63bff938a105ca4c9ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/screens/manga/widgets/reader/color_filter_settings_page.dart:82-91 | lib/screens/manga/widgets/reader/color_filter_settings_page.dart:96-105 | lib/screens/manga/widgets/reader/color_filter_settings_page.dart:124-134 \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/screens/manga/widgets/reader/color_filter_settings_page.dart:82\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/screens/manga/widgets/reader/color_filter_settings_page.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"699740fe93f6df1746e3c053221fce4f05b807c59c61e67058305fbb8ec08e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): lib/screens/profile/activity_details_page.dart:355-364 | lib/screens/profile/activity_details_page.dart:383-392 | lib/widgets/non_widgets/activity_card.dart:656-664 \u2014 before extracting anything, compare \u0060lib/screens/profile/activity_details_page.dart\u0060 and \u0060lib/widgets/non_widgets/activity_card.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/profile/activity_details_page.dart:355\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/screens/profile/activity_details_page.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6d36351da2825233b14ebc39d09c6429d954626571d3e78c82e2652532e58c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): lib/screens/settings/sub_settings/settings_network.dart:455-464 | lib/screens/settings/sub_settings/settings_network.dart:777-786 | lib/widgets/watchium/watchium_party_popup.dart:762-768 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/settings_network.dart:455\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f476e6ec127c38f317b3cc939649a7d8b6486b66195394aaa7586ce068853c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201310 lines \u00D7 4): package_manager.dart:111-120 | package_manager.dart:123-127 | package_manager.dart:131-138 | package_manager.dart:142-151 \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 \u0060package_manager.dart:123\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":"package_manager.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dcb1f8316bfed1c52f516be3fa688b32455543803419e32999aa62add0fcca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:2140-2149 | lib/controllers/services/anilist/anilist_auth.dart:2527-2536 \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/controllers/services/anilist/anilist_auth.dart:2140\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fee3e8af672014201bc2c9c5c53c3e9a2e03893a6ac634dde874af6a8727e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:1538-1547 | lib/controllers/services/anilist/anilist_data.dart:1548-1557 \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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"85584463ba25e9d4e5803142de8ec2290d39a8ed78f1b16f77845bc139e4f720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/controllers/services/backup_restore/backup_restore_service.dart:719-729 | lib/controllers/services/backup_restore/backup_restore_service.dart:1849-1859 \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/controllers/services/backup_restore/backup_restore_service.dart:719\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5f7cb1e2b54fc275246e310d00a666d4b15b0cdf20634bde210c2f9cf9b396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/controllers/services/community_service.dart:459-468 | lib/controllers/services/community_service.dart:543-552 \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/controllers/services/community_service.dart:459\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/controllers/services/community_service.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"810f9cacfc8ac0906061a00f3ea864229860bd9a5b9ce4fc04b39c8ac286e401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/controllers/services/community_service.dart:487-496 | lib/controllers/services/community_service.dart:515-524 \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/controllers/services/community_service.dart:487\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/controllers/services/community_service.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fc1f34b09a0ab1c93fd9f5d3f2ca5c37054301083d283c73712d0f64ed9a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/controllers/services/community_service.dart:1074-1083 | lib/controllers/services/community_service.dart:1125-1134 \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/controllers/services/community_service.dart:1074\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/controllers/services/community_service.dart"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"348de4718c46c19a6831d80c365cc19efc6aaddfbadcb5f1e8ba9ea022f2dc72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/controllers/services/mal/mal_service.dart:311-320 | lib/controllers/services/simkl/simkl_service.dart:208-217 \u2014 \u0060lib/controllers/services/mal/mal_service.dart\u0060 and \u0060lib/controllers/services/simkl/simkl_service.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/mal/mal_service.dart:311\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/controllers/services/mal/mal_service.dart"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"29451d65e181db19e26e306dd15658f77755f726657c2c51a251548037ad393b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/controllers/services/mal/mal_service.dart:750-760 | lib/controllers/services/mal/mal_service.dart:784-793 \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/controllers/services/mal/mal_service.dart:750\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/controllers/services/mal/mal_service.dart"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ea8b4b094c206a7f4dfc6404ecdff541fa68b9e645c98d378188a3baf1d40e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/controllers/services/simkl/simkl_service.dart:1070-1079 | lib/controllers/services/simkl/simkl_service.dart:1092-1101 \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/controllers/services/simkl/simkl_service.dart:1070\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/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7095f5d7c9fa1a9ef8bd818b885ff2966a8265ad47ca113470530485594f33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): lib/controllers/source/source_mapper.dart:228-237 | lib/controllers/source/source_mapper.dart:240-246 \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/controllers/source/source_mapper.dart:228\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/controllers/source/source_mapper.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b170e934028ea1b16339e873ff23b833f0c991de518b03c9e8a223431ac9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/anime/misc/calendar.dart:953-963 | lib/widgets/media_items/media_item.dart:254-263 \u2014 before extracting anything, compare \u0060lib/screens/anime/misc/calendar.dart\u0060 and \u0060lib/widgets/media_items/media_item.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/misc/calendar.dart:953\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/widgets/media_items/media_item.dart:252\u0060 calls \u0060BlurAnimeCard\u0060 and \u0060lib/screens/anime/misc/calendar.dart:951\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/screens/anime/misc/calendar.dart"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cceb886b8b33bb9ea17776c50f60e63d018db29b1dcaaf5b6063600a1d1a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:569-580 | lib/widgets/watchium/watchium_create_dialog.dart:495-504 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:583\u0060 calls \u0060of\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart:507\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f6062d5eb9b2d7ed0bfd7122302d690b359ae93e48804e4ee19c29ee89313c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:548-557 | lib/screens/manga/widgets/manga_stats.dart:570-579 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:548\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16ad743f14872d127df50263e49f56516f3f9cb8623037ca2d17b100b6f6f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:3029-3038 | lib/screens/anime/widgets/comments/comments_section.dart:3062-3071 \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/screens/anime/widgets/comments/comments_section.dart:3029\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3029}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f71e6d7cc776d39eef1d7dd3c0b7266f35b4b5d4e94f499d04b730ea46d63ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/anime/widgets/episode/styles/compact_style.dart:51-60 | lib/screens/anime/widgets/episode/styles/detailed_style.dart:51-60 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode/styles/compact_style.dart\u0060 and \u0060lib/screens/anime/widgets/episode/styles/detailed_style.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 114 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/screens/anime/widgets/episode/styles/compact_style.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"115bb61c9c7cbad87fa84d08584c73d611f473c3c59c665be368ec82b8daf878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:2031-2040 | lib/screens/downloads/controller/download_controller.dart:2042-2051 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b9577edad66a3f9a8a5d8531c87c5d88e80e23b60e7424f8abf0a657e1a8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:2130-2139 | lib/screens/downloads/controller/download_controller.dart:2141-2150 \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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae8a9173cc6fb40d41f32b5ebc90ceeb04949685351652510816ad324623038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:2288-2296 | lib/screens/downloads/controller/download_controller.dart:2300-2309 \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/screens/downloads/controller/download_controller.dart:2300\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e567e2e33af8474a4cc9928f6b91f367ca8cc71ebed3b348a6c08e88b72a17ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/downloads/download_screen.dart:402-411 | lib/screens/downloads/download_screen.dart:616-625 \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/screens/downloads/download_screen.dart:402\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/screens/downloads/download_screen.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eebeb05d4b92e29c363559329fd539419e6db096bcd882db550164d7d15e19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:393-403 | lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:615-624 \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/screens/downloads/nested_screens/active_downloads/active_downloads.dart:393\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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86b3bd2c1a47caf6627dfdbdd102defff8371e86db3cf8a82476300004a0cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:425-434 | lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:643-652 \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/screens/downloads/nested_screens/active_downloads/active_downloads.dart:425\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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee61d5c3fb5212c6c20d9eef12a2babbfb4a5dddd504b8b280428147f000171f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:569-578 | lib/screens/profile/compatibility/compatibility_input_page.dart:741-750 \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/screens/downloads/nested_screens/active_downloads/active_downloads.dart:569\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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb416e1f458201f76b119c014d875acefe2849d12b4da3aea2d896c37b389ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): lib/screens/downloads/widgets/download_server_selector.dart:445-454 | lib/screens/downloads/widgets/downloaded_media_view.dart:755-762 \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/screens/downloads/widgets/download_server_selector.dart:445\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/screens/downloads/widgets/download_server_selector.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d92448ca3bbbacc13103132a57b7d63b2f23bb3afc9844bda20ab32153eb529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/extensions/ExtensionScreen.dart:435-444 | lib/widgets/common/source_selector.dart:510-519 \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/screens/extensions/ExtensionScreen.dart:435\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionScreen.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d6ec1b817236c65d56251b0069d7b0e4d383cf609a9ad32c4bb822d11087b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/extensions/ExtensionSettings/ExtensionSettings.dart:264-273 | lib/screens/extensions/ExtensionSettings/ExtensionSettings.dart:275-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"54774def37ba8493e482dc9d6027d539eb3d3d5c1bda623ebb2e82c89b08aa62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/screens/library/widgets/library_deps.dart:247-255 | lib/widgets/anime/media_header.dart:419-428 \u2014 before extracting anything, compare \u0060lib/screens/library/widgets/library_deps.dart\u0060 and \u0060lib/widgets/anime/media_header.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/library/widgets/library_deps.dart:247\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/screens/library/widgets/library_deps.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"af183b85ec8dab688e481d157aeef1951d1ea64f5083a5933c1dc6f1fd9ffa2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:655-664 | lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:697-706 \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/screens/manga/widgets/reader/tabbed_reader_settings.dart:655\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/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bee633478e16cd99bcdaa0187bacfb2c2bc292950e32e2d77316a3cb76bd74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:1349-1359 | lib/screens/profile/compatibility/compatibility_result_page.dart:2257-2266 \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/screens/profile/compatibility/compatibility_result_page.dart:1349\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"725d4973dcf429749d374a57816bae27e2a91f470172f213fd2244b575c1d07a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/profile/widgets/favorites_section.dart:175-184 | lib/screens/profile/widgets/favorites_section.dart:290-299 \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/screens/profile/widgets/favorites_section.dart:175\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060items\u0060 to \u0060List\u003CFavouriteMedia\u003E\u0060 in one and \u0060List\u003CPersonItem\u003E\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/screens/profile/widgets/favorites_section.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e14460a6f7f830f6cbf3f752dbf14050b95b3d016b1b9f435d03e89e090895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/profile/widgets/profile_stats_tab.dart:84-93 | lib/widgets/common/source_selector.dart:908-917 \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/screens/profile/widgets/profile_stats_tab.dart:84\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/screens/profile/widgets/profile_stats_tab.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7b6739053d422219d76c3ff6e4c8891ded3e0c740837e291952aca23ec835b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/profile/widgets/social_tab.dart:267-276 | lib/screens/profile/widgets/social_tab.dart:389-398 \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/screens/profile/widgets/social_tab.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a347f43a48b742a22be568de15c0a4b06f3783daee29eeb19fdf2e88336cf50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/screens/search/widgets/extension_filter_sheet.dart:311-320 | lib/screens/search/widgets/extension_filter_sheet.dart:797-805 \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/screens/search/widgets/extension_filter_sheet.dart:311\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/screens/search/widgets/extension_filter_sheet.dart"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1833815667106e0cf7dcbaea6488b1ed6b0fa035560501faeb8f17b86af96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/settings/sub_settings/contributors/contributors.dart:344-353 | lib/screens/settings/sub_settings/contributors/contributors.dart:354-363 \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/screens/settings/sub_settings/contributors/contributors.dart"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1784a21a758f876a93c6a6a98c7724236037a29669c93ccfc33f19377af51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_subtitles.dart:122-131 | lib/screens/settings/sub_settings/settings_fonts.dart:69-77 \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/screens/settings/sub_settings/player/settings_player_subtitles.dart:122\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/player/settings_player_subtitles.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a19085ecd6118301cc5082cc3ded2b9117c4e9a3aec21025bf4a2d34958e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/settings/sub_settings/settings_downloads.dart:20-29 | lib/screens/settings/sub_settings/settings_logs.dart:20-29 \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/screens/settings/sub_settings/settings_downloads.dart:20\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/screens/settings/sub_settings/settings_downloads.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a89cd22e9066848560c86bb1f442c9bd937eb559565d658b7b46f5bd228ac0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/settings/sub_settings/settings_moderation.dart:1334-1343 | lib/screens/settings/sub_settings/settings_moderation.dart:1376-1385 \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/screens/settings/sub_settings/settings_moderation.dart:1334\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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4d1c453890f349f0f0c36dad90974d094faab3f87fac9c1e1178ce8f1d5440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/watchium/watchium_page.dart:1210-1219 | lib/screens/watchium/watchium_page.dart:1249-1258 \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/screens/watchium/watchium_page.dart:1210\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/screens/watchium/watchium_page.dart"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f37caf36b4390528e13e2f40d9e43b319d2d0c550f4b09407443cfbebdd3820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/utils/al_about_me.dart:435-444 | lib/utils/al_about_me.dart:453-462 \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/utils/al_about_me.dart:435\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/utils/al_about_me.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"24763f9b3d835fb135940e29dc70f473d98c2275d3c2186abab56a2f172a29a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_text.dart:205-214 | lib/widgets/anymex_widgets/anymex_text.dart:220-231 \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/widgets/anymex_widgets/anymex_text.dart:205\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/widgets/anymex_widgets/anymex_text.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5948fd2270c75efd1dd3b698695642e18471cce3ae51699377ebad401ab127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/widgets/common/baked_blur_image.dart:250-259 | lib/widgets/common/baked_blur_image.dart:308-317 \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/widgets/common/baked_blur_image.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13f3798aac5f8857d32007d4ce59645c5ec2aabd67a87939d3a349663bae151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/widgets/media_items/media_peek_popup.dart:986-995 | lib/widgets/non_widgets/recommend_sheet.dart:831-840 \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/widgets/media_items/media_peek_popup.dart:986\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/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ee4ca2fad5a3cff966e64b0cf88ea9f6f01885ec3aabb1b5302ca9acc6fb81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/widgets/non_widgets/activity_card.dart:617-626 | lib/widgets/non_widgets/activity_card.dart:648-657 \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/widgets/non_widgets/activity_card.dart:617\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/widgets/non_widgets/activity_card.dart"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"901b7e8e97289feffc371773df84787a48aab2cfec009d2f6f77a753b9a0054d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 6): lib/screens/anime/details/media_details_page.dart:893-899 | lib/screens/anime/widgets/comments/comments_section.dart:368-376 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:691-699 | lib/screens/library/widgets/library_deps.dart:246-251 | lib/widgets/anime/media_header.dart:440-446 | lib/widgets/common/no_source.dart:20-25 \u2014 before extracting anything, compare \u0060lib/screens/anime/details/media_details_page.dart\u0060 and \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/details/media_details_page.dart:893\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd368c32dc0d81b9471deafef9a97108f4f10b5fe784e6b88cff2e75e0c4ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/controllers/services/anilist/anilist_auth.dart:2393-2401 | lib/controllers/services/anilist/anilist_auth.dart:2534-2542 | lib/controllers/services/anilist/anilist_auth.dart:2591-2599 | lib/controllers/services/anilist/anilist_auth.dart:2648-2656 \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/controllers/services/anilist/anilist_auth.dart:2393\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb70b08bb38fc093b96edec238e01852a6794140208328f1f8b9c54360689fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/screens/downloads/download_screen.dart:1070-1078 | lib/screens/downloads/download_screen.dart:1348-1356 | lib/screens/downloads/download_screen.dart:1571-1579 | lib/screens/downloads/widgets/download_server_selector.dart:397-405 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/download_screen.dart:1070\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/screens/downloads/download_screen.dart"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7f63db25f2d043eb17358107da7dc2ad2c982eef353166f4d20de842e3a175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/screens/novel/reader/widgets/bottom_controls.dart:75-83 | lib/screens/novel/reader/widgets/bottom_controls.dart:153-161 | lib/screens/novel/reader/widgets/bottom_controls.dart:234-242 | lib/screens/novel/reader/widgets/bottom_controls.dart:300-308 \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/screens/novel/reader/widgets/bottom_controls.dart:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/widgets/bottom_controls.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c701c21f7da0ec74b27108f62e0285670ae676f6e933c0f93f9efad557c89b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/screens/anime/misc/calendar.dart:262-270 | lib/screens/library/online/anime_list.dart:555-563 | lib/screens/library/online/manga_list.dart:539-547 \u2014 before extracting anything, compare \u0060lib/screens/anime/misc/calendar.dart\u0060 and \u0060lib/screens/library/online/anime_list.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/misc/calendar.dart:262\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/misc/calendar.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"efda9a28446df953b9fd70bada0084e0c3302eb6af19985da0347d09b55a0d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/screens/anime/watch/controls/widgets/bottom_sheet.dart:608-616 | lib/screens/anime/watch/controls/widgets/episodes_pane.dart:283-291 | lib/screens/anime/watch/controls/widgets/episodes_pane.dart:319-327 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/bottom_sheet.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aae3bd0ea8c25bee6e4b6f71e3f9aab891c59e4672acd98fa7cf9cca5b9ba83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): lib/screens/anime/watch/controls/widgets/sync_subs_popup.dart:182-188 | lib/screens/downloads/widgets/download_server_selector.dart:443-451 | lib/screens/downloads/widgets/downloaded_media_view.dart:753-759 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/sync_subs_popup.dart:182\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/screens/anime/watch/controls/widgets/sync_subs_popup.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c744bde5ef7d3c0cf8458926d666db47ca28d364c004dd18c9b75f863b587d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/screens/anime/widgets/episode_list_builder.dart:1340-1348 | lib/screens/manga/widgets/chapter_list_builder.dart:1450-1458 | lib/widgets/watchium/watchium_party_popup.dart:552-561 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1340\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"68eafe0300f4b81910bc9d31ba4c1e1938584dc482b442b0a2b619cdb9b83172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 3): lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart:83-88 | lib/screens/downloads/widgets/manga_chapter_download_confirm.dart:129-135 | lib/utils/updater.dart:600-608 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/widgets/manga_chapter_download_confirm.dart:129\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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c943e019049d82f0153ebbf8b9e1a8681c097145ccf3ed9bc99301993a13e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/screens/downloads/widgets/downloaded_media_view.dart:1124-1132 | lib/screens/manga/controller/reader_controller.dart:283-291 | lib/screens/manga/controller/reader_controller.dart:1945-1953 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccc47f6e1e32e577cc5c32f2e62048b3b13514c0546ad24af1e130b96867ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): lib/screens/extensions/ExtensionScreen.dart:416-423 | lib/screens/extensions/ExtensionScreen.dart:448-456 | lib/screens/extensions/ExtensionScreen.dart:542-550 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionScreen.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c11e7b97732174b959461d80184a0bb242a3d4830ca0dd12ca9a4a3fd2de66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): lib/screens/settings/sub_settings/player/settings_player_controls.dart:398-405 | lib/screens/settings/sub_settings/player/settings_player_controls.dart:519-527 | lib/screens/settings/sub_settings/settings_reader.dart:554-561 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart:398\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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2654a34ed5cf81f3fad4a311533f388c34337fca12c3d59a2abf723615d088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/widgets/anymex_widgets/linked_accounts_badges.dart:39-47 | lib/widgets/anymex_widgets/linked_accounts_badges.dart:50-58 | lib/widgets/anymex_widgets/linked_accounts_badges.dart:61-69 \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/widgets/anymex_widgets/linked_accounts_badges.dart:39\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/widgets/anymex_widgets/linked_accounts_badges.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3583da5b5cc3a3507c2be50d7cc7368196354991ff61d0c7b575aaed148d1cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:642-649 | lib/controllers/services/anilist/anilist_auth.dart:803-811 \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/controllers/services/anilist/anilist_auth.dart:642\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71fc22373ec5b488b75e37d0c7cf58d30ab5b4d7457842d737b85e2269b8352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:1992-2000 | lib/controllers/services/anilist/anilist_auth.dart:2147-2155 \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/controllers/services/anilist/anilist_auth.dart:1992\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c894f617048aac3df08d8ac8bdc5245b967bba3393cab6b3738963d987c7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/controllers/source/source_controller.dart:194-202 | lib/screens/extensions/ExtensionList.dart:171-179 \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/controllers/source/source_controller.dart:194\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/controllers/source/source_controller.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6795a539c9dfbda2693f7caba4278c50dc278fefb694b6ffe78c0fe4cd3e306e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/controllers/stats/stats_tracker.dart:18-26 | lib/controllers/stats/stats_tracker.dart:71-79 \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/controllers/stats/stats_tracker.dart:18\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/controllers/stats/stats_tracker.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0824fd25c4a682cef030b97961a2b54237f096363559651762861e6996175ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 3): lib/models/Anilist/anilist_activity.dart:94-109 | lib/models/Anilist/anilist_activity.dart:111-121 | lib/models/Anilist/anilist_activity.dart:141-152 \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/models/Anilist/anilist_activity.dart:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_activity.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e9402602a2a3147025d7f31b9f1b6fa5da026208de6a6472cb3de2dc33f400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/models/Anilist/anilist_media_user.dart:292-308 | lib/models/Anilist/anilist_media_user.dart:333-349 \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/models/Anilist/anilist_media_user.dart:292\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/models/Anilist/anilist_media_user.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"397b85b0175406f449f72acb4606e8f7b927af9e6fa84f7b9cb43db33536c42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:28-36 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:30-38 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:28\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"406549f6069c8e1b57553861fd7c63e451058170088a5dab4bb0edf5e429b96a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:179-187 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:185-193 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:179\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5556269f890436884eb2259481c891a4a1232142a5861377dc9337f1a92672e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:361-369 | lib/widgets/watchium/watchium_create_dialog.dart:195-203 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd38f15248f879da094ab89777de90c89d261107e5bfdc78b734f1a4e0864ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:668-676 | lib/widgets/watchium/watchium_create_dialog.dart:587-595 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:668\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e7d2c205c668509ac725b9ef1e55660ea7eaa12fd13824b6bfa11a42db2571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/anime/widgets/anime_stats.dart:844-852 | lib/screens/profile/widgets/profile_stats_tab.dart:751-759 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/profile/widgets/profile_stats_tab.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e45d9ee8fe86e8bcd331fa819e1def8c6e5d7c20d057d4f6af165dcbcea24f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:3174-3182 | lib/screens/settings/sub_settings/settings_moderation.dart:1782-1790 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_moderation.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/anime/widgets/comments/comments_section.dart:3172\u0060 calls \u0060toString\u0060 and \u0060lib/screens/settings/sub_settings/settings_moderation.dart:1781\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3174}}}],"partialFingerprints":{"codehealthFindingId/v1":"91275230a57c4451f34fb82da4b7fa1ca4e782fd15ec4d542e79cbd3f3ed9670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/anime/widgets/comments/mention_autocomplete.dart:135-143 | lib/screens/anime/widgets/comments/mention_autocomplete.dart:145-153 \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/screens/anime/widgets/comments/mention_autocomplete.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0994042a70dc4e39f941ea86409b9bf0a656e056c28f016c58e73f0138ad324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:346-354 | lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:400-408 \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/screens/anime/widgets/comments/widgets/comment_input_bar.dart:346\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/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55d19a0918143402436546e4218f18987355e186f5ba63183a1cfa15e807f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/anime/widgets/episode_range.dart:23-31 | lib/screens/manga/widgets/chapter_ranges.dart:18-26 \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/screens/anime/widgets/episode_range.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. 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/screens/anime/widgets/episode_range.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e3339cfbeb4bba0e14f406a38d3f19557018f493034e08eac7a78068b04ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/community/community_recommendations_page.dart:402-410 | lib/screens/community/community_recommendations_page.dart:843-851 \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/screens/community/community_recommendations_page.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65a208534ef44228bc67e7158c04a0175986d79a6e1cb4c24a4957148ab15d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:608-616 | lib/screens/downloads/controller/download_controller.dart:686-694 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/downloads/controller/download_controller.dart:608\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/screens/downloads/controller/download_controller.dart:685\u0060 calls \u0060_saveActiveTasks\u0060 and \u0060lib/screens/downloads/controller/download_controller.dart:607\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a64b318085c5e3133679e7a1eefca7ad269457bfd943509d014ec545dd32df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/downloads/download_screen.dart:470-478 | lib/screens/downloads/download_screen.dart:830-838 \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/screens/downloads/download_screen.dart:470\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/screens/downloads/download_screen.dart"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a9e5f8348badaafbe9a408a7eac3733f9c5817aab1e413a505130e5ddf2d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): lib/screens/extensions/widgets/plugin_manager.dart:123-131 | lib/screens/extensions/widgets/plugin_manager.dart:172-178 \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/screens/extensions/widgets/plugin_manager.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae234239e50f20203bf66da6c4fccc3ce960cb358adb8d897fd31c7e03600ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/screens/library/widgets/unified_history_card.dart:207-214 | lib/widgets/anime/continue_watching_cards.dart:39-47 \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/screens/library/widgets/unified_history_card.dart:207\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/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a2059f7749946669d10b67eb516db704676c568bb826d5e20e7ac913c02bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/manga/controller/reader_controller.dart:457-465 | lib/screens/manga/controller/reader_controller.dart:1526-1534 \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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61c05393dbf026853fe6b470582fa6e0cb493c0533a23e43970242f3f26a16f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/manga/controller/reader_controller.dart:731-739 | lib/screens/manga/controller/reader_controller.dart:1573-1581 \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/screens/manga/controller/reader_controller.dart:731\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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e50bb9dd14a79c25dc3fd3dba78ba2e1188ff68876901ca68e74a8fc4841a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/manga/controller/reader_controller.dart:1614-1622 | lib/screens/novel/reader/controller/reader_controller.dart:713-721 \u2014 before extracting anything, compare \u0060lib/screens/manga/controller/reader_controller.dart\u0060 and \u0060lib/screens/novel/reader/controller/reader_controller.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/manga/controller/reader_controller.dart:1614\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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"0090ae9e515a6f97fb4cf979864480d3d5fd500b6d5019dc0d95ee4dc8c65aaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/novel/details/widgets/chapters_section.dart:241-249 | lib/screens/novel/details/widgets/chapters_section.dart:319-328 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/novel/details/widgets/chapters_section.dart:241\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/screens/novel/details/widgets/chapters_section.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"438a2d3c28c2c1d9fba363fc1d41ff47a92518cd79e7bb1ca1ed7f18d772b6c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:915-923 | lib/screens/profile/compatibility/compatibility_result_page.dart:981-987 \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. 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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5f5fb82d85b3f21375fd239638f37e09fea4a2fb3604073db28bcdc7a1dd61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/screens/profile/user_profile_page.dart:1073-1081 | lib/screens/profile/widgets/activity_heatmap.dart:147-154 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/user_profile_page.dart"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"776592c2e03bde0fefc147a407c9102a48dfa17ed684a30ee90f319497b7e77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/settings/sub_settings/contributors/contributors.dart:754-762 | lib/screens/settings/sub_settings/contributors/contributors.dart:775-783 \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/screens/settings/sub_settings/contributors/contributors.dart:754\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/screens/settings/sub_settings/contributors/contributors.dart"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bc68ea50a303210616ff35db2abaf29852314feb6c9efc8988d9d6c9122028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/watchium/watchium_page.dart:855-863 | lib/utils/color_profiler.dart:1192-1200 \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/screens/watchium/watchium_page.dart:855\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/screens/watchium/watchium_page.dart"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0603661df571353467e106fd1a945feebc8299092f2fa6550fb48807784b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/commentum_service.dart:772-780 | lib/services/commentum_service.dart:1264-1272 \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/services/commentum_service.dart:772\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/services/commentum_service.dart"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f93e65b3d71eeb49634ef43f5fb16d69ed2fa645c0855e0faf5306aab10c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_image.dart:196-204 | lib/widgets/anymex_widgets/anymex_image.dart:215-223 \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/widgets/anymex_widgets/anymex_image.dart:196\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/widgets/anymex_widgets/anymex_image.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ba51e4af8b8686ef57b1c0408266980ff608409b2eb87c5b2be7f836857f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_tile_builder.dart:197-205 | lib/widgets/anymex_widgets/anymex_tile_builder.dart:271-279 \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/widgets/anymex_widgets/anymex_tile_builder.dart:197\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/widgets/anymex_widgets/anymex_tile_builder.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"903049e003aeb8aa94f919725ed3c7eddf64ce9cd7c30ab91fc9f7c3bf73bb1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): lib/widgets/common/installed_extensions_gridview.dart:102-110 | lib/widgets/dialogs/donation_dialog.dart:159-164 \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/widgets/common/installed_extensions_gridview.dart:102\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/widgets/common/installed_extensions_gridview.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cdd907d96d992822689f3441d6691878a11e7387e530a157dec592a668f078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/header/header.dart:786-794 | lib/widgets/header/header.dart:823-831 \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/widgets/header/header.dart:786\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/widgets/header/header.dart"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a1dd4eacf7ee421a70bf57db00668dab7499ceef703eced96d94f2dc66d19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/helper/tv_wrapper.dart:72-80 | lib/widgets/helper/tv_wrapper.dart:170-178 \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/widgets/helper/tv_wrapper.dart:72\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/widgets/helper/tv_wrapper.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0446874182e1c630d21d2ada11d96721f7b2d69d9427b40362e7614c04059c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): lib/screens/anime/details/media_details_page.dart:894-902 | lib/screens/anime/widgets/comments/comments_section.dart:370-379 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:693-702 | lib/screens/library/widgets/library_deps.dart:247-254 | lib/widgets/anime/media_header.dart:419-427 | lib/widgets/anime/media_header.dart:441-449 \u2014 before extracting anything, compare \u0060lib/screens/anime/details/media_details_page.dart\u0060 and \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/details/media_details_page.dart"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"c085963a2764ac377a2eec6ba87ea6235318b557b8646c2a1d570fe081f060f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): lib/screens/anime/details/media_details_page.dart:894-902 | lib/screens/anime/widgets/comments/comments_section.dart:370-379 | lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:146-154 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:693-702 | lib/screens/library/widgets/library_deps.dart:247-254 | lib/widgets/anime/media_header.dart:441-449 \u2014 before extracting anything, compare \u0060lib/screens/anime/details/media_details_page.dart\u0060 and \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:691\u0060 calls \u0060symmetric\u0060 and \u0060lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:145\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/screens/anime/details/media_details_page.dart"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ac3712dc33e671cb8d556b6e62ed0332684ff4b88fdbe7d36548745940c020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:827-834 | lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:885-892 | lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:986-993 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:730-737 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:778-785 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:879-886 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:827\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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"a942300c2018bb924d14c0f89d95c840a8b6bc62d630d2bd07b8e26e14efef1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): lib/screens/anime/widgets/episode_list_builder.dart:1187-1194 | lib/screens/anime/widgets/episode_list_builder.dart:1219-1226 | lib/screens/manga/widgets/chapter_list_builder.dart:1306-1313 | lib/screens/manga/widgets/chapter_list_builder.dart:1338-1345 | lib/screens/search/widgets/search_widgets.dart:2249-2258 | lib/widgets/watchium/watchium_party_popup.dart:764-771 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61b265598e51e856ac943e696d25efe95f91864cbb05a3e99131974a22a770c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): lib/screens/anime/widgets/anime_stats.dart:605-615 | lib/screens/anime/widgets/anime_stats.dart:731-740 | lib/screens/manga/widgets/manga_stats.dart:308-318 | lib/screens/manga/widgets/manga_stats.dart:773-782 | lib/screens/profile/widgets/profile_stats_tab.dart:428-435 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/anime_stats.dart:605\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/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa975df05fb2e8d783862eef5ec0533b4abb9084ad40f38ff7293d21049961b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): lib/screens/anime/widgets/episode_list_builder.dart:1253-1260 | lib/screens/anime/widgets/episode_list_builder.dart:1341-1348 | lib/screens/manga/widgets/chapter_list_builder.dart:1372-1379 | lib/screens/manga/widgets/chapter_list_builder.dart:1451-1458 | lib/widgets/watchium/watchium_party_popup.dart:553-561 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/manga/widgets/chapter_list_builder.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 457 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/episode_list_builder.dart:1253\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa752a44e3cc19af69629def98b4e6843fc61a5ef933347f5bcaffea3012a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/screens/anime/watch/controls/bottom_controls.dart:66-73 | lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart:268-275 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:306-313 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 367 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/screens/anime/watch/controls/bottom_controls.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"733bf0142b37ddb441ca2173975488693d31cbf0826de2b666e96d8836537af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:160-167 | lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:191-198 | lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:222-229 \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/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:160\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/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd5ab3685e60fe02a24438c27521fa54b0c45dfdf6d64ea9e090214af41f8a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:251-258 | lib/screens/anime/widgets/comments/comments_section.dart:347-354 | lib/screens/settings/widgets/style_picker_section.dart:121-128 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"632240968708b0cbec734054546941cbeb615d98df4e8871037eec935376c6f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:197-204 | lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:246-253 | lib/screens/settings/sub_settings/player/settings_player_shaders.dart:171-177 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart:197\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/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e13d6cb3b9646aec0941bbaf6dfb9a5162e316026bc3a1fcb6d438fa8411868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/screens/profile/widgets/user_media_list_page.dart:530-537 | lib/screens/profile/widgets/user_media_list_page.dart:546-553 | lib/screens/profile/widgets/user_media_list_page.dart:569-576 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/widgets/user_media_list_page.dart"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c63783b94d3c7659fc593618607e4292d886e9057d0b2b184d8e59f44929d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/screens/search/widgets/search_widgets.dart:1111-1118 | lib/screens/search/widgets/search_widgets.dart:1130-1137 | lib/screens/search/widgets/search_widgets.dart:1147-1154 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/widgets/search_widgets.dart"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f514dc79425b288419801c97c30d536d7a46e9d67107d5f4109adc4d2770e05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/widgets/common/anymex_scaffold.dart:373-380 | lib/widgets/common/anymex_scaffold.dart:386-393 | lib/widgets/common/anymex_scaffold.dart:399-406 \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/widgets/common/anymex_scaffold.dart:373\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/widgets/common/anymex_scaffold.dart"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bf22af2583ad886bacdabda0ea12daf02f4333f366334424cb157e981208f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/controllers/services/backup_restore/backup_restore_service.dart:704-711 | lib/controllers/services/backup_restore/backup_restore_service.dart:1827-1834 \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/controllers/services/backup_restore/backup_restore_service.dart:704\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6af5ee52c1430ec11f4d1bdc7477aa03de2dea49e0defdf578cf4089ecff76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/controllers/services/community_service.dart:944-951 | lib/controllers/services/community_service.dart:1045-1052 \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/controllers/services/community_service.dart:944\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/controllers/services/community_service.dart"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b9a869583beedd5bee231a5dc544776d58fef320690651d78afde0d2f538a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/controllers/services/community_service.dart:1014-1021 | lib/controllers/services/community_service.dart:1100-1107 \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/controllers/services/community_service.dart:1014\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/controllers/services/community_service.dart"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdd02228ab87f83100cadc265fa602d9be98d7734ba2f44d384f1f459fcba6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/controllers/services/mal/mal_service.dart:523-530 | lib/controllers/services/simkl/simkl_service.dart:402-409 \u2014 \u0060lib/controllers/services/mal/mal_service.dart\u0060 and \u0060lib/controllers/services/simkl/simkl_service.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/mal/mal_service.dart:523\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/controllers/services/mal/mal_service.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac4459b0ebd24e3552695572f980268c98609bfdd755837302f1ad7ea119f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/controllers/services/simkl/simkl_service.dart:872-879 | lib/controllers/services/simkl/simkl_service.dart:1030-1036 \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/controllers/services/simkl/simkl_service.dart:872\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/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9372cf579cf48e6d4ed61aa3d4a18eee185bd9a5db30e46f7527b2c5da819ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/models/Media/media.dart:501-508 | lib/models/Media/media.dart:1150-1157 \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/models/Media/media.dart:501\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/models/Media/media.dart"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"874014f0c98266f416e2fa1737206e7086531c893ed128c6c16bc621458576a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/models/Media/media.dart:709-716 | lib/models/Media/media.dart:1020-1027 \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/models/Media/media.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b5b49efccb2a8e4f545f495c976f62c2f0c843bfd7e28336069cb7be2c366c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/anime/details/controller/media_details_controller.dart:703-710 | lib/screens/anime/details/controller/media_details_controller.dart:802-809 \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/screens/anime/details/controller/media_details_controller.dart:703\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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"5291168d35063e42d0345b5e50ee984e0fbbd0cf059b462d13566d026b4b3e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/anime/widgets/comments/discord_markdown.dart:1040-1047 | lib/screens/anime/widgets/comments/discord_markdown.dart:1065-1072 \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/screens/anime/widgets/comments/discord_markdown.dart:1040\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/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ea661b2a87e56afaf21680d3532fd29d57cf637b438fd8752124cbf143726d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/anime/widgets/comments/discord_markdown.dart:1070-1077 | lib/widgets/non_widgets/activity_composer_sheet.dart:209-216 \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/screens/anime/widgets/comments/discord_markdown.dart:1070\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/screens/anime/widgets/comments/discord_markdown.dart"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2e941e78fcb3b40b892ff4f0099d60707fd3c895633f8cbf4e102a636a34e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:413-420 | lib/screens/downloads/controller/download_search_controller.dart:331-338 \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/screens/anime/widgets/episode_list_builder.dart:413\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1e05b0ea834e1e0eb9dd9cf7c973ef7cb1a44dc96d5991ac5b51a698d2bdca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:540-548 | lib/screens/anime/widgets/episode_list_builder.dart:714-721 \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/screens/anime/widgets/episode_list_builder.dart:540\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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"492da47cbeb1ba7391f2e741911a0676ddb40350bf1e4b6253ef41a26e1706ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/anime/widgets/list_editor.dart:574-581 | lib/screens/anime/widgets/list_editor.dart:674-681 \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/screens/anime/widgets/list_editor.dart:574\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/screens/anime/widgets/list_editor.dart"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"68af8c7eb40d00ee8dc9816739820c5258b220cb7ccf13cca5bb22cfef334a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/screens/downloads/widgets/downloaded_media_view.dart:667-673 | lib/screens/downloads/widgets/track_sheet.dart:511-518 \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/screens/downloads/widgets/downloaded_media_view.dart:667\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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c5c76f76fae59be7de3f4c8c33f1044307366ab7509854df42be0ede2c0e7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): lib/screens/local_source/controller/local_source_controller.dart:320-327 | lib/screens/local_source/controller/local_source_controller.dart:329-336 | lib/screens/local_source/controller/local_source_controller.dart:337-343 \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/screens/local_source/controller/local_source_controller.dart:320\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/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdb816eca9cceb856904ea9383385aa607ab775f72690f3f681e3594180a220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/local_source/controller/local_source_controller.dart:368-375 | lib/screens/local_source/controller/local_source_controller.dart:401-408 \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/screens/local_source/controller/local_source_controller.dart:368\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/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf02a4cac4c8d66c92944044ae9dc882767f6ba5b4a9cf7e442cdf94f7e746b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_input_page.dart:423-430 | lib/screens/settings/sub_settings/settings_addons.dart:264-271 \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/screens/profile/compatibility/compatibility_input_page.dart:423\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/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"feae5ba6d13e21db17a5c0f4ff81a51bf277443e1b4fdc8815fd85a8652d2085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:1146-1152 | lib/screens/profile/compatibility/compatibility_result_page.dart:2653-2660 \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/screens/profile/compatibility/compatibility_result_page.dart:1146\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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"059af3f45bc425440bd43086143b702c49d8e8d5d9ae603d7d11bb9d995259ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/screens/profile/widgets/decoration_closet_sheet.dart:518-525 | lib/screens/profile/widgets/decoration_closet_sheet.dart:549-555 \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/screens/profile/widgets/decoration_closet_sheet.dart"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4ed10c7f8fd736db36d58e0249c8158845de69301268d153aba3d49df34809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_controls.dart:156-163 | lib/screens/settings/sub_settings/player/settings_player_controls.dart:200-207 \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/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c0ca2cfaf496251ef094171299b1c2333fbf69d730fdca576abd47b51395aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/settings/sub_settings/settings_ui_details.dart:620-629 | lib/widgets/common/no_source.dart:21-28 \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/screens/settings/sub_settings/settings_ui_details.dart:620\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/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"7572e79ad85b1461e5b3b8da79de57ade2529bb0705b507cbca1e6ccca4f5364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart:562-569 | lib/screens/watchium/watchium_page.dart:796-803 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"46400096ec05a21a9dd03f3a4d8a9d9ad9c43c323c923363538c28bda6509487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/screens/stats/user_stats_page.dart:137-144 | lib/screens/stats/user_stats_page.dart:153-160 | lib/screens/stats/user_stats_page.dart:168-175 \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/screens/stats/user_stats_page.dart:137\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/stats/user_stats_page.dart:153\u0060 calls \u0060toList\u0060 and \u0060lib/screens/stats/user_stats_page.dart:168\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/screens/stats/user_stats_page.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca07ea4f549342368f61185adcb6444cf6121c1969e2bc85f6408c740e70bba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/utils/compatibility/matchmaker.dart:906-913 | lib/utils/compatibility/matchmaker.dart:922-929 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060a\u0060 to \u0060bool) _voiceActorOverlapDetailed(AnimeStats\u0060 in one and \u0060bool) _studioOverlapDetailed(AnimeStats\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4afee4c4cfaea2135a7b9532e4d9eca28d8038a3ed5efd3b9189579397ff1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/utils/media_syncer.dart:28-35 | lib/utils/media_syncer.dart:45-52 \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/utils/media_syncer.dart:28\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/utils/media_syncer.dart:36\u0060 calls \u0060i\u0060 and \u0060lib/utils/media_syncer.dart:53\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/utils/media_syncer.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"002f6408360eee556a00c72ef75b7de4ba4dc4a9003fe9e5505214ef594c1785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/animation/page_transition.dart:127-134 | lib/widgets/animation/page_transition.dart:139-146 \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/widgets/animation/page_transition.dart:127\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/widgets/animation/page_transition.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"217d4aea7583c313d11fa23b85ece11f4a6e105e4fe30d47e250976c3a010aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_titlebar.dart:263-270 | lib/widgets/common/navbar.dart:102-109 \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/widgets/anymex_widgets/anymex_titlebar.dart:263\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/widgets/anymex_widgets/anymex_titlebar.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b67b019cca7da3e8193813c1a3d6a3af07d6712d1bbeb3eb1d83de4b0a7a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/common/content_error_widget.dart:227-234 | lib/widgets/common/no_source.dart:17-24 \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/widgets/common/content_error_widget.dart:227\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/widgets/common/content_error_widget.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca511953461b865908f59a34956c0b373eca01b03f72bfb47d3aa237056f91c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/non_widgets/activity_composer_sheet.dart:521-528 | lib/widgets/non_widgets/activity_composer_sheet.dart:544-551 \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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"2276f6d0c6b08bab58b03e69d5bdf246755c2e620d3f66fbd1e681a8e74ac8b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): lib/controllers/services/community_service.dart:1031-1037 | lib/controllers/services/community_service.dart:1062-1068 | lib/controllers/services/community_service.dart:1093-1098 | lib/controllers/services/community_service.dart:1117-1122 \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/controllers/services/community_service.dart:1031\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/controllers/services/community_service.dart"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaae7a904dde69a794bb3b32fc06d851e5d03f1ca2525510b55221bb2005234e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/controllers/offline/offline_storage_controller.dart:628-634 | lib/controllers/offline/offline_storage_controller.dart:694-700 | lib/controllers/offline/offline_storage_controller.dart:759-765 \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/controllers/offline/offline_storage_controller.dart:628\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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a2343518405a77ce1f182424624df5ac2c2834002285f7588ad944a8a82637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/models/Anilist/anilist_media_user.dart:63-69 | lib/models/Anilist/anilist_media_user.dart:74-80 | lib/screens/anime/details/controller/media_details_controller.dart:444-450 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Anilist/anilist_media_user.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9d306c7f19a6c937914fb093681531a07123488cd8af89d602a789dfaa5e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/screens/anime/misc/calendar.dart:343-349 | lib/screens/library/online/anime_list.dart:587-593 | lib/screens/library/online/manga_list.dart:571-577 \u2014 before extracting anything, compare \u0060lib/screens/anime/misc/calendar.dart\u0060 and \u0060lib/screens/library/online/anime_list.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/misc/calendar.dart:343\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/screens/anime/misc/calendar.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b9c077b0d2d410c152bd2bea071520429b7328b5ecc96261787a1b0a510553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:673-679 | lib/widgets/watchium/watchium_create_dialog.dart:592-598 | lib/widgets/watchium/watchium_create_dialog.dart:659-665 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:673\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6114a0fe20840f59b997dcfc9b00350c69b428dbc1d250b0f62627013f330fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/controllers/offline/offline_storage_controller.dart:697-707 | lib/controllers/offline/offline_storage_controller.dart:762-772 \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/controllers/offline/offline_storage_controller.dart:697\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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"5788cede0b22e6f07a46e035b8adc0b8d71edbe584a31c0e7977bab654cfd77c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/controllers/services/anilist/anilist_auth.dart:2003-2009 | lib/controllers/services/anilist/anilist_auth.dart:2404-2410 \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/controllers/services/anilist/anilist_auth.dart:2003\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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2003}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3fdb7d190be65b008e523531fda817b901f8f88206084c0cb9f3ca3092b1d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/controllers/services/mal/mal_service.dart:771-777 | lib/controllers/services/mal/mal_service.dart:795-801 \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/controllers/services/mal/mal_service.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/controllers/services/mal/mal_service.dart"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"52707709cb596d4c2e2f2dc52249f5dcee09fe3eda4521d32a4fbede0fa776de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/controllers/services/storage/storage_manager_service.dart:55-61 | lib/controllers/services/storage/storage_manager_service.dart:103-109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/storage/storage_manager_service.dart:55\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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e327aa9d76c2f0484f4c0095446c94c4aed0e4cbc336d0579416e4c5925b3577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/models/Media/media.dart:306-312 | lib/models/Media/media.dart:535-541 \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/models/Media/media.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d3024983d2358460e56b12b49b1f7f5a011f76455dd4e2ad34b06f6a2567e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/models/Media/media.dart:865-871 | lib/models/Media/media.dart:1032-1038 \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/models/Media/media.dart:865\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 \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/models/Media/media.dart"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab9efe637578b70672ec9187ca147995df3fe6f4d5efc07c7f6ba724f52dd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/speed_popup.dart:408-414 | lib/utils/al_about_me_helpers.dart:246-252 \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/screens/anime/watch/controls/widgets/speed_popup.dart:408\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/screens/anime/watch/controls/widgets/speed_popup.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b43a2982cca96de9c0a9328415a17f1a5d2f274a4175e075fb0566a6e708d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:499-505 | lib/screens/downloads/controller/download_controller.dart:545-551 \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/screens/downloads/controller/download_controller.dart:499\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"370caa6be5dc9d7a51743402f1e6eb3e3d4d62615f69ccb8cf3f0c670dc0ed07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:729-734 | lib/screens/downloads/controller/download_controller.dart:748-754 \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/screens/downloads/controller/download_controller.dart:729\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/downloads/controller/download_controller.dart"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa2729d123659721932181d5293c5c33fe98517bde7169ab7386921a8271a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/local_source/controller/local_source_controller.dart:359-365 | lib/screens/local_source/controller/local_source_controller.dart:392-398 \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/screens/local_source/controller/local_source_controller.dart:359\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f506ea4f808bc263da8f82d0ea1dacfe8e243a20002a21ae79d5d5f6e09b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/manga/widgets/reader/continuous_reader.dart:339-345 | lib/screens/manga/widgets/reader/reader_view.dart:300-306 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/continuous_reader.dart\u0060 and \u0060lib/screens/manga/widgets/reader/reader_view.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a13b95fc4cf118e6934a9ffeed69bada9166c51d4bfc77757732b8a2ee1bfb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): lib/screens/manga/widgets/reader/top_controls.dart:453-459 | lib/screens/manga/widgets/reader/top_controls.dart:468-473 | lib/screens/manga/widgets/reader/top_controls.dart:636-638 \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/screens/manga/widgets/reader/top_controls.dart:453\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/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6a998ac4787d4330a303100bf93ef39d50de2d763886886567e4ea3b2e60f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/search/widgets/search_widgets.dart:1217-1223 | lib/screens/search/widgets/search_widgets.dart:1289-1295 \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/screens/search/widgets/search_widgets.dart:1217\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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f88e7ff43f6791a462fa096515700e1f361f96a6490e9c4e2106c1a996f67d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 2): lib/utils/sub_parser.dart:104-110 | lib/utils/sub_parser.dart:118-122 \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/utils/sub_parser.dart:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/sub_parser.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"90653209fe2eb9dcbf56f246eb66a1823f59a08d08fd50a3b7b0f0505b7689af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/anime/visuals/visuals_popup.dart:72-78 | lib/widgets/anime/visuals/visuals_popup.dart:138-144 \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/widgets/anime/visuals/visuals_popup.dart:72\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/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcb0c6b0c10a3ae359ea7957a3d4a0b687b3df7bef294dc9aa8a512b6dad859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/common/navbar/styles/classic_navbar.dart:62-68 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:58-64 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ba90b2f88e7edbd0c6b39e2d915ba04e1d1428b21ec3ff98c9b0cd196e3282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/watchium/watchium_live_overlays.dart:130-136 | lib/widgets/watchium/watchium_live_overlays.dart:305-311 \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/widgets/watchium/watchium_live_overlays.dart:130\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/widgets/watchium/watchium_live_overlays.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a05410d9f5d58e1d70020408740393cf1841972c7ec9e91f09a69ea67ad4301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): lib/screens/anime/widgets/comments/comments_section.dart:3169-3174 | lib/screens/anime/widgets/comments/comments_section.dart:3179-3184 | lib/screens/settings/sub_settings/settings_moderation.dart:1779-1784 | lib/screens/settings/sub_settings/settings_moderation.dart:1796-1801 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_moderation.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/screens/anime/widgets/comments/comments_section.dart:3175\u0060 calls \u0060toString\u0060 and \u0060lib/screens/settings/sub_settings/settings_moderation.dart:1785\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b749f08f34dc8af55a41a41e810f0ae893e2a128607b8bda2c1127c7331e4138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/models/Media/media.dart:258-265 | lib/models/Media/media.dart:463-470 | lib/models/Media/media.dart:1222-1227 \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/models/Media/media.dart:258\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f682f35ecaa7eee7a22824f8a4681938b8e80f95b099821dace46ef97740a7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/models/Media/media.dart:1171-1177 | lib/models/Media/media.dart:1398-1404 | lib/models/Media/media.dart:1496-1502 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/media.dart"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd1c8b902b414a300562832700f4bef955737de180393cc0d5722162d62219a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/screens/extensions/ExtensionScreen.dart:418-423 | lib/screens/extensions/ExtensionScreen.dart:451-456 | lib/widgets/common/source_selector.dart:499-504 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/extensions/ExtensionScreen.dart:418\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/screens/extensions/ExtensionScreen.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e25f9978118f9adf6e60323c28c6872d920bcbbd9f1f186ac10445262fa00bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/controllers/offline/offline_storage_controller.dart:350-355 | lib/controllers/offline/offline_storage_controller.dart:389-395 \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. 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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0307879749ce2a90ec8d42b8d78bd47dd9cce7c55f4536c27270bc43205b22b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/controllers/offline/offline_storage_controller.dart:634-639 | lib/controllers/offline/offline_storage_controller.dart:835-840 \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/controllers/offline/offline_storage_controller.dart:634\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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfc27f8572fdf2bc974bc2a9cbf7fab37f58e05d57993fc2480d806796d19c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:247-252 | lib/controllers/services/anilist/anilist_data.dart:261-266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/anilist/anilist_data.dart:247\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e213ab35c1128f1bc779a152de746a1e21278e9d0c6cec82927a38232f16d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart:87-92 | lib/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart:113-118 \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/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart:87\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/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a95279c4bd07a6f98e2ce72f94bc0132da1189c1f2f5c1fb01f70203c54a814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/controllers/sync/progress_sync_section.dart:811-816 | lib/screens/anime/watch/controls/widgets/speed_popup.dart:408-413 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/sync/progress_sync_section.dart"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e495c2fe0296631f32f4f91c82b00e7bc498493446ab398d6277dc1582eeb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/anime/details/media_details_page.dart:1157-1162 | lib/screens/anime/details/media_details_page.dart:1185-1190 \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/screens/anime/details/media_details_page.dart"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc08a22a290e990d976088ba10a121e03621a16070e4e6103f8ef531f8df0adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:211-217 | lib/widgets/watchium/watchium_overlay.dart:117-122 \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/screens/anime/watch/controls/widgets/watch_together_popup.dart:211\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d631f11cea48794079891069ba1072cfaa49ef5c0c63a77942d0cc82cc9c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/downloads/controller/download_controller.dart:2454-2459 | lib/screens/downloads/controller/download_controller.dart:2563-2568 \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/screens/downloads/controller/download_controller.dart:2454\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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"4823cfe56668bc51669e09e32b35b5b118b9ccc9ae1428ee4a8cfde6fca314a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/home_page.dart:211-216 | lib/screens/manga/home_page.dart:51-56 \u2014 before extracting anything, compare \u0060lib/screens/home_page.dart\u0060 and \u0060lib/screens/manga/home_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home_page.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f301b583f0e594f9dfd218876a245990feb048361105c08a4211e4ab66666cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/manga/widgets/reader/top_controls.dart:96-104 | lib/screens/manga/widgets/reader/top_controls.dart:278-286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db0ffe5a2b81cf37e742e52efce0da2efb3026204c158524d664f0d56c72f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/profile/compatibility/compatibility_result_page.dart:627-632 | lib/screens/profile/compatibility/compatibility_result_page.dart:636-641 \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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6015460b8ad9847b8330b0112b44bfafed6525c4b9291f004a7a1292c8baff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/profile/widgets/profile_stats_tab.dart:287-292 | lib/screens/profile/widgets/profile_stats_tab.dart:306-311 \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/screens/profile/widgets/profile_stats_tab.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/screens/profile/widgets/profile_stats_tab.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a13db5550f330da66a3e531b25990d0b21c6fe7852d487684d6ae2da5b46b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/watchium/watchium_page.dart:853-859 | lib/services/cast/widgets/cast_device_dialog.dart:96-101 \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/screens/watchium/watchium_page.dart:853\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/watchium/watchium_page.dart"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0024157724a9fbfbaad7509262c2b66f61b2a3fb5c6691719c10aa9e85a2188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/widgets/common/navbar/styles/classic_navbar.dart:312-319 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:365-370 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 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/widgets/common/navbar/styles/classic_navbar.dart:312\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/widgets/common/navbar/styles/classic_navbar.dart:311\u0060 calls \u0060SingleChildScrollView\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart:364\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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fc4a1f610bf8033196ad565236766528dee3b61f92e24dbfb55840fbbe7769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): lib/widgets/non_widgets/recommend_sheet.dart:273-278 | lib/widgets/non_widgets/recommend_sheet.dart:315-320 | lib/widgets/non_widgets/recommend_sheet.dart:758-761 \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/widgets/non_widgets/recommend_sheet.dart:273\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/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fafd4443d53863bc1d3ae696644cbc39e446a79b530a72686e23339d1582cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/non_widgets/recommend_sheet.dart:277-287 | lib/widgets/non_widgets/recommend_sheet.dart:291-301 \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/widgets/non_widgets/recommend_sheet.dart:277\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/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c22d788519357efabd08fb16f1c59f87eb5b5dbc9553b21221b3cb6e57ea74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): lib/controllers/offline/offline_storage_controller.dart:700-705 | lib/controllers/offline/offline_storage_controller.dart:765-770 | lib/controllers/offline/offline_storage_controller.dart:922-927 | lib/screens/manga/controller/reader_controller.dart:843-848 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/offline/offline_storage_controller.dart:700\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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"2baa61ca7e3d2d9cb4cd370934fcddb7cdf65e4d18992ad9f67f238009a391f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/controllers/watchium/watchium_sync_controller.dart:318-322 | lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:629-633 | lib/widgets/watchium/watchium_create_dialog.dart:551-555 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/watchium/watchium_sync_controller.dart:318\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/controllers/watchium/watchium_sync_controller.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2dc2e34ffcd995121ea810a2f87814efdb8f023a1ac51c3f54bb4ef9f3c417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/models/Media/media.dart:502-506 | lib/models/Media/media.dart:1151-1155 | lib/models/Media/media.dart:1366-1370 \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/models/Media/media.dart:502\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/models/Media/media.dart"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"c129a7a59a6920bd3cc33c1d79ebd6e3ad780b553ab05dfbd4aede17744b793f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:212-217 | lib/widgets/watchium/watchium_create_dialog.dart:697-703 | lib/widgets/watchium/watchium_overlay.dart:118-122 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:212\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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f28d664bb8246555cd460c265814bbcd0bee135696fb21595b25ae16e9adc61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): lib/screens/anime/widgets/anime_stats.dart:914-923 | lib/screens/manga/widgets/manga_stats.dart:824-833 | lib/screens/novel/details/widgets/novel_stats.dart:216-227 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f30497fdfa01314b70c6a3b191776b86a82e5b9dd6eda5f4ceec4e423b0e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/widgets/non_widgets/recommend_sheet.dart:728-735 | lib/widgets/non_widgets/recommend_sheet.dart:740-747 | lib/widgets/non_widgets/recommend_sheet.dart:927-934 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/recommend_sheet.dart"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbe3686d5e3b9ae38c608375ffac3c33e79db98a6d0249766fcfbb047948bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/controllers/services/backup_restore/backup_restore_service.dart:1741-1746 | lib/controllers/services/backup_restore/backup_restore_service.dart:1811-1816 \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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa4a944c437c51a6beed3f532c98fb092053e127ded81463e83c0fdf976aecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/models/Anilist/anilist_profile.dart:342-356 | lib/models/Anilist/anilist_profile.dart:414-428 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/models/Anilist/anilist_profile.dart:357\u0060 calls \u0060_parseList\u0060, \u0060fromJson\u0060 and \u0060lib/models/Anilist/anilist_profile.dart:429\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/models/Anilist/anilist_profile.dart"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"40308e7bdc78d05386ba6f33aa85e27e03fc2855017407439e9025f1b11ac37e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/screens/anime/watch/controls/bottom_controls.dart:233-237 | lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.dart:391-395 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"85228ce34ac7f2dbd98387f6ffc48802aa5ce600c6df3a295b82805855918185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:1740-1744 | lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:1797-1801 \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/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c7bd4b07ee25a07b26a55a542892bc70215c4a262eda0c9758f255f1036a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/decoder_quick_button.dart:111-115 | lib/screens/anime/watch/controls/widgets/decoder_quick_button.dart:118-124 \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/screens/anime/watch/controls/widgets/decoder_quick_button.dart:111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/screens/anime/watch/controls/widgets/decoder_quick_button.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d373a884d31440b122be1144bf3b2034e72ac76a5751853c7d51a8ff24c949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/anime/watch/controls/widgets/watch_together_popup.dart:681-687 | lib/widgets/watchium/watchium_create_dialog.dart:600-606 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/watch_together_popup.dart\u0060 and \u0060lib/widgets/watchium/watchium_create_dialog.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ee0d49cd091086ea166a9588a5cde234470f7116e2144e00ddd5e466aa9750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:3394-3399 | lib/screens/anime/widgets/comments/comments_section.dart:3584-3588 \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/screens/anime/widgets/comments/comments_section.dart:3394\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 after the matched lines, \u0060lib/screens/anime/widgets/comments/comments_section.dart:3588\u0060 calls \u0060toString\u0060 and \u0060lib/screens/anime/widgets/comments/comments_section.dart:3399\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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3394}}}],"partialFingerprints":{"codehealthFindingId/v1":"045c3fccd9ade2ca79a148a65105be5eba7a298492893c4a18274747c58bc94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/screens/downloads/download_screen.dart:580-584 | lib/widgets/anime/visuals/visuals_popup.dart:446-452 \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/screens/downloads/download_screen.dart:580\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/screens/downloads/download_screen.dart"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"75710eeb940007ef7a4c5e10e75b48f2be36d33176409201da5c23312ff5a961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/screens/extensions/widgets/plugin_manager.dart:145-150 | lib/screens/extensions/widgets/plugin_manager.dart:187-191 \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/screens/extensions/widgets/plugin_manager.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda4fb38f509ab98fb66e432af7434415d5a39c37addfbfee9fc85401b21eeb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): lib/widgets/anymex_widgets/anymex_animated_logo.dart:528-532 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:823-827 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:1026-1028 \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/widgets/anymex_widgets/anymex_animated_logo.dart:528\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/widgets/anymex_widgets/anymex_animated_logo.dart:527\u0060 calls \u0060clamp\u0060 and \u0060lib/widgets/anymex_widgets/anymex_animated_logo.dart:1026\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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"40557ec842bcdfe1e7f06f9d58fe67c272bc04ca59da0861d72b86dc9622fedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): lib/widgets/anymex_widgets/anymex_animated_logo.dart:668-671 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:906-910 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:1122-1126 | lib/widgets/anymex_widgets/anymex_animated_logo.dart:1317-1320 \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/widgets/anymex_widgets/anymex_animated_logo.dart:906\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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6799e3003a7a2c5ed6640845a39f1178487167c018d5408466e768ae648d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/controllers/services/anilist/anilist_data.dart:80-88 | lib/controllers/services/mal/mal_service.dart:55-63 \u2014 before extracting anything, compare \u0060lib/controllers/services/anilist/anilist_data.dart\u0060 and \u0060lib/controllers/services/mal/mal_service.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"322bc5b29f0214a99d29e4f95513f7081c27689fe141e54f0c9b336cafec688c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/controllers/services/widgets/widgets_builders.dart:240-245 | lib/screens/community/community_recommendations_page.dart:389-394 | lib/screens/community/community_recommendations_page.dart:830-835 \u2014 before extracting anything, compare \u0060lib/controllers/services/widgets/widgets_builders.dart\u0060 and \u0060lib/screens/community/community_recommendations_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0007b4222f41e53a2c35a4b6cf2f219c2a7e35304d50d47e9ea26be9407e4aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/controllers/services/widgets/widgets_builders.dart:247-251 | lib/screens/community/community_recommendations_page.dart:396-400 | lib/screens/community/community_recommendations_page.dart:837-841 \u2014 before extracting anything, compare \u0060lib/controllers/services/widgets/widgets_builders.dart\u0060 and \u0060lib/screens/community/community_recommendations_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00f3cd4394c8b3941c2e4b69e3cf26ae73ba8542a9b6aa221f39cb8d91c431d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/controllers/services/widgets/widgets_builders.dart:366-371 | lib/screens/community/community_recommendations_page.dart:855-860 \u2014 before extracting anything, compare \u0060lib/controllers/services/widgets/widgets_builders.dart\u0060 and \u0060lib/screens/community/community_recommendations_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"63742ac6ae30d82bc4267b8e4eb796609e6df5b62b6e793cec477c154fd8a5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/database/comments/model/leaderboard_entry.dart:143-147 | lib/database/comments/model/user_points.dart:68-72 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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/database/comments/model/leaderboard_entry.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"647b32220887be903b9f09d7741a926f581a24ffbb9e3bc6634ea83ed6957b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/anime/watch/controls/center_controls.dart:13-20 | lib/screens/anime/watch/controls/widgets/double_tap_seek.dart:130-139 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/center_controls.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64cc649d95873ca21baa91285919476afce3f1a3b3b96560729b0a3bb8896c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/screens/anime/widgets/anime_stats.dart:931-940 | lib/screens/manga/widgets/manga_stats.dart:841-850 | lib/screens/novel/details/widgets/novel_stats.dart:235-244 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/anime_stats.dart\u0060 and \u0060lib/screens/manga/widgets/manga_stats.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 461 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/anime_stats.dart"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c072511e5a87ed0c2bd5db2a1a8e5620319fe8c6f9efb1df83d99f90919e151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/anime/widgets/comments/comments_section.dart:960-971 | lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart:127-136 \u2014 before extracting anything, compare \u0060lib/screens/anime/widgets/comments/comments_section.dart\u0060 and \u0060lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae541f75a3c18c5e4997767e0ae084a49a96f3b5de13eb180d71d86a5b62b142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/anime/widgets/episode_list_builder.dart:2024-2035 | lib/screens/anime/widgets/episode_watch_screen.dart:306-316 \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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":2024}}}],"partialFingerprints":{"codehealthFindingId/v1":"82df1f863901ec61c1f73626a775044eeb20a95b22d0109a319d791355f9e6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/library/history_page.dart:71-77 | lib/screens/library/my_library.dart:72-78 \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/screens/library/history_page.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08487df93d97c376b3e062df11df1b07b39697280d6c9c7ec82985a737137ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/library/online/anime_list.dart:81-87 | lib/screens/library/online/manga_list.dart:79-85 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/online/anime_list.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1e17986139729095d43dfbc2fc8158ce7382d653ce48cdb71b9fc3fc4f5cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/library/online/anime_list.dart:193-202 | lib/screens/library/online/manga_list.dart:171-180 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7b4ec0a38b4efe0693d3279ba627a834779dfd60bd89de3e1e0cc86d144057"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/manga/controller/reader_controller.dart:499-505 | lib/screens/novel/reader/controller/reader_controller.dart:237-243 \u2014 before extracting anything, compare \u0060lib/screens/manga/controller/reader_controller.dart\u0060 and \u0060lib/screens/novel/reader/controller/reader_controller.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b92a822cc823e06c8d28fbba0e51fa3b4ad94192dcee43feb3236be1002f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/manga/controller/reader_controller.dart:2047-2055 | lib/screens/novel/reader/controller/reader_controller.dart:1422-1429 \u2014 before extracting anything, compare \u0060lib/screens/manga/controller/reader_controller.dart\u0060 and \u0060lib/screens/novel/reader/controller/reader_controller.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8ba4b9a2163b983636b77d7f1cc201c9cfe31a55e5cf7ade78c8b3f366ce47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:81-87 | lib/widgets/header/header.dart:702-708 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/tabbed_reader_settings.dart\u0060 and \u0060lib/widgets/header/header.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f035d4da6361ffc74483c5fe975a885c0ad047febe710937664a425e0f10694f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/manga/widgets/reader/tabbed_reader_settings.dart:89-95 | lib/widgets/header/header.dart:710-716 \u2014 before extracting anything, compare \u0060lib/screens/manga/widgets/reader/tabbed_reader_settings.dart\u0060 and \u0060lib/widgets/header/header.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/tabbed_reader_settings.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc048921978792fb90fe011acd8aad374ee6603e279363937fc8e148496bb2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/notifications/notification_screen.dart:885-897 | lib/utils/notification.dart:331-343 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/notifications/notification_screen.dart"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6861f6e4e653dbc3f49dd5b5c3b62769f54259e829415b0e06c99c5808a210a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/profile/profile_page.dart:127-137 | lib/screens/profile/user_profile_page.dart:227-237 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c98bf50068e3de58a14b59ab08ae4e6505064946aa6b2dff3d8c2726b7c4cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/profile/profile_page.dart:204-211 | lib/screens/profile/user_profile_page.dart:297-304 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/profile/profile_page.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a6d2744f3d19bad08af3958658669a7c5835d2c2799dc238a5b35a8e40f4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/profile/profile_page.dart:1226-1232 | lib/screens/profile/user_profile_page.dart:1164-1170 \u2014 before extracting anything, compare \u0060lib/screens/profile/profile_page.dart\u0060 and \u0060lib/screens/profile/user_profile_page.dart\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 796 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/screens/profile/profile_page.dart"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df40f56191d541a566a0a7adc477848ef6c974894c554987f2d6b0ea6cbbccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_manga.dart:43-48 | lib/screens/settings/sub_settings/settings_reader.dart:108-113 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_manga.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/reader/settings_reader_manga.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ca4fd40d1fb23a15df867e66a3df1e0d7d1b5272a6ddaf98c7cedeaa8003d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/settings/sub_settings/reader/settings_reader_novel.dart:61-66 | lib/screens/settings/sub_settings/settings_reader.dart:229-234 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/reader/settings_reader_novel.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/reader/settings_reader_novel.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f206681daa6088b191a2512996ac626ebe2b06a66811f78b6ad5dbe971e360ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/non_widgets/in_app_notification_banner.dart:157-163 | lib/widgets/non_widgets/snackbar.dart:198-204 \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/widgets/non_widgets/in_app_notification_banner.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"838836fb5fa4b352a086328f39df834f1d5c48fc7e2b511ee657fe0babef33c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart:923-928 | lib/screens/anime/watch/controls/widgets/decoder_quick_button.dart:42-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"f583f189c56977b66cbd082f582e8a305e4ee7781523fbe4758a9b35eb1f24cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/screens/anime/watch/controls/themes/setup/media_indicator_theme_registry.dart:15-20 | lib/screens/manga/widgets/reader/themes/setup/reader_control_theme_registry.dart:13-18 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/setup/media_indicator_theme_registry.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf233f934037a597be3bce489d25935275c464e1c8b5aa4614741071a79381a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/anime/watch/controls/widgets/audio_popup.dart:25-35 | lib/screens/anime/watch/controls/widgets/source_popup.dart:23-33 | lib/screens/anime/watch/controls/widgets/tracks_popup.dart:32-42 \u2014 before extracting anything, compare \u0060lib/screens/anime/watch/controls/widgets/source_popup.dart\u0060 and \u0060lib/screens/anime/watch/controls/widgets/tracks_popup.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/widgets/audio_popup.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ec3d7326e75863f54ff47a6dc40e5afeafc550233e53ce748d5ebd42ebdaac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/anime/widgets/comments/widgets/leaderboard_sheet.dart:82-89 | lib/screens/profile/widgets/decoration_closet_sheet.dart:569-576 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/leaderboard_sheet.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f445fb7d3fe8066d2d2529d83a7287160a9419b2d22ded26b4796420d9ce5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/library/online/anime_list.dart:264-271 | lib/screens/library/online/manga_list.dart:242-249 \u2014 before extracting anything, compare \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 765 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/screens/library/online/anime_list.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ded5e5176a7bdd5e21e14f24aae706d0804826aa82d41978e06de6548a7356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/manga/controller/reader_controller.dart:874-881 | lib/screens/novel/reader/controller/reader_controller.dart:765-772 \u2014 before extracting anything, compare \u0060lib/screens/manga/controller/reader_controller.dart\u0060 and \u0060lib/screens/novel/reader/controller/reader_controller.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"6039e4a4c8022212fe740ffc5285452b0c2b51aa046e8343b5eb0020f7759107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/settings/sub_settings/player/settings_player_controls.dart:269-276 | lib/screens/settings/sub_settings/settings_reader.dart:99-106 \u2014 before extracting anything, compare \u0060lib/screens/settings/sub_settings/player/settings_player_controls.dart\u0060 and \u0060lib/screens/settings/sub_settings/settings_reader.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/player/settings_player_controls.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abf61e43237a9f88ce46667342f7a73fab3a72ab33dcff7fcfb9601078b7fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): lib/widgets/common/cards/styles/exotic_card.dart:33-41 | lib/widgets/common/cards/styles/minimal_exotic_card.dart:33-41 | lib/widgets/common/cards/styles/modern_card.dart:30-38 | lib/widgets/common/cards/styles/saikou_card.dart:30-38 | lib/widgets/common/cards/styles/simple_card.dart:33-41 \u2014 before extracting anything, compare \u0060lib/widgets/common/cards/styles/exotic_card.dart\u0060 and \u0060lib/widgets/common/cards/styles/minimal_exotic_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/cards/styles/exotic_card.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0cb141b5cf5f7f85cc979a03760e414d62e7102f99a754bb26a8bdd9c45252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/widgets/common/navbar/styles/classic_navbar.dart:22-31 | lib/widgets/common/navbar/styles/floating_pill_navbar.dart:22-31 \u2014 before extracting anything, compare \u0060lib/widgets/common/navbar/styles/classic_navbar.dart\u0060 and \u0060lib/widgets/common/navbar/styles/floating_pill_navbar.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4f23fd274573530f78df123131c397855b3452de90b8bde0890636963f1e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/controllers/services/mal/mal_api.dart:76-80 | lib/controllers/services/mal/mal_service.dart:408-412 \u2014 before extracting anything, compare \u0060lib/controllers/services/mal/mal_api.dart\u0060 and \u0060lib/controllers/services/mal/mal_service.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/controllers/services/mal/mal_api.dart:76\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/controllers/services/mal/mal_api.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc04ef91427454683fd7513720ed23e3d764a0e1d1e0b4706e43ce76347057d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/utils/compatibility/matchmaker.dart:679-685 | lib/utils/compatibility/matchmaker.dart:945-951 \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/utils/compatibility/matchmaker.dart:679\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"4493f95b29134adb11823be208582b5d4681d5cd1fc898a2a36a613f206f47db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/utils/compatibility/matchmaker.dart:815-819 | lib/utils/compatibility/matchmaker.dart:856-860 \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/utils/compatibility/matchmaker.dart:815\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/utils/compatibility/matchmaker.dart"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dcacb575019cc82fd5f1705c36a333836c9e7ac513d97cdae114cf8048754b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/utils/lanczos_image.dart:91-96 | lib/utils/lanczos_image.dart:208-213 \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/utils/lanczos_image.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2417165114077dfcd34b69809296cbb61cf4438b9afa8b4b65cb0340604a2b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/utils/media_downloader.dart:316-320 | lib/utils/media_downloader.dart:325-329 \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/utils/media_downloader.dart:316\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/utils/media_downloader.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc5cb807e5c809ec41403dfeaa4b9d08b54d93b634c0903ec55509011a3799a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/utils/mesh_blur_helper.dart:156-160 | lib/utils/mesh_blur_helper.dart:162-166 \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/utils/mesh_blur_helper.dart:156\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/utils/mesh_blur_helper.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe85df63c48f32220a0472d78773e87e331344f6d408467df41edb028b93a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/widgets/anymex_widgets/anymex_image.dart:254-258 | lib/widgets/anymex_widgets/anymex_image.dart:321-325 \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/widgets/anymex_widgets/anymex_image.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"295c3b531393bec388378e2ee6e21d871a6b28271f57f3d93ab0e1dc1f1f1a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lib/screens/extensions/ExtensionTesting/extension_test_page.dart:122-156 | lib/screens/extensions/ExtensionTesting/extension_test_page.dart:191-222 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionTesting/extension_test_page.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88cca74bedf5032ad6b14e8bf50aa44408a8534ce8dfb3b86d2e0324af46db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lib/screens/extensions/ExtensionTesting/extension_test_page.dart:74-120 | lib/screens/extensions/ExtensionTesting/extension_test_page.dart:158-189 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionTesting/extension_test_page.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4c63d6c6e1e5e33d54a8bc07d77e235f5fa35f2f45d615e29cd33eccf99f85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/screens/extensions/ExtensionTesting/extension_test_item.dart:370-393 | lib/screens/extensions/ExtensionTesting/extension_test_page.dart:391-414 \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/screens/extensions/ExtensionTesting/extension_test_item.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d626ecee5910b35ee6feb39d99fb07fe8516902daa4315a200e606fa65a0ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/screens/extensions/ExtensionTesting/extension_test_page.dart:129-156 | lib/screens/extensions/ExtensionTesting/extension_test_page.dart:195-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/extensions/ExtensionTesting/extension_test_page.dart:129\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/screens/extensions/ExtensionTesting/extension_test_page.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4b4bdf0251bbcfab4be52f2d320f9630c3bec61404ece4993fadfa16b7b5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/screens/extensions/ExtensionTesting/extension_test_page.dart:75-90 | lib/screens/extensions/ExtensionTesting/extension_test_page.dart:159-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/extensions/ExtensionTesting/extension_test_page.dart:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/ExtensionTesting/extension_test_page.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7eb2afad9e44632521c5d3f2d1dfda9ae49821ca5cc16abcbfd6471fd88f5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/extensions/ExtensionTesting/extension_test_item.dart:372-385 | lib/screens/extensions/ExtensionTesting/extension_test_page.dart:393-406 \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/screens/extensions/ExtensionTesting/extension_test_item.dart:372\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/screens/extensions/ExtensionTesting/extension_test_item.dart"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af3e9acc42070a1c99e0b136aa67c7a98dafe4bd1810748aac8a1fe0b1a55e7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CommentumService (LCOM4 28): CommentumService\u0027s methods fall into 28 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 28 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/services/commentum_service.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d2b90b1cb82c762b65063215af4fa2cae374dedebf7d94d6fe1c0b159a6a74"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OfflineStorageController (LCOM4 22): OfflineStorageController\u0027s methods fall into 22 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 22 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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"315c073b02552b2df05ffc5bd9b6a5d48da5d7f4110c35f197d9e85fef445301"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnilistAuth (LCOM4 11): AnilistAuth\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691863961f68914eaf60a82598bc05c6f0a56e35cb0eb964a8615e6844047e4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ServiceHandler (LCOM4 8): ServiceHandler\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/service_handler/service_handler.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"315c08e53b9119fb8125f135c89541b68643b45fd6575645bddb311b48a8355a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _CommentSectionState (LCOM4 8): _CommentSectionState\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac93aac6f6d212c5275297f2808afb624c3fce7c8d997bca419861a67967722"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _SettingsPlayerEngineState (LCOM4 8): _SettingsPlayerEngineState\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/player/settings_player_engine.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1ba44cf04988530adface483f07b66b9e132dfa9d18accc38d64d977c58708"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Settings (LCOM4 7): Settings\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/settings/settings.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca74d59da65f2bd06894b3f77a12d62e56e7628febb2447e594abb068d11c4b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SourceController (LCOM4 7): SourceController\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/source/source_controller.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf8baafc315c5c3f32d49f88abd1dd82536bcbd3ab4ef1291e958cb59c0ba2d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnilistData (LCOM4 6): AnilistData\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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f49edfa31055edcfeaa6b7de0fa763a882e7cbb64dc66a57ae124744c3e9cc7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BackupRestoreService (LCOM4 6): BackupRestoreService\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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"e327f728816abf617995ebbc97472fb31fc1900df7b57bd900d5cad718e7a2bc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _CommentInputBarState (LCOM4 6): _CommentInputBarState\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/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1970a5968e01ace202699f21bca8da9896aa3a5cdc54cce6e33abf9530cefebf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CookieManager (LCOM4 5): CookieManager\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/controllers/network/cookie_manager.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92e563799ad7bbcb0f80fcf9ded8d8177c5b5cf7c03102ba704f955671b3e9b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NetworkManager (LCOM4 5): NetworkManager\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/controllers/network/network_manager.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb227abede410caa131e251fa0e9b0b6ef483ce236cc38e5cc467ccf5a4f634d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TorrentService (LCOM4 5): TorrentService\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/controllers/services/torrent/torrent_service.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e047e333d6d576689a8b11f04186b6bf5cd302fcfc65f0d08e00b432a70ef8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _MentionAutocompleteState (LCOM4 5): _MentionAutocompleteState\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/screens/anime/widgets/comments/mention_autocomplete.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2250d0aa86b90df13a968fc16f485ab267faa4f1e7a4f26f81aa3e15064f6bb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ListEditorModalState (LCOM4 5): _ListEditorModalState\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/screens/anime/widgets/list_editor.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6984e1ed7f40a49817cc506a0e1519f979221f50af6c378fc77f7f6a7f0359"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _FuturisticFilterSheetState (LCOM4 5): _FuturisticFilterSheetState\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/screens/search/widgets/search_widgets.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a17083929792f8f11be640cd2ff4d91ed8dbe4cf144ed3826790d11607de26"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AnymeXPopupMenuRoute (LCOM4 5): _AnymeXPopupMenuRoute\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_popup_menu.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8e34060ecc2e732fedc5196433268b76426400e1c51f5d50c23fc651016208"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _MediaPeekPopupState (LCOM4 5): _MediaPeekPopupState\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d3b732eb4b583590780df0dfcc5ed8ac0b977ae1d393d8e09ba2c8bc2f9d32"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrackBindingController (LCOM4 4): TrackBindingController\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/controllers/track/track_binding_controller.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ac39eacc49bf61e1521cd817de8e6e75ef852cb32b3037c4348cd623015848"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ExtensionListState (LCOM4 4): _ExtensionListState\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/screens/extensions/ExtensionList.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc34e6147fa1a3ad57d8d1428828c29e1ff5e1dc2d7609a7ff9a2763d950090"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LocalSourceController (LCOM4 4): LocalSourceController\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/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2057d7b381c6a6593e1a434ee411be772f499228e1aec0df6952954843b47e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _SettingsNetworkState (LCOM4 4): _SettingsNetworkState\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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f5f7282a4400b425e1e91feab22cc54067bba9085e97c005098a1b9e6441e6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NotificationService (LCOM4 4): NotificationService\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/utils/notification.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a84a9baebabd97ed801777677c89947dd2aad470a83fab9a305110f0bfa61c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ActivityComposerSheetState (LCOM4 4): ActivityComposerSheetState\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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8f1c405bff8de328d1d823ed5ea1b58528130564542d9462ad16badadd899d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ReasonsSheetState (LCOM4 4): _ReasonsSheetState\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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"440133fbf7d4e085208f17d2c3b6167c8a186aa80e6915e44643a668f5dcbd13"}},{"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":"fd988ee9d56bb97a12d3f3c33bc90ccdb797e376f97f1674c1e6e322cdeccded"},"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":"be705e2325affb8b2916486742012d91ec04a58514e2e05a0c6962e5ebc8cb8f"},"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":"94acdb10dda17e522516e07e7583aafe7f3221f849a50990bd05b590ed608e6b"},"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":"3444c054253d7c79a467b17596f6f5bd9d0c517b73a60df6e5a591c7169732d2"},"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":"de7a59c806a5aa4cfac186705d1a8e0d2dede92326afb5d13b8c61697f53582a"},"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":"D14","level":"error","message":{"text":"Banned license: dart_discord_presence: \u0060dart_discord_presence\u0060 1.2.1 is resolved by this repository\u0027s pubspec.lock outside its dev_dependencies, and every licence pub.dev detected in it is one this policy bans (\u0060gpl-3.0\u0060). Where a package carries several licences it is charged only when all of them are banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a3ec88fd97419162a5f6fdf9ffcf3de5b8bed54372b8b0747c77595b605f112e"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: iconsax: \u0060iconsax\u0060 0.0.8 is resolved by this repository\u0027s pubspec.lock outside its dev_dependencies, and every licence pub.dev detected in it is one this policy bans (\u0060gpl-3.0\u0060). Where a package carries several licences it is charged only when all of them are banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"858c8cf161b6fb8a2b358a59532be0941102d6c0263cd6cc3609767978a91f1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/watch/controller/player_controller.dart: lib/screens/anime/watch/controller/player_controller.dart changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in PlayerController._bindPlayerStreams at line 1303. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/watch/controller/player_controller.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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b97a6eafed113f38b28d4a707a91c40e5f7f2998f5921485e3b4695febf365"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/details/media_details_page.dart: lib/screens/anime/details/media_details_page.dart changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in _MediaDetailsPageState.build at line 266. 10 of those changes were fix/bug commits, and the other 10 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/details/media_details_page.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/screens/anime/details/media_details_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"693d654de50e43c7870deed1416ad47c45f0f74815cd25c7d86cb77dbafebfe9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/downloads/controller/download_controller.dart: lib/screens/downloads/controller/download_controller.dart changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in DownloadController._syncMediaFolderMeta at line 2337. 9 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/downloads/controller/download_controller.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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64dfc5d6852f224798dcfc6c3d2ebcc8d115406cf932f8d65bb08e32e04f379"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/anime/media_header.dart: lib/widgets/anime/media_header.dart changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in MediaHeader.build at line 46. 4 of those changes were fix/bug commits, and the other 9 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/anime/media_header.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/widgets/anime/media_header.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"663a0d2a3a0f5bb0664ce1af41792292a6df19dc9d425c97b0dd422d90ad996d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/controllers/services/anilist/anilist_data.dart: lib/controllers/services/anilist/anilist_data.dart changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in AnilistData.fetchFilterData at line 1409. 8 of those changes were fix/bug commits, and the other 10 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/controllers/services/anilist/anilist_data.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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9119bdec78b2bb0cc14985d2a9cc5edbc0c5c95dd5226f461cd71eac9129b8d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/details/controller/media_details_controller.dart: lib/screens/anime/details/controller/media_details_controller.dart changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in MediaDetailsController._fetchContentFromSource at line 561. 9 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/details/controller/media_details_controller.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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac3e2080428fe716cfdaeb4b9399084c8ab65eb268c2b862985cd4727fe00d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/main.dart: lib/main.dart changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in _FilterScreenState._getNavItemForTab at line 576. 6 of those changes were fix/bug commits, and the other 15 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/main.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/main.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6293725e4ecc30616eb405dbc97736c533fbfa1a16bc7c869a700716259256"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/home_page.dart: lib/screens/home_page.dart changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _HomePageState._buildNewEpisodesSection at line 40. 4 of those changes were fix/bug commits, and the other 12 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/home_page.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/screens/home_page.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5842bfea24937e1ae3cea0bc1de536f57e05488458b369f4c925388d873582"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/settings/sub_settings/settings_extension_manager.dart: lib/screens/settings/sub_settings/settings_extension_manager.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in _SettingsExtensionManagerState._buildPluginStatusCard at line 449. 2 of those changes were fix/bug commits, and the other 7 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/settings/sub_settings/settings_extension_manager.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/screens/settings/sub_settings/settings_extension_manager.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5f8281951a9e43fe1f87740978ac4345455eb2848949ebc963b94ab929b981"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/models/Media/media.dart: lib/models/Media/media.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in Media.fromJson at line 1128. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/models/Media/media.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/models/Media/media.dart"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9e7a2c570e556ed75c674e20e34264d94f84079a578772de9d2857af4b7ff6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/media_items/media_item.dart: lib/widgets/media_items/media_item.dart changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in GridAnimeCard.build at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/media_items/media_item.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/widgets/media_items/media_item.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5271af299c711d0ff9a9bb2b48c7c81baa613ac3f07a56adfed15b90ff475952"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/controllers/offline/offline_storage_controller.dart: lib/controllers/offline/offline_storage_controller.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in OfflineStorageController.addOrUpdateAnime at line 624. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/controllers/offline/offline_storage_controller.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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"040dd01dd4ca362e3eb437755a146717fa627f06f8fff1509492137a9e948218"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/profile/widgets/user_profile_header.dart: lib/screens/profile/widgets/user_profile_header.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in _UserProfileHeaderState.build at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/profile/widgets/user_profile_header.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/screens/profile/widgets/user_profile_header.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0876613599ac31da640604086f7d737e9a1170838b6985c4965fc5c0212b9af0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/controllers/services/mal/mal_service.dart: lib/controllers/services/mal/mal_service.dart changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in MalService.updateListEntry at line 900. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/controllers/services/mal/mal_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/controllers/services/mal/mal_service.dart"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"3858799eaaef48e49f0a135dea2b6f07812895661d42f1b545561db14c2e7cfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/manga/widgets/chapter_list_builder.dart: lib/screens/manga/widgets/chapter_list_builder.dart changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _ChapterListBuilderState._buildChapterDownloadButton at line 1217. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/manga/widgets/chapter_list_builder.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/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf1ffb263951683bccce2a067b4a0a572f80a19652ad6b3cfd24acb8ccc1330"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/watch/controls/bottom_controls.dart: lib/screens/anime/watch/controls/bottom_controls.dart changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in BottomControls._buildLayout at line 226. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/watch/controls/bottom_controls.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/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e8a1ffa5e796fb4163a2573b94cf1c84e73d155d822f938910aa7bb9567692"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/manga/controller/reader_controller.dart: lib/screens/manga/controller/reader_controller.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ReaderController._initTracking at line 1544. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/manga/controller/reader_controller.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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ed0263690c1e4d13efc1b0353f9d7cf059bf24fe1acd41153d3e68d0d4e385"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/anymex_widgets/anymex_tile.dart: lib/widgets/anymex_widgets/anymex_tile.dart changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AnymeXTile.build at line 620. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/anymex_widgets/anymex_tile.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/widgets/anymex_widgets/anymex_tile.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"74aa094bd4768c0c8121c4edcf1e52fc58bf9566499f670ad26edaecd4db1a24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/controllers/source/source_mapper.dart: lib/controllers/source/source_mapper.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in SourceMapper.mapMedia at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/controllers/source/source_mapper.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/controllers/source/source_mapper.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0396edf4bb80a4656c34b003df69ac1df20a45412287f50590297a0b19c348cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/controllers/services/anilist/anilist_auth.dart: lib/controllers/services/anilist/anilist_auth.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in AnilistAuth.updateListEntry at line 2267. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/controllers/services/anilist/anilist_auth.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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"10075b492b9410ee86dd2c20a7342fb483279d5baf23138404bb19e521f7e591"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/downloads/widgets/downloaded_media_view.dart: lib/screens/downloads/widgets/downloaded_media_view.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in _DownloadedMediaViewState._buildContinueFab at line 239. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/downloads/widgets/downloaded_media_view.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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fe27b3d481fe013318b6b60faeae80fa4824980e1eae75c47a24c032d21e98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/common/anymex_scaffold.dart: lib/widgets/common/anymex_scaffold.dart changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AnymeXScaffold.build at line 148. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/common/anymex_scaffold.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/widgets/common/anymex_scaffold.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"978b96c303fa399bfc979101c0528f461fda0b077d26f94450f90aefd3678b22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/widgets/comments/comments_section.dart: lib/screens/anime/widgets/comments/comments_section.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in _CommentSectionState._buildCommentItem at line 1745. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/widgets/comments/comments_section.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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89a3d48d522563ebae29de2de3c85eb6cbe4d3d1acde8e394e5a38bd7fa2d95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/controllers/services/simkl/simkl_service.dart: lib/controllers/services/simkl/simkl_service.dart changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SimklService.updateListEntryFromExternalId at line 749. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/controllers/services/simkl/simkl_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/controllers/services/simkl/simkl_service.dart"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ae1d3f12d85b4388894e3fbf8a58f12e50d828c2debf12b49fa6dbf9bb6eb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/widgets/episode_list_builder.dart: lib/screens/anime/widgets/episode_list_builder.dart changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in _EpisodeListBuilderState.build at line 466. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/widgets/episode_list_builder.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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea76d84029526ded7fce08ed5f167d9fd1f5ab4e60b65727040d12003176479"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/controllers/services/backup_restore/backup_restore_service.dart: lib/controllers/services/backup_restore/backup_restore_service.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in BackupRestoreService._applyBackupData at line 581. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/controllers/services/backup_restore/backup_restore_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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a5f763f9dcb3bf00698a49218f37933a37a9f2e5da802e6ff9521023d53f2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/profile/widgets/user_profile_app_bar.dart: lib/screens/profile/widgets/user_profile_app_bar.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in _UserProfileAppBarState.build at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/profile/widgets/user_profile_app_bar.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/screens/profile/widgets/user_profile_app_bar.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"893b62976d06233c0b55c83d3a758e4309b251c68fd5775b4b751d3ad58483a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/anymex_widgets/anymex_tile_builder.dart: lib/widgets/anymex_widgets/anymex_tile_builder.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AnymeXTileBuilder.build at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/anymex_widgets/anymex_tile_builder.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/widgets/anymex_widgets/anymex_tile_builder.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db9f7aa04e3016f3cf335355000f0bb768e71049554ad457a042b613fe59482"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/settings/sub_settings/settings_moderation.dart: lib/screens/settings/sub_settings/settings_moderation.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in _UserSearchSheetState.build at line 303. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/settings/sub_settings/settings_moderation.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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13348b6758874d6c5b1b8b4fd171133aab05d2188c5723f746030f8fafd64a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/anymex_widgets/anymex_section_builder.dart: lib/widgets/anymex_widgets/anymex_section_builder.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AnymeXSectionBuilder.build at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/anymex_widgets/anymex_section_builder.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/widgets/anymex_widgets/anymex_section_builder.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"702c1dedf17b4215159b90b2687064c834783363324eb1d80dab3a328e8571d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/profile/widgets/profile_header.dart: lib/screens/profile/widgets/profile_header.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in MobileProfileHeaderSliver.build at line 583. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/profile/widgets/profile_header.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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef53fb665ae6490694ffb191aa5ba0cae79a3e5542b2048e69b75aaa4bd6d9c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/anymex_widgets/anymex_dialog.dart: lib/widgets/anymex_widgets/anymex_dialog.dart changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AnymeXDialog.build at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/anymex_widgets/anymex_dialog.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/widgets/anymex_widgets/anymex_dialog.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ec5d55da76c87eccf112505227c63eb074a2c6ae0862f715cc9a8801eac248"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/profile/user_profile_page.dart: lib/screens/profile/user_profile_page.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in _UserProfilePageState._buildBody at line 333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/profile/user_profile_page.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/screens/profile/user_profile_page.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"321368eb3b1fc5aade7fb0b728de9002e02d150255a83352b500a880573e9fe0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/header/header.dart: lib/widgets/header/header.dart changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Header.build at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/header/header.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/widgets/header/header.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"57236340a3fa3d201e769a28a6c5b150d1d0c9b80a75201158bb835a42d8acb2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/non_widgets/activity_composer_sheet.dart: lib/widgets/non_widgets/activity_composer_sheet.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in ActivityComposerSheetState.build at line 438. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/non_widgets/activity_composer_sheet.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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef48592d32d468724c7d080f5e102e08b664a4c8bebd7f53314636c5199882d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/downloads/download_screen.dart: lib/screens/downloads/download_screen.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in _DownloadScreenState._buildEpisodeStep at line 870. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/downloads/download_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/screens/downloads/download_screen.dart"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"14857b76b79f4da80695872a225b11170b58f07a91fe281857cfab380acb61fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/widgets/wrongtitle_modal.dart: lib/screens/anime/widgets/wrongtitle_modal.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in _WrongTitleModalState.build at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/widgets/wrongtitle_modal.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/screens/anime/widgets/wrongtitle_modal.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c26209bf5ec1b5108b38c56029286f79b934c65a260f08a34489b7f166096d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/common/navbar/styles/floating_pill_navbar.dart: lib/widgets/common/navbar/styles/floating_pill_navbar.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _FloatingPillNavBarState._buildMobileLayout at line 187. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/common/navbar/styles/floating_pill_navbar.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/widgets/common/navbar/styles/floating_pill_navbar.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f46d5f0050a20c8c970021bdad7b7582abc07b30cb6c373c8884341fe6c7085"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/anymex_widgets/anymex_bottomsheet.dart: lib/widgets/anymex_widgets/anymex_bottomsheet.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in AnymeXSheet.build at line 137. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/anymex_widgets/anymex_bottomsheet.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/widgets/anymex_widgets/anymex_bottomsheet.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c181ec2b465bb7ee90d08a3cf7877ed37eff3c9b81f8dceb1d6982b9631533a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/library/editor/list_editor.dart: lib/screens/library/editor/list_editor.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in __ListMediaEditorBottomSheetState.build at line 833. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/library/editor/list_editor.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/screens/library/editor/list_editor.dart"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"438709a21893181e6cce3c392c2a2d649d9795c78057d1d5e7b0230f982ea9fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/utils/al_about_me.dart: lib/utils/al_about_me.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in _AnilistAboutMeState.build at line 205. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/utils/al_about_me.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/utils/al_about_me.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e67b2bbd7e2738e7df7db90fbf3b0dcd71616e81965257629a24ab0422f044"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/stats/user_stats_page.dart: lib/screens/stats/user_stats_page.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in _UserStatsPageState.build at line 99. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/stats/user_stats_page.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/screens/stats/user_stats_page.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a948baf673ee9260c179c714f92e6f5ed75ec6ed84e483349a89541d14dc39b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/models/Anilist/anilist_media_user.dart: lib/models/Anilist/anilist_media_user.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in TrackedMedia.effectiveProgress at line 54. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/models/Anilist/anilist_media_user.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/models/Anilist/anilist_media_user.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c9869dee097cc06246b74c016ca00bb3d613c385f819d30b8a519cf534aba1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/non_widgets/activity_card.dart: lib/widgets/non_widgets/activity_card.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in _ActivityCardState.build at line 522. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/non_widgets/activity_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/widgets/non_widgets/activity_card.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d03a3779d3d5d60d492efe101d3a098d568fe1957a2453665a3e87abaa7821e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/misc/calendar.dart: lib/screens/anime/misc/calendar.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in _CalendarState.build at line 434. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/misc/calendar.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/screens/anime/misc/calendar.dart"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dc49d451e51694b0701d6e0da116125e98797baa5ad62a67473ef8c8681d45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/watch/controls/widgets/double_tap_seek.dart: lib/screens/anime/watch/controls/widgets/double_tap_seek.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _DoubleTapSeekWidgetState.build at line 840. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/watch/controls/widgets/double_tap_seek.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/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"c537c4858699397fa41eb171602908f4a8157f26cfeedb2bcf77e93c0e3e1ffa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/settings/sub_settings/settings_ui_details.dart: lib/screens/settings/sub_settings/settings_ui_details.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _SettingsUiDetailsState._buildLivePreviewCard at line 354. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/settings/sub_settings/settings_ui_details.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/screens/settings/sub_settings/settings_ui_details.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b7fdb10430012edd20672e16cd96b7d3c66a690e5fecfb0428d25f9426ae67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/header/legacy_header.dart: lib/widgets/header/legacy_header.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Header.build at line 41. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/header/legacy_header.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/widgets/header/legacy_header.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8927a90bbcc53811242342e63fd47df9320478147e336adf35b8b4efcc87a637"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/settings/sub_settings/settings_backup.dart: lib/screens/settings/sub_settings/settings_backup.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in _BackupRestorePageState._buildImportSection at line 405. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/settings/sub_settings/settings_backup.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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"30164c77c0a7d0615afa240af439d48c5064be69ec1f795d82f7bb600885a2b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/anymex_widgets/anymex_image.dart: lib/widgets/anymex_widgets/anymex_image.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in _AnymeXImageState._networkImage at line 248. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/anymex_widgets/anymex_image.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/widgets/anymex_widgets/anymex_image.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f25bcee25ee0d255b35534d847143b128ec560c019f6a32d81dbbf9d8ec465"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/controllers/discord/discord_rpc.dart: lib/controllers/discord/discord_rpc.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in DiscordRPCController.updateAnimePresence at line 538. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/controllers/discord/discord_rpc.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/controllers/discord/discord_rpc.dart"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd8cf085c6b5bb93147b2a052febb85385ebda5735174cc1c28db4cabb32558"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/manga/widgets/reader/settings_view.dart: lib/screens/manga/widgets/reader/settings_view.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in ReaderSettings.showSettings at line 19. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/manga/widgets/reader/settings_view.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/screens/manga/widgets/reader/settings_view.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b919aa2ed320645abf460041afb954642cc1c570f9149fa25af05168059ece"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/utils/updater.dart: lib/utils/updater.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in UpdateManager.checkForUpdates at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/utils/updater.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/utils/updater.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf692d60e0b48e305d5d9153304c7e78e9f7fea223d3b67866c742e81817c4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart: lib/screens/downloads/nested_screens/active_downloads/active_downloads.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in _ActiveDownloadsState._buildChildTaskCard at line 515. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/downloads/nested_screens/active_downloads/active_downloads.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/screens/downloads/nested_screens/active_downloads/active_downloads.dart"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8120141b08471fb8744f22a781b0499ef66f8d0192da27725c21d9011dbece4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/common/media_mode_selector.dart: lib/widgets/common/media_mode_selector.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in MediaModeSelector.build at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/common/media_mode_selector.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/widgets/common/media_mode_selector.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"125a874c97574cca7cee9af348f46b9e948f30bfcc773db96f91445021bd7239"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/utils/notification.dart: lib/utils/notification.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in NotificationService._navigateFromNotification at line 345. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/utils/notification.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/utils/notification.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"38abbe845d6bdbb1b6c438a4e6a4ea9ba381437e48fdaebcaf12a7ff59a1f5bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/settings/sub_settings/settings_theme.dart: lib/screens/settings/sub_settings/settings_theme.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in _SettingsThemeState._buildModeTemplates at line 399. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/settings/sub_settings/settings_theme.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/screens/settings/sub_settings/settings_theme.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"86af1d9e222bc2c5eeccf9f5b629fe556e870d6ea03dbd54f5b76883bd9dc98b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/watch/player/media_kit_player.dart: lib/screens/anime/watch/player/media_kit_player.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MediaKitPlayer.initialize at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/watch/player/media_kit_player.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/screens/anime/watch/player/media_kit_player.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13e0f7bfd324454f0fc787eec41f9c11298ded59a0106f4d98e8cb37b4906dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/anymex_widgets/anymex_expansion_tile.dart: lib/widgets/anymex_widgets/anymex_expansion_tile.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in _AnymeXExpansionTileState.build at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/anymex_widgets/anymex_expansion_tile.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/widgets/anymex_widgets/anymex_expansion_tile.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6463b5c3b00409c644290709ca53d902310d6a6d1a81ecd8f46fd79ae1e9fac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/watchium/watchium_page.dart: lib/screens/watchium/watchium_page.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _WatchiumPageState._buildRoomCard at line 1137. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/watchium/watchium_page.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/screens/watchium/watchium_page.dart"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7233cef8635a7550c4e1276fb01f8c801d3e156e01556bbe6da029d9a3cc58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/profile/widgets/stats_overview_cards.dart: lib/screens/profile/widgets/stats_overview_cards.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _PressableHighlightCardState.build at line 460. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/profile/widgets/stats_overview_cards.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/screens/profile/widgets/stats_overview_cards.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"02148710508014218594c8b8ac3d1cb97d3beedea0e4b74c96856ac2d1ff7de5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/manga/widgets/reader/top_controls.dart: lib/screens/manga/widgets/reader/top_controls.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in _ChapterListSheetState.build at line 288. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/manga/widgets/reader/top_controls.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/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b759920212c4e1f583823d0c3275be59b5b45f6db44eca5607b0702fb9b125d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart: lib/widgets/subsampling_scale_image_view/subsampling_image_provider.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in _SubsamplingImageProviderState.build at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/subsampling_scale_image_view/subsampling_image_provider.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/widgets/subsampling_scale_image_view/subsampling_image_provider.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e2d0b72d50706115b73b0b31ff3c46a6235df774563cd71facf3d8d1604d40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/database/isar_models/offline_media.dart: lib/database/isar_models/offline_media.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in OfflineMedia.displayTitle at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/database/isar_models/offline_media.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/database/isar_models/offline_media.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f598f8edab308f1351e4b462afc13648c0e1e96177c0b3082bf04cea117afc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/profile/widgets/list_status_card.dart: lib/screens/profile/widgets/list_status_card.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ListStatusCard.build at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/profile/widgets/list_status_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/screens/profile/widgets/list_status_card.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caaa3dc36f6d2b0e3fd5666f9291654256f4c505ee3cbf5f645229efd5d8b25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart: lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Ios26PlayerControlTheme.buildBottomControls at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.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/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c944e37527ed7ac2cee5a43a930df262bf7ead39a32de87f085aa676ab2c0da1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/profile/widgets/social_tab.dart: lib/screens/profile/widgets/social_tab.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in SocialTabState.build at line 153. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/profile/widgets/social_tab.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/screens/profile/widgets/social_tab.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1c6827fcae05cabccd67e6ba0c7234de37b90ac271d9e95c641b8d2b1943bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/watchium/watchium_party_popup.dart: lib/widgets/watchium/watchium_party_popup.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _WatchiumPartyPopupContentState._buildChat at line 305. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/watchium/watchium_party_popup.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/widgets/watchium/watchium_party_popup.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbe59e823531b132dcf6931203866bcd5ceff756ca392b7b102bcc06f312c8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/utils/deeplink.dart: lib/utils/deeplink.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Deeplink.handleDeepLink at line 23. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/utils/deeplink.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/utils/deeplink.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9938d360dc964cc526e6f419fa750d70eb9df865901416c98ba3e06af9c5336c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/watch/controls/widgets/sync_subs_popup.dart: lib/screens/anime/watch/controls/widgets/sync_subs_popup.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in _SyncSubsContentState._buildCueViewer at line 194. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/watch/controls/widgets/sync_subs_popup.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/screens/anime/watch/controls/widgets/sync_subs_popup.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a027c0c5b9fd0d2e85b6868c5afc9a5cbea7fef25a82e20e078f7f6d13e87f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart: lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in _ExportBackupSheetState.build at line 1047. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.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/screens/settings/sub_settings/widgets/backup_and_restore_widgets.dart"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a0c7a81d0794f254ddc7966ac386f1264bc699629983124a5a05ab956599a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/widgets/episode/styles/minimal_style.dart: lib/screens/anime/widgets/episode/styles/minimal_style.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in MinimalEpisodeWidget.build at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/widgets/episode/styles/minimal_style.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/screens/anime/widgets/episode/styles/minimal_style.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1e64d92f7e1a5cc8b76847da5d7a0be4cf90ee27b50b918659d84261fc1c11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/profile/widgets/activity_heatmap.dart: lib/screens/profile/widgets/activity_heatmap.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _ActivityHeatmapState.build at line 52. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/profile/widgets/activity_heatmap.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/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdab66b8411520a10ea3fb58c844371aeba0a75f80822ff0d03107335b13dfa6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/watch/controls/widgets/episodes_pane.dart: lib/screens/anime/watch/controls/widgets/episodes_pane.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in EpisodesPane.build at line 197. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/watch/controls/widgets/episodes_pane.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/screens/anime/watch/controls/widgets/episodes_pane.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b5566ada8bd2f5ee6bb375150839bfa0e057aa71707756d64dde3f7607cd22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/non_widgets/reasons_sheet.dart: lib/widgets/non_widgets/reasons_sheet.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in _ReasonsSheetState._buildReasonCard at line 521. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/widgets/non_widgets/reasons_sheet.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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca57a2a621fac043dec579c218940eb36060b52af8f57f96494177ac71c1f0c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/anime/widgets/voice_actor.dart: lib/screens/anime/widgets/voice_actor.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CharactersCarousel.build at line 19. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/widgets/voice_actor.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/screens/anime/widgets/voice_actor.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed146e74f1748b52520ee96fb2a4196414bfa66dbf600da75192ae5b6239b16"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/screens/anime/watch/watch_view.dart: lib/screens/anime/watch/watch_view.dart changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is _WatchScreenState.initState at line 83), 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: fixed broken media color\u201D; \u201Cfix(player): prevent keyboard focus traversal and grey tint overlay\u201D; \u201Cfix: fixed torrent broken on mobile\u201D; \u201Cfix: watchium comeback (#582)\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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/watch/watch_view.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/screens/anime/watch/watch_view.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f8ca8fa6ef7669e3308c8ac4fc7377642743efdf4f261b5c0d212fe84d9a0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/database/database.dart: lib/database/database.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 14 (its worst body is Database.init at line 43), 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: fixed login crash, torrserver issues\u201D; \u201Cfix: ui changes and fixes\u201D; \u201Cfix(macos): keep the database out of iCloud-synced Documents (#554)\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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/database/database.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/database/database.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"49703a72242c0e8c0370db477407416da98cfd5fe257752dc895317024bf6f0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/screens/manga/widgets/chapter_section.dart: lib/screens/manga/widgets/chapter_section.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 8 (its worst body is ChapterSection._buildChapterListSliver at line 115), 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: proper error handler on anime and manga pages\u201D; \u201Cfix: synced scanlator with continue chapter button\u201D; \u201Cfix: fixed manga chapter selector and chapter navigation logic\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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/manga/widgets/chapter_section.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/screens/manga/widgets/chapter_section.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4757b0dd4a84bd9fd900762e35eca194723fc5811a6e90d2a05f0e6a7a4badbb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/screens/anime/widgets/comments/controller/comments_controller.dart: lib/screens/anime/widgets/comments/controller/comments_controller.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 15 (its worst body is CommentSectionController.formatCommentTimestamp at line 467), 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: fixed inaccurate liquid background preview \u0026 useless commentum calls\u201D; \u201Cfix: fixed comments showing input for non logged in user, bad lifecycle causing grey screens\u201D; \u201Cfix: comments fixes and perf changes\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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/screens/anime/widgets/comments/controller/comments_controller.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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"da60ac5b26cc05fc36121cf80ec2b49c15889d8d7e0a0fddb23403660aaab24c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/database/isar_models/episode.dart: lib/database/isar_models/episode.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 4 (its worst body is Episode.clone at line 103), 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: fixed bad logic for episode watch detection\u201D; \u201Cfix: fixed season wise bindings for proper tracking across seasons\u201D; \u201Cfix: fixed episode comparison logic to include season in the picture\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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 22:46:33 \u002B05:30\u0027 --until=\u00272026-11-17 22:46:33 \u002B05:30\u0027 --full-history --no-merges -- lib/database/isar_models/episode.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/database/isar_models/episode.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bbe9b0c96b9d90489c75f97577434f3b29716693ee65b281f29732584fb3d5"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060build_tool\u0060 is runnable (\u0060executables:\u0060 or \u0060bin/\u0060 in its pub package) and neither \u0060packages/rhttp/cargokit/build_tool/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/cargokit/build_tool/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"184592ef010cb0ad5ccd35fb53a8a9d988eed168e2325b7f1a6f990c8b8c0d78"}},{"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 \u0060packages/rhttp/cargokit/build_tool/bin/build_tool.dart\u0060 makes this repository a deployable product (line 6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/cargokit/build_tool/bin/build_tool.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af7bc23ef0e11d498c37ba94c616043cd1f7fc82f416a74e3540df99d635c1c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (238716 LoC, 944 module-visible types across 144 directories) overshoots its size bounds. 1 of 11 build unit(s) (Cargo, Gradle, Xcode, pub) overshoot their size bounds, lowering Project Cohesion to 8.2/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":"f62ea1ef75e0346430eec2e142734c64831fbb53d64735bb06a39fd7cdee5fcb"},"properties":{"commitSha":"bafe50206201d00b7b345a362525fa4f335301e2"}},{"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":"252e06c257d002b81f1aa1331986c6c0a2dff4dd05dedea7f6b30db13dabd9d8"},"properties":{"commitSha":"bafe50206201d00b7b345a362525fa4f335301e2"}},{"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":"63143f1d4d99e677da713eb71d6ec3400eb9264f1b2e6701d69102ca51cf96a4"},"properties":{"commitSha":"bafe50206201d00b7b345a362525fa4f335301e2"}},{"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":"0b4c260b7ff3b7c1b6dae7d05615036ac3133b3a55ac4b54506ce6e5abd432ef"},"properties":{"commitSha":"04dff6ede733f93363c0a38368fd3c2ee23a7407"}},{"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":"426e1da7f2bd6e19cddad366f1adca6a07251888dbff731ea5628aa8953ef4b8"},"properties":{"commitSha":"107d67590478f18898dd8574812b3bbc39ed7fad"}},{"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":"362131c537e4aedd40bbfa3ac4bd8b8d1c08df541eceff7462ae3e4293102eb1"},"properties":{"commitSha":"e31af74b8c464d1630293077f7daa179282cff45"}},{"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":"4610fd1ddf5ec748c4dfc2642a8cbfb569796798c1921df5f423ef841ca030ee"},"properties":{"commitSha":"04dff6ede733f93363c0a38368fd3c2ee23a7407"}},{"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":"cca06eaeccb4721fa9662f46125006a42db9bd2f9894b5c4292ceaae6618a6a8"},"properties":{"commitSha":"03791f81ffbc9931f86a6bd5f58467d6aec57999"}},{"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":"85940190b3a21a13d4a6691231460775cd9accb35a481a2d487b0ec667e72594"},"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":"309b14b4e2b7a7cdbee5ec0ac2b1f7c39bf8faea265e2ff4913a04045d44f0e3"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"6ae4b9aaf2f70eb58a15d2ad7f3f983421a4a44a9da99bb5ad726ac000afdc4e"},"taxa":[{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"268e05de6fe610b42a9221021fe92946dadc57a834afc9b433403e53979a8430"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"6720004aed0bdbb1e99f080fb127e4af45b96c1d0269df2d11f4f72451120f4c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5d7d84704033eb4dbf846295f6c316b85c588d3454637ff126bdb111660bce2e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"af02dd76970073ef7dc2567b9fb11963d8c791edefca3b0013a98220feb930da"},"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":"10ea98b2983717ab734cd29d6f2a931b0386ebc18127ba2241679296b4b03a80"},"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":"1f3e3a96386d3cf2a09fa1b2ee086568b14149ffbb176c4b92b8ecf6af2fa512"},"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":"32b0fe599e540805485053709add02bf075bcfa8d44c5d53593d19b225234db8"},"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":"d731eed111bda40776f21e0464a632fb98605eca8585d984435aec5f43dbac30"},"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":"8bab30bfa518829199ac30a51d228ff31fc51c7eb6a052fbe9d706140404f500"},"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":"b38cdfe05b26c5172758a1d62de42a40dba15f193b39f19c63cc5fc489de3bca"},"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":"3839bef3e0940012387c66262476fcd79bcc19e1adfd27c828e87f2b17b6cbf8"},"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":"9f00791977a23fcc9f61fe4bc3bf3cdff88d2b6d11a2508b8d309792e5b7152c"},"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":"54862c49bf5fc63c3cf375193eca544a880c7bd04541efaf727f6fdb3056da38"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"ddcbb6870939c9f1e44df8a2706461bed45daa7313f1fea7ef02a15fc0cae31e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"2d8ac8de9dc63abf8a4cfa6161ccedb5511e69f364354299d108511be2e84e4f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"0e8f745c385891ec7b2717777f0e2779d8f2be5cc6b984410d0a708112e2f11e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"3108b865bd7374cb1aac06587801c7058d8c186503f486190fb6b0ee32b9d29e"},"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":"53953136733092481498825e35b0add2fc4ab8efe641f83f9816126811e58267"},"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":"9d5ff8d2c967463f2a2855a271898624514d9de0e4e70e63fcd05f3dd1e583b9"},"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":"da9eac0b77a5c71dec0d02991b25c48d02366840c96d7c268259b3fec59c72e1"},"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":"dbf38cef4cc927df9463426fb1237effd5ee2a057ea2dba1dd8e657179b90746"},"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":"c60a9a88c93427dfd79e357cd9d810fa253b32b3dbed176027b7e52bb8ea1c1d"},"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":"779a4a1dacd484b0df015312974a870b11f731557c6096194f5fb60120f14172"},"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":"9a801128431a53b2fd73ce0bf8b5dda88a31dedca63289050a332f1938f78bbb"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"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":"a378eb575e3f20eca26f26f9af5fcfc839b4b37f9977c04073aa58942c61cd4f"},"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":"f2072197baebeed29f75b81493d93207cafebaa947ff28224c11397ab3cf460c"},"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":"1e305718f703f407cd3dfbd537f560a6e980090fd86f0d7f9a6a87b64d882cf2"},"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":"f6aa40c1ef39aae68527db75f9abab9e2122f64ade3bf215fa3975e57aefbcc6"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"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":"d58be8c9e3ff790d6fb8a9518d6ddb80c21d3a67c3619073ef017f85b1e54174"},"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":"ce8ea918d66f5f9fcc40a95135efc05b583947727e8c4fa7c21f9f89dd6320b6"},"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":"bea3db34ff433a81e5807b181047c2fcabbd2b72de7fcc0d4c3b48000b6abda2"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"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":"8993230086938df246b5d09ea8423e487d08a29bc643c0d88a532ba380c8bf47"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"06ea21171581fd0d0257a2527e3dc5a795ab96caaee5ecdd5f5085d0e5da3926"},"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":"8a0827f8fc610c2070082ec17ddbec3d5fc719d2e4b67754de0492a1cc161c59"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"ebc6bdeeeb73682ce68df96f1f01dbe05a0bce2fa5c61fa141e9db5f20b0f350"},"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":"b1e713c8e8491b3c1094aff5d3bf7b9915d81507631350fd736fa3426e070481"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"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":"44c0ee059d9ada482beb4006bbcff5f1c86c6080ad71175089982708195e655c"},"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":"d8bc14fd4d329e1e021c0ca20787830073e5f4602fc0ced3c5a10998fb8b8ff7"},"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":"2bf4d0ad1b44223ddad768470d9d40109ec1988b65e7f474dac1bfc420b936de"},"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":"8d76a7d9bd8ef64761fb0e1982ee5fc05b6b16dfc886f2c152678e9897ee3be1"},"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":"b0b386b140c574e744160581ef5b4040f7658e024bff5f3d7bd811c08938a421"},"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":"7bc90acf498301195afbb2dd7ded2f91dc32ab93168043c64464f474dd1747c6"},"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":"5cf79eaa2a0473c11e42efae5b8b02f54df87c85c846f403ace9603a3c78c8a2"},"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":"12757503b72f1bc1d45118fe65dfe1aacfdd9e25cffdc49a707e96ae303d3adb"},"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":"0fd6704ed0def1d4a606141c186dcad846daa89d6c8f56ca79097374bbb032b1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"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":"c55f3370207b1aa6332ed05bf2eac7be6e49f3521e0d1f9e899bfbf6d7010b95"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e525318603499014784352cba8e2cf7cbc5687d8a0f3cdb110ee83d9ffd72f4e"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f81de7f18ac8482964c36faa98746e0354a60f0150ffb4b717f7743153a1c12a"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6997302169722f94f86def778f497e25d7cee707ad8e052b09fe18aad971d5ef"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73514371790ad2b3777325d1d0559e4889a165db07f5b9e44fee9adb557ef0f7"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 8 of 488 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 488 of the 638 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: lib/screens/novel/reader/widgets/dictionary_popup.dart, lib/utils/lanczos_image.dart, lib/screens/news/news_page.dart, lib/utils/anime_themes_api.dart, lib/models/Media/staff.dart, lib/models/animethemes/anime_theme.dart, lib/utils/subtitle_translator.dart, lib/screens/manga/widgets/reader/reader_color_overlay.dart. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/widgets/dictionary_popup.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc988c06737c713a95a4fa41ae9278fa519e2928cc7a0fb426446a0eeac38f5a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/lanczos_image.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7e25a8ce7f52c032712f601b98a37153e91c4c55e8efa564a053f34a0c2997"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/news/news_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0abc17f30f21dfe12980dbc1f701059dece2067155cd15ddc549dbdf635638"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/anime_themes_api.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5cc07648321590e385b154cf9cfbd7841df2b33d4a124d6cdedac3146b085b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/Media/staff.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b237b7f82c34b677838fbd45a53605d8fbdc3b9622d75a45981fe60497679f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/animethemes/anime_theme.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7b17c1286b7f11ac8833673c8591ac61cd1c0f5b8da6a0202443665c216eef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_translator.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ad050b068ae7557efeeb59b657b89ca5080521505b1aa3e9a3d070d386ea66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/reader_color_overlay.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae8dd44850410db3c190fd91846295bed89f24899603f0051635ee53250f89c"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: player_adaptor.dart \u2194 settings_player.dart: \u0060lib/models/player/player_adaptor.dart\u0060 (context models) and \u0060lib/screens/settings/sub_settings/settings_player.dart\u0060 (context screens) sit in DIFFERENT parts of the tree yet change together 52% of the time (16 of the 31 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u00607c1c13bc\u0060 fix: changed media session to a toggle based feature since its pretty\u2026; \u00605f6a4eee\u0060 feat: add slide to seek toggle in player settings (#513); \u00609cbd2c77\u0060 feat: option to enable/disable hold to seek \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/player/player_adaptor.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df18a563055a74d8ad7550ad7506c896dcdb44e536c61d25d72a3d9a5606e22"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: reader_view.dart \u2194 settings_view.dart: \u0060lib/screens/manga/widgets/reader/reader_view.dart\u0060 and \u0060lib/screens/manga/widgets/reader/settings_view.dart\u0060 change together 73% of the time (11 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00600de1481e\u0060 feat: tachiyomi like overscroll; \u0060d7c2b841\u0060 feat: fit to screen for tablets in manga reader, improved the ui a li\u2026; \u00601630d6b3\u0060 Feat: Tap Zones \u002B Better Crop Borders For Manga Reader (#278) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/widgets/reader/reader_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65f30fb185722ff1b7f5a0483f2dd8c7058163db312b38d2ea855a363d5bf25"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: player_controller.dart \u2194 better_player.dart: \u0060lib/screens/anime/watch/controller/player_controller.dart\u0060 and \u0060lib/screens/anime/watch/player/better_player.dart\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00601f30b647\u0060 feat: settings backup and restore, lots of fixes related to downloads\u2026; \u0060a734d196\u0060 fix: fixed broken subs, fixed a minor delay between subs; \u0060adbdf085\u0060 fix: fixed some streams not playing, hid buttons that has 0 or 1 entr\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adab100e2a24414cfc905bcdb22fcecea0c159d79bf951d1e9d337443b8b4e87"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: widgets_builders.dart \u2194 main.dart: \u0060lib/controllers/services/widgets/widgets_builders.dart\u0060 and \u0060lib/main.dart\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00609ed1c1bc\u0060 perf: improved page switch performance; \u00605ea07fca\u0060 feat: community recommendations for movies/shows, voting, live filter\u2026; \u006081a01127\u0060 feat: add underrated anime/manga section powered by GitHub JSON (#360) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"990e31452f69609092f88780101b09ed2821e62deff446f3c9168137452d4b2c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: episode_list_builder.dart \u2194 episode_watch_screen.dart: \u0060lib/screens/anime/widgets/episode_list_builder.dart\u0060 and \u0060lib/screens/anime/widgets/episode_watch_screen.dart\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060d2c4fd5c\u0060 feat: Full download support on metadata services, lots of fixes; \u0060b3a76f2b\u0060 fix: fixed sub/dub not persisting across all episodes; \u006067971f62\u0060 fix: fixed mal issue where manga and anime were mismatching \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd15fdf82666f6d20ba27de2e4ed750a13a80cc6e16f91979dd183c703c7cc67"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: anime_list.dart \u2194 manga_list.dart: \u0060lib/screens/library/online/anime_list.dart\u0060 and \u0060lib/screens/library/online/manga_list.dart\u0060 change together 60% of the time (9 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060a277be02\u0060 fix: overflow fix on anime and manga list; \u0060d8294db8\u0060 fix:: fixed ui not reflecting instant changes and header ui overflow; \u006047d42453\u0060 fix: fixed dupe entries in tracking lists \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/library/online/anime_list.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff6153df6468921ae7bb61e73fa2f85d7eab36a052e5528932a0d334908b084"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: anilist_data.dart, mal_service.dart, simkl_service.dart: 3 files \u2014 \u0060lib/controllers/services/anilist/anilist_data.dart\u0060, \u0060lib/controllers/services/mal/mal_service.dart\u0060, \u0060lib/controllers/services/simkl/simkl_service.dart\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6910338df412ffba870f9833782697248a557a3752eac9fdea6a3b377ee0765c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bottom_controls.dart \u2194 ios26_player_control_theme.dart: \u0060lib/screens/anime/watch/controls/bottom_controls.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 change together 59% of the time (10 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00603bb0908d\u0060 feat: torrent file selector in player; \u00609605b5f1\u0060 fix: fixed tracking issues and new episode release stale states; \u0060622e13dd\u0060 feat: dynamic orientation button in player \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bbfd0464c111d09b6bd367c50490e09c44f72cc29c95fd788e0a72a645382f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ios26_player_control_theme.dart \u2194 json_player_control_theme.dart: \u0060lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart\u0060 and \u0060lib/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00603bb0908d\u0060 feat: torrent file selector in player; \u00609605b5f1\u0060 fix: fixed tracking issues and new episode release stale states; \u0060622e13dd\u0060 feat: dynamic orientation button in player \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controls/themes/player_control_themes/ios26_player_control_theme.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"363fa80c7d0d93d895773c7538f3e8ce48239bd6d6a7de4e1f001d751cdfdf81"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: themes.dart \u2194 main.dart: \u0060lib/constants/themes.dart\u0060 and \u0060lib/main.dart\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00602ff00737\u0060 feat: ui improvements on details page, performance improved, animatio\u2026; \u006055d68e6f\u0060 fix: fixed grey screens on watch page; \u00606cadc081\u0060 refactor: migrated to applinks from unilinks \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/constants/themes.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c436472c443e944cc0ef47a3191dece834ee53268f220c8d9a3a4da063efab4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: better_player.dart \u2194 media_kit_player.dart: \u0060lib/screens/anime/watch/player/better_player.dart\u0060 and \u0060lib/screens/anime/watch/player/media_kit_player.dart\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00601f30b647\u0060 feat: settings backup and restore, lots of fixes related to downloads\u2026; \u00601f9a2509\u0060 feat: subtitle delay support for libmpv; \u0060a734d196\u0060 fix: fixed broken subs, fixed a minor delay between subs \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/player/better_player.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"141215a250626d7e762d4613faf78835ea45016a771385365200a589fed49c75"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: home_page.dart \u2194 home_page.dart: \u0060lib/screens/anime/home_page.dart\u0060 and \u0060lib/screens/manga/home_page.dart\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00604f64fe02\u0060 fix: series type mismatch on simkl; \u006024ecc977\u0060 fix: fixed lag on keyboard popup; \u0060e659c49a\u0060 feat: revamp extension service \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/home_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fdccf31188a08ed8596a5a8df453885cc2e85fa525afbfebed5f8915b61942"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: home_page.dart \u2194 home_page.dart: \u0060lib/screens/anime/home_page.dart\u0060 and \u0060lib/screens/home_page.dart\u0060 change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00603fca1f5a\u0060 perf: minor performance improvements; \u00607809faa7\u0060 fix: fixed appbar disappear even on media tab change; \u006036754206\u0060 feat: enhanced new episode released cards, fixed bugs when deleting h\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/home_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"297b725fe4bb1593f2f534db47242a511bb584ebee676bba307637d045ed950f"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7be964b311a6380af50ea81671ece9780d741f767dc79e47c2b108618722cf0c"}},{"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":"c4d9d28cab537fc0ae0e581b52fe5061115f7e6e651a02ef52c7d328cda0a627"}},{"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":"ef69ffb2b1fa92b1cc8c0f56486a72aa96a80e8e4c65a474a0fb4f020bb98ffd"},"taxa":[{"id":"CICD-SEC-6","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":"b86075bd73ddad8c7207bd2f917a15673cdee237497ebd0f1cf95d8aa0c5e606"},"taxa":[{"id":"CICD-SEC-6","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":"a65d950d5ac8a752e94698ccf72910413fdd3d327a8d8218b5944f111cf9b322"},"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":"c059ee55ee4fc5c9ac0051152ffaef05dabeac4ea9fff92e0629e9306acb076d"},"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":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BasePlayer (32 abstract methods): \u0060BasePlayer\u0060 declares 32 abstract methods: \u0060positionStream\u0060, \u0060durationStream\u0060, \u0060bufferStream\u0060, \u0060playingStream\u0060, \u0060bufferingStream\u0060, \u0060tracksStream\u0060, \u0060rateStream\u0060, \u0060errorStream\u0060, \u0060subtitleStream\u0060, \u0060heightStream\u0060, \u0060completedStream\u0060, \u0060state\u0060, \u0060initialize\u0060, \u0060open\u0060, \u0060seek\u0060, \u0060play\u0060, \u0060pause\u0060, \u0060stop\u0060, \u0060playOrPause\u0060, \u0060setRate\u0060, \u0060setVolume\u0060, \u0060setVideoTrack\u0060, \u0060setAudioTrack\u0060, \u0060setSubtitleTrack\u0060, \u0060setSubtitleDelay\u0060, \u0060setAudioDelay\u0060, \u0060setAudioChannelLayout\u0060, \u0060toggleVideoFit\u0060, \u0060screenshot\u0060, \u0060dispose\u0060, \u0060getVideoWidget\u0060, \u0060setHardwareDecoding\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/player/base_player.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5466a794b43fecbef89ef05b60da3f204327c82e667ca659557bf74a3183ecfb"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RustLibApi (28 abstract methods): \u0060RustLibApi\u0060 declares 28 abstract methods: \u0060crateApiStreamDart2RustStreamSinkAdd\u0060, \u0060crateApiStreamDart2RustStreamSinkClose\u0060, \u0060crateApiHttpCancelRequest\u0060, \u0060crateApiHttpCancelRunningRequests\u0060, \u0060crateApiClientClientSettingsDefault\u0060, \u0060crateApiClientCreateDynamicResolverSync\u0060, \u0060crateApiClientCreateStaticResolverSync\u0060, \u0060crateApiStreamCreateStream\u0060, \u0060crateApiInitInitApp\u0060, \u0060crateApiHttpMakeHttpRequest\u0060, \u0060crateApiHttpMakeHttpRequestReceiveStream\u0060, \u0060crateApiHttpRegisterClient\u0060, \u0060crateApiHttpRegisterClientSync\u0060, \u0060rust_arc_increment_strong_count_CancellationToken\u0060, \u0060rust_arc_decrement_strong_count_CancellationToken\u0060, \u0060rust_arc_decrement_strong_count_CancellationTokenPtr\u0060, \u0060rust_arc_increment_strong_count_Dart2RustStreamReceiver\u0060, \u0060rust_arc_decrement_strong_count_Dart2RustStreamReceiver\u0060, \u0060rust_arc_decrement_strong_count_Dart2RustStreamReceiverPtr\u0060, \u0060rust_arc_increment_strong_count_Dart2RustStreamSink\u0060, \u0060rust_arc_decrement_strong_count_Dart2RustStreamSink\u0060, \u0060rust_arc_decrement_strong_count_Dart2RustStreamSinkPtr\u0060, \u0060rust_arc_increment_strong_count_DnsSettings\u0060, \u0060rust_arc_decrement_strong_count_DnsSettings\u0060, \u0060rust_arc_decrement_strong_count_DnsSettingsPtr\u0060, \u0060rust_arc_increment_strong_count_RequestClient\u0060, \u0060rust_arc_decrement_strong_count_RequestClient\u0060, \u0060rust_arc_decrement_strong_count_RequestClientPtr\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/lib/src/rust/frb_generated.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de218b1a365585ac927612e733fea7e2081a93bafc65c708287e73eca3572f6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RustLibApiImplPlatform (302 abstract methods): \u0060RustLibApiImplPlatform\u0060 declares 302 abstract methods: \u0060dco_decode_AnyhowException\u0060, \u0060dco_decode_AutoExplicit_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient\u0060, \u0060dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken\u0060, \u0060dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamReceiver\u0060, \u0060dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamSink\u0060, \u0060dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings\u0060, \u0060dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient\u0060, \u0060dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamSink\u0060, \u0060dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken\u0060, \u0060dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient\u0060, \u0060dco_decode_Chrono_Duration\u0060, \u0060dco_decode_DartFn_Inputs_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken_Output_unit_AnyhowException\u0060, \u0060dco_decode_DartFn_Inputs_String_Output_list_String_AnyhowException\u0060, \u0060dco_decode_DartFn_Inputs_http_response_Output_unit_AnyhowException\u0060, \u0060dco_decode_DartFn_Inputs_rhttp_error_Output_unit_AnyhowException\u0060, \u0060dco_decode_DartOpaque\u0060, \u0060dco_decode_Map_String_String_None\u0060, \u0060dco_decode_Map_String_list_String_None\u0060, \u0060dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken\u0060, \u0060dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamReceiver\u0060, \u0060dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamSink\u0060, \u0060dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings\u0060, \u0060dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient\u0060, \u0060dco_decode_StreamSink_list_prim_u_8_strict_Sse\u0060, \u0060dco_decode_String\u0060, \u0060dco_decode_bool\u0060, \u0060dco_decode_box_autoadd_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamReceiver\u0060, \u0060dco_decode_box_autoadd_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings\u0060, \u0060dco_decode_box_autoadd_Chrono_Duration\u0060, \u0060dco_decode_box_autoadd_client_certificate\u0060, \u0060dco_decode_box_autoadd_client_settings\u0060, \u0060dco_decode_box_autoadd_cookie_settings\u0060, \u0060dco_decode_box_autoadd_http_body\u0060, \u0060dco_decode_box_autoadd_http_headers\u0060, \u0060dco_decode_box_autoadd_http_method\u0060, \u0060dco_decode_box_autoadd_http_response_body\u0060, \u0060dco_decode_box_autoadd_multipart_payload\u0060, \u0060dco_decode_box_autoadd_proxy_settings\u0060, \u0060dco_decode_box_autoadd_redirect_settings\u0060, \u0060dco_decode_box_autoadd_static_dns_settings\u0060, and 262 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/lib/src/rust/frb_generated.io.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"683bcf51daf31b1d02a56d84b073caf984de469d67678a3b6e849bf5e04f60ab"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RustLibApiImplPlatform (302 abstract methods): \u0060RustLibApiImplPlatform\u0060 declares 302 abstract methods: \u0060dco_decode_AnyhowException\u0060, \u0060dco_decode_AutoExplicit_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient\u0060, \u0060dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken\u0060, \u0060dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamReceiver\u0060, \u0060dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamSink\u0060, \u0060dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings\u0060, \u0060dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient\u0060, \u0060dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamSink\u0060, \u0060dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken\u0060, \u0060dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient\u0060, \u0060dco_decode_Chrono_Duration\u0060, \u0060dco_decode_DartFn_Inputs_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken_Output_unit_AnyhowException\u0060, \u0060dco_decode_DartFn_Inputs_String_Output_list_String_AnyhowException\u0060, \u0060dco_decode_DartFn_Inputs_http_response_Output_unit_AnyhowException\u0060, \u0060dco_decode_DartFn_Inputs_rhttp_error_Output_unit_AnyhowException\u0060, \u0060dco_decode_DartOpaque\u0060, \u0060dco_decode_Map_String_String_None\u0060, \u0060dco_decode_Map_String_list_String_None\u0060, \u0060dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken\u0060, \u0060dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamReceiver\u0060, \u0060dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamSink\u0060, \u0060dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings\u0060, \u0060dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient\u0060, \u0060dco_decode_StreamSink_list_prim_u_8_strict_Sse\u0060, \u0060dco_decode_String\u0060, \u0060dco_decode_bool\u0060, \u0060dco_decode_box_autoadd_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDart2RustStreamReceiver\u0060, \u0060dco_decode_box_autoadd_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings\u0060, \u0060dco_decode_box_autoadd_Chrono_Duration\u0060, \u0060dco_decode_box_autoadd_client_certificate\u0060, \u0060dco_decode_box_autoadd_client_settings\u0060, \u0060dco_decode_box_autoadd_cookie_settings\u0060, \u0060dco_decode_box_autoadd_http_body\u0060, \u0060dco_decode_box_autoadd_http_headers\u0060, \u0060dco_decode_box_autoadd_http_method\u0060, \u0060dco_decode_box_autoadd_http_response_body\u0060, \u0060dco_decode_box_autoadd_multipart_payload\u0060, \u0060dco_decode_box_autoadd_proxy_settings\u0060, \u0060dco_decode_box_autoadd_redirect_settings\u0060, \u0060dco_decode_box_autoadd_static_dns_settings\u0060, and 262 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/lib/src/rust/frb_generated.web.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"24781291fa5c7dbd22e1f6d861cf18c7db73232a1f28e8a9d3e1918bc2cd29f8"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: This repository serves requests \u2014 an HTTP server (HttpServer.bind) (lib/services/cast/cast_proxy_server.dart:29) \u2014 and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_proxy_server.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"81754b422d9cbec2861e332de24f3f716620d8ab4c1ce27132023601d3f9ae86"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060onScrollNotification\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/anymex_widgets/anymex_header.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"475c53dbf3b6dfeaa0df467482949b3fbf9e9dec5fb7b1c619a1571da2ef95af"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060detachSocket\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":"packages/rhttp/lib/src/client/io/io_response.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"420fb094c0884669e0d6b067a76c6f4818ba5d71aec2f9a2fc8db0d3d4722585"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060redirect\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":"packages/rhttp/lib/src/client/io/io_response.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9d99916d586c7d6becc09af483f5d3c97fdd26ab8efbe9b2e16e697b2e333b"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 6 public types in \u0060repository.src\u0060 are marked as implementation by their own namespace, folder or name: \u0060RustLibApiImpl\u0060 (packages/rhttp/lib/src/rust/frb_generated.dart:201, name ends in \u0060Impl\u0060), \u0060CancellationTokenImpl\u0060 (packages/rhttp/lib/src/rust/frb_generated.dart:4190, name ends in \u0060Impl\u0060), \u0060Dart2RustStreamReceiverImpl\u0060 (packages/rhttp/lib/src/rust/frb_generated.dart:4214, name ends in \u0060Impl\u0060), \u0060Dart2RustStreamSinkImpl\u0060 (packages/rhttp/lib/src/rust/frb_generated.dart:4243, name ends in \u0060Impl\u0060), \u0060DnsSettingsImpl\u0060 (packages/rhttp/lib/src/rust/frb_generated.dart:4280, name ends in \u0060Impl\u0060), \u0060RequestClientImpl\u0060 (packages/rhttp/lib/src/rust/frb_generated.dart:4300, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/lib/src/rust/frb_generated.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6c73c2ec6ffde393e345047786b38aa3bdfc83f70685899348ae36708da278"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 4/6 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060ios\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 10 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/pr_greetings.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060packages/rhttp/rust/Cargo.toml\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/rust/Cargo.toml"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed43a29ad2cfb251a6ab1e7f528d5cdc0764530d3f2949f89e64720181eb30f"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_deleteMatchingDiskFiles\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/anilist/anilist_cache.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9904d12625cfaa775fab2f6685e2023501a19a0677c3bb4a875f383cc71f5402"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060pickBackupFile\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"de51a50d6a146f0ec4ba0e020ae8d97db2fab6808cb458f2f1ff1b680dfd6b51"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060getTorrentCacheSize\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a93bc53f70981e2c19b7aeb8f8282cfaea1af706dd05ccf7830ac46bafd3e0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060clearTorrentCacheOnly\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"268ecf60fef406036ebe781d5f01e53e4641c40560c4f9098fbb94be096fbdad"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060clearOtherTempOnly\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54d9546e3c37ad7fe151eb87f4c7e842c4da14ed943e20292081a1e31fd6cb1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_clearDirectoryContents\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f187f27a8dccabde6273bb382ff5451e50297e2b276af238cada38a4c969995a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_loadLocalSubtitles\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"a543262f7fa55c845d9efcabab9c3784b98737b61c92020e6f9f1f8860e0667c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_fetchChapterPages\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"346423c74491654cbddb5fb54fe19a63e72d09ee9c8c823d3ee357036f09faa0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fetchImages\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69678783853afc617b2f63dd7cde321e77163d5509d5065e11a1d0d3455c536"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_testProxy\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8522eb58b447f7fc35891197e6f7504ec728975e04ebb84666ae14d0949b65"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_getPrecompiledArtifacts\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/cargokit/build_tool/lib/src/artifacts_provider.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c7f54430669f949e8267320a1bcce3b73f200bcc6cd7a76af04b994b254e60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_tryDownloadArtifacts\u0060 is async and calls writeAsBytesSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/cargokit/build_tool/lib/src/artifacts_provider.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9776a66401468cfb5db71cecbf42ef7dca3c890dbf1ac1106dc4bab2c5bdf2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls copySync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/cargokit/build_tool/lib/src/build_cmake.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"398ff73dc7490b3ab945250c5631b01555cbabf932a732bd77d51f00160f4afe"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls createSync, copySync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/cargokit/build_tool/lib/src/build_gradle.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ebd6c237a9d1a0f20b7935e1ea20f42d6c4fee5472dce17ff6ac73c60abb54"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/cargokit/build_tool/lib/src/build_pod.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"608f9dd4c02589b27571d09380b9acb4890b88c743e026490005e579886e473c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls createSync, readAsBytesSync, deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/cargokit/build_tool/lib/src/precompile_binaries.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d738ca0e0e420a36890b92000f68cd0a3ece10eb8e7ebf053c529944230f346"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060getCustomFontNames\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/external_font_loader.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"93515e50a4fed63e03a65c4fe1e89949751ba990ef0800a4f14c360897c46a82"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060loadAllCustomFonts\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/external_font_loader.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"963debd09cdfb9eb1db41dc7e020bdd72b4fca8126bb878c8b2eaa230decc0c7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060deleteCustomFont\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/external_font_loader.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4b0c298754b06efe7785913c2d95f82d7286763d423739adb806a60ccfe628"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060download\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_downloader.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff30ea08c690747323650c4d0df9e64d964794a0177aee2fd9bdcb576cf85af"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_downloadM3u8WithProgress\u0060 is async and calls deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_downloader.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d98a8ecfe21a3b122cf20207354688b9d202515c67610467edd03ce3fe031d1"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060badCertificateCallback\u0060 returning \u0060true\u0060 is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the callback so \u0060dart:io\u0060 validates the peer. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: load its CA into a \u0060SecurityContext\u0060 (\u0060setTrustedCertificatesBytes\u0060) and pass it as \u0060HttpClient(context: \u2026)\u0060 / \u0060SecureSocket.connect(\u2026, context: \u2026)\u0060, which keeps the chain and hostname checks on. A callback that must exist should compare the presented certificate with a pinned fingerprint, never return \u0060true\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1601be7c0d9124ea893e6d7a7064d6bf23e8f0661e1a8335b2b9f803ec58fc8b"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060badCertificateCallback\u0060 returning \u0060true\u0060 is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the callback so \u0060dart:io\u0060 validates the peer. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: load its CA into a \u0060SecurityContext\u0060 (\u0060setTrustedCertificatesBytes\u0060) and pass it as \u0060HttpClient(context: \u2026)\u0060 / \u0060SecureSocket.connect(\u2026, context: \u2026)\u0060, which keeps the chain and hostname checks on. A callback that must exist should compare the presented certificate with a pinned fingerprint, never return \u0060true\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_v2_client.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af02af10ff12c8a74b7db71d7ef7af75b6d3a25adec2b396b2efdffc47e3247"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060badCertificateCallback\u0060 returning \u0060true\u0060 is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the callback so \u0060dart:io\u0060 validates the peer. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: load its CA into a \u0060SecurityContext\u0060 (\u0060setTrustedCertificatesBytes\u0060) and pass it as \u0060HttpClient(context: \u2026)\u0060 / \u0060SecureSocket.connect(\u2026, context: \u2026)\u0060, which keeps the chain and hostname checks on. A callback that must exist should compare the presented certificate with a pinned fingerprint, never return \u0060true\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/download_isolate_pool.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b608d7e3e936c8a57ee2d78dd716e063a44cc96e3195912761c416e6077e9b1"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha256.convert(\u2026)\u0060 from \u0060package:crypto\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1d5f13813ae933b636a9d614551ee54833fe47cdcac18718051e740be578a8"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060firebase.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70535ba7a2e95ff64a1fd7e439cf66f67031b8bf7703f806875a28597000fb3c"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository runs an HTTP server that is not bound to the loopback interface alone \u2014 or binds it at an address its source does not spell out \u2014 and nothing in its Dart source secures the transport: no \u0060HttpServer.bindSecure\u0060 or \u0060securityContext:\u0060, no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: lib/services/cast/cast_proxy_server.dart:29 \u2014 \u0060HttpServer.bind(\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Get.isRegistered\u003CServiceHandler\u003E() || Get.context == null\u0060 appears character-identically in 2 files \u2014 lib/utils/deeplink.dart, lib/utils/notification.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/utils/deeplink.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36598b436375db28d8b5f5282198ae2fd15c0fbcb19a6ec8d36e9cfe54ef726"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!c.deleted \u0026\u0026 name.isNotEmpty \u0026\u0026 name.toLowerCase() != \u0027[deleted]\u0027 \u0026\u0026 seen.add(name.toLowerCase())\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/widgets/comments/comments_section.dart, lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3bd1658eeb073e1db7c6218adc85ec6d847c39dec6a7b90382deb3bef95ce9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!data.containsKey(\u0027url\u0027) \u0026\u0026 message.notification?.android?.link != null\u0060 appears character-identically in 2 files \u2014 lib/services/fcm_service.dart, lib/utils/notification.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/services/fcm_service.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"823d0dc55e5aeee3f6aad4f611a5437d08ec9fb46cb30db5ecf2e7260883cb95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!mounted || index \u003C 0 || index \u003E= _tabKeys.length\u0060 appears character-identically in 3 files \u2014 lib/screens/anime/misc/calendar.dart, lib/screens/library/online/anime_list.dart, lib/screens/library/online/manga_list.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/screens/anime/misc/calendar.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6c07a3624688759ff00c73d2993ed91c3ada93079f9181e012e60e14b43280"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!overscrollToChapter.value || _isNavigating\u0060 appears character-identically in 2 files \u2014 lib/screens/manga/controller/reader_controller.dart, lib/screens/novel/reader/controller/reader_controller.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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"3223a5d63d75411335795ee25be2bdd50b7f4de1daaf1f93c0578aa23d7d60a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!s.enableAnimation || s.animationDuration \u003C= 0\u0060 appears character-identically in 2 files \u2014 lib/widgets/animation/slide_scale.dart, lib/widgets/animation/widget_animations.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/widgets/animation/slide_scale.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b9cbf75036549ba2d053a99d1fad3c5112b7c90968cca5290a63a91c80590a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!snapshot.hasData || snapshot.data == null\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/widgets/comments/comments_section.dart, lib/utils/al_about_me.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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":3150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9971dbf62c8a11c2877918711a93dff4d366ad42a985f2541a82c71189d0f52d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!snapshot.hasData || snapshot.data!.error != null || !snapshot.data!.hasAdaptation\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"c854289df52da11f59f364ea0ab45d9dfd958fd1ef4833c8ecfb0a347bbf87f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!snapshot.hasData || snapshot.data!.error != null || snapshot.data!.nextChapter == null\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"8526e3c519c18fc64f80101ca797df511b3bfc612c933e47abc33af32118a422"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!snapshot.hasData || snapshot.data!.isEmpty\u0060 appears character-identically in 5 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.dart, lib/screens/anime/widgets/anime_stats.dart, lib/screens/anime/widgets/episode_watch_screen.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be59e3c25e5184e4a05e00ea038d9e00f51b9b2dbd7a11b124ff3a8f0151b8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(c.link != null \u0026\u0026 c.link!.isNotEmpty \u0026\u0026 c.link == chapter.link) || (c.number != null \u0026\u0026 c.number == chapter.number)\u0060 appears character-identically in 3 files \u2014 lib/controllers/offline/offline_storage_controller.dart, lib/screens/anime/details/controller/media_details_controller.dart, lib/screens/manga/widgets/chapter_list_builder.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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c84a0ea3aee26fe49135be0305164fe5032c0ae1fa5d12a4fb983b585916eb3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060AnymeXRuntimeBridge.isPluginInstalled || AnymeXRuntimeBridge.controller.isReady.value\u0060 appears character-identically in 2 files \u2014 lib/screens/extensions/ExtensionScreen.dart, lib/screens/settings/sub_settings/settings_extensions.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/screens/extensions/ExtensionScreen.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9f9dae647b796e5431d1d04175150acb8bb64da7f1d96cc295b16f00f67377"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060CommunityService.votingEnabled \u0026\u0026 widget.voteMediaType != null \u0026\u0026 widget.voteMediaId != null\u0060 appears character-identically in 2 files \u2014 lib/widgets/media_items/media_peek_popup.dart, lib/widgets/non_widgets/reasons_sheet.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/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cea64d8698e2337380ddb62a84d99e278f23cf0a0ca791b9b7554b29caec9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Get.isBottomSheetOpen == true || Get.isDialogOpen == true || Get.isOverlaysOpen == true\u0060 appears character-identically in 2 files \u2014 lib/screens/manga/controller/reader_controller.dart, lib/screens/novel/reader/controller/reader_controller.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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec906333e8854b96fd7e37e5a2bb60fe483c083ead4205963101421d322368c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Get.isRegistered\u003CAnilistAuth\u003E() \u0026\u0026 Get.find\u003CAnilistAuth\u003E().isLoggedIn.value\u0060 appears character-identically in 2 files \u2014 lib/database/isar_models/offline_media.dart, lib/models/Media/media.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/database/isar_models/offline_media.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6ee18aa37a51efc8b76258b329e204d9ebf3cff75bc37a47162093ae86e1fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Get.isRegistered\u003CSettings\u003E() \u0026\u0026 Get.find\u003CSettings\u003E().isIncognito.value\u0060 appears character-identically in 5 files \u2014 lib/controllers/discord/discord_rpc.dart, lib/controllers/offline/offline_storage_controller.dart, lib/controllers/service_handler/service_handler.dart, lib/screens/search/search_view.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/discord/discord_rpc.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c3d524c3541a62045b4e2078e80cc1971000ff482fff129cb048154ed9143e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Get.isRegistered\u003CSettings\u003E() \u0026\u0026 Get.find\u003CSettings\u003E().useAlternateTitle.value\u0060 appears character-identically in 3 files \u2014 lib/database/isar_models/offline_media.dart, lib/models/Anilist/anilist_media_user.dart, lib/models/Media/media.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/database/isar_models/offline_media.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"468fc513ee69cb0b6c43ae73867379b27de0948bcb83de29b5f5c77ba3019da9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Get.isRegistered\u003CTrackBindingController\u003E() \u0026\u0026 Get.find\u003CTrackBindingController\u003E().hasAnyBinding(mediaData.id)\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/widgets/episode_list_builder.dart, lib/screens/manga/widgets/chapter_list_builder.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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"53640627bdc79e66f9763de53bf93c24c4268bbf57dbda19b49045be70f3b4a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isWindows || Platform.isLinux || Platform.isMacOS\u0060 appears character-identically in 8 files \u2014 lib/controllers/services/anilist/anilist_auth.dart, lib/controllers/services/mal/mal_service.dart, lib/controllers/services/simkl/simkl_service.dart, lib/screens/manga/widgets/reader/themes/reader_control_themes/ios_reader_control_theme.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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"074bd19fe2e46b2e45f0682f823ed75f1b6866cd157c97ae6e4516c63e080ea1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_searchQuery.isNotEmpty || _selectedGenres.isNotEmpty\u0060 appears character-identically in 3 files \u2014 lib/screens/library/online/anime_list.dart, lib/screens/library/online/manga_list.dart, lib/screens/profile/widgets/user_media_list_page.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/screens/library/online/anime_list.dart"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e9ad79199ba03ed36229726b3d4667ed6c6a6bee3af0f7197c3952c91ee03b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_tabController == null || _tabController!.length != orderedTabs.length\u0060 appears character-identically in 2 files \u2014 lib/screens/library/online/anime_list.dart, lib/screens/library/online/manga_list.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/screens/library/online/anime_list.dart"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"d148a7ec2176ad0b3b1c291b26d5e16c82be0dd0730fd29232133ee229063637"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060anilistId == null \u0026\u0026 malId == null \u0026\u0026 simklId == null\u0060 appears character-identically in 3 files \u2014 lib/screens/community/community_recommendations_page.dart, lib/widgets/media_items/media_peek_popup.dart, lib/widgets/non_widgets/reasons_sheet.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/screens/community/community_recommendations_page.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4432b04c174afc241f76b506ceabd438f758155261c1a14c61242502c5d20e85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060apiMessage != null \u0026\u0026 apiMessage.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/controllers/services/anilist/anilist_auth.dart, lib/controllers/services/anilist/anilist_error_handler.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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"52620f344126d200cd4eee44b9163b23c4ba8d17189775f214bbbf35347d6581"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060auth.isLoggedIn.value \u0026\u0026 auth.serviceType.value != ServicesType.extensions\u0060 appears character-identically in 5 files \u2014 lib/screens/anime/details/media_details_page.dart, lib/screens/anime/widgets/episode_list_builder.dart, lib/screens/anime/widgets/episode_watch_screen.dart, lib/screens/novel/details/widgets/chapter_item.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/screens/anime/details/media_details_page.dart"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2fdc2df76a39441b0e21657f5739551c29d6503a87e8151ec29c8232177925"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060avatarUrl != null \u0026\u0026 avatarUrl!.isNotEmpty\u0060 appears character-identically in 6 files \u2014 lib/controllers/services/widgets/widgets_builders.dart, lib/controllers/sync/progress_sync_section.dart, lib/screens/community/community_recommendations_page.dart, lib/screens/community/user_recommendations_page.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/controllers/services/widgets/widgets_builders.dart"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"3361362b0dd9cd35363fe8a7a2b0cf77d43c4d281f05e4e7619f8979108e2962"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060await Permission.storage.isGranted || await Permission.manageExternalStorage.isGranted || await Permission.videos.isGranted || await Permiss\u2026\u0060 appears character-identically in 2 files \u2014 lib/screens/downloads/download_screen.dart, lib/screens/downloads/widgets/download_permission_dialog.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/screens/downloads/download_screen.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b007bedf46a22827bf474cc5e3d6dff72481ed8c5ba629f98620cc1692014320"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060baseChapter.link == null || baseChapter.link!.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/downloads/widgets/downloaded_media_view.dart, lib/screens/manga/widgets/chapter_list_builder.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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"4440b369d34a8a3a3e16dfd3efd800791fc36a52b06ec825f739d9667cf8ff44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.replies != null \u0026\u0026 c.replies!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/widgets/comments/comments_section.dart, lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"95072b4376e5d0009f6cc8b69bcb91acf51c5b49d6af6483460e1aad10780fb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chapter.link != null \u0026\u0026 chapter.link!.isNotEmpty\u0060 appears character-identically in 4 files \u2014 lib/screens/manga/controller/reader_controller.dart, lib/screens/manga/widgets/chapter_list_builder.dart, lib/screens/manga/widgets/reader/top_controls.dart, lib/screens/novel/reader/controller/reader_controller.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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d98ca1481ec0ca3d7c305d9212ba1a24724ca4212621627c9e994e92ad6c9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chapter.number == continueChapter?.number \u0026\u0026 chapter.scanlator == continueChapter?.scanlator\u0060 appears character-identically in 2 files \u2014 lib/screens/manga/widgets/chapter_list_builder.dart, lib/screens/novel/details/widgets/chapter_item.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/screens/manga/widgets/chapter_list_builder.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae32b08381ebd3224596614c8f6ac63deb3ff8b81e381feeddaf57fc05790b8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cleanDownload == null || cleanDownload == cleanHome\u0060 appears character-identically in 3 files \u2014 lib/screens/manga/widgets/reader/reader_page_actions_dialog.dart, lib/widgets/anime/visuals/visuals_popup.dart, lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.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/screens/manga/widgets/reader/reader_page_actions_dialog.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bf32a31670c1bba97370c6c478ef9828387b845e6e853cea0d83ed0dc398ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clickAction != null \u0026\u0026 clickAction.isNotEmpty \u0026\u0026 clickAction != \u0027FLUTTER_NOTIFICATION_CLICK\u0027\u0060 appears character-identically in 2 files \u2014 lib/services/fcm_service.dart, lib/utils/notification.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/services/fcm_service.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4904cb5204affd65c126c731efdf0c5c15c4cba46636e6707cfa14297f526909"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code == null || code.trim().isEmpty || code == \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43263b86497f5c4b362fee914e6a091e1d37c73b047da8a14d75c9fcba52a7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060comment.tag.isNotEmpty \u0026\u0026 comment.tag != \u0027General\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/widgets/comments/comments_section.dart, lib/screens/anime/widgets/comments/widgets/comments_replies_sheet.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/screens/anime/widgets/comments/comments_section.dart"},"region":{"startLine":1828}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eb317cb0852812ba3d2d1a6bc26183e08caf083d055ecc186a5a3aa71c3c79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controller != null \u0026\u0026 controller.chapterList.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"896c71593cdf72313e3a7e0973db70e7bd74d7b541103c15877a92dbc51ad3e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controller.isAnime \u0026\u0026 media.nextAiringEpisode != null\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a33f4dc7857395d2638c72df950a9c43ff5210d4a0b693433de3c86c5d7c15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controller.isTorrentStream.value \u0026\u0026 !leftButtonIds.contains(\u0027torrent\u0027) \u0026\u0026 !rightButtonIds.contains(\u0027torrent\u0027)\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/watch/controls/bottom_controls.dart, lib/screens/anime/watch/controls/themes/player_control_themes/ios_legacy_player_control_theme.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/screens/anime/watch/controls/bottom_controls.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa1569499b5a2c67e86b30cf1f4e1678d00e762a993f980c16c8c14b7e0cc77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctrl == null || !ctrl.isLoggedIn.value || !ctrl.syncEnabled.value\u0060 appears character-identically in 2 files \u2014 lib/screens/manga/controller/reader_controller.dart, lib/screens/novel/reader/controller/reader_controller.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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"88599af12b622b05259f7af0979fcefba17759b7fbfcfdb4c849a413b9ffce6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current != null \u0026\u0026 _isLocalProxyStream(current.url)\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/watch/controls/widgets/watch_together_popup.dart, lib/widgets/watchium/watchium_create_dialog.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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d9200bb105e3ae6ddb5d5bab833d76cb3d618f7116b56df2d1aec6df8a0e9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentChapter.link == null || currentChapter.link!.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/downloads/widgets/downloaded_media_view.dart, lib/screens/manga/widgets/chapter_list_builder.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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aed85fdb8ec6eae36f0874692700e9e205fc14ae028ccf98d4fe64aa0977474"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentItem != null \u0026\u0026 (currentItem.subWidget != null || (currentItem.subItems != null \u0026\u0026 currentItem.subItems!.isNotEmpty))\u0060 appears character-identically in 2 files \u2014 lib/widgets/common/navbar/styles/classic_navbar.dart, lib/widgets/common/navbar/styles/floating_pill_navbar.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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c303ab4ff76707c873dc2b634206559d375f1a4e4a00d2598a305a8bf01dca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060donatorTier \u003E 0 \u0026\u0026 donatorBadge != null \u0026\u0026 donatorBadge.isNotEmpty\u0060 appears character-identically in 3 files \u2014 lib/screens/profile/widgets/profile_header.dart, lib/screens/profile/widgets/user_profile_app_bar.dart, lib/screens/profile/widgets/user_profile_header.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/screens/profile/widgets/profile_header.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"386cb66c668faaf15ae09af965f8603060b73c6219010d0ca3452323704deebb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dur \u003E 0 \u0026\u0026 (ts / dur) * 100 \u003E= markAsCompleted\u0060 appears character-identically in 2 files \u2014 lib/models/Anilist/anilist_media_user.dart, lib/screens/anime/details/controller/media_details_controller.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/models/Anilist/anilist_media_user.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5061a2cca2cefa42865e2ffc94868973acca60a9cec96c51a1ee5d77de6198"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.contains(\u0022Manga\u0022) || e.contains(\u0022Reading\u0022)\u0060 appears character-identically in 2 files \u2014 lib/controllers/services/anilist/anilist_data.dart, lib/controllers/services/mal/mal_service.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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd507f22121ec70e2eb416aac1161729cdb7693f407704a2cfc271ad3a42dd2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060earliestDate == null || day.isBefore(earliestDate)\u0060 appears character-identically in 2 files \u2014 lib/screens/profile/widgets/activity_heatmap.dart, lib/screens/stats/user_stats_page.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/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbdd1471157e2828fc9a93031e518928db01bfa5560d1294fbef73cffb972d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060episode.title != null \u0026\u0026 episode.title!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/downloads/widgets/downloaded_media_view.dart, lib/utils/function.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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df4c2548c2b7f3ed68d6ad5adf4c60c41e03190ba9cf897705d20cd35ea17aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.logicalKey == LogicalKeyboardKey.arrowUp || event.logicalKey == LogicalKeyboardKey.arrowDown\u0060 appears character-identically in 2 files \u2014 lib/widgets/common/carousel/themes/big_carousel_classic.dart, lib/widgets/common/carousel/themes/big_carousel_portrait.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/widgets/common/carousel/themes/big_carousel_classic.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6474e3baa2b7fac45e44517fcebf14e47896fcbb7c121da7ac3f55c6813681f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.logicalKey == LogicalKeyboardKey.enter || event.logicalKey == LogicalKeyboardKey.space || event.logicalKey == LogicalKeyboardKey.selec\u2026\u0060 appears character-identically in 2 files \u2014 lib/widgets/common/carousel/themes/big_carousel_classic.dart, lib/widgets/common/carousel/themes/big_carousel_portrait.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/widgets/common/carousel/themes/big_carousel_classic.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"18caa355a9b65538c4c0960023e1014433ee853ca47c9101e877aae122fb9bca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extName.isNotEmpty \u0026\u0026 mediaTitle.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/widgets/episode_list_builder.dart, lib/screens/manga/widgets/chapter_list_builder.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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc15a9a393ca6dc9b278c56e02e8f4b00afcfc0d6e40d957d795471b3e947a5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extension.length \u003E 4 || extension.contains(\u0027/\u0027)\u0060 appears character-identically in 2 files \u2014 lib/widgets/anime/visuals/visuals_popup.dart, lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.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/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"52059d7d833e427640c78a75626b699e489bdb014526dfca642670a0c25af752"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.path.endsWith(\u0027.jpg\u0027) || f.path.endsWith(\u0027.jpeg\u0027) || f.path.endsWith(\u0027.png\u0027) || f.path.endsWith(\u0027.webp\u0027)\u0060 appears character-identically in 2 files \u2014 lib/screens/downloads/widgets/downloaded_media_view.dart, lib/screens/manga/controller/reader_controller.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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77c36f05a2d295e8fb3c07b0ce9baa826691424d9081a05d3ba5311afb499e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060firstNumber != null \u0026\u0026 secondNumber != null\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/widgets/episode_list_builder.dart, lib/screens/anime/widgets/episode_range.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/screens/anime/widgets/episode_list_builder.dart"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0bab7363b089f190a5926956d07d3b87bc2dd4ab2722c5ae1e491db9cfdd9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasAppearance || hasPlayer || hasReader || hasExtSettings || hasDownloadSettings || hasGeneralSettings || hasAuthTokens\u0060 appears character-identically in 2 files \u2014 lib/screens/settings/sub_settings/settings_backup.dart, lib/screens/settings/sub_settings/widgets/backup_and_restore_widgets.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/screens/settings/sub_settings/settings_backup.dart"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf24576875cf33002b048d8100bb465b09cfdb0b4450e518a4cdb2765b7efe14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060headerKeys == null || headerValues == null\u0060 appears character-identically in 2 files \u2014 lib/database/isar_models/chapter.dart, lib/database/isar_models/video.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/database/isar_models/chapter.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a41ef830e316098281b33fe2d8145e2c1426fe5feb4d447b0d3bc6b5093ab5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == \u0027127.0.0.1\u0027 || host == \u0027localhost\u0027 || url.contains(\u0027127.0.0.1\u0027) || url.contains(\u0027localhost\u0027)\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/watch/controls/widgets/watch_together_popup.dart, lib/widgets/watchium/watchium_create_dialog.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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dddfa148318cba898e7319fa7ec6c2fdbe6f1a7737b7e579f8d5ac8254cfe17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isAnime \u0026\u0026 media.duration.isNotEmpty \u0026\u0026 media.duration != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfda3e1a9d2415310e9ddd00467fef111365abac46c8633d62194f94367633ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isAnime \u0026\u0026 media.totalEpisodes.isNotEmpty \u0026\u0026 media.totalEpisodes != \u00270\u0027 \u0026\u0026 media.totalEpisodes != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a48d34906d9c1a507888e3c9fb143cb36a940c47ec5961beda91947006aa0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isAnime \u0026\u0026 serviceHandler.simklService.isLoggedIn.value\u0060 appears character-identically in 2 files \u2014 lib/controllers/services/anilist/anilist_auth.dart, lib/controllers/services/mal/mal_service.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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":2366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2438161cbfab8a8eb1ac2ee470cc31158ac89fec28b5d6a99e27cfe14bbc99aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isGeneric \u0026\u0026 media?.title != null \u0026\u0026 media!.title.trim().isNotEmpty\u0060 appears character-identically in 3 files \u2014 lib/screens/anime/widgets/episode/styles/compact_style.dart, lib/screens/anime/widgets/episode/styles/detailed_style.dart, lib/screens/anime/widgets/episode/styles/minimal_style.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/screens/anime/widgets/episode/styles/compact_style.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c0f9fb7776286adce5837c07d64e743af925049462175e42ede038640dad3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isMesh || settingsController.useComputedBlur\u0060 appears character-identically in 3 files \u2014 lib/screens/anime/details/media_details_page.dart, lib/screens/profile/user_profile_page.dart, lib/widgets/anime/media_header.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/screens/anime/details/media_details_page.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28ef68bd240f755f9c0f52e98f35347a412ab5cd13321020a80b81cf993e23e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isSelected \u0026\u0026 (item.subWidget != null || (item.subItems != null \u0026\u0026 item.subItems!.isNotEmpty))\u0060 appears character-identically in 2 files \u2014 lib/widgets/common/navbar/styles/classic_navbar.dart, lib/widgets/common/navbar/styles/floating_pill_navbar.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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aed3eabb1bb2389958c1c00068f537f2b13dee8def58186f5de4fd972b8fc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.readChapters != null \u0026\u0026 item.readChapters!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/controllers/services/backup_restore/backup_restore_service.dart, lib/screens/library/editor/history_editor.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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"8957b1f67850e94f90442b3eb7c832e3f55650d908548c219f5e144844f2528d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.subWidget != null || (item.subItems != null \u0026\u0026 item.subItems!.isNotEmpty)\u0060 appears character-identically in 2 files \u2014 lib/widgets/common/navbar/styles/classic_navbar.dart, lib/widgets/common/navbar/styles/floating_pill_navbar.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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5936dc1b9014a22f7556be7a3d973fa9b18170bdbbd64fe71ad324c3040f30d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.watchedEpisodes != null \u0026\u0026 item.watchedEpisodes!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/controllers/services/backup_restore/backup_restore_service.dart, lib/screens/library/editor/history_editor.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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"71eb2c316732064e2f6b5d518a24259249552f4ba027da2e42379c43dfbf16b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m != DisplayMode.auto \u0026\u0026 m.id != 0 \u0026\u0026 m.width != 0 \u0026\u0026 m.height != 0\u0060 appears character-identically in 2 files \u2014 lib/controllers/settings/settings.dart, lib/screens/settings/sub_settings/settings_performance.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/controllers/settings/settings.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a944be3ffff569bba4ae74a5d295876c8ca1cf8df5845247f00786bd56ecd6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.name.toLowerCase() == lower || m.id.toLowerCase() == lower || m.name.toLowerCase().contains(lower) || lower.contains(m.name.toLowerCase())\u0060 appears character-identically in 2 files \u2014 lib/screens/extensions/ExtensionScreen.dart, lib/widgets/common/source_selector.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/screens/extensions/ExtensionScreen.dart"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"281bf7d5bea45dc6180b56bfe481ad62e957a4e7a682f89bfe9465a8378ab40a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m[\u0027is_infinite\u0027] == true || role == \u0027owner\u0027 || role == \u0027app_owner\u0027\u0060 appears character-identically in 2 files \u2014 lib/database/comments/model/leaderboard_entry.dart, lib/database/comments/model/user_points.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/database/comments/model/leaderboard_entry.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"629426fe322db478907cb7c7c1b30a49cff47c5b962c18d613c346e7f245256f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060manager != null \u0026\u0026 manager.icon.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/settings/sub_settings/settings_extensions.dart, lib/widgets/common/source_selector.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/screens/settings/sub_settings/settings_extensions.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e5a68ae176a85daa7ed762828bb1816ee9509d20f4cbb4861f00ede211240f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060match != null \u0026\u0026 match.managerIcon.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/extensions/ExtensionScreen.dart, lib/widgets/common/source_selector.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/screens/extensions/ExtensionScreen.dart"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5395f61fe274df746584ffa88e3a4e2036ee241fde0bc720be5c27a3d2c1c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060matched != null \u0026\u0026 matched.title != null \u0026\u0026 matched.title!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/controllers/offline/offline_storage_controller.dart, lib/screens/manga/controller/reader_controller.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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b970913e58e8e371bb686ca55cb283a2e055b74e7c7419403bcddc0e8a63721"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060matching != null \u0026\u0026 matching.durationInMilliseconds != null \u0026\u0026 matching.durationInMilliseconds! \u003E 0\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/watch/controls/widgets/bottom_sheet.dart, lib/screens/anime/watch/controls/widgets/episodes_pane.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/screens/anime/watch/controls/widgets/bottom_sheet.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"820f2330de728d56741dda4ba3ba5f2194c0f94c3d7a24b4eb64148305af266d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.englishTitle != null \u0026\u0026 media.englishTitle!.isNotEmpty \u0026\u0026 media.englishTitle != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5893ee497e60be214e82e6010c84e6da099bf438fcac556c9ec4efa60c099da2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.englishTitle?.isNotEmpty == true || media.title.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"135b3e65615fcc00c43433de31809bf47f5fcbcd96104208d98c99ded26c97bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.format.isNotEmpty \u0026\u0026 media.format != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"018ba004aba12cf020c7b561e8582ea7f1c3c6bc3b8ca3bccd3e8ff73c4454c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.friendsWatching != null \u0026\u0026 media.friendsWatching!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af2d6850f2b72aaaccc55854549d3afb8538ad566b240ca059b46b568ccff59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.genres.isEmpty \u0026\u0026 media.tags.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca99b4e5d194022665143c8691e6e75c4a5ba48a1722326a27175f0cc21fc8f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.genres.isNotEmpty || media.tags.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b640787768440837d8b57ad043f0632fc604c66fe06363107403137e512fecef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.nativeTitle != null \u0026\u0026 media.nativeTitle!.isNotEmpty \u0026\u0026 media.nativeTitle != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"df69dc425c59eaffd609e145f8d003679e5ba391d57270427965fcef0e2fc7ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.nextAiringEpisode != null \u0026\u0026 media.nextAiringEpisode!.episode \u003E 1\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56ad3a9147429a74a4fb21baf17a38dd22c91d54efc301d2327646669b3a19a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.popularity.isNotEmpty \u0026\u0026 media.popularity != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbf9c9a6670c45e15014c6e2e14589883105f93ef8e2ff48a96ed30f8ad265d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.rating.isNotEmpty \u0026\u0026 media.rating != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fc5f7b051cc35748d260c029d46ea2f23deb6ed64136c96843ac1f68247bfb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.romajiTitle.isNotEmpty \u0026\u0026 media.romajiTitle != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8385e7dd76cae4cb66e67c03fcc4093dfdd209ce39db479045fa8cc09d876630"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.season.isNotEmpty \u0026\u0026 media.season != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee746202ac495caa869b5065a3da8f152814108599f0c626a19934c197e29e4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.sourceMaterial != null \u0026\u0026 media.sourceMaterial!.isNotEmpty \u0026\u0026 media.sourceMaterial != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44e58a96d11cd0e15db97023baea7c1e63b7c49658f4bed86707ee8099394dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.status.isNotEmpty \u0026\u0026 media.status != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a22e854a80881f13c8612aa3349d198a13c802e273ac81e8d9d088c7f64d11a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.title != null \u0026\u0026 media.title != media.progressTitle\u0060 appears character-identically in 2 files \u2014 lib/screens/library/widgets/unified_history_card.dart, lib/widgets/anime/continue_watching_cards.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/screens/library/widgets/unified_history_card.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1930f87a2e5eba21966f5b70761b5f687c4a9dd13ecc2b650879c76393351d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.title.isNotEmpty \u0026\u0026 media.title != media.romajiTitle\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd0af5e3def59987bb098686275def4b731fef7366296720db738209b3acaa9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.type.isNotEmpty \u0026\u0026 media.type != \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"113938ea38645997f1d7374af918407790499e957072db691216b348601e6dae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media.userStatus == null || media.userStatus!.isEmpty\u0060 appears character-identically in 3 files \u2014 lib/screens/search/search_view.dart, lib/widgets/common/carousel/themes/big_carousel_classic.dart, lib/widgets/common/carousel/themes/big_carousel_portrait.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/screens/search/search_view.dart"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"516c7a399a372bf8c96dc7c561a63cd5fe85ec42aba7b1238b7e1fd38d4f90db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060page != null \u0026\u0026 total != null \u0026\u0026 total \u003E 0 \u0026\u0026 (page \u003E= total || page \u003E= total - 1 || (page / total) \u003E= 0.95)\u0060 appears character-identically in 2 files \u2014 lib/models/Anilist/anilist_media_user.dart, lib/screens/anime/details/controller/media_details_controller.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/models/Anilist/anilist_media_user.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"754fd3785a145d18dab5270c2c209c3650f93cbc54e8e4aa7030dba9c310cebf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pageNum \u003E= totalPgs || pageNum \u003E= totalPgs - 1 || (pageNum / totalPgs) \u003E= 0.95\u0060 appears character-identically in 2 files \u2014 lib/screens/manga/controller/reader_controller.dart, lib/screens/novel/details/widgets/chapters_section.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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f4e2f85e9e9603e531a164f76e416225414e553bb4974dea4a516324cfd9b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prevMonth == null || weekStart.month != prevMonth\u0060 appears character-identically in 2 files \u2014 lib/screens/profile/widgets/activity_heatmap.dart, lib/screens/stats/user_stats_page.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/screens/profile/widgets/activity_heatmap.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9556b6b0dd06aab6353fc89b13e4bfd992b40e15f24b607b07fbd0df6d664c07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ranking.context != null \u0026\u0026 ranking.context!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"84baa29bd7a58bbf9ab2386b46c84bc9135147e973c086dfa62ec66508211744"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ranking.year != null \u0026\u0026 ranking.year! \u003E 0\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eddbddb44de342942e3143022aa507c4ab87cb3d132f5fc203e9811352cdc5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw == null || raw.isEmpty || raw.toLowerCase() == \u0027movie\u0027 || raw.toLowerCase() == \u0027full movie\u0027\u0060 appears character-identically in 3 files \u2014 lib/screens/anime/widgets/episode/styles/compact_style.dart, lib/screens/anime/widgets/episode/styles/detailed_style.dart, lib/screens/anime/widgets/episode/styles/minimal_style.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/screens/anime/widgets/episode/styles/compact_style.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"da86a1247345b73e37a8ecd8cb715e5cda8ef530e8b94ad8966924a56a8fb61a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawUrl != null \u0026\u0026 rawUrl.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/fcm_service.dart, lib/utils/notification.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/services/fcm_service.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fea9a40c37a388d3d01d6c590026c465e5d58d591b020b2ead590703332d90c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reasonsList == null || reasonsList.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/controllers/services/community_service.dart, lib/widgets/non_widgets/recommend_sheet.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/controllers/services/community_service.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"912d5a99ce29f40740cf263d6c650a4ed049706e959a30be7f363726f98ff350"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reporterId != null \u0026\u0026 reporterId.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/settings/sub_settings/settings_moderation.dart, lib/services/commentum_service.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/screens/settings/sub_settings/settings_moderation.dart"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5206b125ef40c29d9e28364cc2db726a822ce875e9c078fa5b8ce8c4fbcc476f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode == 200 \u0026\u0026 response.bodyBytes.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/downloads/controller/download_controller.dart, lib/utils/media_downloader.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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2921}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e482caed860775ba7a1ff82ae292ebf10405269cbe0507a3f012367bbfd5f00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result != null \u0026\u0026 result.files.single.path != null\u0060 appears character-identically in 4 files \u2014 lib/screens/anime/watch/controller/player_controller.dart, lib/screens/settings/misc/sauce_finder_view.dart, lib/screens/settings/sub_settings/player/settings_player_subtitles.dart, lib/screens/settings/sub_settings/settings_fonts.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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":2430}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bd32348d39cc12461c32fda2aaad6d28c5c31f44da3fd3c7518038a78ff639"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.managerId != null \u0026\u0026 s.managerId!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/extensions/ExtensionScreen.dart, lib/widgets/common/source_selector.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/screens/extensions/ExtensionScreen.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6e941eab7dd0680c7de73c2d7bdf0e5ac0a1a3327f29f14f446f3eb724217e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060savedPath.isNotEmpty \u0026\u0026 await Directory(savedPath).exists()\u0060 appears character-identically in 2 files \u2014 lib/screens/downloads/download_screen.dart, lib/screens/downloads/widgets/download_permission_dialog.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/screens/downloads/download_screen.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d128757fd2ad2823bc44b16df92b55ccc342acce3b3772a012f4c724a723d1ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedFile == null || selectedFile.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/watch/controls/widgets/audio_popup.dart, lib/screens/anime/watch/controls/widgets/tracks_popup.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/screens/anime/watch/controls/widgets/audio_popup.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"36487e4d0b8d6d0789f3500443d02ea8bc54ae7110d5fb341e2c02b44db60822"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedMethod == null || !context.mounted\u0060 appears character-identically in 3 files \u2014 lib/controllers/services/anilist/anilist_auth.dart, lib/controllers/services/mal/mal_service.dart, lib/controllers/services/simkl/simkl_service.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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22200b88c43bd83bb5f57571e1f15c27f6c97c9951bf6ae0ccdd8d945fdc315"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060snapshot.hasData \u0026\u0026 snapshot.data != null\u0060 appears character-identically in 3 files \u2014 lib/screens/anime/widgets/wrongtitle_modal.dart, lib/screens/settings/sub_settings/settings_backup.dart, lib/widgets/subsampling_scale_image_view/subsampling_image_provider.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/screens/anime/widgets/wrongtitle_modal.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98cca31171676c4fcf1a2c0a28ec374d23ec0511463e9a84259abbfa0313818"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source.managerId != null \u0026\u0026 source.managerId!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/extensions/ExtensionList.dart, lib/widgets/common/source_selector.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/screens/extensions/ExtensionList.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b2842860923776d250a0eaf81bfbf274e4815df44dbb8cd22629c0fb7d7baf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == PermissionStatus.granted || status == PermissionStatus.limited\u0060 appears character-identically in 2 files \u2014 lib/screens/local_source/controller/local_source_controller.dart, lib/screens/onboarding/welcome_dialog.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/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa8bf0d76e65da781149ee73fb2d3747c4ce4b8a6d695c5837875d54922c233"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060statusLower.contains(\u0027cancel\u0027) || statusLower.contains(\u0027hiatus\u0027)\u0060 appears character-identically in 3 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.dart, lib/widgets/anime/media_header.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5eaa0248d3a3906cac46e64ab2116313bced0d1942e2f10eb4cd278546088e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060statusLower.contains(\u0027releas\u0027) || statusLower.contains(\u0027ongoing\u0027)\u0060 appears character-identically in 3 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.dart, lib/widgets/anime/media_header.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa49b7425d0dd3749b46138088e1d87ec84ab33edba342d4c3aba20ac94f208"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subtitleUrl != null \u0026\u0026 subtitleUrl.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/cast/cast_proxy_server.dart, lib/services/cast/cast_service.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/services/cast/cast_proxy_server.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"17318fa0737234c97e55b91989838971a1944f34cf83e9c81ae71f507debe46f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tab != null \u0026\u0026 defaultTabs.contains(tab)\u0060 appears character-identically in 2 files \u2014 lib/screens/library/online/anime_list.dart, lib/screens/library/online/manga_list.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/screens/library/online/anime_list.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"023990b05a77e0c66868afe83b9b37fc9d119fab5522077262be2d8be2bc2153"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060title.contains(query) || num.contains(query)\u0060 appears character-identically in 2 files \u2014 lib/screens/manga/widgets/reader/top_controls.dart, lib/screens/novel/reader/widgets/top_controls.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/screens/manga/widgets/reader/top_controls.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73b7aa07d28162b34e8a8453c55a495eaf37b5124d90139ee5faacf0069e298"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060totalChapters != null \u0026\u0026 totalChapters \u003E 0\u0060 appears character-identically in 2 files \u2014 lib/screens/manga/controller/reader_controller.dart, lib/screens/novel/reader/controller/reader_controller.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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d8e4b8f7c862c49a4b61baed5a57529180f7c25fcc9679fb4f3d1f364165c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060totalFromMedia \u003E 0 \u0026\u0026 currentProgress \u003E= totalFromMedia\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/details/widgets/media_stats_section.dart, lib/screens/anime/details/widgets/media_stats_section_new.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/screens/anime/details/widgets/media_stats_section.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0606347617f2e2bb3540377c29f543db13e0d39438b745d51f26ffc7ed4eb52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.contains(\u0027.mp4\u0027) || url.contains(\u0027.mkv\u0027)\u0060 appears character-identically in 2 files \u2014 lib/screens/anime/watch/controls/widgets/watch_together_popup.dart, lib/widgets/watchium/watchium_create_dialog.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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe1f306eb5c0bb7061cac242b5aab6e215d0981959cb11af072cca370d17b0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060useAuthHeader \u0026\u0026 tokenn != null \u0026\u0026 tokenn.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/controllers/services/mal/mal_api.dart, lib/controllers/services/mal/mal_service.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/controllers/services/mal/mal_api.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ead6632c451138430cea4a2408f3875a5aa04e4aff3cec3079af5c5d7934e66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userProfile != null \u0026\u0026 (downloadPath == null || downloadPath == userProfile)\u0060 appears character-identically in 3 files \u2014 lib/screens/manga/widgets/reader/reader_page_actions_dialog.dart, lib/widgets/anime/visuals/visuals_popup.dart, lib/widgets/anymex_widgets/anymex_fullscreen_image_viewer.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/screens/manga/widgets/reader/reader_page_actions_dialog.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d2cca4812fc8bd51c9efe5d40154cb7bc6fe9306ac0b8a5278d3fd3790e4ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060watchium.inRoom.value \u0026\u0026 watchium.followHost.value \u0026\u0026 !watchium.isHost.value\u0060 appears character-identically in 3 files \u2014 lib/screens/anime/watch/controls/center_controls.dart, lib/screens/anime/watch/controls/widgets/double_tap_seek.dart, lib/screens/anime/watch/controls/widgets/progress_slider.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/screens/anime/watch/controls/center_controls.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"85963f142e5841a736846f7cda555c05c991c18f32bd3a57a0b0d23b9885a26f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.currentIndex \u003E= 0 \u0026\u0026 widget.currentIndex \u003C itemCount\u0060 appears character-identically in 2 files \u2014 lib/widgets/common/navbar/styles/classic_navbar.dart, lib/widgets/common/navbar/styles/floating_pill_navbar.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/widgets/common/navbar/styles/classic_navbar.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"322f316500463d565131004fb013e388270f00a1c912ac2c6bdbc8e0d0072807"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.height != null \u0026\u0026 widget.width != null\u0060 appears character-identically in 2 files \u2014 lib/utils/image_cropper.dart, lib/widgets/subsampling_scale_image_view/subsampling_image_provider.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/utils/image_cropper.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3779fcedb41c57786daf812411a56ef45ac7e27f45c4f318352ade3a6fffb65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.isFollowingUser != null || widget.isFollowerOfUser != null\u0060 appears character-identically in 2 files \u2014 lib/screens/profile/widgets/user_profile_app_bar.dart, lib/screens/profile/widgets/user_profile_header.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/screens/profile/widgets/user_profile_app_bar.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e17e62ddff45d0c90337b9c48bf751e261178c9c2b2f07c429055f7252a6995"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.isFollowingUser == true \u0026\u0026 widget.isFollowerOfUser == true\u0060 appears character-identically in 2 files \u2014 lib/screens/profile/widgets/user_profile_app_bar.dart, lib/screens/profile/widgets/user_profile_header.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/screens/profile/widgets/user_profile_app_bar.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"652f1dd2fa125c769c6dff72fb5699691046d7263b5d59799096b8c3accc0922"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.subtitle != null \u0026\u0026 widget.subtitle!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/widgets/anymex_widgets/anymex_expansion_tile.dart, lib/widgets/anymex_widgets/anymex_header.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/widgets/anymex_widgets/anymex_expansion_tile.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dbc61ae05130da9ae9c27c48f651634d21d054e0eceb4d94afb1ff3897acc8"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): The JDK pipes both \u0060stdout\u0060 and \u0060stderr\u0060 of a child started this way \u2014 no \u0060redirectErrorStream\u0060, \u0060redirectError\u0060, \u0060redirectOutput\u0060 or \u0060inheritIO\u0060 is set \u2014 and here \u0060process.inputStream\u0060 (stdout) is read while the child\u0027s end is awaited, but nothing in this scope ever reads \u0060process.errorStream\u0060 (stderr). The JDK\u0027s own \u0060Process\u0060 documentation warns that failing to read a child\u0027s output promptly \u0022may cause the process to block, or even deadlock\u0022: once the child writes more than the pipe holds to stderr (measured on OpenJDK 25 / Linux: 60,000 bytes finishes, 70,000 hangs forever), it blocks on the write, never exits, and the \u0060waitFor\u0060 or end of stream this code waits on never comes. Nothing fails loudly: the thread hangs and the stuck child holds its resources until something kills it. Read both streams (a coroutine or thread per stream), merge them with \u0060redirectErrorStream(true)\u0060 before \u0060start()\u0060, or discard the unwanted one with \u0060redirectError(ProcessBuilder.Redirect.DISCARD)\u0060 (or \u0060redirectOutput\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/ryan/anymex/MainActivity.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"96539d5230f7feb67251efdb45a7440514502b413f544a4c089556f32559cc03"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060Comment.fromMap\u0060 is public and takes \u0060Map m\u0060 from its caller, and it calls itself at line 153 (\u0060Comment.fromMap\u0060) with a piece of \u0060m\u0060 \u2014 and nowhere in \u0060Comment.fromMap\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060Comment.fromMap\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/database/comments/model/comment.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f850ba4392c0fe075cb90ab10818902b6a421aceeca59a1edf2d6bb0ec6ebe08"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a CancelToken: Only 0/5 functions that make a cancellable request (Dio, AbortableRequest) accept a CancelToken or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. Take a \u0060CancelToken? cancelToken\u0060 and hand it to the request as \u0060cancelToken:\u0060 (or hold one and cancel it in \u0060dispose\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"767a6f188a93a9fdcf866e430f9755aeab7ca6acdd21a1a80f8ac4ef4cc6cf7c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: _downloadAndInstallAndroid: \u0060_downloadAndInstallAndroid\u0060 calls \u0060dio.download(\u2026)\u0060 but takes no CancelToken and hands the request none its caller can reach, so its caller cannot cancel the request once it has started. Take \u0060CancelToken? cancelToken\u0060 and pass it on as \u0060cancelToken: cancelToken\u0060 \u2014 or, in a widget\u0027s State or a notifier, hold one and cancel it in \u0060dispose\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/updater.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"c201e7dc37caf2816ff4bd29cbbf266f5acd47ab3afe2ddfc7557a1d32a2d549"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: _downloadWindows: \u0060_downloadWindows\u0060 calls \u0060dio.download(\u2026)\u0060 but takes no CancelToken and hands the request none its caller can reach, so its caller cannot cancel the request once it has started. Take \u0060CancelToken? cancelToken\u0060 and pass it on as \u0060cancelToken: cancelToken\u0060 \u2014 or, in a widget\u0027s State or a notifier, hold one and cancel it in \u0060dispose\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/updater.dart"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"55127f091c80f0a28c04c312190de3fd85714f0bd9c49ef096cb8a3787a8f3d1"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: _downloadShaders: \u0060_downloadShaders\u0060 calls \u0060dio.download(\u2026)\u0060 but takes no CancelToken and hands the request none its caller can reach, so its caller cannot cancel the request once it has started. Take \u0060CancelToken? cancelToken\u0060 and pass it on as \u0060cancelToken: cancelToken\u0060 \u2014 or, in a widget\u0027s State or a notifier, hold one and cancel it in \u0060dispose\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/settings/sub_settings/player/settings_player_shaders.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"513f902a174530ba1ec83271300a8ff3a783b375692d15d382df15972beef03f"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: getDetails: \u0060getDetails\u0060 calls \u0060Dio(\u2026).get(\u2026)\u0060 but takes no CancelToken and hands the request none its caller can reach, so its caller cannot cancel the request once it has started. Take \u0060CancelToken? cancelToken\u0060 and pass it on as \u0060cancelToken: cancelToken\u0060 \u2014 or, in a widget\u0027s State or a notifier, hold one and cancel it in \u0060dispose\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/local_source/controller/tmdb_api.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b866655ec529d3ec5016676016aabd6e0782e135e38517c0ae836ca2e8a930"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: urlToDcAsset: \u0060urlToDcAsset\u0060 calls \u0060Dio(\u2026).post(\u2026)\u0060 but takes no CancelToken and hands the request none its caller can reach, so its caller cannot cancel the request once it has started. Take \u0060CancelToken? cancelToken\u0060 and pass it on as \u0060cancelToken: cancelToken\u0060 \u2014 or, in a widget\u0027s State or a notifier, hold one and cancel it in \u0060dispose\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/discord/discord_rpc.dart"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"1047b2d294f4c8fc9cadb051703a3292b607014d53369b21011533384ebe8781"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060finer\u0060 at line 109 is called with an argument built by \u0060arguments.join(\u0027\u2026\u0027)\u0060 (line 109), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because finer is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/rhttp/cargokit/build_tool/lib/src/util.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49e3d6f156886fc82ce29edce9ed9bda5e41947ea33cb9e1c31101b9506c7f5"}},{"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/main.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"953015bd178e74f832d5d015e09a1a463a36bc9b8d89e703f89e6212920a0426"}},{"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/main.dart"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0548f2012a56cc1d9a7fe87f2498d2fcc135ef0d0bc785c67f4f579a832fd5"}},{"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/main.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c23032b050ce581321c0324ec240502d4c5324ab64c659db9b335b3d585e1b8"}},{"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/widgets/watchium/watchium_live_overlays.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdd4e43fed7fd8aa309b8b7e677392893f8e91424107ef6271b39402697de00"}},{"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/widgets/subsampling_scale_image_view/ffi_image_decoder.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab34915c80bda0780825ccfd04e3c9e28a8fa9010c18f9909d506beae0db804d"}},{"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/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e9055739fe58cf2d2c037b376807ba348b814dce2d75c831f1e14ed3a8595d"}},{"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/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29301fc435461728bceb19ef4ac3725aeb23e47db2ce85bb77f33acc451b5c1"}},{"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/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"176a468b635a4961fa26cac08ef364d1000598c647066a661782fd26549905ca"}},{"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/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b73c18a854ec810bd6866b5ea1ef46a1baf3b5ad8b250377339833be7bd33f"}},{"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/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad3620b48cba99d3756b9f8e75a587278c14a7faf4e17ea30d3b3e836547d4a"}},{"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/widgets/subsampling_scale_image_view/subsampling_scale_image_view.dart"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a399be55500a150edf382453cdf2142a2140bdea350db4f3b5b828eabb44a2d"}},{"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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75edcd150cb89df723bbdf3f2e6f925b66533b3d84174561f0ade1067e8ddce"}},{"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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"982aab87eedcfb36cd1cd263bb73e263e25d140cddbff1a20cd03f9134ac283f"}},{"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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82c41ad8f930c9a9a886dbeca00d663384750a97bbcbcf45133ab7ce30f4545"}},{"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/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1361e84d3f2e3174859ed961dd5e02971631bf67a4e1a1f7e9cab93adc12278e"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_composer_sheet.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb54cae654e92b95e5ae98ca3123fca3d7fff358adadc9371c7e48a31de198df"}},{"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/widgets/non_widgets/reasons_sheet.dart"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcd82c494fd79e16560575198e97d458dbb17eee06e2f2cc83009556a8b3204"}},{"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/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81682b73d301eceee4fcd215c2e3886b70610b0b14bfad582b6c21e2566c3dd"}},{"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/widgets/media_items/media_peek_popup.dart"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"923bdce99a26127159aa8ee80e35d1671b0bae9ad68c622532d9682cfeecfcca"}},{"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/widgets/header/header.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"3034b5c28b0f0cd56d035a6ec27880b329d4f155bef193bb6c197ef093d98aa7"}},{"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/widgets/header/header.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadf7db597b8ab7bd2c12b96ec2cc3e9f0bb77a1fd216fe6f82642ea8801f2b9"}},{"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/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"14900149f36e9a5bb19f76c0192241f59a5d237c54a98b821e5e5a653befc9ee"}},{"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/widgets/dialogs/logo_animation_preview_dialog.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cb621881f7d6814b484ca2f686eed9f850294fff9be06ce14bc51cd84c22de"}},{"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/widgets/common/anymex_scaffold.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"24542c23bb1d86a163ab6b22de97d1b130ce56631dede2a219600d7040e3a849"}},{"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/widgets/common/baked_blur_image.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c064c6eb690a773e26dfed8a90a434cc5fc2e35168d92f2503959888043369e"}},{"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/widgets/common/baked_blur_image.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cddda60efa2b3c0b3f633e7ce418f8ddf91431ddcfc4dbd51a4b07d61e8408"}},{"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/widgets/common/baked_blur_image.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0a317340e9916307af54ce79c6f10445b02f32579595c1c57c37d9e6eb06a7"}},{"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/widgets/common/baked_blur_image.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc381b4b49f0bd6d6f3f7f384cd64817c6b096f55b7aa13442a4acb0727f563"}},{"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/widgets/common/baked_blur_image.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f5ac94ec944d04f2e63b540fd512b3118a07e5f14bfde0d18810ca7eda73cc"}},{"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/widgets/common/baked_blur_image.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"b905dd1bcbd943b31c1e3394ac946f3dd0276193374e11d2dbfd7f25db3263c5"}},{"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/widgets/common/baked_blur_image.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"806eac2140eb8c1b324c9f099e720ceb3b016ec08c051e7bfd1f7d16dd54405f"}},{"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/widgets/common/baked_blur_image.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b568a695794c212a1f4f76753ef1f70389690d08d5c22dab64b594640e3d8ac"}},{"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/widgets/common/cloudflare_webview.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"706279c634b26d05192b1ebdea0eda4aa071a0842bffe23a818caa3acacbaf4c"}},{"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/widgets/common/cloudflare_webview.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"710632c66bdefeceb6c9ba894b43135831627ccccbc67b682ad26642af3e2289"}},{"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/widgets/common/cloudflare_webview.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca70bc7fa5792794aabfbb9f44ee9091dfac4e18c2a4407b2396bbdf30b0dfc"}},{"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/widgets/common/cloudflare_webview.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"302417a3ec50145a2cfd287c9bc687f1794d2ac93ebc28dc8d677395ceadf718"}},{"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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"30369953fdd192bdc94fdabe221af10a7ee7ae6fd5506ba0aff30d03f1252d7c"}},{"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/widgets/anymex_widgets/anymex_animated_logo.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bcdbddda1968ffa3d37af9bb28757b85acee1e53be183fa5476d9c276a78e8"}},{"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/widgets/anymex_widgets/anymex_decorated_avatar.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddde7d5298d56f6c7ba594af672c163a3b24f5bbc0ccc649759810413466b33f"}},{"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/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca14735a2baef293df2ba344e51177ac269a9e086d1472ab421f7f0fc35374a"}},{"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/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"882486d4ce95564eabc7042689748f2b29d271986440ad7d038bba346ab68667"}},{"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/widgets/anymex_widgets/anymex_fullscreen_image_viewer.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbed5d5992106f2a920714ef7dba06db050066ee69485d8bff72cd7608b2231"}},{"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/widgets/anymex_widgets/anymex_image.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04643db0cd306f076ebeeec785597ecae29c6e3fdea50be98b7c038266f6d4f"}},{"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/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"49257512924c24ae5b56c2b7092f53c04ca2d4d0c7fab1afed5076b7011d623b"}},{"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/widgets/anime/visuals/visuals_popup.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6366ba6fd2a31cdff5ecbe486d44717438c87d9cefc95d998c4b405cb7a24335"}},{"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/utils/al_about_me.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"681a56e8d85347eeceea5feafb393ee26c900866cbd99aec1be610847b3cce48"}},{"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/utils/al_about_me.dart"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c677ecbf5044f846e77f5d7e8a84dda5c091efee7e9f2236db1800164eb869c"}},{"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/utils/al_about_me_helpers.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b40a1cc38dc393df387cbde0f95eea9c9889ecc118d72d2c9159deb54054233"}},{"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/utils/anime_adaptation_util.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03aebbf062ea947eabf4345ef138175c481ca8f013c95a4b3d98982364d6651"}},{"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/utils/anime_adaptation_util.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"19738cfc470bba6dd03cc9d1abbc324276041168af965cedf7830cc6cb565cca"}},{"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/utils/anime_themes_api.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29fe036369c8b1f0b7fe8523afcb9f4422534c9eb1d0bb9b20a72b6ca05ad42"}},{"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/utils/aniskip.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"249c763cb36e1d16fcc5a7d9a403d9c313ff36f6e2168b9137a1b851f05dd242"}},{"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/utils/color_extractor.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0ef36b98a9ad55132b5b339f0fb8469422f5bc0befc351e2779dedb1c7cd3a"}},{"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/utils/deeplink.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"086088649b95c9e8b0b20d3c93224035d83349239148cc112b6095cb5dc7e752"}},{"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/utils/deeplink.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eb9ac775d32a67651e90bb4414f9f45e12d0de4b0637b6f48675029f7cb407"}},{"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/utils/download_isolate_pool.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"361eb81d8f76539270efaedf56dd7cac8a15e66fefe0532f28818752699bb7e7"}},{"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/utils/download_isolate_pool.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5881ea89ca03aa117256022c5f74944ae0f8bcb8663fe473266bf6c2e73fd21"}},{"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/utils/download_isolate_pool.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59fc212cff4624de7f8c70ea82fef59669dbd26aed65fa6a859ccd6515568b3"}},{"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/utils/download_isolate_pool.dart"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead831b4828b4bad4306108270596b5390d36e3a9c1a10d0abf71ff49cac2b2c"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/download_isolate_pool.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd4ce9fb4f0e2f9d3f542ba4c6804b3a54c3b188e3cee9e30163c9037970ae7"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/download_isolate_pool.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea80227cbe6732ab503287ab5423602bc91b8ea8e6684bf6d20c559979f712e7"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/download_isolate_pool.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec82c86285dcca84bbb72f3b51074bc43bc628ac6157fc64c75a5e5ddcbe4073"}},{"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/utils/download_isolate_pool.dart"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d9a66a36978b5dfb422142e6fb4f58341d173ff37502d6ee8ec88d949b952e"}},{"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/utils/external_font_loader.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67a2b56638517f3913ae8797bf365c7c31bf2a54017f6a02951cfd4f77af86d"}},{"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/utils/external_font_loader.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"24326a0a58018d708787be880d568b0f4229a93b7beffff623ade9efffe43fc5"}},{"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/utils/external_font_loader.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68e1d4dc428c9180df37eec47d7007bcfe21200e2d855518dc68fae9805aa9c"}},{"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/utils/external_font_loader.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"502aa0de2d7a28c0b063130fb698429f93cebfe89c69df6a1120d769ea88aa54"}},{"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/utils/external_font_loader.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c9fe2077329a46b5e4e6cd0bbd7ca67542821cc326cc915658883f0050ff48"}},{"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/utils/external_font_loader.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"590fefb3a0bc36af5dbb9b92df179752be7a6fec4de98b5f2f55086851e20aa7"}},{"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/utils/external_font_loader.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ad00aef57331bdb9ac3db8fd15d40e6484b86a35a3de4dd74d8ef3be7fb2e8"}},{"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/utils/external_font_loader.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2855ae0369a30f5bee2bb896ea61eef2e3091aeb39b27a7e8f2ead6316e328"}},{"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/utils/local_thumbnail_service.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b184ad10119288c3f359881d9a71761e0b5b1b219c1fd56a4c17b9c6316fcb"}},{"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/utils/local_thumbnail_service.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4063995f82c790ae44ae8632ab251d17ee59f1b81cfffe142397961536e6ad21"}},{"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/utils/local_thumbnail_service.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00a171f1b25c2647662334c2b71a041d6f63250b46e0f203ca8b38ff8993e80"}},{"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/utils/local_thumbnail_service.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b39a29ffbfa3bcac2c7a7645f3b9c009aee5910fd1b228ddf57d3191b6abbae"}},{"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/utils/logger.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ecd12bb4fae1e0d30112581e27323bf9ba64d0a4c961576f85be0287644f16"}},{"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/utils/logger.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2e81feccac3e1ee07de90d1f3ce36e079c5f68761521549c984da9d27b380c"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/logger.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa36afbb1ea50f2092b70a926c3476e6529cee6e481846bd229b9a072b53780"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_downloader.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1871dd70b9f52ab6ef4b3b476dd23b4e0dc95e454d3c70b647a6e42b6a545d"}},{"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/utils/media_downloader.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f4eecfeb2fa538c77bdf061e6ad0383c97e6c845c73b5dd291dca2a4b1df69"}},{"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/utils/media_downloader.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"af55d560f5f52ff39f89d22bf2b98eae67d989c0f7ac92b111932abb57698185"}},{"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/utils/notification.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cad34021199301fb790007fd1e99d3ee5bc6ca3f0cb80de263f47deb3460c2"}},{"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/utils/notification_image_helper.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ddf588c728781b1b35b066f35077a78f83167f10e0f868543659dba8dd808c"}},{"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/utils/notification_image_helper.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8136061b1a9d393c9e76159f4fc1bb2dce85efd09cd618ab16d429c4186f406"}},{"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/utils/notification_image_helper.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"efccfa814a5ae5948ff4d32415c6f5c4655afeb7eb15c85539a7ea34d3a35750"}},{"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/utils/online_subtitles.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"999709e25a27af37adf68d89fb9bd6b3a3483460fd20809308a0318108389db2"}},{"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/utils/online_subtitles.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dea5a9b4a5c9fc6849fb4e74e2c4ec79692824f639c9b064b311ef2dd82fec1"}},{"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/utils/pip_controller.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96da09f3c2c0c95da25e5e567f4959907e5e29f7912134e7c62ba66302c50d5"}},{"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/utils/pip_controller.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"766b88adb46c585d765fe4fa6ac1b7cd68c6597aaa02cbb2504abcedd82813c2"}},{"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/utils/pip_controller.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c18ec1b410868d5fb859412f30336ad29542d0b8ae25031548951b43662a6da"}},{"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/utils/pip_controller.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"faec9217da2d4255cb7a0ced8442c136dd0dfee33e6fc1b3fa2a35328e2ae195"}},{"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/utils/pip_controller.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f645d3b55c49cfb706da0e39a286b4c57bc4c793a808fc75fad027450f8ddf9a"}},{"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/utils/shaders.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e484ce5c3cb51841d770cb8cf72f488a3c30b78a85f7c0afc7523b5c051b33"}},{"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/utils/shaders.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cabeec8b89151f58b84d39160dc1f6f3aa49b5a38a755058b3dee9caff12815"}},{"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/utils/watch_order_util.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f3934223952a22a561da4b77072a800cedd7123c25399aeaf3fc3ca83e98c7"}},{"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/utils/register_protocol/register_protocol.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab1f1cf935c6a427b077f54f17641876e1a5c52ff62dcc55e426824e1d58ab8"}},{"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/services/commentum_service.dart"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4ab80a10d240c9dfa72120e552a7b25c4b85314f777eb998096f58173a9c71"}},{"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/services/commentum_service.dart"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2d4b91c97094f06e8f9b1a0ebeea99354d2d4a615b467ec9f4efed1d54c3d8"}},{"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/services/commentum_service.dart"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5d0dff8832ca215edb19d65b2e934a4a1571328b6c54f224733f7f0fed7bf8"}},{"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/services/commentum_service.dart"},"region":{"startLine":2088}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c62ad537e53465ef87c9ec6118662aa170ebae783e0f6ceeaa08a7a6e36d538"}},{"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/services/fcm_service.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c751192fb6986b999bbcde0dd034582e116b39cd65c012f4beb23925de418c"}},{"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/services/cast/cast_proxy_server.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2221e2c5f65f2d1a541ea0b18939092de00d0f2054817fac23bf21244785a474"}},{"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/services/cast/cast_proxy_server.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b86d46111b2e7af857c12afdbfd2b611b50b2357ce646fa221597cac06e341"}},{"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/services/cast/cast_proxy_server.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd15ec4ce5f0924eec18237b18afc8f6e1276cb73fe4e80900203fb2ab822daf"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce27e0d13fbcb50b452af3c8a6ad599210c6296f2a1701a7fdee0b6863f51e43"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d64f5697a5a9d8c98ddd33913c2337899babf42681f7662141a98bdd274dc0"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b6f728e3016742fb2c3a407c3f5e9928e74b24df0cf84758223c725d54bbf1"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"078ca4c8db17f7c0c06953b16f60a3545af15ee1d1b16554f182f8728a77d0e5"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d3084dca5b88e495d6522e29c38f0bdedd2f289dd15d3d51377da0be9fa279"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66bbcc07b0396789401df81881a5e4af686c1746f0edd8df21663e7425ea743"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca244dd71037c5bb5960dbb3385440d30cf82dbe23272782eb82327d7b9b0c29"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42262d30e8bdbeb600bfeb63690ed9af4d3ed75de8948789ca4b309c2320af0"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea4e8b355efdc04f9dc9cab20a507f5e078943eaf70e51cac382a6e0fd6edc8"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c331c1be6e99f0be85cd41e263eaa28011d8251c7ce67f98c750fff38b7ed6"}},{"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/services/cast/cast_service.dart"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccff090a6c8fa587bdcbb3256db15d35ebfa49bb385ee8b7b3e91f3eb25dda1"}},{"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/services/cast/cast_v2_client.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"62194b2a954819b86c9e452baf40a777d32edae70e066a22d9e7246efae2619f"}},{"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/services/cast/cast_v2_client.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e782a84de0bb3764381a25fe64f3de97286a8eaf618a733be141686282e476f"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/cast/cast_v2_client.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ff5be35fc6b715f8b453990bde24189eecf7f5983c4ca48002c530718e90fc"}},{"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/screens/watchium/watchium_page.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4974dd113e4165c4fed740d338e702444538e4cf5ddd0b80a5843466355a620"}},{"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/screens/watchium/watchium_page.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d4a309350cef9b4b36dca011225d5b75ea6a1cdfe87c99555ece81baf3ef4d"}},{"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/screens/stats/controller/user_stats_controller.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c586bbca3f2df79ebddb318710545129560bc862f04299674dbea9ac1266eaf"}},{"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/screens/settings/sub_settings/settings_accounts.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b0c1219076c9b1869f502649ec03c5fd6476035a1ed07c67148a1850e7eef3"}},{"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/screens/settings/sub_settings/settings_accounts.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1faa2dbcbc6ef226846fd1d046307d246cbb5bfa24b8d0c428e329f1083ab9b"}},{"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/screens/settings/sub_settings/settings_accounts.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"42096123fd36a3858063473ee4a81ce821b2f4d322c682b9e8e6d3dea96f9802"}},{"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/screens/settings/sub_settings/settings_addons.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae31dabb0796d1d170f804527044e3bf8d9c81de9adb4afd81ba090854a6ce69"}},{"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/screens/settings/sub_settings/settings_extensions.dart"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e872985eda79fba6fd6c8ee2fd80b4976631b95b6c4a93a6dbdf3eea9f0aaf"}},{"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/screens/settings/sub_settings/settings_extensions.dart"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"5488db74ec8909608bdf185e4a4c9819e37d200acef92e12a12bd49b7c5e3e3f"}},{"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/screens/settings/sub_settings/settings_network.dart"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee21602960911471aa115000d1dfb57036554745c8a0cfbac62e04b7f381e724"}},{"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/screens/settings/sub_settings/settings_storage_manager.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9169b167565a5e4e56bc3345fb422c448f5928e215f29f4410d2cafc4916618"}},{"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/screens/settings/sub_settings/settings_theme.dart"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd26e0c39946739f5d8b8e04112be71973eafb3bf30eca2051c28da761c4911"}},{"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/screens/settings/sub_settings/player/settings_player_shaders.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c914068ecc9ab0069839827603b33730f9fa8970bc8f93e57a7740b94025dd90"}},{"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/screens/settings/sub_settings/contributors/contributors.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a51906cbe225f89678cf739e8746f8f264e2f74fbac1f78b8ec78ff4f9803c"}},{"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/screens/search/search_view.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06b335c84af822944ae7ed7405ad3fe572bee541d3351664fe1b35a5cf20846"}},{"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/screens/profile/compatibility/compatibility_input_page.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc4167f573943f0a4b5ec978bfd03e216de355428096684f25cff4682d362ad"}},{"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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e699765ec984536474de1314b3084efb2708a07fa46c3aa2ff63f24c77c02b5"}},{"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/screens/profile/compatibility/compatibility_result_page.dart"},"region":{"startLine":2747}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad598b4c2ee40c78d050d021be319b3fa6650a9e061fe14db98ff77899f53cc"}},{"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/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e6469f4f87c72b71706ddd0ed4369e227dd6e9947926c06e05a5eccca35a4"}},{"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/screens/novel/details/controller/details_controller.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46535ac0288c4eafbcf1ed02241453a1f6c757e250ee2fe3fb4a4bceaaf45d4"}},{"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/screens/notifications/notification_controller.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f59d70b1957f7f69d62511cdd4ad5fd33c70d658258accef6996e83638733e"}},{"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/screens/notifications/notification_controller.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc17082701b5d31622411181c6c2813647c9d857aafd044500a1f4f44645d14"}},{"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/screens/notifications/notification_controller.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63efce64a8151643486d2f9382153c30ad56b3526a77590535d99a94abb6cc2"}},{"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/screens/notifications/notification_controller.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"edebc54a7dcf5e8894aab69a5160ccc5eeb71b59bd8d6de050238ea71fa30991"}},{"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/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6679e97647e68f0ef0538879505e090fcca01af801b1d4fbce0bc14cffc25784"}},{"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/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3404525ed9fddd9d6be6d12c75cf7c0b13f848333e57998fee677372f4606258"}},{"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/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"06320d59ad01603eca92606ecfc41bc46634a36b4276669560377d72cda947ac"}},{"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/screens/manga/widgets/reader/continuous_reader.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"75410f12af7f0d37d2a9310e88df7708a4964425378ac37f900dabc98005ced1"}},{"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/screens/manga/widgets/reader/reader_page_actions_dialog.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"43872abf6c65738ef069d5bbd76398ff97624bf60d007fd44442073d53665036"}},{"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/screens/manga/widgets/reader/reader_page_actions_dialog.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8b5e879850315ffc1a0c3eeb7a517b757e80e796bf2ef134043334959c60c0"}},{"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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"3422e6f08e0e92cc352e3da4f6d28256f75a45fe398b79297a5e420417b6bf98"}},{"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/screens/manga/controller/reader_controller.dart"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cdf2e269431d688a2a6747dc1d6f66fb6eba34b6725e669e1e2119240a47d3"}},{"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/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"2461075c54252e9ba4fccb3ceb4e5cf86ace5b8613d19c893fd8fd84797ac41b"}},{"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/screens/library/widgets/history_model.dart"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6758fb36fe13abc3bf1b3580a9eb553357cabb434b7950b72038085a8fad105"}},{"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/screens/library/widgets/history_model.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"027e03461bc1003fe1a2839dbeed80dc39a98b9289e0de4f4bcecb175594311e"}},{"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/screens/library/widgets/history_model.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"c296af0331cb5bc05b1349dc309a836755aeac3dbfd1d635e91e89129bedc7cf"}},{"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/screens/library/widgets/history_model.dart"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"d837df28dc510346e116667a020200641b6c0387cc339a9fc591281f615476ac"}},{"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/screens/extensions/widgets/plugin_manager.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d89e21b0478ceb60971361756beee6403e8bd5d0cac94f9ed66054b4e6f4c9"}},{"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/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3cc54414e0896a27d1a13c4017b079802859c611af0877697e8d3ae72f1efd"}},{"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/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1efafe9653fbd6d48396cdcfe6e38385790dadcb2dd8c5df781185411d2e0d"}},{"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/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2919649e27b2b455f132d09d3046a15cffb38f361d2158a8e99c0e7022e0d51"}},{"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/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"685393dc66372025d3734ff4de5f6b153d500d980e9b8ec66c9efa5e23bec77b"}},{"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/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a08bc243da52809a5b7d7032db8c1dece539a63cdaad2ad8e44e66c378207af"}},{"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/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a699985968fcb5c721519a4f8b2dca5d5562e3b512c278da603c7f783d35763e"}},{"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/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"068ca9b8ffc26dc1625061edbbccdc08dab416748157989c0a24e091167390cf"}},{"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/screens/extensions/ExtensionSettings/ExtensionSettings.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"397ffd4b3a49d7f08d52ba99d3ab666beb1d37dabe83886cd9abb5e6083cd948"}},{"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/screens/downloads/widgets/downloaded_media_view.dart"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fabd8ab3fa1b3e4a5af61854f7ee7e5226ec223bbcb56b097bcd2866807f95f"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e03ee8eb514342a3dfad534fb74828f700c6adc2b82017f5d3ebae51ca3d085"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54c048af8a08e1bd53a06aa0d28d0c176494d937b5489b4a3551ffafe48c6d1"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d42001bec59844de58a1e30b5207bfe3185f761db2ea0f46d15d95351428210"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80ad6754c464ce63da389c447eb561a9f99e48688becc1bac838331fd611d12"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35702da212a4190de44109fc2be9336cd302c4a95b8085b394a962f96326c2d"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16a87651ac02fad536320bc6b95a1e7a015e39644879caf40fabbc44c4adb6e"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cf119c420db3997be49721ce11405b426be39d4b08b7d5d7c7183759504507"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"703bf89e1b9605949d9fb2b7d0c2712ab4e9154a0d243160c80b20b6bd44c05b"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"8017169ebbf9540cc750419eb3774794bdca2ed05d0ec80f5b7c49a1bbe02a4b"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"75761f00fd6781f804ac02c6d15109dace53815407a1969ae67f4591c4b167ad"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dd1ce4df632dda7cf33de8e556517813599ab97248926c6ea3901aa7ab6ad2"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9152110384d8ea6a75c525322ba4ac86e66868ee19315e3d21d795cc55676285"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e348e1ec9746a45a73ac4caaf2fe6d0bd39ea0595d88bb9e2a28c21e435c2d"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"81774232a5a75625470868a38451757ce1750ecd6b01c44369086d6cda1e57a1"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f5d6e95e326c9a06a59d8c5b502780a4c4343b6153607293e325d4fe43f877"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2223}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fa61265d06f45253a931477f4b88fb75afeaca29f7c833b79ba10c3309ce6a"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"186ac47cf00cbfbdf574cfc32c7b2319a903c6ce338ec905816d93440acd069d"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7f64af8cdbd3d4b3757e9cf22e84e25574fec9d29075ffb75ef88f113ca73b"}},{"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/screens/downloads/controller/download_controller.dart"},"region":{"startLine":2470}}}],"partialFingerprints":{"codehealthFindingId/v1":"41580e2342db12c891ba57c65d22ada4bbd31a268b032de0a61b9b0fb83e1851"}},{"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/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2355be4d9a3775cf9d9b24a36a9c686de4b27f9230e02c4f35b1e027f6b57a1b"}},{"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/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea9f2c595fae0175788b2a5337ea6bdb8a20237adb2a1fde4dd0421215dcf3a"}},{"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/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7d7b29bf957aeb47d984d6666e6eda6a6c05629f7a57517a04c66869f01511"}},{"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/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b42a4d334e9c3011ae1f7e60c8d405be44acb709c36b6bfbbc05f1b06933bcf"}},{"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/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"d153c48ee79000734c8226f2023a1f0625a164b8a9ffec9f2331c803b40f5336"}},{"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/screens/anime/widgets/character_staff_sheet.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b08e8153f87c49f5747f9d8acfbd23f363e503a908318b8f18f31c84b72b01"}},{"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/screens/anime/widgets/comments/mention_autocomplete.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0d7479f67081c33a46bdfe4a453504fece7b8783fd5f555ffc1041787baaac"}},{"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/screens/anime/widgets/comments/mention_autocomplete.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"524e234f44f3764bc7cbfad9d815a8207e492e07a59f1bcefb32a96e564c4edd"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/mention_autocomplete.dart"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"912ac6fc6ce945840d0b0ed9b92563bb0958cfb25244eb1c09cc638c2dd2cfd5"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/mention_autocomplete.dart"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"428c46bf16eaded061b4cfed88983dbbdac5daae59f0183cfa6af511554e34bb"}},{"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/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56cf832e78b7b3113c599d8545cfc55cfb3a3e29a33cd495100bc408316e6ba"}},{"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/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f4ca2e881d26176136ea68f6e495c1af559146a0224ce8230c49a34b1b656b"}},{"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/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c40d7c53790a19b6d7a96850b2fa30827d60b57a5fafe2af30a0222ed3680f"}},{"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/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16f279e5e5605551f19a6cfd72840e66296ce59509018e67cc787577c386bcb"}},{"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/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3906d0028ae641439077835e8d204e0bb12fa1bde6297fb3390eb006f091add"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/comment_input_bar.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5ac099f35cb99adb417b92b564f1e2e1ca500d2c615760570ea2a2426b5b64"}},{"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/screens/anime/widgets/comments/widgets/leaderboard_sheet.dart"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"49916ff7fee55ad0a7b1826569bac629c44cfd58351e2881683c4b8ec3aeba9e"}},{"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/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"f022d0f639c9762f6c806e1cf8bfcbea6d9e40beba702966b40930c5035aa63a"}},{"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/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ddbc43c074426e5abd65eef75894fff1e9f2056dd72d82b46e47553421b475"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40450f033fc657e97e7ba2703a9fa9074824695529579cd33d3b1c0a4f0de68"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c481f29e2ece656c1682b2c713ea71c7ce0ffc4c848d45236d723c2836546919"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea96e2b988ba5469545850d774ef39fe895666d4bf09032ce99cb26ff8c76a0"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6ab187bcc4b9a4b2d69194fdd28b52cb8bbf6d6d68652a8fc101530eff7f5e"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa4e32965c72625764901fab6a2039230a83f6e85f245e9241d23d5c517eeed"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"283dc0178c33be92205ace7398bdff200c516ca9405f800dba6c3194699bfaaa"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"212b5878d808d6e78f2ffb7d738620f2429fc930c8e76a6d4d4ad3f45043d4bc"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec7f7262561e95e51bdcd463989ee185ea9205fd0dd0842a1f43874e7fe8d02"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c13685588d5b5f825ee4e34c8f67d12e315fd690ccff9c09e96764c64448213"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"169bc9e5d563a20bed6ae017cd58f5f391a07297861699f93831a6e6ad603922"}},{"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/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"df39c3a9a87bf40b126da3133118b45abcc501b20462260913606ad06f5cf817"}},{"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/screens/anime/watch/watch_view.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9521271073b00a08c375bcffecff4a56d8898df50d669f7b1b98831653fc8ff"}},{"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/screens/anime/watch/watch_view.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9db35bfa93d802d2149bfff7d20aa0e08f358dd72a10f98f55c20b8c7849b58"}},{"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/screens/anime/watch/watch_view.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bfdfc592e452450954fab50a7bff3ca009004c022fcbbf01b077a9a95da5bd"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/watch_view.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea161670ecbb5e47fb4fd2c96b019c1a3c152afd3114b4bf2a2c575c0a054da6"}},{"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/screens/anime/watch/player/media_kit_player.dart"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b5dd364686e7721ca65a7dcaa001c0c98ce938972d41c7370ee344af99a119"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/watch/player/media_kit_player.dart"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6a6a118516c88b1d28b3432d26ee3986d9ab1f6d1b4ad423cbcde012e52402"}},{"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/screens/anime/watch/controls/center_controls.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e36da4da2c3c6d423dd096b77873b7de3aec6f8a5c513f66984f9550851e3b1"}},{"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/screens/anime/watch/controls/widgets/double_tap_seek.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b97966cce9f1bb8c73028a42bbfc82a4b71c767df4938ce589c704dc8bdff19"}},{"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/screens/anime/watch/controls/widgets/player_control_buttons.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee2dbb4735a11fc3f72066c842bbcbd1f15881e4eddd180164741ae95cd7fb7"}},{"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/screens/anime/watch/controls/widgets/progress_slider.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"147d0eefa3089f623e7535a43a8d495a351751fef0bc7ab2f4774914206bd3ce"}},{"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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0f87c0d6efcd10d1e6870c66b9da0bb983586034d61fb34534996dc0612d6f"}},{"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/screens/anime/watch/controls/widgets/watch_together_popup.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9d4e4709252733294f484dd24b74ed45ec56d33b9bb73f0acc6631a63cb116"}},{"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/screens/anime/watch/controls/themes/setup/json_player_control_theme.dart"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cbd48d0b2a28ef02c1118a9cb218ef4a5a74886caa5da84616b78bae6a0b5a"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"a441b5dca9a33f3e2f87032fce599d14703bff57112bbb73d465cc8885ea8fc5"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb21e7d955c3927acd1345fa0d6b387bc5ed90529ae07a2685c5084754de552"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbc79cdb1bd8fc6e061f96b4c50c55217fe6f4183d2a3446d9e93adf508cde1"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ceafbc29e9c6c6a68ff92ccffa1caa350abf319cbe7c2a20d19af8b321bc5e"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e6274b294197c0fabc0c7fd7520bc5a3a5d11f8a7b83706f80ae722ada6eec"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5879e2f47f8b4cf3d7bcbc4bd1d7a9a8d870f002eb040e541dc3aa94d718164b"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e47d63cf120a7f1013257b4e4a461d5d57267e11f7bf25bd88dc8190046d03"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafda4839a3d4d60a140fdd3ff7e02632ce004a2926681274d0b1ca4071b0a57"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0358cdcb625703f75fd153059ce8da01c3c6ce040963301cdce00afc69138bd2"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f749c556d79906369ede6aff84f8a76579591f2ec9aae1a08f67658b9f414b"}},{"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/screens/anime/watch/controller/player_controller.dart"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aeb1b51cd562a5d97ad316d1d32c931fc022433c7fb246c3e71fd5ae72f6d38"}},{"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/screens/anime/misc/calendar.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a728ff5b3a107725843ead14623622855f1064c7cc7e7aeec8852f6f1e79ad3c"}},{"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/screens/anime/misc/calendar.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"be74af9825facf46d2c16ec51ea1340c1fff906805dfa5cadfc460f18864a85d"}},{"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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ab0d25794a39140d50e09c28dd6ff4bea400c1b7a36dbfea66621d6743b12f"}},{"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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6418b79ffe5f24f7f8490fb4765654b3f98468f0e75a2271268d52db588488b"}},{"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/screens/anime/details/controller/media_details_controller.dart"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"224aa039f5ff8757f6919ad17f6f7e3a8a0bc4ee47ee4ac17f159c71976fd310"}},{"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/repositories/tap_zone_repository.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"59efff59c2e665e71df5096632dae20739bd87ce911ee867348225a8a44d6d86"}},{"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/models/Media/media.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b59eea770c7bac3de19a9a4c7d9b2b5f5a0a1b1058d092fc0b27956fd10b2c"}},{"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/models/Media/media.dart"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b79d3ec83dda554851243c5341f1e1df74d789b167fc9579e79d4a26356f20"}},{"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/models/Anilist/anilist_media_user.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af8af71fb2bd7f961102a47c05f06b69a4a79892312b6e38cdcf220723eb5ba"}},{"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/models/Anilist/anilist_media_user.dart"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa6ea828bf86e61e2f43499a040b62c5d1c9c628077aaa16f2951d891e156fd"}},{"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/database/database.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3b34fb683e78dd39dc9b69d6b1d4af3f692c7df6336c781ddc8b62c79d93ad"}},{"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/database/database.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b26653a9d597d82c79fbf9e84e5e4308eade8aff79661ec8ab95d7a6a7a8ab"}},{"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/database/database.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1590dd8feae34341a1709e0409bef9e14905cccc46726d3b35279ffd6be17bd8"}},{"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/database/database.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf750ec78a12d97ae19204c0f208e225fbacf4331652288e5979dd7905b7378"}},{"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/controllers/watchium/watchium_service.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8563f9ca5dd0af20fbeb93f1b516d4a652a630552108369a1af3eccb29626da3"}},{"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/controllers/track/track_binding_controller.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c5a4929914045ca529d8d14b794e1c5052999dff33026862b2c6f4bd5ebd7e"}},{"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/controllers/settings/settings.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"759534fe209a39791893ce0ea35acd0fbbf0033c09f0069e005419e890cf8fc8"}},{"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/controllers/settings/settings.dart"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae683d0b44d09017d069181118ac44bb66edece7cee1004200678bcacfff776"}},{"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/controllers/services/community_service.dart"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1eed6b9c77c993377834775087067a0b969452f88cee96e90fc5d1718c504a"}},{"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/controllers/services/jikan.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c625ee5810c82e9759c09c3c7b59ff186f53f1dd9510048b4f129e5ddebf0d"}},{"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/controllers/services/torrent/torrent_service.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bfc44922f9b58742f717b07364961419a71d5811243c627946ac7889aa72e8"}},{"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/controllers/services/torrent/torrent_service.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b416660d747ce81705026765b9ce3de5f97b1624979b2a5b78c969c3f8a4814b"}},{"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/controllers/services/torrent/torrent_service.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a61503e20a8b4700b808b8d32dd5e3116ab99f65537ad2a64b4f5d40dfba51d"}},{"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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"444287a838ddd25acc296823dee39d121c257f420ec3e7e5bcdd9460222204b7"}},{"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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac11faaaba8af970710a63a4c1eb85b6a1a03cd1d606dddd67b180ef3494a6eb"}},{"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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec112c8f88d0bdfb3ad426f7c69df2708d2c489ab3d4274bc12e17f9a32d84b"}},{"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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"475f7ccfc320c1b590851d32f2eef1ed022c5adf017f93840b5b84a3a76d7fa7"}},{"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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e8ca3cafbfa836ebc4578098556fb91e1f94d68276407a7d27fcf6039f60a8"}},{"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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de4aca6cdcacf5a06687e20ecf79b39e42261e8bf445be15e16a167fc3e3aba"}},{"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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"6424919d42857491f3493ae18832aff440e7258a155b8f35c58b9d1239b318f6"}},{"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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb92757426c5f37254d216e1b9fe91cb19748a35ce2b35cd582e8d32e90ed2d8"}},{"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/controllers/services/storage/storage_manager_service.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0e4aeb6856a5d002cf308d87f6aa7e860bd9763bb08a4e3580584c5e36e1cf"}},{"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/controllers/services/backup_restore/backup_format_detector.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b67ea03bf6de9662fd8b0bb31cec879547a484abcbd1cf2ed7b1e404fa6e45"}},{"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/controllers/services/backup_restore/backup_format_detector.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae904f4655f214e395df62b8f62d47867ac25df3d4b5443707008b07f5b5b07"}},{"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/controllers/services/backup_restore/backup_format_detector.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"114c8042b9d111acbf9f766ce1dc06095d2bcfbca17424754c7ca0e5db9b6ef6"}},{"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/controllers/services/backup_restore/backup_format_detector.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"90221d9e55d4375bf27633702bfb231c8c317ea49432aae420ff66da77a94020"}},{"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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be5397fb345acb7856370aa314a9b6a96c3acf4b5a699360721fca4825f55f6"}},{"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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"780c2c9cdcf2351afd854fda3bdf9574ddd243e384e32c27039ebf9eb654a204"}},{"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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"459879a10e82777640d0f6a55ccf87f767e50ad9208b40ddf79bc299483935d1"}},{"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/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6966b739905e9d94a21a2467c2f835e5d92fa76a86cb21a922ec872d91ce9aa"}},{"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/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0618b0ede701d4f18dfdd3ccb681cb14eddf4b1cd6d36656179a76e02862d729"}},{"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/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"84977c804e0b3646ddcd2da874179b3bcd412421f8f871d2cdcb1e1abbd70a63"}},{"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/controllers/services/backup_restore/parsers/tachiyomi_backup_parser.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baa9304d53510c6ef382679135b8f1cf66c5fcb7c9b425b4de59c99930be9a7"}},{"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/controllers/services/anilist/anilist_auth.dart"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9714d4543e51dcaad16679895fb1ab0c6e28667bc4b9bb05369a1c7183ff422"}},{"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/controllers/services/anilist/anilist_cache.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f1446c25393c5d8153dd5e2915018530d8e24791e37dad662839d5ace56a00"}},{"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/controllers/services/anilist/anilist_cache.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e98ea0f5c5af8cafd50b72908427afaf1350ba493f3c18148b3115a5df647b"}},{"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/controllers/services/anilist/anilist_cache.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2c09634ff5614ec0affe67f69fa580f59ebad35647a9bf6369cbfc0d7eafbc"}},{"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/controllers/services/anilist/anilist_cache.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"290aaf841b303e9736721cd7cd4f82c6b2bc22a0bdd9bcf3e2f7fbc375960d14"}},{"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/controllers/services/anilist/anilist_cache.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dff1412a32840966ecdc39b74102936eda5cefb3f19d42a122eebe3b1b8f38b"}},{"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/controllers/services/anilist/anilist_data.dart"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"7478a97770fb35d1cc5748a01ab76f8f8f0b98b459fbd624e4ab735c8726a58e"}},{"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/controllers/services/anilist/anilist_error_handler.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe13a8f9109400eaed9b3de7799598d90f5b793a17a85d436cb32f00224818c"}},{"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/controllers/offline/offline_storage_controller.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad2346254514b75aadef2a5fa8cc06d94bd503b06c549e1b36e9fc8ffa46b9b"}},{"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/controllers/network/cookie_manager.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7890944b1c75e2e8c325f9072a138b0291a91f6697d2d997d5b300938d3bbf"}},{"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/controllers/network/cookie_manager.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d3bae892ca2c980395f8a874e7ff4dd2cb227d11bbf6661e58c9ef48e401f0"}},{"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/controllers/network/cookie_manager.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47b43b40363f1456a91c0dbd854fe27e2614246678f3eb96f1eb0d66dce8014"}},{"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/controllers/network/cookie_manager.dart"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfa84596c549336841ac80f7693d92cc1236c4f17e2a4d04a341ffaca182d0b"}},{"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/controllers/network/cookie_manager.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c130161b3cc9b14806be867c8fb79bf82f985f24610866a2a88a2b60d3ad1b52"}},{"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/controllers/network/cookie_manager.dart"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d368089e709743b8b80486992df139838ecfeaf3901eb1736291c855cfea6a5"}},{"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/controllers/network/cookie_manager.dart"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab2f60d0396f82d8e5ee0091806ade2b6c0880f0065edad9bc88cdf1e5a92dc"}},{"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/controllers/network/network_manager.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff3d11346fa65f2099be12e8402c1af2c6ea4a800b8944531bd8ad27ee062c2"}},{"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/controllers/network/network_manager.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cff49ac350242121b05d9c111bac4b357f1ba628c5f87c9af1cd46b83d5315"}},{"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/controllers/network/network_manager.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"313c1401381de1491d891640b0d9393915180ec981de0161ab595f224b6aab85"}},{"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/controllers/discord/discord_login.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa003bad344bc4f7ab7fe2b415ec330769c79fa23a40274a4a6d286dd15fc0bf"}},{"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/controllers/custom_logo/custom_logo_service.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f84bea2a613de9f17c45f8f0d8d95d831b9c0312e2180ee7cc8ab4c06e6cca"}},{"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/controllers/custom_logo/custom_logo_service.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e76c2b5c15a6640ad50041ed824a206fcc43114b682f751c4ca470923d0de6"}},{"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/controllers/cacher/cache_controller.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"81255fc107d4a5439a02b9cffc88fd4a256af3a42ca0e2bc428a093baf183bd1"}},{"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/controllers/cacher/cold_cache.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e893d8e62557d64bf320f9f9633f6eeb40e436c034f2a9e60ad0b9aea0b15ff5"}},{"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/controllers/cacher/cold_cache.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19537e808eb9bb4dbdb6ef889ec8f86bcff4e4a999f029043f7f9ccd35623d3"}},{"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/controllers/cacher/cold_cache.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d86c7955d73cc30be850c34630eb3cd322fde8dbd7475ee3209a3aedba3c212"}},{"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":"android/app/src/main/kotlin/com/ryan/anymex/MainActivity.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c1b567e600e702794c0dde41d2a30462df987ede5fdc5dad400c999a059f8a"}},{"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":"android/app/src/main/kotlin/com/ryan/anymex/MainActivity.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac9ecb852af1cf827431537ecd40bd008acb94cea24d42789e313c068d4703e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\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":"android/app/src/main/kotlin/com/ryan/anymex/MainActivity.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7987f6957e4e301861c0dae6e03981eb34ef9f3df92928c1ccf107588d4679e8"}},{"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":"android/app/src/main/kotlin/com/ryan/anymex/MainActivity.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafc8ae87157282aeb101e4f7eb2513fedac427471d42fab930d86de19acc4ed"}},{"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":"android/app/src/main/kotlin/com/ryan/anymex/MainActivity.kt"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"0885c98e0058699f6c868300514f3926febd3aa4cd1db42929533f204e77e928"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"38550ff416c1fb0d08ec79420c1881d95662e5358256a392eda1d6443075131d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"939ad2d697ad49801e135783459417133db42ea27d0555b7e8f4bfa7fab01fd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad17b17b29da577864a2da61dca23f04ff8f95b588e8d68ca13a098c71b6f0fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 175 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1b1cd9a3b7e7361fd589a06bd61d3a39c443af7f0e335355b85a48bba81460"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 196 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9fd3db60e7dde6bce7daa33b292738db7dced5f9325555acda2a48db19751b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 239 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcda7940e0f14130b08f52d574977cd598d225aefe551e7c31f4a2f9ae82804"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 289 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb6de38dc8a3eda3103e543accfe053f49d9ee09dba1e6a1ca0db01cc32d30d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 315 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ea067bae923269a1730d55311b4d9d53a6ec1a9cc257d96e8b20ef61b16581"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 328 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18fcf4243acb1f0387cdd4d84e9637ac8af315b56234428fb27483febe0266c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 353 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"1588110496ee3a451a45d364c9a453a2b81d294208dfe32fb1fcdd96136932f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 356 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff993e3a71b8197bfa1bf2683f37d6ee8f969d60a754aff455f50c66ca6007e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 372 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"496230625751d52987695f1657414f57f1c970fd2eab7b49d95ee9f05dbfd39e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 390 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28d68916c41d5499d8b7197fc565fdf59b8d333d2d3bd79810aef0b51543e7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 445 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"87de2f09ff6bb8032e401e170424989f83612e3d3ed6feec7bf433fa4b6cc54a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 460 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"612f02061817e9fd516d81454686223ee7fcf8ee323c8c6078db429e69025903"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 468 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"020f59264ae21a20f5f4a47dbf8d84470a7d3d728369c4151098399a4ef0c2aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 470 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bad4aea9e078cd3ee1a48d2e1f1b5a4ceaeb6f5141307470a80968debf40833"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 493 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e500072c9dd75526dcf60f9c712763c372f31b2ab0c8440fdf2ccf4a262db5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 496 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"repo/update_source.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d77785daf10da6381496ef2bf33521fc5a30b45ec280f74ac3d29b2a5a04ab"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package_manager.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f36dd4df29cea4291f282cec75c3da1b9954a42bc131822c3c831b1ded3591"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package_manager.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4013586853a6ed2b604a7f93541d59cdf50f5a17e96e1def35ce4db92fc31745"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package_manager.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"176677d02403614edd15e2790703f56396a34cc984d0fee518f4fd6b463fd22f"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package_manager.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c519b73f0522b2e341c759a8761270db3551c6d8e59f4ed4d25d93f0991ef264"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/non_widgets/activity_card.dart"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0a7ad1e79eea310eed6368f1855ca0d00d9057cd5b3ea9d986066112042bf9"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/al_about_me.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c326a6607655c083ed7664908a39499cecc884e5590dfdd4255ae7544da1c749"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/al_about_me.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"036b3f29ad42f41357e2b3e7e133c4995337b18eb19d66be26263ffb58263a28"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/al_about_me.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"564bd9590dc2938946a286f1ad1ef151d7d59c1aac6c8c403b0c666b5d80b9ba"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/al_about_me.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf2078664f56a550e9bda900a0c8e01e686770c63487946686f79321a3337d0"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/al_about_me.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f638db37d9fd1371050d2e0989d73919a566ec50d1d77d82019b4199222a3374"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/anime_adaptation_util.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a681f5920530839024f43dcb42c434dee7e1cb165125d9aa9f998517ce864f3f"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/anime_adaptation_util.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad044f45575102b340cb525bb7b30a7bc9fbda271ea52a5dcbb22cda05cc50aa"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b45f6023952443f9d58073bbe3a663bbf9c4deb8f7d133c9338774ac393449"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bac37b8a0088d1e73ca20934e294849f371a000fe318c86c0ef007ba61d58d8"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/novel/reader/controller/reader_controller.dart"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a9e98c81eeeec57687e7a37e41b450701474ea1352f653bb83f22bfedb33bc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getSelectedCustomLogoId\u0060 turns every thrown error into \u0060\u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/custom_logo/custom_logo_service.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8f9d30723fca8018f7fb7357ee57cbc7fa710fb02281d8f58e6d0f8dc953ce"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getExtensionsDataCount\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/backup_restore_service.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f303253ed8aa4799a46bed358c69e9d7b561c333117c608d02ca9c4e7a6e77cd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_readJsonSection\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/services/backup_restore/parsers/kotatsu_backup_parser.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca91dd3975e7dd4b24c02ea7234b8618277ff4baf42bcf34d1bd79a4049a4f0d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatCommentTimestamp\u0060 turns every thrown error into \u0060\u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/controller/comments_controller.dart"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"f230f4b0825be43dd04b4539aba5feee650ec54add287c47406c35950e3a005d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_until\u0060 turns every thrown error into \u0060\u0027active\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/anime/widgets/comments/widgets/user_comments_sheet.dart"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b05b71a1c5f717233a49e3169377675af82529f356be3cbf721b2ef017988e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchReleases\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/extensions/widgets/plugin_manager.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a279ef6e6678935e9dbc844d86be8888e48c263245fc515bbf30b8cffc1bcf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFileSize\u0060 turns every thrown error into \u0060\u0027Unknown\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/local_source/controller/local_source_controller.dart"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a661fde478934086568c40a226b1ba068c39f2d8df56bfedcacd5a48d2a650ce"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getAnimeNews\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/anime_adaptation_util.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c40c88bc099904247bd2d385ebb019c5dfa419b7c19c5edaeb6341673e053b8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getCustomFontNames\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/external_font_loader.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e7cc27a2b752516eee548ad1935f300a648c18901d1b0bf013ec64338d0690"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchWatchOrder\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/watch_order_util.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e651c7f9ebac3c9311aef64e49ddce33c0ff8fa274a1c135f01d95f32cb9ca"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-668","guid":"e2cb99db-6d24-b056-b0d0-885a733ec403","name":"Exposure of Resource to Wrong Sphere","shortDescription":{"text":"Exposure of Resource to Wrong Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/668.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"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/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":79,"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."]}]}