{"$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":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01: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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"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":"SettingReadPage.build (cyclomatic 44): SettingReadPage.build has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"77955d168bfbf86863468c781752b78fe60d299a90fb587f703e522f6afae44c"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadSearchLogic.search (cyclomatic 39): DownloadSearchLogic.search has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download_search/download_search_logic.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c772a03934cf46e209e5c81053c3279046e510693a6f38bc74b46b465d5e7d05"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrateStorageConfigHandler.onInit (cyclomatic 35): MigrateStorageConfigHandler.onInit has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/app_update_service.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"83134a478a2ea78cd3c72162c92788c3b0af062554a01684fbbbae75ddb71626"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDb.migration (cyclomatic 33): AppDb.migration 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/src/database/database.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5102a5c5bb13bec204dd1698b0b42a738f5af4444b8eaa443986b80ec6959d7c"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadPageLogic.onReady (cyclomatic 25): ReadPageLogic.onReady 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/src/pages/read/read_page_logic.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf7d67f2e1d3f23664259cd30d99adadf3cd946bee2b84d2266ffacf92b22b6"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailsPageLogic.handleTapFavorite (cyclomatic 24): DetailsPageLogic.handleTapFavorite has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4e67881b847c4de3dc79ecae5089d081392577a644ac391176a7603794bcbb"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiveDownloadService._getDownloadUrl (cyclomatic 23): ArchiveDownloadService._getDownloadUrl 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/src/service/archive_download_service.dart"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d71c7768b887b423cebc81949cfd09cb34f1c10164898962275ee41bde22f4"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalGalleryService._parseDirectory (cyclomatic 19): LocalGalleryService._parseDirectory has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/local_gallery_service.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7ab92f2f3574ea08598642a8801cdab892ccb8a71880aa12563d4b927bc9bc"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchConfig.toQueryParameters (cyclomatic 18): SearchConfig.toQueryParameters has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/search_config.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"047ef8ab8d196e2cf4b24b6c59b7c88b7acfee8185822ce8221efe253018dc27"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailsPage._buildMenuButton (cyclomatic 18): DetailsPage._buildMenuButton 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/src/pages/details/details_page.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce37d1fce3e5de15b9209fcf0d0dc3b79241eb8fb8e22578ea38039aa2c2005"}},{"ruleId":"D1","level":"warning","message":{"text":"_GalleryDownloadTaskRunner.downloadImageTask (cyclomatic 18): _GalleryDownloadTaskRunner.downloadImageTask has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/gallery_download/gallery_download_task_runner.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"959df6fcc74a9202737fe2018b58610a8d9447a3a123f2c0263bcb7189816207"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchiveDownloadPageLogicMixin.showBottomSheet (cyclomatic 17): ArchiveDownloadPageLogicMixin.showBottomSheet 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/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8beda7b6f4bd3052174a6f35e492e3e683b1541dc9daa7d1f159c7c969fe36"}},{"ruleId":"D1","level":"warning","message":{"text":"HorizontalDoubleColumnLayoutLogic.computeImagesInPageIndex (cyclomatic 17): HorizontalDoubleColumnLayoutLogic.computeImagesInPageIndex 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/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bb7164757deb0fd77c1b2bc5b0f53d388f6bc9aeea9c5d5e703b349441752f"}},{"ruleId":"D1","level":"warning","message":{"text":"_SearchTabDivider.build (cyclomatic 17): _SearchTabDivider.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/src/pages/search/desktop/desktop_search_page.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64186d904d581afac15bfab25d85d6f2d9f8ee91d53f3c6318be7845fdd29ab"}},{"ruleId":"D1","level":"warning","message":{"text":"_EHCommentTextBody.buildTag (cyclomatic 16): _EHCommentTextBody.buildTag 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/src/pages/details/comment/eh_comment.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dd69209d29296f30116fa1d90412c5aecf486a2eaf963d12c156f54eaf09e0"}},{"ruleId":"D1","level":"warning","message":{"text":"_EHCommentFooterState.build (cyclomatic 16): _EHCommentFooterState.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/src/pages/details/comment/eh_comment.dart"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0a201626f61bb7666e8e218c940591eb1633cf4fb286d89827c9b513babc81"}},{"ruleId":"D1","level":"warning","message":{"text":"_EHImageState.buildFileImage (cyclomatic 16): _EHImageState.buildFileImage 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/src/widget/eh_image.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ed12d701a35f956f344ef63642365116ff44d348e1eef49296e56f75a8c066"}},{"ruleId":"D1","level":"warning","message":{"text":"_EHTagState.build (cyclomatic 16): _EHTagState.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/src/widget/eh_tag.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a5fb8fb72df6eca4b1bb4cf766f62b5655c920a4ac3494f211a87b6038dafe"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadSearchLogic.search (cognitive 68): DownloadSearchLogic.search has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (43 pts), boolean chains 12, loops 5 (9 pts), error handling 1 (2 pts), ternaries 2 (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/src/pages/download_search/download_search_logic.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7eefe8225eaedb598f75538954ebabbc299c35c0b19242468d5f14c63130012"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDb.migration (cognitive 62): AppDb.migration has cognitive complexity 62 (threshold 15). Drivers by points: if/else 27 (54 pts), boolean chains 4, error handling 2 (4 pts) (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/src/database/database.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7224f2e06414ffb9c1e5e8ae9c0860cf43782eafd67d816f6f8f46ab51f84624"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingReadPage.build (cognitive 49): SettingReadPage.build has cognitive complexity 49 (threshold 15). Drivers by points: if/else 30 (36 pts), boolean chains 12, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4250870400ce4a5c8ca7d19165ba03e704327ee90d72156c73abc2f22d829a18"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiveDownloadService._getDownloadUrl (cognitive 42): ArchiveDownloadService._getDownloadUrl has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (27 pts), error handling 5 (10 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/src/service/archive_download_service.dart"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b89b9673f6f18ec9079f1c6a6b5cf82acce9d46115d9743f12315c29f889da7"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsPageLogic.handleTapFavorite (cognitive 40): DetailsPageLogic.handleTapFavorite has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 7 (13 pts), error handling 6 (12 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecd65f53cc2514d37955ec53d51b8ab17432f8ab86380e433dadf28487524b4"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrateStorageConfigHandler.onInit (cognitive 34): MigrateStorageConfigHandler.onInit has cognitive complexity 34 (threshold 15). Drivers by points: if/else 34. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/app_update_service.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e6ba87d745a68a11dd20046cf214cb4a3c8f63f358779b4f2c254216d867b6"}},{"ruleId":"D2","level":"warning","message":{"text":"SuperResolutionService._doSuperResolve (cognitive 31): SuperResolutionService._doSuperResolve has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 1 (2 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/src/service/super_resolution_service.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a22e5d41f308e386f987ba7fc47bb0c0cb91df6d9388bbbf73c22246c306b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalGalleryService._parseDirectory (cognitive 30): LocalGalleryService._parseDirectory has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 8 (13 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/src/service/local_gallery_service.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"73994273b394be5bc18f9110af9924afcc65a9b769237c2dbbdb89288b812dbb"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiveDownloadService._doDownloadArchiveViaMultiIsolate (cognitive 28): ArchiveDownloadService._doDownloadArchiveViaMultiIsolate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 3 (6 pts), ternaries 1 (3 pts), boolean chains 2 (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/src/service/archive_download_service.dart"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"031a09da4eb18d0c9c03f710efb2e0c0431e98073ba4e8a001e2905d7455dc13"}},{"ruleId":"D2","level":"warning","message":{"text":"EHSpiderParser._detailPageDocument2Tags (cognitive 28): EHSpiderParser._detailPageDocument2Tags has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (21 pts), if/else 1 (3 pts), loops 2 (3 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/src/utils/eh_spider_parser.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bc3b8b269e4ede18aa9d907bb75f8803818afd79f8d2212a2e2a6e6139ea3c"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchConfig.toQueryParameters (cognitive 26): SearchConfig.toQueryParameters has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/search_config.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e7a773cea42d505c35b6b7e4caaa58aae29a8b8175e050c154d9b968b961d5"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLayoutLogic.saveOriginalOnlineImage (cognitive 25): BaseLayoutLogic.saveOriginalOnlineImage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), error handling 2 (5 pts), ternaries 1 (3 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/src/pages/read/layout/base/base_layout_logic.dart"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6048ebb5f8ea2c017bb9ec9a6f986f28e67d52945d3da50ff874bcf3ea887823"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadPageLogic.onReady (cognitive 25): ReadPageLogic.onReady has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15, boolean chains 10. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/read_page_logic.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7997a567b8043f6081a84cbe152eb97e6b13d167b88131118b84f4799aa4f12c"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchPageLogicMixin.searchTags (cognitive 23): SearchPageLogicMixin.searchTags has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (8 pts), boolean chains 2, 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/src/pages/search/mixin/search_page_logic_mixin.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4032e3e38cd3bed44d0b6d1ad0fdb1834439b47381839453540e968c0ad85578"}},{"ruleId":"D2","level":"warning","message":{"text":"GalleryDownloadService._doRestoreTasks (cognitive 23): GalleryDownloadService._doRestoreTasks has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (3 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/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3010a5150a1f56ab0a517b54b815de7ddc59e925ee29b55147252021e81fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"GalleryDownloadService.updateImagePathAfterDownloadPathChanged (cognitive 23): GalleryDownloadService.updateImagePathAfterDownloadPathChanged has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 4 (8 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/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd12fefdc8986e075c4ce659dd0b765261898380933ce1916e04275618588ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiveDownloadService.restoreTasks (cognitive 22): ArchiveDownloadService.restoreTasks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 1 (2 pts), 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/src/service/archive_download_service.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"59061739a6b06f7946d954596b99b58c29ca0cf16cd5e9901dfe1ae4039713ae"}},{"ruleId":"D2","level":"warning","message":{"text":"_GalleryDownloadTaskRunner.downloadImageTask (cognitive 22): _GalleryDownloadTaskRunner.downloadImageTask has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6, error handling 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/gallery_download/gallery_download_task_runner.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c2756ab835577c988b00ae8bf52c3de985f38c7c5c024ad5914fc29d71a438"}},{"ruleId":"D2","level":"warning","message":{"text":"TagTranslationService.searchTags (cognitive 21): TagTranslationService.searchTags has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 5 (8 pts), boolean chains 1, loops 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/src/service/tag_translation_service.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc5c63d6ff6e4cb3d6ab29565f14c138333014daccb5a3c8e0cb3f717daa6fd"}},{"ruleId":"D2","level":"warning","message":{"text":"_EHCommentFooterState.build (cognitive 20): _EHCommentFooterState.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 3, if/else 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/src/pages/details/comment/eh_comment.dart"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"e482b78b30f7ec5edf303593d0bf061708d955f45a3e499a0210b6ba3f4078ac"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsPageLogic._addColor2WatchedTags (cognitive 20): DetailsPageLogic._addColor2WatchedTags has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 2 (6 pts), loops 2 (3 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/src/pages/details/details_page_logic.dart"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"122b5d890017a18ec2d3639cee478d3427029b40a700832a824968994e6169e2"}},{"ruleId":"D2","level":"warning","message":{"text":"GalleryImagePageLogic._addColor2WatchedTags (cognitive 20): GalleryImagePageLogic._addColor2WatchedTags has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 2 (6 pts), loops 2 (3 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/src/pages/gallery_image/gallery_image_page_logic.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"967dfd98699c0e51090af8f8d26e3c819949e39a12f702f7649eb331994911db"}},{"ruleId":"D2","level":"warning","message":{"text":"HorizontalDoubleColumnLayoutLogic.computeImagesInPageIndex (cognitive 20): HorizontalDoubleColumnLayoutLogic.computeImagesInPageIndex has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, 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/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5114d01daf4b0dfe7fff2f1c975e6638d9f477b5fc461a7639f18c511e1d51a"}},{"ruleId":"D2","level":"warning","message":{"text":"_EHSearchConfigDialogState.searchTags (cognitive 20): _EHSearchConfigDialogState.searchTags has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (8 pts), error handling 1 (2 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/src/widget/eh_search_config_dialog.dart"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e4d826daf65ef1ae9121d14c1e493579e324af915316ea4486727a6e2e9c86"}},{"ruleId":"D2","level":"warning","message":{"text":"_EHTagState.build (cognitive 20): _EHTagState.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10 (15 pts), boolean chains 3, if/else 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_tag.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b085d896a08d42afab7371a4ee1d63333ba400b8cfe3a0380d1e0bf9e89a24c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiveDownloadPageLogicMixin.showBottomSheet (cognitive 19): ArchiveDownloadPageLogicMixin.showBottomSheet has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 9 (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/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8174357f44c66498e7022e82bab1ef86c1bbf8e0bfba7edc95e2ee7988fed18e"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginPageLogic._handleCookieLoginViaWebview (cognitive 19): LoginPageLogic._handleCookieLoginViaWebview has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 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/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3600b54eec925807e621c7e90e087364d9efb078fb38ad6537f20e54b3b78a"}},{"ruleId":"D2","level":"warning","message":{"text":"_EHExecutor._trigger (cognitive 19): _EHExecutor._trigger has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 4, 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/src/utils/eh_executor.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f4366f7d4c88b3698eea8dc22e9e7d10825f57170a63c8d1c44a15c58e9771"}},{"ruleId":"D2","level":"warning","message":{"text":"_EHCommentTextBody.buildTag (cognitive 18): _EHCommentTextBody.buildTag has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (15 pts), match/switch 1 (2 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/src/pages/details/comment/eh_comment.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"de46d0546acff44006c1230f4fe11f145a5b24870a280e3d60e561319028fbc3"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsPage._buildMenuButton (cognitive 18): DetailsPage._buildMenuButton has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 3, ternaries 1 (2 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/src/pages/details/details_page.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ec91479b174c6afe934993d9429b7f2282a2e217600777ca70f538772c9692"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsPageLogic.handleTapArchive (cognitive 18): DetailsPageLogic.handleTapArchive has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 3 (6 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/src/pages/details/details_page_logic.dart"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e89af22a46253874eff7ebf68d4fdafa37ba468cfd40a0339acd24b9a608f81"}},{"ruleId":"D2","level":"warning","message":{"text":"GridGallery.buildChips (cognitive 18): GridGallery.buildChips has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/mixin/grid_download_page_mixin.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"27962886b1ccfc497cb751ef669c2d07103216fee887fcc255ea02739addbc59"}},{"ruleId":"D2","level":"warning","message":{"text":"_SearchTabDivider.build (cognitive 16): _SearchTabDivider.build has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 12, 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/src/pages/search/desktop/desktop_search_page.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"491a6ba1e5ec3403932b61f1c97466c47559bda432f95437d6a4576cff1ca8ad"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiveDownloadService._check410Or404Reason (cognitive 16): ArchiveDownloadService._check410Or404Reason has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, error handling 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/src/service/archive_download_service.dart"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d7e7900af9c30d93c73d28a70c48150c8f07cab9428ffe127aa3b641789874"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiveDownloadService._getDownloadPageUrl (cognitive 16): ArchiveDownloadService._getDownloadPageUrl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, error handling 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/src/service/archive_download_service.dart"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bd0601b8b6a6bff08331ec9d40b3c544a24c7158d5b34453aea7c2a7a63496"}},{"ruleId":"D2","level":"warning","message":{"text":"EHAddTagDialog.highlightKeyword (cognitive 16): EHAddTagDialog.highlightKeyword has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 2 (3 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/src/widget/eh_add_tag_dialog.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d513a69d8c12b753a0d453708c6ae7c4ce19196f3371eea60c9cdf965df134"}},{"ruleId":"D2","level":"warning","message":{"text":"_EHImageState.buildFileImage (cognitive 16): _EHImageState.buildFileImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, ternaries 1 (2 pts), 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/src/widget/eh_image.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"13221716be4a8f88da765f1830e6409923e8467502184eb421a98105b9a7f39c"}},{"ruleId":"D2","level":"warning","message":{"text":"EHTagVoteLogicMixin.doVote (cognitive 16): EHTagVoteLogicMixin.doVote has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (4 pts), error handling 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/src/widget/eh_tag_dialog_shared.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e37f2abd6dbd2d59bf323dcd5c1c9b2dff17c1edd4b9ae145ab9c94475939c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UIConfig: TooManyMethods \u2014 103 methods. The bar is 30 methods; this is 73 over it, 3.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/src/config/ui_config.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbb615ff669ca0c08c46d6631554a41b80feaec1a7b44e7a02c7804ae7e32ef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EHSpiderParser: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 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/src/utils/eh_spider_parser.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fde52eb7d684a43263697feb7ecb9f9cacbde1b369fb0fd66be88451318de39"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EHSpiderParser: ClassTooLong \u2014 997 significant lines (blank, comment-only and punctuation-only lines excluded), 83 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/src/utils/eh_spider_parser.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3cc6bc88c8224d8cba910f3356bd75408650bb2988c4ba92ad797946b6166a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DetailsPage: ClassTooLong \u2014 995 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 595 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/src/pages/details/details_page.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd141fda579f9d850bd73d8d50102aa9b6f1ef0942e8352fd40a01ba1440d98a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GalleryDownloadService: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.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/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"254212f4111d66ffb193b3380554287f5ff688f5837091c9c1656bb807f8ea7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gallery_download/gallery_download_service.dart: FileTooLong \u2014 1114 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: GalleryDownloadService (69-1553). The bar is 500 significant lines; this is 614 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/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf3b121c85c2622a36779e8187d502f2ddef242d3698e58a32e28475be366a0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EHRequest: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.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/src/network/eh_request.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"171ef22513f50b845cb017fdbf2a58231383a5bfb213d233654816c7a45b7181"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/eh_spider_parser.dart: FileTooLong \u2014 1040 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: EHSpiderParser (49-1538). The bar is 500 significant lines; this is 540 over it, 2.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/src/utils/eh_spider_parser.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a3d01d0c314d5efd0a319088ef27c74c318f1d9920433d4e3e9b5dcbbb9068"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DetailsPageLogic: ClassTooLong \u2014 830 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 430 over it, 2.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/src/pages/details/details_page_logic.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4c74569db096e1eb65d80c2f6abb666b448e45844110864d229e73ded5a8c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: details/details_page.dart: FileTooLong \u2014 1037 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: DetailsPage (46-1480). The bar is 500 significant lines; this is 537 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/src/pages/details/details_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbc2ac98ad9f7e2f8a38511c51cbaa47a5912b28a7d46694f8160b0ba47a3d7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ArchiveDownloadService: ClassTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 418 over it, 2.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/src/service/archive_download_service.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb6e765befe8116dc29a53c7c30692ba7c29486aeef74a053e86ef5cb8fd5b2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReadPageLogic: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/read_page_logic.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf463bffe8fb5c34fb5e8bcad6f821cca642c22e818b2871f8710bdd7930898"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GalleryDownloadService: ClassTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 400 significant lines; this is 384 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/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00f3fa6de723fa8c2f15b13f393567dc9a7556b4dc5c413759b8ed530f10923"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ArchiveDownloadService: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 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/src/service/archive_download_service.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"986a51335f4e9babe9ab97163576ef2f43a3c3117dfb6b1253609e396eb5d2b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/archive_download_service.dart: FileTooLong \u2014 929 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: ArchiveDownloadService (53-1365). The bar is 500 significant lines; this is 429 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/src/service/archive_download_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad25aba9ad61e4e35955dc7d6e71393726d7fce504dcb6831cd2cbf9921315ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReadSetting: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 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/src/setting/read_setting.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb4c0a8983725a3f1fce3e8d5ddeb6126d4e7958958c5d882a0f03b4403f9ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EHRequest: ClassTooLong \u2014 724 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 324 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/src/network/eh_request.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab53d55e548495c9089ae9b5bf985304760a751fba223686490f12373d20adea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: details/details_page_logic.dart: FileTooLong \u2014 838 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: DetailsPageLogic (99-1308). The bar is 500 significant lines; this is 338 over it, 1.68\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/src/pages/details/details_page_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4882c2980980375c1fe851b11209bc48920d1ca89c809a27573e147a14ce549"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DetailsPage: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f69d5bb482c3aac3f321b11830a6fb45698448b5f1d55a0a1b0861c64547e60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: network/eh_request.dart: FileTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: EHRequest (40-1071). The bar is 500 significant lines; this is 261 over it, 1.52\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/src/network/eh_request.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90d61d5675abba9d3e66be730d4a92de0d695ba2cd2fd671ffaa2adc964c7fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ComicInfo: 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/src/model/comic_info.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4140e19f98c02a40df6a69dca7d2ce7c9db69b59d4178ed9747066396c69956"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DetailsPageLogic: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.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/src/pages/details/details_page_logic.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbc8bef94d32218f705f8d8415de38e1029ee55fb838b8ad7f797c97098741b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MigrateStorageConfigHandler.onInit: MethodTooLong \u2014 onInit 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/src/service/app_update_service.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"3023de8d0baf755a3ced5e680a0f4430c49226ffbe1e84b498d3316e7c63cfbe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingReadPage: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.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/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"50162585535245bab4a8ff5c5b7c43ba9aa6c851f9a8ea87097e6edb4f740c35"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _EHSearchConfigDialogState._buildCategoryTags: MethodTooLong \u2014 _buildCategoryTags runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_search_config_dialog.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a56e24ab617ce8c4321e8c17682da5a604e69114649f3aa8d048982d336e7dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _EHSearchConfigDialogState: ClassTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 155 over it, 1.39\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_search_config_dialog.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4e540755824a3c44a801294277ca8b6bbe29fef9a29b6817395aa0750a0bc5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseLayoutLogic: 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/src/pages/read/layout/base/base_layout_logic.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb359fad4b391d3efb7af61aa24dc0389e5c826aac3c75a6ac84cfa7ca4f05f0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReadPageLogic: ClassTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods. The bar is 400 significant lines; this is 135 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/read_page_logic.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8d87199f21765fb54ec2fb3b372b3bce791b61122fe51f4716cb8bea8086f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingReadPage: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 133 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"841ba3228621a916a3536af6a2b38e8ed4bd7133235b0b1da7bfe8d2efafba1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widget/eh_search_config_dialog.dart: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: _EHSearchConfigDialogState (43-840). The bar is 500 significant lines; this is 133 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/src/widget/eh_search_config_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb528ba6fe9165a32566be871883dceb678f137fafe3604aba3de54a3437856"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BaseLayoutLogic: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 75 over it, 1.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/src/pages/read/layout/base/base_layout_logic.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"454d163454485d7f7ce827ee68d00fe4f99c90825f14abcccdf02c83b64e3c32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadSearchLogic.search: MethodTooLong \u2014 search 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/src/pages/download_search/download_search_logic.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"85857414718ce7212ad8a521b790f671fa8dbbd6ceeaf012992c6989466ea40f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/app_update_service.dart: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/app_update_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9921690b508f490c8db566568a49c264b7567fdb9a6ebab08840644623e517a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: read/setting_read_page.dart: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: SettingReadPage (20-751). The bar is 500 significant lines; this is 50 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/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1df729e58e6dffb992ed31fb9801e9f66fb6e0223a4a414c17973949ed9bfa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: read/read_page_logic.dart: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ReadPageLogic (55-925). The bar is 500 significant lines; this is 35 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/src/pages/read/read_page_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3023b4531b4022ea9db0ca3b8e68114c035f3bc0cea93e4953e5119a8ebff802"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsPageLogic.handleTapFavorite: MethodTooLong \u2014 handleTapFavorite 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/src/pages/details/details_page_logic.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"9947d3245a81493f71b3fb6486984163264b1b12451e8e6e3a21ea3cfaab8f57"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PreferenceSetting: 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/src/setting/preference_setting.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e578cba3c2b6cdfc06c6dce58aa23e7f727a5ce981a673f5f34a16f280d03f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: base/base_layout_logic.dart: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: BaseLayoutLogic (48-782). The bar is 500 significant lines; this is 19 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/src/pages/read/layout/base/base_layout_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba41b81fb9b17e41228cc5d95fc10133a17184d0e2977d2b4f7ffca9c0d368e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LoginPageLogic: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 15 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/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f58346f7e506e309c1397d42dfc4eac408462b70dc6c4020a9439fb9fbc768"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ReadPageState: ClassTooLong \u2014 414 significant lines (blank, comment-only and punctuation-only lines excluded), 19 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/src/pages/read/read_page.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06f314c1ee57e4423d9d0c4896ca5322fc0171f26c9925ecbdd50ffa3161e35"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UIConfig: ClassTooLong \u2014 408 significant lines (blank, comment-only and punctuation-only lines excluded), 103 methods. The bar is 400 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/config/ui_config.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8d06d00c7d161fa02f7a681bd8786064e17f69e8f2bef6151e2638c2881099"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailPreviewPage.buildActions: MethodTooLong \u2014 buildActions 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/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c533d8b3e7e009cebc641753120d248c6c86c7d9f81ea183584c6605cbe8604"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): lib/src/service/archive_download_service.dart:582-622 | lib/src/service/gallery_download/gallery_download_service.dart:1010-1050 \u2014 These two members are variants of one another: 37 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/archive_download_service.dart"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ca6c99486c01c83439da75663c420c891003830a34010e56499e73c5e00a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (30 shared lines): lib/src/pages/layout/desktop/desktop_layout_page_state.dart:37-123 | lib/src/pages/layout/mobile_v2/mobile_layout_page_v2_state.dart:40-128 \u2014 These two members are variants of one another: 30 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/layout/desktop/desktop_layout_page_state.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"428610a6f1fa649ff2d8537f4cd9c258e25675ae9ac50c856de685c8c12f2dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): lib/src/pages/download/grid/archive/archive_grid_download_page.dart:41-117 | lib/src/pages/download/grid/gallery/gallery_grid_download_page.dart:49-125 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dc2e71395fb40ed15276af0594ac82438c02f48b639350c3a0b17c285accf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart:111-142 | lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart:144-175 \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/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd90ec5a6b2a79eac584a70621c902323250918807116ca0f3834c7051dd4e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): lib/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart:119-140 | lib/src/pages/setting/download/setting_download_page.dart:192-208 | lib/src/pages/setting/download/setting_download_page.dart:219-258 | lib/src/pages/setting/download/setting_download_page.dart:277-299 | lib/src/pages/setting/read/setting_read_page.dart:595-621 | lib/src/pages/setting/read/setting_read_page.dart:623-649 | lib/src/pages/setting/read/setting_read_page.dart:651-671 | lib/src/pages/setting/read/setting_read_page.dart:673-693 | lib/src/widget/eh_search_config_dialog.dart:618-643 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa21648daf06311e503fe9b80070e170f36e61b97044475bfb52633a626c0610"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/src/pages/details/details_page.dart:553-589 | lib/src/pages/details/details_page.dart:614-639 | lib/src/pages/details/details_page.dart:641-667 | lib/src/pages/details/details_page.dart:669-694 | lib/src/pages/details/details_page.dart:696-729 \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/src/pages/details/details_page.dart"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f662e4351eae72d952b28e73e8034200ea5ebf1c29bcd0ece9380e5d49e1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/src/utils/eh_spider_parser.dart:1147-1172 | lib/src/utils/eh_spider_parser.dart:1174-1199 | lib/src/utils/eh_spider_parser.dart:1201-1226 | lib/src/utils/eh_spider_parser.dart:1228-1253 | lib/src/utils/eh_spider_parser.dart:1294-1322 \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/src/utils/eh_spider_parser.dart"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bc32cd57f4ff2abd5b6b0a741819eed79960b23337e24e9bd829d1fbf37fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/src/pages/layout/desktop/desktop_layout_page.dart:136-164 | lib/src/pages/layout/desktop/desktop_layout_page.dart:166-196 | lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.dart:72-102 | lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.dart:104-134 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/layout/desktop/desktop_layout_page.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2a59825140e5a9573aa5f44a205245864e24f944e31d60109a8b1c186f28cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/src/pages/setting/style/setting_style_page.dart:84-102 | lib/src/pages/setting/style/setting_style_page.dart:104-122 | lib/src/pages/setting/style/setting_style_page.dart:124-142 | lib/src/pages/setting/style/setting_style_page.dart:144-162 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/style/setting_style_page.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2b8ccc5739e758c19bd2a7958f2655ce9d03854f4edd6ae8f76075b92d477f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/src/service/local_block_rule_service.dart:409-416 | lib/src/service/local_block_rule_service.dart:434-441 | lib/src/service/local_block_rule_service.dart:459-466 | lib/src/service/local_block_rule_service.dart:484-491 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/local_block_rule_service.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db9740b1f40881808c148d9fbee78e7494991a72f43a6ac09ab375482db5a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/src/utils/eh_spider_parser.dart:998-1018 | lib/src/utils/eh_spider_parser.dart:1020-1042 | lib/src/utils/eh_spider_parser.dart:1044-1066 | lib/src/utils/eh_spider_parser.dart:1068-1087 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"db46f8951f31b1abe47011990ac203ac4a9fc375173c71669007c6de41edd4c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/src/utils/eh_spider_parser.dart:1324-1331 | lib/src/utils/eh_spider_parser.dart:1333-1340 | lib/src/utils/eh_spider_parser.dart:1342-1349 | lib/src/utils/eh_spider_parser.dart:1351-1358 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"576551a7f7ad1cf785ab7103fe7110a008a539f2fd263e37cc64a8c90e07c671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:55-133 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:62-140 \u2014 These two members are one piece of code written twice and then edited apart: 79 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"814b261092a9dd77095e22d5b511d2fa0d27a5805a2979a3c003628de977c4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/src/utils/eh_spider_parser.dart:416-449 | lib/src/utils/eh_spider_parser.dart:461-496 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7284c26db06d2c434800b356d288b93fadfa453eb2146b876616e5d02a6e540b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:180-240 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:185-242 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5842e3c246190dbb12133c0cf5ec4f9807771bd1f3c09346b5e22fa2b91aeb62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): lib/src/service/archive_download_service.dart:812-869 | lib/src/service/archive_download_service.dart:871-932 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/archive_download_service.dart"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c885b094db43382692554f0ff4c1a215bc1655722a86fd9bd2c8490038cbf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): lib/src/pages/download_search/download_search_page.dart:100-165 | lib/src/pages/download_search/download_search_page.dart:348-405 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download_search/download_search_page.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad9a03775fee08b1188a2cbbcd7f2de26ebc186e5677beac8875d95deddfdca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): lib/src/pages/download/grid/archive/archive_grid_download_page.dart:163-218 | lib/src/pages/download/grid/gallery/gallery_grid_download_page.dart:181-233 \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/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fc4f7d837dbbfd6174d2d9e177efebcdc4437255cbc9542fe137e43089b391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): lib/src/pages/details/details_page.dart:1380-1454 | lib/src/pages/details/thumbnails/thumbnails_page.dart:85-154 \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/src/pages/details/details_page.dart"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"decc0eb7113957d5d8930486d5819d68e74a03c83315f77a21fa68cb832cb156"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): lib/src/pages/search/mixin/search_page_logic_mixin.dart:197-254 | lib/src/widget/eh_search_config_dialog.dart:752-797 \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/src/pages/search/mixin/search_page_logic_mixin.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10fbdb4104ed2acaace8d032f0f1706010c2d623660f6d8102f1419841eb1a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): lib/src/pages/details/details_page.dart:945-997 | lib/src/pages/details/details_page.dart:1079-1123 \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/src/pages/details/details_page.dart"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadac30c8d49bd34e7996dd1f35276a8d06ef4ce11f7389dd7b4b97a5d175e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): lib/src/pages/details/details_page_logic.dart:1135-1190 | lib/src/pages/gallery_image/gallery_image_page_logic.dart:138-187 \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/src/pages/details/details_page_logic.dart"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4358437dcf4464883d148b99ac3ab9757a7658d1a1aa49ec85050e94eff4ccfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart:196-232 | lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart:234-278 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a0be80a4314e81e14c5cd991bd445a0b672a91c1ee8765bd5bc9b64fa6826f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/src/pages/setting/account/login/login_page_logic.dart:567-610 | lib/src/pages/setting/account/login/login_page_logic.dart:612-654 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"201c48e422fd6435ae0d69e465d7df0e32d8092a72f1f3a93d7b0269075e06f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): lib/src/pages/setting/account/login/login_page_logic.dart:364-432 | lib/src/pages/setting/account/login/login_page_logic.dart:434-493 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dcad31c6fd9c559986309d0e004d42583382c9cfe66acbc3736c7c9f83b7d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/src/network/eh_request.dart:115-154 | lib/src/pages/setting/account/cookie/cookie_page.dart:185-236 \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/src/network/eh_request.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2535b5ab3c138ef87ba9ccc63f6ba4471182ce3d964ae0be3730defe7c6d3557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): lib/src/service/gallery_download/gallery_download_service.dart:236-303 | lib/src/service/gallery_download/gallery_download_service.dart:379-431 \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/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"48314258cc070ce41132bd781febee0821e2cb7fa0e9a654c0f80867438f5a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/src/pages/setting/read/setting_read_page.dart:251-287 | lib/src/pages/setting/read/setting_read_page.dart:557-593 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c43b4849843069913d4c9e0bfe5edf6c2162fe917f1b0cb71053a4b55cf7b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): lib/src/widget/eh_tag_bottom_sheet.dart:88-133 | lib/src/widget/eh_tag_dialog.dart:64-108 \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/src/widget/eh_tag_bottom_sheet.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6556592682968e1691bcd686e780ce12135bbfdd428ff3f3e720ac5db3dc56a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 33\u002B corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:401-434 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:381-414 | lib/src/pages/download_search/download_search_page.dart:282-314 | lib/src/pages/download_search/download_search_page.dart:465-497 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"963881ed5666a148f8be326d5f3ee9fcf7a377c9b804e6dcbfec07d808593c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): lib/src/widget/eh_tag_dialog_desktop_actions.dart:35-95 | lib/src/widget/eh_tag_dialog_mobile_actions.dart:65-116 \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/src/widget/eh_tag_dialog_desktop_actions.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"609cc097318adeeb2c1ca708a737ae06ba1accfd9053cdb3d52a73eb4f7f0d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): lib/src/pages/setting/style/theme_color/setting_theme_color_page.dart:119-175 | lib/src/widget/eh_tag_edit_dialog.dart:385-437 \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/src/pages/setting/style/theme_color/setting_theme_color_page.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cedd7c0e9ea36ffdb43220929a8b61b4b4ae36daf1a5eeee234e030dc13b346"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/src/pages/setting/download/archive_bot/archive_bot_settings_page.dart:119-155 | lib/src/pages/setting/download/archive_bot/archive_bot_settings_page.dart:157-197 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/download/archive_bot/archive_bot_settings_page.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b84a08ec4acdc7d724272c0f4d48ca6b71fe55d3582ab9818767da1f5fae26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart:104-143 | lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart:145-184 \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/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3bcebf73051cb836278fe882df5c5e9e5d63300fd1a9ab0d7d14eb6479b41d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/src/pages/setting/preference/setting_preference_page.dart:87-124 | lib/src/pages/setting/preference/setting_preference_page.dart:126-163 \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/src/pages/setting/preference/setting_preference_page.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"759193d702a8c58faf1e5fc9f49d786327be39e06baad1fadc98f73d72c9fb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): lib/src/widget/eh_tag_dialog_shared.dart:318-368 | lib/src/widget/eh_tag_dialog_shared.dart:370-429 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_tag_dialog_shared.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d75d801c5741445caf9932c3234c8fb00f0fec95e331e616987ad78bbc7039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/src/pages/download/grid/archive/archive_grid_download_page.dart:124-161 | lib/src/pages/download/grid/gallery/gallery_grid_download_page.dart:132-179 \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/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca59ffbef9f4ea6664f804b1ebdf9f1c28ee16a03ad91902603fafb2efedd33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:135-162 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:142-169 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8752c58f3991bb95782785e48d7d8f7bd5039a2477598fda43348260f88d7c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/src/service/schedule_service.dart:102-131 | lib/src/service/schedule_service.dart:133-162 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/schedule_service.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d77b8a4c3e049b7cfed90d3f752314dd9010e0c3b7b8ca7638f9913969367cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/src/pages/download/grid/local/local_gallery_grid_page.dart:24-65 | lib/src/pages/download/list/local/local_gallery_list_page.dart:41-81 \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/src/pages/download/grid/local/local_gallery_grid_page.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9ca23bb4853898c614fe9c39d51292a438811c6a3dc4dc2855371716aabed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/src/pages/gallery/dashboard/dashboard_page_logic.dart:45-83 | lib/src/pages/gallery/dashboard/dashboard_page_logic.dart:85-122 \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/src/pages/gallery/dashboard/dashboard_page_logic.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7dbe30849b48218a9c5b896254501999743fd08f8d252581ab01bef0811745"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lib/src/setting/my_tags_setting.dart:44-83 | lib/src/setting/my_tags_setting.dart:85-116 \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/src/setting/my_tags_setting.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4643b083399e0860e608416d9d971f0f8951ec9f257fc0bf2f9b113a93a94bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:164-190 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:171-197 \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/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33202f66c58db8b38a83275d887da81bc0dabef503adf71e2ee246490a4cbe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/src/pages/download_search/download_search_logic.dart:247-280 | lib/src/pages/download_search/download_search_logic.dart:282-315 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download_search/download_search_logic.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e19890bdc46765fd8e71daafc70f91ae21773f86341032c9248dd3bdac6cb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/src/pages/read/layout/horizontal_list/horizontal_list_layout.dart:23-58 | lib/src/pages/read/layout/vertical_list/vertical_list_layout.dart:22-57 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_list/horizontal_list_layout.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f64a7d044e6674ed81c703bf80ecdde60b1f3429df9e21160cac719ad037994"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/src/pages/gallery/dashboard/dashboard_page.dart:199-227 | lib/src/pages/gallery/dashboard/dashboard_page.dart:233-261 \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/src/pages/gallery/dashboard/dashboard_page.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53295fa10fabd956eebcb132c5aa86258705875fed406602fb3efc5faea55b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/src/service/gallery_download/gallery_download_service.dart:333-377 | lib/src/service/gallery_download/gallery_download_service.dart:440-481 \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/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b32e062e51b0acdead29e319569ee95b9c8756c5e4c47b59a0324312d97114"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/src/widget/eh_archive_dialog.dart:288-320 | lib/src/widget/eh_download_hh_dialog.dart:75-101 \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/src/widget/eh_archive_dialog.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"df357b3918d3ed302d95d1388704d8668faaf9831ad787425255e0c813bd50e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart:167-205 | lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.dart:189-227 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d8dfbfa0c0d4ebfedc994eed48a5cec05d189d604fff2ad2af2583f52da8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/src/pages/setting/network/setting_network_page.dart:63-81 | lib/src/pages/setting/network/setting_network_page.dart:83-103 \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/src/pages/setting/network/setting_network_page.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49984e5fca11abc12032bf0c4cad38380a4511c64ca0b1197f58f58846616f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/src/pages/download/list/gallery/gallery_list_download_page.dart:257-289 | lib/src/pages/download_search/download_search_page.dart:177-210 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/gallery/gallery_list_download_page.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fd5fe7fcf8976429c5ef1cfd1a7aba83f66465c2bd6866628de3961b642203"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/pages/read/layout/base/base_layout.dart:157-173 | lib/src/pages/read/layout/base/base_layout.dart:321-339 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/base/base_layout.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f816c01827873564d3e72929a636243b905644a79b56df93868462e1d7cc89b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:290-318 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:318-345 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f8f0f4066ccb56be1ab3f68beefd47388c48e7ffbb6bfebf424e03d1e4d59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/src/service/archive_download_service.dart:1216-1248 | lib/src/service/gallery_download/gallery_download_service.dart:1409-1437 \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/src/service/archive_download_service.dart"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d61f9d056f51d4562a708ec9c58bc6a9becc870fb7981c41117ecf3c429e35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:263-288 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:291-316 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d03466ad4ee7de5b5d4a411fe319f8480345d3fe213966e61d5c59411af8bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/src/pages/details/comment/comment_page.dart:66-98 | lib/src/pages/details/comment/comment_page.dart:115-150 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/comment/comment_page.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"292a11991c7ac0a5c8854c15fb52a6ca072ab435391275160f38c3fceeb15f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/src/pages/setting/account/login/login_page.dart:204-221 | lib/src/pages/setting/account/login/login_page.dart:223-242 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b564e84539230f456fc257ce1da8f5fda3cfd8ca8ca711a85ce5a1840062e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:147-178 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:153-183 \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/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71226a10c1d26d5cb1b5ce5b17bc1ad90d19a99dc4947cfdff6491607f44c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart:87-114 | lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart:104-129 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee86dd2fce611c5e290bad884bb55ee995372a0a0ab090bc30f9381aaf700cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/src/pages/layout/desktop/desktop_layout_page.dart:107-134 | lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.dart:40-70 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/layout/desktop/desktop_layout_page.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d0b96da76065a87952c7aa7ff45c2b8ae7eaa91a6a067ca6745f76810604ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/src/pages/search/desktop/desktop_search_page_tab_logic.dart:22-45 | lib/src/pages/search/mobile_v2/search_page_mobile_v2_logic.dart:28-59 \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/src/pages/search/desktop/desktop_search_page_tab_logic.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f93260bb97ea80b05adb9e4ba5fde9a76ffc8ebe79476996dc34160aa76ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/src/pages/gallery/dashboard/dashboard_page.dart:98-119 | lib/src/pages/gallery/dashboard/dashboard_page.dart:130-151 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/gallery/dashboard/dashboard_page.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a24db6b89576fc248d54f4002c31f8160ebe6ddfcab9cdd6417b39813c5380b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/src/pages/setting/account/login/login_page.dart:68-92 | lib/src/pages/setting/account/login/login_page.dart:173-202 \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/src/pages/setting/account/login/login_page.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d07bd1e5cb3753aea728f83c1913ef1cdcf016f0f0e5527a4402077309aa21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/src/pages/setting/download/setting_download_page.dart:135-158 | lib/src/pages/setting/download/setting_download_page.dart:160-182 \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/src/pages/setting/download/setting_download_page.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef25dca06398a90f7ee790b732b07b69b0acd0e9ce63200f8cfdec4e48a9d4a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart:55-78 | lib/src/pages/download/list/gallery/gallery_list_download_page_logic.dart:76-103 \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/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4790d4a51f9954ac83da2ff45f4340ea91435036dfe2ac9d37577d3f4efcf7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart:61-84 | lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart:86-109 \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/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9495d1ff201ccf94b3a74c3933d62dcdf6bd20e8f4beb1a66ef0c2775a76818"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/src/pages/setting/eh/setting_eh_page.dart:177-206 | lib/src/pages/setting/eh/setting_eh_page.dart:208-233 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/eh/setting_eh_page.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"281cd2bd363ac9d535764a53db1159572cfb2c2d384c51be7f2041cbd9e1307d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): lib/src/pages/details/details_page.dart:1125-1149 | lib/src/pages/details/details_page.dart:1151-1174 | lib/src/pages/details/details_page.dart:1176-1201 | lib/src/pages/details/details_page.dart:1203-1226 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page.dart"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e954398971dd0c6f123d297d0e2ae92ac64b17cbb70d714a81704ec0d06ac0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/src/widget/eh_archive_bot_setting_dialog.dart:114-140 | lib/src/widget/eh_archive_bot_setting_dialog.dart:142-168 \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/src/widget/eh_archive_bot_setting_dialog.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b5fb2828b3688217085da79e92b4b0727fa6dcc86f1d35d747ec32bc8b960a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/src/pages/details/comment/comment_page.dart:175-201 | lib/src/pages/details/details_page_logic.dart:973-998 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/comment/comment_page.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"57baff0c003686183fd7dcf06adb59b6774e94758359029b97cd616912c4b18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): lib/src/pages/setting/performance/setting_performace_page.dart:29-63 | lib/src/pages/setting/read/setting_read_page.dart:407-437 | lib/src/pages/setting/read/setting_read_page.dart:448-476 | lib/src/pages/setting/read/setting_read_page.dart:487-515 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/performance/setting_performace_page.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"321ef5d3e05b8a4b8f0b144433debf757111f56ac5fc1aad682af870683dca40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/src/pages/setting/keyboard_shortcuts/setting_keyboard_shortcuts_page.dart:269-291 | lib/src/pages/setting/keyboard_shortcuts/setting_keyboard_shortcuts_page.dart:293-315 \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/src/pages/setting/keyboard_shortcuts/setting_keyboard_shortcuts_page.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67195d547e4236052482167bf486570e13bb930b29d6d05d1ab0594627997ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lib/src/pages/setting/network/proxy/setting_proxy_page.dart:74-89 | lib/src/pages/setting/network/proxy/setting_proxy_page.dart:91-106 | lib/src/pages/setting/network/proxy/setting_proxy_page.dart:108-124 \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/src/pages/setting/network/proxy/setting_proxy_page.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59cba309385e5fcfd36dac0327490b67e52fbe6d878cd9e3c95674038d217f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.dart:120-147 | lib/src/pages/read/layout/horizontal_page/horizontal_page_layout_logic.dart:77-104 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2129b0106c18096ce90aac5acd5328a0a9ba6f3d65b1b953c457d7f8e853c513"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/src/network/eh_request.dart:624-648 | lib/src/network/eh_request.dart:650-677 \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/src/network/eh_request.dart"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd9defe2a914b78640baee572c9c2eb7cc3f0af0af31b463ef59e5276eae28b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/src/pages/search/desktop/desktop_search_page_tab_view.dart:24-49 | lib/src/pages/search/mobile_v2/search_page_mobile_v2.dart:70-94 \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/src/pages/search/desktop/desktop_search_page_tab_view.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a82a9e826ff20f382d8167d4fda44930cc5d8a767244b849600379cf0aad1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:381-399 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:361-379 | lib/src/pages/download_search/download_search_page.dart:263-280 | lib/src/pages/download_search/download_search_page.dart:446-463 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"9411ee920ef38dcdeeabe778daac1804e19c85ee2a1a06b0849764f57c85bc54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/src/service/archive_download_service.dart:329-343 | lib/src/service/gallery_download/gallery_download_service.dart:735-749 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/archive_download_service.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb17c25eb0048d8d3bd6ab8e949a7fc3265b24a698b6ab11a00626b36d3d4e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/src/network/eh_cookie_manager.dart:26-32 | lib/src/network/eh_cookie_manager.dart:34-39 \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/src/network/eh_cookie_manager.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e914b489f3d6d233313b1041192c1cc10ce8727bd688c0ec7922ceb272d3f38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:224-243 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:236-255 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18bf51ec434df6ae984a4e80b8d5e38a67994a881551f3d61f856c84294e9a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:204-222 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:211-234 \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/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"610b8d4310abcbc51257c2d5aa95884f10e24d6f70c468d2d11693b9fcf0a062"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:266-287 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:305-326 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed09e1d85028fbb5b79418f914d485c0b3b8eaa95324b1f61ae7e1e68e9fa8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart:50-72 | lib/src/pages/setting/read/setting_read_page.dart:534-555 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e712e3cdb343f9c71d156125b7b5e5a4ec532e8525b38bf5edda96302ea0ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/src/pages/setting/advanced/setting_advanced_page.dart:109-129 | lib/src/pages/setting/advanced/setting_advanced_page.dart:131-151 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/advanced/setting_advanced_page.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"236f44a61d5a965f78c3f3878543175a151c38471a3d4e42f5539ef8a64fef12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:245-261 | lib/src/pages/download_search/download_search_page.dart:407-424 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"610a677e53b9b29e554cdb487d20a9f8b56243c2b3fb6f501a523d3339fd025a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page_logic.dart:32-45 | lib/src/pages/download/list/gallery/gallery_list_download_page_logic.dart:33-46 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page_logic.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52f960048d7b9ca4157c33a8da38732036454f16ebb4c0d765bc5d9cdbe350e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): lib/src/pages/setting/read/setting_read_page.dart:354-364 | lib/src/pages/setting/read/setting_read_page.dart:366-376 | lib/src/pages/setting/read/setting_read_page.dart:387-397 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a675611bfe59735a94d6a653ecc527026dda6bcb973e3709ec825e81c93913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/src/pages/download/grid/archive/archive_grid_download_page.dart:252-262 | lib/src/pages/download_search/download_search_page.dart:513-525 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"740faa311a63c1cde1643a4278f8616233d86062a23ef9c3fba8f1cc008af371"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/src/pages/setting/security/setting_security_page.dart:11-28 | lib/src/pages/setting/style/setting_style_page.dart:14-36 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/security/setting_security_page.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9164cbe9e662742d618fbfc6fff664a699e425e4597157293b144e7eba27eaa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page_logic.dart:94-105 | lib/src/pages/download/list/gallery/gallery_list_download_page_logic.dart:105-116 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page_logic.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1913e5192f6640c342f68263ed71b6bb93f7d34cadd6c25e87e84eee45f46f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/src/network/eh_request.dart:961-990 | lib/src/network/eh_request.dart:992-1019 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_request.dart"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa40bae32f411fcd8ce8500c79e9da0d631c0b56c04ff3bd4d15a479181bc1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): lib/src/utils/eh_spider_parser.dart:88-108 | lib/src/utils/eh_spider_parser.dart:110-130 | lib/src/utils/eh_spider_parser.dart:132-152 | lib/src/utils/eh_spider_parser.dart:154-169 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe419ace47e42e6210f6fe6792ceb7e72381d67f3bfaa1687445a16fcf662ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/src/pages/download/grid/archive/archive_grid_download_page.dart:233-250 | lib/src/pages/download/grid/gallery/gallery_grid_download_page.dart:263-280 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eea728f5cca750d603f6a6e4299ca43fe6793184f6d89d2757a2881bde81377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:289-306 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:328-349 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a9d36670a0cae36e5e46ba0288e8df86c916c59c1fc689c9a7ca4310f2d836"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/utils/text_input_formatter.dart:9-25 | lib/src/utils/text_input_formatter.dart:34-50 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/text_input_formatter.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedb7263b14d8a2cb858ee372fb7b054e31b5e70806930b6af7d1b43ded3428e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/database/dao/tag_dao.dart:17-23 | lib/src/database/dao/tag_dao.dart:25-31 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/dao/tag_dao.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd03ce252d0f9885f9b15c4a79454a74180c3d05bb8c52a8cfc01cb1bcc52cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/src/network/archive_bot_request.dart:157-178 | lib/src/network/archive_bot_request.dart:228-248 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/archive_bot_request.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ba3ae0ce7ccb0f0409e5408492c152e8d16d43b64f8700b4e5d7e3f15bf451"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/network/eh_cookie_manager.dart:41-52 | lib/src/network/jh_cookie_manager.dart:11-22 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_cookie_manager.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"41370233f4dbeba780b31dba0ba4c03344d6b58e6c9119afa95cf96ed2053573"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/service/tag_search_order_service.dart:43-52 | lib/src/service/tag_translation_service.dart:54-63 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/tag_search_order_service.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07e87db8400b488b5dd1887a1a7214333b6dcd4d9ad3aea2968c1d11244d5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page_logic.dart:54-66 | lib/src/pages/download/list/gallery/gallery_list_download_page_logic.dart:55-66 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page_logic.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8e8edaa847ee2e64ecb9b1c430fe16d404d0a9bb50d6b3bb97947cb1ac2163"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/widget/eh_gallery_list_card_.dart:225-239 | lib/src/widget/eh_gallery_waterflow_card.dart:196-207 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_gallery_list_card_.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"83785bbb7b2aa2d47697f67d4ea8216a8a68f935880c81da27e4cd56b597cc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/src/pages/setting/advanced/setting_advanced_page.dart:224-241 | lib/src/pages/setting/advanced/setting_advanced_page.dart:243-260 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/advanced/setting_advanced_page.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4333b64307ef6242f32fc8cea75c5370ef98c3996e4b0b1ec5472de58f11aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/src/pages/setting/download/extra_gallery_scan_path/extra_gallery_scan_path_page.dart:39-59 | lib/src/pages/setting/download/setting_download_page.dart:427-449 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/download/extra_gallery_scan_path/extra_gallery_scan_path_page.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dd7f8fce40ebd0e3cc0569fdc68e16713ee11a4bd774e9f00eb52b563c1513"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/src/service/gallery_download/gallery_download_service.dart:1537-1552 | lib/src/setting/download_setting.dart:228-245 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d473fa937951a26e4cffa71def877d14122c7631f1b9d4a6454f044117a408dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:98-117 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:41-64 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:73-92 | lib/src/pages/download_search/download_search_logic.dart:353-376 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fc7aac95ccdd1aa1fe4040fc6188a141975884f2ee1ecfdb80676e25952128"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/network/eh_request.dart:351-370 | lib/src/network/eh_request.dart:517-533 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_request.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c582d943e8a1874aee4b6b523d57e3837ef720353ebf1f5f0fbb704ffa4d332e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/src/network/eh_request.dart:372-389 | lib/src/network/eh_request.dart:391-405 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_request.dart"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb67a04b1d53b875ca26ac098ecac0615525f035336cb04995331a00d20eb3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/src/pages/download/list/local/local_gallery_list_page.dart:123-135 | lib/src/pages/download/list/local/local_gallery_list_page.dart:145-157 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/local/local_gallery_list_page.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e50fa4e50a1009680f6e8ac480048f93bd5a767647c019cb2491f4cadecfa70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/src/model/gallery_image_page_url.dart:19-32 | lib/src/model/gallery_url.dart:12-24 | lib/src/model/gallery_url.dart:26-38 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/gallery_image_page_url.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8012deb1cbf917567e68cb5d8f0fc089861e6312dd27e0add175f24918def95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/pages/details/thumbnails/thumbnails_page.dart:67-83 | lib/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart:40-63 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/thumbnails/thumbnails_page.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe8b3579d2dae91a7a047a71f1d667fb94492f4a56a1d055feed952111d3939"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/pages/setting/download/archive_bot/archive_bot_settings_page.dart:65-81 | lib/src/pages/setting/download/archive_bot/archive_bot_settings_page.dart:83-100 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/download/archive_bot/archive_bot_settings_page.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2938bf0ea4e16acb18dba156606319f5df4c838fa061e4aa016524671fdea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/setting/network_setting.dart:106-113 | lib/src/setting/user_setting.dart:57-71 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/network_setting.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8785cf4441b925baccedd8bd13e90bbb700f97baa9dc67d86ed0ddbda31f2d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/src/network/eh_request.dart:910-925 | lib/src/network/eh_request.dart:927-944 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_request.dart"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"c034ac50e1990e5f8b574144389a4db3fa3654087b4dc594cbec806a753a564b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/src/pages/details/comment/comment_page.dart:100-113 | lib/src/pages/details/details_page_logic.dart:825-838 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/comment/comment_page.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecbe291f7a70f1953c51f18946e59d33eca64ab410b226c0e7e6666615754b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/database/dao/archive_dao.dart:25-32 | lib/src/database/dao/gallery_dao.dart:37-44 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/dao/archive_dao.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e89be3605682189309c5e38221d74731c73346358c3600b180386e6b9f4d75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): lib/src/database/dao/gallery_history_dao.dart:9-16 | lib/src/database/dao/gallery_history_dao.dart:18-26 | lib/src/database/dao/gallery_history_dao.dart:54-63 \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/src/database/dao/gallery_history_dao.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5772287a1e1a6dadc1de5de82a526f2993bc5ad213b5676dfe0fc6dc0211313c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/src/pages/download/list/archive/archive_list_download_page.dart:320-333 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:347-359 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3add14804a113971a473e2583fc83e728022c788efefda10c26eed4d4bed833"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/src/service/super_resolution_service.dart:490-500 | lib/src/service/super_resolution_service.dart:502-512 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/super_resolution_service.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aeb7b61fb72cbad70c17feb0aa38b7cc23d201d0201e6677839b0816bde7a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/pages/base/base_page.dart:77-83 | lib/src/pages/favorite/favorite_page.dart:30-37 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/base/base_page.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"089ffa5211e0135f02983898dc479eecd26dd323549f02038a87824e45b36d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/src/service/jh_service.dart:47-60 | lib/src/service/jh_service.dart:71-83 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/jh_service.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8ea3cc2598df8bad2f48ccf018a665237aa85945ecb21d2a3564b5e5f4f662"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/utils/eh_spider_parser.dart:232-239 | lib/src/utils/eh_spider_parser.dart:401-408 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2030a510cae40b8cd0701334ece0907793c701b80013fddba90ce63943c8b063"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): lib/src/widget/eh_search_config_dialog.dart:548-558 | lib/src/widget/eh_search_config_dialog.dart:560-570 | lib/src/widget/eh_search_config_dialog.dart:645-655 | lib/src/widget/eh_search_config_dialog.dart:657-667 | lib/src/widget/eh_search_config_dialog.dart:669-679 \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/src/widget/eh_search_config_dialog.dart"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1858bd835208fb3b0232d7fd4642f8f025430a3f0277f68f5bee9a38596386a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/src/network/eh_request.dart:781-794 | lib/src/network/eh_request.dart:796-811 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_request.dart"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"8507d3219e11e55434488f0fb2c255fe191064a0d311f2590aed0eff7691cf76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/pages/download/download_base_page.dart:153-167 | lib/src/widget/eh_group_name_selector.dart:170-181 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/download_base_page.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b964e0c667020f71d5a2f4fde8823cfb6bc6e573eef5e5dabd68fd26dff19065"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): lib/src/service/app_update_service.dart:186-194 | lib/src/service/app_update_service.dart:415-423 | lib/src/service/app_update_service.dart:513-521 | lib/src/service/app_update_service.dart:792-800 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/app_update_service.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b95171c044a7486731c62d9562bb42bd3f7b930b6727ef62bf01923cdf4d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/src/pages/base/base_page.dart:144-162 | lib/src/pages/details/thumbnails/thumbnails_page.dart:156-169 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/base/base_page.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15d704a57877c0a6193128a36e1a53737c24d59dd627972be7065de63d6ffd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/src/database/dao/archive_dao.dart:10-15 | lib/src/database/dao/gallery_dao.dart:10-15 \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/src/database/dao/archive_dao.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b5594f630978e478752093c3c56824125cb77a55c55ba55ad3f758ec81c009"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/pages/setting/cloud/setting_cloud_page.dart:36-48 | lib/src/pages/setting/performance/setting_performace_page.dart:16-27 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/cloud/setting_cloud_page.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca20f80ec495aa212a966da54a2b8ee7c648faf1b98889364e74c5ffc1c2e4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/pages/gallery/dashboard/dashboard_page.dart:38-50 | lib/src/pages/gallery/dashboard/simple/simple_dashboard_page.dart:30-37 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/gallery/dashboard/dashboard_page.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78ecb3bb3579b0c7c650889acf8db1fd04977c3b4de4a1bc947144351ebd451"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/src/service/local_config_service.dart:71-76 | lib/src/service/local_config_service.dart:91-96 \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/src/service/local_config_service.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f64ae521bf120021a7d38cab783ab142cf4f62fe9b9e30e7b34585dd4d440e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/network/eh_request.dart:431-444 | lib/src/network/eh_request.dart:446-457 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_request.dart"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"b085a65e8547a82f320724574bce2d4ca1017a04ea31ac1b32a793cfc80603d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:124-133 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:99-108 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6250950e7907cfec1ac68754d13cafa3424c1c676dec50a214038f2bc405e949"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart:117-129 | lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart:131-143 | lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.dart:139-151 | lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.dart:153-165 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddc18cb1c84d3576a2d077d14ba925511a089d5d93cd46a16d5ac69db538848"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/src/utils/eh_spider_parser.dart:1255-1266 | lib/src/utils/eh_spider_parser.dart:1268-1279 | lib/src/utils/eh_spider_parser.dart:1281-1292 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c997959d9dadc8e809d5e15fa43534fd72932b556e9a48f11e5e9dc6b8be5460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart:53-61 | lib/src/pages/download/list/archive/archive_list_download_page_logic.dart:76-87 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8001595fca4c405184385395cad10baec3b1f897b03f0ee90fc45b5ad180cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/src/pages/download/mixin/local/local_gallery_download_page_logic_mixin.dart:123-135 | lib/src/pages/download_search/download_search_logic.dart:335-351 | lib/src/pages/history/history_page_logic.dart:48-61 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/local/local_gallery_download_page_logic_mixin.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"655270d40a27ea4fd2cd5947f639e914c6225a8e5a0b53734736c58e8d12ad4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/src/setting/archive_bot_setting.dart:121-131 | lib/src/setting/user_setting.dart:73-83 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/archive_bot_setting.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31525e67573db27faac95a0d210a406d486ee9809d00a8520bda48d13754028"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/network/eh_request.dart:535-545 | lib/src/network/eh_request.dart:573-579 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_request.dart"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"53014648f85275c7421a730650fa9c0b0926d90a0cb6c59e434fb24dfe68c503"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/src/database/dao/archive_group_dao.dart:17-19 | lib/src/database/dao/gallery_group_dao.dart:17-19 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/dao/archive_group_dao.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8e8fde7ae48f65fc0d13018fe54422c24ff99a0c0623d0ea43869e9748d546"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): lib/src/database/dao/archive_dao.dart:42-45 | lib/src/database/dao/archive_group_dao.dart:13-15 | lib/src/database/dao/gallery_dao.dart:73-76 | lib/src/database/dao/gallery_group_dao.dart:13-15 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/dao/archive_dao.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c74eaa9ab639401bc8015231c34cee523bb39179e28364e62f97a98e61167e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): lib/src/network/archive_bot_request.dart:131-142 | lib/src/network/archive_bot_request.dart:144-155 | lib/src/network/archive_bot_request.dart:204-214 | lib/src/network/archive_bot_request.dart:216-226 \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/src/network/archive_bot_request.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6951af3c6b03289b572899598e6be6b38e8238ef8be7a03a05b8f9d9ed8570"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.dart:95-105 | lib/src/pages/read/layout/horizontal_page/horizontal_page_layout_logic.dart:62-70 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"81265c07962610710383a8d70d13d0e84713b7f42c4fc856da71efbab6e0c18a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/src/database/dao/tag_dao.dart:5-7 | lib/src/database/dao/tag_dao.dart:37-39 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/dao/tag_dao.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8624f141704b6116f7cc7962f6956289d8610a2a73ac38b95076c37204d30b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): lib/src/database/dao/archive_dao.dart:21-23 | lib/src/database/dao/gallery_image_dao.dart:62-64 | lib/src/database/dao/super_resolution_info_dao.dart:13-15 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/dao/archive_dao.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d54033edd7900d214e9d0cdf50b95facf1c92d7d6a72564b39d2c8307fcd97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/pages/history/history_page_logic.dart:39-46 | lib/src/pages/search/mixin/search_page_logic_mixin.dart:307-314 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/history/history_page_logic.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6472ea15725cfcb61c2c34c5a553b97ddeef506371f2ea9b5351c1b6807fa7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/src/network/eh_request.dart:320-328 | lib/src/network/jh_request.dart:64-73 | lib/src/network/jh_request.dart:96-105 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_request.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc093b5eea6d8cd080e99d34b72c99bab57a4adad2589548c3ba6a5b521be2e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): lib/src/database/dao/archive_dao.dart:6-8 | lib/src/database/dao/archive_group_dao.dart:5-7 | lib/src/database/dao/gallery_group_dao.dart:5-7 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/dao/archive_dao.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba9fb5359f2192dea65fe397678f20846c716e0e32faa7b44cc7e17f1413285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:91-96 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:66-71 \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/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a49c326166b1b383cd1275a4365f07487ffb2a3eb56f2cc725a132ff939e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/src/database/dao/archive_group_dao.dart:21-23 | lib/src/database/dao/gallery_group_dao.dart:21-23 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/dao/archive_group_dao.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8291e1941805ea6f5f6ce4cc38004d03ac6aa665c8fdd0ef0676980b6e671c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/src/pages/download/mixin/local/local_gallery_download_page_logic_mixin.dart:55-60 | lib/src/pages/setting/download/extra_gallery_scan_path/extra_gallery_scan_path_page.dart:61-67 \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/src/pages/download/mixin/local/local_gallery_download_page_logic_mixin.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3441c468e3276a143927c493b80ca99afcb8fc246966ea13d54d7a553a04efab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): lib/src/database/dao/archive_dao.dart:47-49 | lib/src/database/dao/gallery_dao.dart:78-80 | lib/src/database/dao/gallery_history_dao.dart:42-44 | lib/src/database/dao/gallery_image_dao.dart:93-95 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/dao/archive_dao.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e734bb649284722775556c612ce5e1efbed781a4361a383a8c62e2440346b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/mixin/window_widget_mixin.dart:74-84 | lib/src/pages/read/read_page.dart:145-154 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/mixin/window_widget_mixin.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f978d79d89185b9395ac60c79c6bf92afdf62d8c83b91a9d911a02223b059db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 7\u002B corresponding lines): lib/src/pages/setting/account/setting_account_page.dart:63-69 | lib/src/pages/setting/cloud/setting_cloud_page.dart:66-73 | lib/src/pages/setting/download/setting_download_page.dart:103-110 | lib/src/pages/setting/eh/setting_eh_page.dart:235-242 | lib/src/pages/setting/preference/setting_preference_page.dart:446-453 | lib/src/pages/setting/style/setting_style_page.dart:55-61 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/setting_account_page.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"044af7383b537826377de69d7ee61ebb4b262494bc0a95c53bbf4c02e995be19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): lib/src/pages/setting/advanced/setting_advanced_page.dart:101-107 | lib/src/pages/setting/network/setting_network_page.dart:55-61 | lib/src/pages/setting/style/setting_style_page.dart:164-170 \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/src/pages/setting/advanced/setting_advanced_page.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88939ca9070579c7633c0171856ac502fa2be74ccf5716e12ad475cdf5f4f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart:121-125 | lib/src/pages/download/list/archive/archive_list_download_page_logic.dart:107-111 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1576293c8964e79b54a83f956034a2eaac265fc1ba36a3cff1a342985b4a724d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/pages/download/grid/mixin/grid_download_page_mixin.dart:36-44 | lib/src/pages/download/list/local/local_gallery_list_page.dart:32-39 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/mixin/grid_download_page_mixin.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9612c8441a7eef94625e44c039931f590ade3985c08e1c7f0efb2b7a0c0bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/pages/layout/desktop/desktop_layout_page_logic.dart:21-28 | lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.dart:24-31 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/layout/desktop/desktop_layout_page_logic.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a4973fcdaa65a6740b27ffbbd1696fb1d757e13086e79e268de6c721305560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4): lib/src/pages/download/grid/archive/archive_grid_download_page.dart:63-96 | lib/src/pages/download/grid/gallery/gallery_grid_download_page.dart:71-104 | lib/src/pages/download/list/archive/archive_list_download_page.dart:81-114 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:88-121 \u2014 \u0060lib/src/pages/download/grid/archive/archive_grid_download_page.dart\u0060 and \u0060lib/src/pages/download/grid/gallery/gallery_grid_download_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 5 separate duplicated blocks between them, totalling at least 90 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/src/pages/download/grid/archive/archive_grid_download_page.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/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46bc44323fe996f13276c89843de988c6ba85c60a8d3fe476358a4224584da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart:175-205 | lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.dart:197-227 \u2014 \u0060lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart\u0060 and \u0060lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.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 61 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/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart:175\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25a92af0793a529851adba0128cc71b9dc73cf6ca9165a798292dfcc3c0244f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/src/widget/eh_tag_bottom_sheet.dart:103-133 | lib/src/widget/eh_tag_dialog.dart:78-108 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/widget/eh_tag_bottom_sheet.dart:103\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_tag_bottom_sheet.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"244b42b4082bac624c6fc23c6070f2ea74f931fbe5bf86da508fed5b31279696"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/src/pages/layout/desktop/desktop_layout_page.dart:169-196 | lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.dart:107-134 \u2014 \u0060lib/src/pages/layout/desktop/desktop_layout_page.dart\u0060 and \u0060lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.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 55 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/src/pages/layout/desktop/desktop_layout_page.dart:169\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/layout/desktop/desktop_layout_page.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc95848f6376dbc50c98812b8a0751c0c3a364096b879817d227d5e921b25fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/src/utils/eh_spider_parser.dart:1090-1116 | lib/src/utils/eh_spider_parser.dart:1119-1145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/utils/eh_spider_parser.dart:1090\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1d6edf56b8ff926f1b21ec465018f719499586a1f81011ae7810051326ac1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page.dart:293-318 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:320-345 \u2014 \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_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 11 separate duplicated blocks between them, totalling at least 182 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/src/pages/download/list/archive/archive_list_download_page.dart:293\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d8c9292f1832b6a8618d23abc9a62b177a4f466c124ce7cc8789b6d5bf8145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/src/pages/setting/account/login/login_page.dart:139-164 | lib/src/pages/setting/account/login/login_page.dart:321-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c59bf790ecb2d97c8901ed0684b0ba3b939d31ebc5cab3a2ec9f83df63a803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): lib/src/utils/eh_spider_parser.dart:1148-1172 | lib/src/utils/eh_spider_parser.dart:1175-1199 | lib/src/utils/eh_spider_parser.dart:1202-1226 | lib/src/utils/eh_spider_parser.dart:1229-1253 \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. 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/src/utils/eh_spider_parser.dart"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c74cc6004f10a4dc74e3e0d8a8d4b1b5a2099130cf5772a9c4646429b133fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart:113-136 | lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart:146-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/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d9540f2f26bf43946df5993c5dfaddaf432d46cdbb0dd67ed6990cce35e62e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/src/pages/setting/style/theme_color/setting_theme_color_page.dart:119-142 | lib/src/widget/eh_tag_edit_dialog.dart:385-408 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/style/theme_color/setting_theme_color_page.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/style/theme_color/setting_theme_color_page.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a429cc7f963a9e1ea8506a01afc219fa8af2ee6fa9f3855d883ad83dbc490665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/src/pages/details/details_page_logic.dart:1281-1303 | lib/src/pages/gallery_image/gallery_image_page_logic.dart:189-211 \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/src/pages/details/details_page_logic.dart"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e971d0dde98d305ab07befd49e21487c00c984a99a98d30f80a6b93f17276c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/src/service/archive_download_service.dart:831-853 | lib/src/service/archive_download_service.dart:889-911 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/service/archive_download_service.dart:831\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/archive_download_service.dart"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3fc5e994e0823193bbc5582b6312f65a4b27b3927237a33fc3a450bbdd8f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:50-71 | lib/src/pages/download_search/download_search_logic.dart:406-427 \u2014 before extracting anything, compare \u0060lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart\u0060 and \u0060lib/src/pages/download_search/download_search_logic.dart\u0060 as WHOLE FILES: this scan already matched 3 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. 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/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"89157a8c9dd4a9a086797f0bbb2ca838f154df15ab6b01a86b2a5ad692d1c94c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/src/pages/details/comment/comment_page.dart:176-195 | lib/src/pages/details/details_page_logic.dart:974-993 \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/src/pages/details/comment/comment_page.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a2d6c7bd5adc54a5651ea7e25d92fe56eb7b11fc0513cdd9f16262750c2940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart:113-131 | lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart:160-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4878168c889719590d7e6c26d6e8640b543e9d30eb334d09684060fd3cdbe68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/pages/gallery_image/gallery_image_page_logic.dart:75-93 | lib/src/pages/gallery_image/gallery_image_page_logic.dart:99-117 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/gallery_image/gallery_image_page_logic.dart:75\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/gallery_image/gallery_image_page_logic.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9af0218915172cdcf41afa05e4271fd22463b42bef758d3677d80e3cfd3939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/pages/setting/cloud/config_sync/config_sync_page.dart:208-226 | lib/src/pages/setting/cloud/config_sync/config_sync_page.dart:249-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/cloud/config_sync/config_sync_page.dart:208\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/cloud/config_sync/config_sync_page.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fe765b06b26b8ed348424fb29e4c3c7662e55b1b37c42ecd3e4a456c7d2eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:161-178 | lib/src/pages/download_search/download_search_logic.dart:298-315 \u2014 before extracting anything, compare \u0060lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart\u0060 and \u0060lib/src/pages/download_search/download_search_logic.dart\u0060 as WHOLE FILES: this scan already matched 3 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/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:161\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22a3ef2ba3c06c4fa3fee2f87c53d4d20563ba6109c045ec36629fc7a07ce03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/src/pages/search/mixin/search_page_logic_mixin.dart:222-239 | lib/src/widget/eh_search_config_dialog.dart:772-789 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/search/mixin/search_page_logic_mixin.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/search/mixin/search_page_logic_mixin.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"910c8c50d249f0865c35bd335fe681923325a5e2d03dfc19482d2a053fe0cc6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart:205-223 | lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart:250-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/src/pages/setting/eh/tagsets/tag_sets_page_logic.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/eh/tagsets/tag_sets_page_logic.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a04be23cb98c049afcc7caf80c73f1fe3c6ff6946446e32dfa96b7b5466e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/src/widget/eh_archive_dialog.dart:422-439 | lib/src/widget/eh_asset.dart:30-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_archive_dialog.dart"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3ba6185a7fd97b61e14c9c253adab2fc5f434515e5382348aea8ba6f9b8816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart:55-71 | lib/src/pages/download/list/gallery/gallery_list_download_page_logic.dart:76-92 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.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/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4387992238cbccc84e91fa1605f3ea1a64f907fe5366d3fa9e5e2a59437d2c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:167-183 | lib/src/pages/download_search/download_search_logic.dart:264-280 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:167\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e47ffc2f1ede5d712734b278ec07b2f1137cc8ea72493bfc42d8015d6010f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/src/service/archive_download_service.dart:597-613 | lib/src/service/gallery_download/gallery_download_service.dart:1025-1041 \u2014 before extracting anything, compare \u0060lib/src/service/archive_download_service.dart\u0060 and \u0060lib/src/service/gallery_download/gallery_download_service.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 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/src/service/archive_download_service.dart:597\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/archive_download_service.dart"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a3c2e154df93c178dfb414fe5e5c29a4a6065bd88aba2323b6f9f921c4d34c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/src/pages/download/grid/mixin/grid_download_page_mixin.dart:46-61 | lib/src/pages/download/list/archive/archive_list_download_page.dart:55-70 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:62-77 \u2014 \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_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 11 separate duplicated blocks between them, totalling at least 182 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/src/pages/download/grid/mixin/grid_download_page_mixin.dart:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/mixin/grid_download_page_mixin.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6382dbd84fbac5cdabe7313c5526e83a7e359476a1ce1e80f182c5310112d9af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): lib/src/pages/download/list/archive/archive_list_download_page.dart:72-86 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:79-93 | lib/src/pages/download/list/local/local_gallery_list_page.dart:49-64 \u2014 \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_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 11 separate duplicated blocks between them, totalling at least 182 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/src/pages/download/list/archive/archive_list_download_page.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/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2bd070f5140db2c5948d0a446cd3fab0d0d5c9319f8820fd1276fc824416a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:52-67 | lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:99-114 | lib/src/pages/download_search/download_search_logic.dart:408-423 \u2014 before extracting anything, compare \u0060lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart\u0060 and \u0060lib/src/pages/download_search/download_search_logic.dart\u0060 as WHOLE FILES: this scan already matched 3 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"588203f69089bcea18d75fcec69f3ae7ee1ed4dd0dd6e939f218ae2ac37ccbb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/pages/details/comment/comment_page.dart:76-91 | lib/src/pages/details/comment/comment_page.dart:129-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/src/pages/details/comment/comment_page.dart:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/comment/comment_page.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbff09777762890a3f4cfe9351f79bfbf10e2226134fb395e7cb37c082d27f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/pages/details/details_page_logic.dart:214-229 | lib/src/pages/details/details_page_logic.dart:277-292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/details/details_page_logic.dart:214\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/src/pages/details/details_page_logic.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1262eb0089ca3dd7c01429d634c95f61062c79939d25a223e3a28a1d06a876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): lib/src/pages/download/grid/archive/archive_grid_download_page.dart:140-161 | lib/src/pages/download/grid/gallery/gallery_grid_download_page.dart:157-179 \u2014 \u0060lib/src/pages/download/grid/archive/archive_grid_download_page.dart\u0060 and \u0060lib/src/pages/download/grid/gallery/gallery_grid_download_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 5 separate duplicated blocks between them, totalling at least 90 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/src/pages/download/grid/archive/archive_grid_download_page.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/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9818d0ae80f9af15291d458fec1f1e58e7b5146b2c87154712e9af5abfea5b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page.dart:164-179 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:171-186 \u2014 \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_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 11 separate duplicated blocks between them, totalling at least 182 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/src/pages/download/list/archive/archive_list_download_page.dart:164\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"974cb461714917553d5060622db6a851a7fcaaadbfb9cb859c4f6d619f2d343e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:44-59 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:74-89 \u2014 both copies are in the same file, so extract the block 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/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9713d4f2ee2f56a54e0f2dd535b46bbedee32a8a48ac3e553aab0eb3f402cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/pages/download_search/download_search_logic.dart:164-179 | lib/src/pages/download_search/download_search_logic.dart:181-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/download_search/download_search_logic.dart:164\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download_search/download_search_logic.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"af52143f016afdecd610728b07b5cc7d7f76f41e58f708c34b295de9b8b08495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/pages/download_search/download_search_logic.dart:199-214 | lib/src/pages/download_search/download_search_logic.dart:216-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/src/pages/download_search/download_search_logic.dart:199\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/src/pages/download_search/download_search_logic.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d6f3b1ac444de26cb5cb5f5847ee67e7a4c406fb320172a8d4f2d2ca233edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/src/pages/download_search/download_search_page.dart:288-314 | lib/src/pages/download_search/download_search_page.dart:471-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/download_search/download_search_page.dart:288\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download_search/download_search_page.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"15369bdeafaab0652d6ca606a5578c7931acaad5ba867b2b77d51ac929fc8d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/pages/layout/desktop/desktop_layout_page_state.dart:101-116 | lib/src/pages/layout/mobile_v2/mobile_layout_page_v2_state.dart:105-120 \u2014 \u0060lib/src/pages/layout/desktop/desktop_layout_page_state.dart\u0060 and \u0060lib/src/pages/layout/mobile_v2/mobile_layout_page_v2_state.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/src/pages/layout/desktop/desktop_layout_page_state.dart:101\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/layout/desktop/desktop_layout_page_state.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f53780a004a0c817a3ab47869782edc17170d3d32c8f5fdc5f9ff9b061ef1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/src/pages/layout/desktop/desktop_layout_page.dart:118-132 | lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.dart:53-67 \u2014 \u0060lib/src/pages/layout/desktop/desktop_layout_page.dart\u0060 and \u0060lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.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 55 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/src/pages/layout/desktop/desktop_layout_page.dart:118\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/layout/desktop/desktop_layout_page.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8820f5048579be3732b9e735c61d0aae8638fa78c96e0a2f9b9a74fc01e4ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/src/pages/setting/account/login/login_page_logic.dart:596-610 | lib/src/pages/setting/account/login/login_page_logic.dart:640-654 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/account/login/login_page_logic.dart:596\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d40bf2319393d24eb03bc57f9cba7a886b71bd86d93eeccc72ac56162c9c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/src/pages/setting/read/setting_read_page.dart:267-281 | lib/src/pages/setting/read/setting_read_page.dart:573-587 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/read/setting_read_page.dart:267\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"874ffcfb91727afc37a0069e9027db8788cce8ee99bda6ff96e506e7577fb4e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): lib/src/pages/details/details_page.dart:626-639 | lib/src/pages/details/details_page.dart:654-667 | lib/src/pages/details/details_page.dart:681-694 | lib/src/pages/details/details_page.dart:716-729 \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/src/pages/details/details_page.dart:626\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3adb8e1d40aaa5dcd4a86975455276d0728abf3ea19eb40851a8a233ff55dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/src/pages/download/grid/archive/archive_grid_download_page.dart:55-68 | lib/src/pages/download/grid/gallery/gallery_grid_download_page.dart:63-76 | lib/src/pages/download/grid/local/local_gallery_grid_page.dart:35-48 \u2014 \u0060lib/src/pages/download/grid/archive/archive_grid_download_page.dart\u0060 and \u0060lib/src/pages/download/grid/gallery/gallery_grid_download_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 5 separate duplicated blocks between them, totalling at least 90 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/src/pages/download/grid/archive/archive_grid_download_page.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8301cddd8d024c5bd0d6c744ff39fc81ba42978d701950ad56d1064d797bafee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/network/archive_bot_request.dart:19-32 | lib/src/network/jh_request.dart:21-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/archive_bot_request.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10ae9e085990260c35531faf45ac368e58dba443e80d9a95fcf51fc80619a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/network/eh_request.dart:739-752 | lib/src/network/eh_request.dart:755-768 \u2014 both copies are in the same file, so extract the block 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/src/network/eh_request.dart"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e5b3ac7f4bd5559fd0090c2f9144fc697bf37b24b058b5f84390556dfcbb24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/pages/details/details_page.dart:1436-1449 | lib/src/pages/details/thumbnails/thumbnails_page.dart:136-149 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/details/details_page.dart:1436\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page.dart"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f74dc47ac56f0cc6a64049f4ea14a2675fa680098fc3589e92bae3b7bd5c8e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/pages/gallery/dashboard/dashboard_page.dart:214-227 | lib/src/pages/gallery/dashboard/dashboard_page.dart:248-261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/gallery/dashboard/dashboard_page.dart:214\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/gallery/dashboard/dashboard_page.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da141147b9bde73f720f1234e74e3967356e761d37a45f0a3c19fbb1e4a96ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/src/pages/setting/account/login/login_page_logic.dart:305-318 | lib/src/pages/setting/account/login/login_page_logic.dart:538-550 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/account/login/login_page_logic.dart:305\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e74ff5efdc4c292ec65ded33f99c4ca99ecba8a04691ee72ea4d7e6da16dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/pages/setting/account/login/login_page_logic.dart:374-387 | lib/src/pages/setting/account/login/login_page_logic.dart:443-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/src/pages/setting/account/login/login_page_logic.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/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3ebd92f9525428d5b000e2cd3ebb60ee376253183fdaba8c2d7f57cdbd0d2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/pages/setting/read/setting_read_page.dart:252-265 | lib/src/pages/setting/read/setting_read_page.dart:558-571 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/read/setting_read_page.dart:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2240a56e4294b654abd1eb768c4453ff909a3be363e7d23c57d746347343eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/src/pages/setting/account/login/login_page.dart:68-80 | lib/src/pages/setting/account/login/login_page.dart:173-185 | lib/src/pages/setting/account/login/login_page.dart:355-367 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/account/login/login_page.dart:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b813b5f6a1ddffb7e556927f92365970fac1cfa0f1fd0ad1d8b85d7965337f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/pages/download/grid/local/local_gallery_grid_page.dart:43-55 | lib/src/pages/download/list/local/local_gallery_list_page.dart:59-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/download/grid/local/local_gallery_grid_page.dart:43\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/local/local_gallery_grid_page.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d403e0058802ec9856ce0a33fd4192e5213dee9bf9376fa9060e75b88e6715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/src/pages/setting/account/login/login_page_logic.dart:573-589 | lib/src/pages/setting/account/login/login_page_logic.dart:618-634 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/account/login/login_page_logic.dart:573\u0060 it does not close everything it opens, so those exact 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/src/pages/setting/account/login/login_page_logic.dart:591\u0060 calls \u0060close\u0060 and \u0060lib/src/pages/setting/account/login/login_page_logic.dart:636\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/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4b745ee3cfe338ce589e87eb72b13167095033673312f27aef672cd475704b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/pages/setting/download/setting_download_page.dart:351-363 | lib/src/pages/setting/download/setting_download_page.dart:434-446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/download/setting_download_page.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/download/setting_download_page.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"787a9cf9efd529e2fb883b7d6755ed53c7e1148a57b27faf3b0c6eccf52e1742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/setting/my_tags_setting.dart:55-67 | lib/src/setting/my_tags_setting.dart:96-108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/setting/my_tags_setting.dart:55\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/my_tags_setting.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daf17c8597cc644f39c892395ec3df993f9aeaf2cb883d77203a4a60b206ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): lib/src/pages/layout/desktop/desktop_layout_page.dart:145-156 | lib/src/pages/layout/desktop/desktop_layout_page.dart:175-186 | lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.dart:83-94 | lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.dart:113-124 \u2014 \u0060lib/src/pages/layout/desktop/desktop_layout_page.dart\u0060 and \u0060lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.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 55 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/src/pages/layout/desktop/desktop_layout_page.dart:145\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/layout/desktop/desktop_layout_page.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"45749fc39bda7626796aa3fbfd46af33785d9712f3873d30dbc47cb10ecdd556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): lib/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart:81-91 | lib/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart:93-104 | lib/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart:137-147 | lib/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart:161-171 \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/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart:81\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/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc5f48900e79c6370c001f07e4c647f4bb1e8f8b3ab56a8b48afd5b568f44ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart:64-75 | lib/src/pages/download/list/gallery/gallery_list_download_page_logic.dart:85-96 | lib/src/pages/download_search/download_search_logic.dart:381-391 \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/src/pages/download_search/download_search_logic.dart:381\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7917db76dce34dda4753fc6788bf049f66aeb34ca7e5b3b56b98050e7f20e92f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/src/pages/gallery/dashboard/dashboard_page.dart:199-210 | lib/src/pages/gallery/dashboard/dashboard_page.dart:233-244 | lib/src/pages/gallery/dashboard/dashboard_page.dart:269-280 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/gallery/dashboard/dashboard_page.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/src/pages/gallery/dashboard/dashboard_page.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6f97f90f4b083fd28bc89e19e99f328d693cafbf80989d1ce96c4de43a044a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/src/database/database.dart:335-346 | lib/src/service/gallery_download/gallery_download_service.dart:1414-1424 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/database/database.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/src/database/database.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16a66b2bc57d0d0126537176e3d9a06f0feb2063f120983583e9b6d6d3f7fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/src/database/database.dart:361-372 | lib/src/service/archive_download_service.dart:1221-1231 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/database/database.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/database.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21ca7755563b8bc0da555f7e13b7c02305e4dbd813e33f661b875e52cb1651f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/pages/details/details_page.dart:1423-1434 | lib/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart:219-230 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/details/details_page.dart:1423\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page.dart"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"44188b00f9500000f1443a399b8d9d37ebf798595f0b23aa41e3d79575d151a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/pages/download/grid/archive/archive_grid_download_page.dart:220-231 | lib/src/pages/download/grid/gallery/gallery_grid_download_page.dart:250-261 \u2014 \u0060lib/src/pages/download/grid/archive/archive_grid_download_page.dart\u0060 and \u0060lib/src/pages/download/grid/gallery/gallery_grid_download_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 5 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e750a99bdeb934b6e19d7404294789e9f6c2132c8b1ca579c5c7bbe41c7a5bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/pages/download_search/download_search_page.dart:265-276 | lib/src/pages/download_search/download_search_page.dart:448-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/src/pages/download_search/download_search_page.dart:265\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download_search/download_search_page.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"317558af47f450209c8be35e8545d48f416c7ed44b874cf5ca69bb9cd4364b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/pages/read/layout/horizontal_list/horizontal_list_layout.dart:28-39 | lib/src/pages/read/layout/vertical_list/vertical_list_layout.dart:29-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/read/layout/horizontal_list/horizontal_list_layout.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_list/horizontal_list_layout.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"38658c94649a0cd2ba99c48b4c98bdeaa869af708b8f37d6ea7b99d45bb7d607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart:154-165 | lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.dart:176-187 \u2014 \u0060lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart\u0060 and \u0060lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.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 61 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc71fdfe2f710be35b7c2b0b5ba01266d091906d79bec7511cb4287ff2f62a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/pages/setting/account/login/login_page_logic.dart:414-425 | lib/src/pages/setting/account/login/login_page_logic.dart:477-488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/account/login/login_page_logic.dart:414\u0060 it begins part-way through the construct above it, so those exact 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/src/pages/setting/account/login/login_page_logic.dart:426\u0060 calls \u0060close\u0060 and \u0060lib/src/pages/setting/account/login/login_page_logic.dart:489\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/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffd6d9efa7f7c5dcf827646b4da020d03116a34c0d8a4c8a03d11b1c1887dc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/service/archive_download_service.dart:583-594 | lib/src/service/gallery_download/gallery_download_service.dart:1011-1022 \u2014 before extracting anything, compare \u0060lib/src/service/archive_download_service.dart\u0060 and \u0060lib/src/service/gallery_download/gallery_download_service.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 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/src/service/archive_download_service.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73255567ef784d8c5724bf4c11f2c0730c6e7f0f694c5129f902b5d501e3815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/src/service/local_gallery_service.dart:134-144 | lib/src/service/local_gallery_service.dart:146-157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/service/local_gallery_service.dart:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/local_gallery_service.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c34474b5652529bbc7f6e25ca4e474b95f18a8b1d99aa0ea65d2b195cc737a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/src/widget/eh_tag_dialog_shared.dart:336-346 | lib/src/widget/eh_tag_dialog_shared.dart:389-400 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/widget/eh_tag_dialog_shared.dart:336\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_tag_dialog_shared.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e004e919e91056eeffbc4c5d6f47547e668395499d5073bd9fbd37cd11d5db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): lib/src/pages/download/list/archive/archive_list_download_page.dart:389-399 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:369-379 | lib/src/pages/download_search/download_search_page.dart:270-280 | lib/src/pages/download_search/download_search_page.dart:453-463 \u2014 \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_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 11 separate duplicated blocks between them, totalling at least 182 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/src/pages/download/list/archive/archive_list_download_page.dart:389\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/src/pages/download/list/archive/archive_list_download_page.dart:388\u0060 calls \u0060only\u0060 and \u0060lib/src/pages/download_search/download_search_page.dart:269\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ee87543f88a6d7ea3cc2aba3e184895b943278b9d746e84bba979c4c4d8b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): lib/src/pages/base/base_page_logic.dart:301-311 | lib/src/pages/details/thumbnails/thumbnails_page_logic.dart:72-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/base/base_page_logic.dart:301\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/base/base_page_logic.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c0f94cd35429c3354b96c6ebacac9ff3e67e558c2a31e411269b7d43503465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/pages/details/details_page.dart:978-988 | lib/src/pages/details/details_page.dart:1104-1114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/details/details_page.dart:978\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page.dart"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4145ab552cebc7c5ed71fdbdaf8a9efe52e80e763d908c78c15bddb366c184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/pages/details/details_page_logic.dart:1160-1170 | lib/src/pages/details/details_page_logic.dart:1177-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/src/pages/details/details_page_logic.dart:1160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4b8d9ea09eb5e42161b570cbb267ab0d7fb0df273e35b52b664cdda06286ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page.dart:496-506 | lib/src/pages/download_search/download_search_page.dart:533-542 \u2014 before extracting anything, compare \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download_search/download_search_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/src/pages/download/list/archive/archive_list_download_page.dart:496\u0060 it does not close everything it opens, so those exact 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 \u0060archive\u0060 to \u0060ArchiveDownloadedData\u0060 in one and \u0060ArchiveSearchVO\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb995e145a2030156b9b3ba937dcb9392fc3dd7982fef14b47fdfa315a4520f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/pages/search/desktop/desktop_search_page_tab_logic.dart:30-40 | lib/src/pages/search/mobile_v2/search_page_mobile_v2_logic.dart:44-54 \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/src/pages/search/desktop/desktop_search_page_tab_logic.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dca051da58ed3102e261fd7e4897e273845eeadac5ae9edc884645b689d1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/pages/setting/eh/setting_eh_page.dart:317-327 | lib/src/pages/setting/eh/setting_eh_page.dart:333-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/eh/setting_eh_page.dart:317\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/eh/setting_eh_page.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"553597d2c3db4f3b2e880944c5d7ba5c4ff01f0852723a6105198a03777a3b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/pages/setting/read/tap_zone/setting_tap_zone_page.dart:173-183 | lib/src/pages/setting/read/tap_zone/setting_tap_zone_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/src/pages/setting/read/tap_zone/setting_tap_zone_page.dart:173\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/read/tap_zone/setting_tap_zone_page.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be5407b4593cbe676f032a511614eeb6b5139d587800c585165414bbe4661df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/service/archive_download_service.dart:329-339 | lib/src/service/gallery_download/gallery_download_service.dart:735-745 \u2014 before extracting anything, compare \u0060lib/src/service/archive_download_service.dart\u0060 and \u0060lib/src/service/gallery_download/gallery_download_service.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 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/src/service/archive_download_service.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/src/service/archive_download_service.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"177226bec6741eefb05dd49beaae80837d5cc0074013f14c882582d275d46db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 5): lib/src/utils/eh_spider_parser.dart:1159-1164 | lib/src/utils/eh_spider_parser.dart:1186-1191 | lib/src/utils/eh_spider_parser.dart:1213-1218 | lib/src/utils/eh_spider_parser.dart:1240-1245 | lib/src/utils/eh_spider_parser.dart:1301-1310 \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/src/utils/eh_spider_parser.dart:1159\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e609020d1d84040f509af6c6ce94271c446d0a1c07cb27ed249f6360e53a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/src/utils/eh_spider_parser.dart:323-332 | lib/src/utils/eh_spider_parser.dart:1091-1100 | lib/src/utils/eh_spider_parser.dart:1120-1129 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/utils/eh_spider_parser.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/src/utils/eh_spider_parser.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba20faac057dfc54931f6109e248da43399b04d838c1b4ece71693546a91183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/pages/details/details_page_logic.dart:1168-1177 | lib/src/pages/gallery_image/gallery_image_page_logic.dart:168-177 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/details/details_page_logic.dart:1168\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"42eba0d62d3125856280f07f1f881c97913360b5b58702b4ca7243287f77bcef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page.dart:193-202 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:200-209 \u2014 \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_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 11 separate duplicated blocks between them, totalling at least 182 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. 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/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfc94d41c0f5f767ecd7a7ecac24a76c831aa243938476436803ba17c88a222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page.dart:361-370 | lib/src/pages/download/list/archive/archive_list_download_page.dart:384-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/src/pages/download/list/archive/archive_list_download_page.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9b1320af41e7b5dccad63b167b512687529e2ba6ff409e1a63051be6cdd00b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page.dart:407-434 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:387-414 \u2014 \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_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 11 separate duplicated blocks between them, totalling at least 182 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/src/pages/download/list/archive/archive_list_download_page.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/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"98aaee6fb9645674afb5fe957eb888623a659b841e5b1d69fbb0ecc98f0c8298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart:62-71 | lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart:87-96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a8168a44a74fa9e62e2600f2c1bb38738647396ef1d9d3a05c099d87563b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/pages/setting/download/archive_bot/archive_bot_settings_page.dart:129-138 | lib/src/widget/eh_archive_dialog.dart:199-208 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/download/archive_bot/archive_bot_settings_page.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/src/pages/setting/download/archive_bot/archive_bot_settings_page.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a2dcfbdbef51bfbf485de1222dc729f48bf5c997ab4c57ffa03e2090282478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/pages/setting/read/setting_read_page.dart:612-621 | lib/src/pages/setting/read/setting_read_page.dart:640-649 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/read/setting_read_page.dart:612\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d2e86afe28666f6370426e358a3c15f3f34c228fd92092d28901a93ae58ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/src/service/archive_download_service.dart:907-916 | lib/src/service/archive_download_service.dart:974-982 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/service/archive_download_service.dart:907\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/archive_download_service.dart"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6373019a878fb5850cd73904d7d528b7fea14655bdac4af811cd7a633888675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): lib/src/service/gallery_download/gallery_download_service.dart:293-300 | lib/src/service/gallery_download/gallery_download_service.dart:365-374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/service/gallery_download/gallery_download_service.dart:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"131b5e46e0de96eb9c53053e613ca648e18aa216fb19b290d109f1afb5a7538b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/service/local_block_rule_service.dart:214-223 | lib/src/service/local_block_rule_service.dart:228-237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/local_block_rule_service.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8551ff9765c04fd2db31815a20ce533a2556f53e025ad5b44c6b03e32e1ecdf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/service/tag_search_order_service.dart:82-91 | lib/src/service/tag_search_order_service.dart:108-117 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/service/tag_search_order_service.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/src/service/tag_search_order_service.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb488eb85c1241f25cac0804180f2c3d19c15288bdede3aeea2ebf2ea67961ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): lib/src/utils/eh_spider_parser.dart:423-449 | lib/src/utils/eh_spider_parser.dart:469-494 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/utils/eh_spider_parser.dart:423\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"63415009b9ed6962839db9c48815564bab46b092dc0f140640312ee0882865c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/utils/eh_spider_parser.dart:1033-1042 | lib/src/utils/eh_spider_parser.dart:1057-1066 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/utils/eh_spider_parser.dart:1033\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b93cc18f6f1f256ed60d6654feb886be5d4f217e5f41e3082551a00801eed58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/src/widget/eh_image.dart:228-237 | lib/src/widget/eh_image.dart:296-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/widget/eh_image.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_image.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b63316768d1c23993fdb3f433601fb4a434b471a996aca3b0f0a1e11ce136ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): lib/src/pages/details/details_page.dart:576-583 | lib/src/pages/details/details_page.dart:626-634 | lib/src/pages/details/details_page.dart:654-662 | lib/src/pages/details/details_page.dart:681-689 | lib/src/pages/details/details_page.dart:716-724 \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/src/pages/details/details_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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac49f57483d52bab2d459815762d43e5e8eae4e14c21ea75257d2dba1ec2b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/src/pages/download/list/archive/archive_list_download_page.dart:169-177 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:176-184 | lib/src/pages/setting/preference/block_rule/blocking_rule_page.dart:88-96 \u2014 \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_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 11 separate duplicated blocks between them, totalling at least 182 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/src/pages/download/list/archive/archive_list_download_page.dart:169\u0060 it does not close everything it opens, so those exact 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/src/pages/download/list/archive/archive_list_download_page.dart:167\u0060 calls \u0060handleLongPressGroup\u0060 and \u0060lib/src/pages/setting/preference/block_rule/blocking_rule_page.dart:87\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/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"76aedcc399675ad14a24726fdb2cf8ea5bb1808d2eac56e058adebbd41a0b148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page_logic.dart:37-45 | lib/src/pages/download/list/gallery/gallery_list_download_page_logic.dart:38-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/download/list/archive/archive_list_download_page_logic.dart:37\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page_logic.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"839af8b9f05db2cc85190ac368fccb0bfeb2c15a37a32fde73b80e1293b2e1f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/pages/read/layout/horizontal_list/horizontal_list_layout.dart:42-50 | lib/src/pages/read/layout/vertical_list/vertical_list_layout.dart:41-49 \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/src/pages/read/layout/horizontal_list/horizontal_list_layout.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9daa7e2a01aeaaf0ab4e32d04ab5f4e34972de4c7c4b410288941906a5ec26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/src/service/local_block_rule_service.dart:409-416 | lib/src/service/local_block_rule_service.dart:434-441 | lib/src/service/local_block_rule_service.dart:459-466 | lib/src/service/local_block_rule_service.dart:484-491 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/local_block_rule_service.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"775ae24de17c2c2ff7b6f476937950040c4d1b88250b6e3b1f29e09b3f28431f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/pages/details/details_page.dart:1162-1169 | lib/src/pages/details/details_page.dart:1214-1221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page.dart"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6e514fe4078c91d5ab3bbceb1ec365c46b1a6510332060e23d07bea482fa6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page.dart:246-253 | lib/src/pages/download_search/download_search_page.dart:408-415 \u2014 before extracting anything, compare \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download_search/download_search_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/src/pages/download/list/archive/archive_list_download_page.dart:246\u0060 it does not close everything it opens, so those exact 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 \u0060archive\u0060 to \u0060ArchiveDownloadedData\u0060 in one and \u0060ArchiveSearchVO\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/src/pages/download_search/download_search_page.dart:418\u0060 calls \u0060galleryCardBackGroundColor\u0060 and \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart:256\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/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51bc4f074aa525ce2a65cf818b2518830af48c280b9a0215ce772818546b63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page_logic.dart:54-61 | lib/src/pages/download/list/gallery/gallery_list_download_page_logic.dart:55-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/download/list/archive/archive_list_download_page_logic.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/src/pages/download/list/archive/archive_list_download_page_logic.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f136bc25544a2fdb416da6656e0649d5a7895af4865894446bb43c19666a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/pages/download/list/local/local_gallery_list_page.dart:124-131 | lib/src/pages/download/list/local/local_gallery_list_page.dart:146-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/download/list/local/local_gallery_list_page.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/src/pages/download/list/local/local_gallery_list_page.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3d2371488af92d81a5cbf2286dc7b6cf9f122fd84342718406597a6ea92771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/pages/setting/read/setting_read_page.dart:664-671 | lib/src/pages/setting/read/setting_read_page.dart:686-693 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/read/setting_read_page.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/src/pages/setting/read/setting_read_page.dart"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3caf8dc80786b1fd0e74127f29adc4072c50a8118d20d5df48b343f4cf7677c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/service/archive_download_service.dart:615-622 | lib/src/service/gallery_download/gallery_download_service.dart:1043-1050 \u2014 before extracting anything, compare \u0060lib/src/service/archive_download_service.dart\u0060 and \u0060lib/src/service/gallery_download/gallery_download_service.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 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/src/service/archive_download_service.dart:615\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/archive_download_service.dart"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eba090ee8b43e1f92b93510e46ca389b3e019ac7788a18ff0fa288d2e092270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/service/schedule_service.dart:116-123 | lib/src/service/schedule_service.dart:147-154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/service/schedule_service.dart:116\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/schedule_service.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0169424680385b5742ba293292a705b07b0956a09583cf9d75b07c37e77e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/utils/eh_spider_parser.dart:89-96 | lib/src/utils/eh_spider_parser.dart:133-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/utils/eh_spider_parser.dart:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e179e7427c0f5ab6ac8a46d16cd282f45fdd0b7ab92147baacfc9e6b41fbc3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/widget/eh_gallery_list_card_.dart:225-234 | lib/src/widget/eh_gallery_waterflow_card.dart:196-203 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/widget/eh_gallery_list_card_.dart:225\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_gallery_list_card_.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0cb021a9c9c6d0b2282d7fe84413109578985e99c7bc2323185f53704b216a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): lib/src/pages/setting/style/setting_style_page.dart:92-102 | lib/src/pages/setting/style/setting_style_page.dart:112-122 | lib/src/pages/setting/style/setting_style_page.dart:132-142 | lib/src/pages/setting/style/setting_style_page.dart:152-162 \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/src/pages/setting/style/setting_style_page.dart:92\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/style/setting_style_page.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f72d7affeeb0db1af032a8622c2a0b0b40270fa3fae87de52d680b5a5aa6a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lib/src/utils/eh_spider_parser.dart:1325-1331 | lib/src/utils/eh_spider_parser.dart:1334-1340 | lib/src/utils/eh_spider_parser.dart:1343-1349 | lib/src/utils/eh_spider_parser.dart:1352-1358 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6823c654837b5cf651370d80a86590061a058de93f31071c28b0f8db6ecd1789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/src/pages/download/grid/mixin/grid_download_page_mixin.dart:313-322 | lib/src/pages/download_search/download_search_page.dart:297-306 | lib/src/pages/download_search/download_search_page.dart:480-489 \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/src/pages/download/grid/mixin/grid_download_page_mixin.dart:313\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/mixin/grid_download_page_mixin.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0c5765d7e96a51d7593d5316d8ee1243b7194c58e2129f214fafe8908eeb64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart:134-140 | lib/src/pages/setting/download/setting_download_page.dart:202-208 | lib/src/pages/setting/download/setting_download_page.dart:293-299 \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/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart:134\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"87401263bea7a9b015bf3340fe116d4d1278a8b4341c3d92fccad61b2c19221f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page.dart:139-145 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:146-152 \u2014 \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_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 11 separate duplicated blocks between them, totalling at least 182 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/src/pages/download/list/archive/archive_list_download_page.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/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3ba125b7a0095eaa4c6285cb1a372f8273cd6624dcd08fa62c4b1c0c0c13b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/layout/desktop/desktop_layout_page_state.dart:65-71 | lib/src/pages/layout/mobile_v2/mobile_layout_page_v2_state.dart:69-75 \u2014 \u0060lib/src/pages/layout/desktop/desktop_layout_page_state.dart\u0060 and \u0060lib/src/pages/layout/mobile_v2/mobile_layout_page_v2_state.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/src/pages/layout/desktop/desktop_layout_page_state.dart:65\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/layout/desktop/desktop_layout_page_state.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"00407f195c6e7a61bbf3c9ffeae7d502961938f421a3ec382e5070297490e3a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/layout/desktop/desktop_layout_page_state.dart:92-98 | lib/src/pages/layout/mobile_v2/mobile_layout_page_v2_state.dart:96-102 \u2014 \u0060lib/src/pages/layout/desktop/desktop_layout_page_state.dart\u0060 and \u0060lib/src/pages/layout/mobile_v2/mobile_layout_page_v2_state.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/src/pages/layout/desktop/desktop_layout_page_state.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/src/pages/layout/desktop/desktop_layout_page_state.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7537badb17f58659d1cd912539757d29f09c47fc41a828d379b3389427852782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/src/pages/read/layout/base/base_layout.dart:271-277 | lib/src/pages/read/layout/base/base_layout.dart:332-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/src/pages/read/layout/base/base_layout.dart:271\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/src/pages/read/layout/base/base_layout.dart:330\u0060 calls \u0060_downloadingWidgetBuilder\u0060, \u0060_pausedWidgetBuilder\u0060 and \u0060lib/src/pages/read/layout/base/base_layout.dart:270\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/src/pages/read/layout/base/base_layout.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bab6e713dff6f45d407baa683a3745e23c3585de19fa184566f185832da055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/search/mixin/search_page_mixin.dart:289-295 | lib/src/widget/eh_add_tag_dialog.dart:141-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/search/mixin/search_page_mixin.dart:289\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/search/mixin/search_page_mixin.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e003be9041e5d15c45bfc3a6fb4962312f7620c438785f847685dee3ee6aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/setting/account/login/login_page.dart:285-291 | lib/src/pages/setting/account/login/login_page.dart:309-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/account/login/login_page.dart:285\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e031b00a28d02913e9f5215597da146e61c0b81dbca25609810a3286cd8b295a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/setting/account/login/login_page_logic.dart:220-226 | lib/src/pages/setting/account/login/login_page_logic.dart:339-345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4387854aa2f082e2f567cffb07fa6a013122701c06136963fbffe87d62be930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): lib/src/pages/setting/account/login/login_page_logic.dart:216-221 | lib/src/pages/setting/account/login/login_page_logic.dart:501-507 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/pages/setting/account/login/login_page_logic.dart:216\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71077741f27ae89e79d9ae9e91761ac499c3cd17e76d5c68d808e702749a592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/utils/eh_spider_parser.dart:233-239 | lib/src/utils/eh_spider_parser.dart:402-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. 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/src/utils/eh_spider_parser.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d7ce21863db732fe63d66d782786b230fab3b438cdb9f71dda34c4f1b7df35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): lib/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart:133-138 | lib/src/pages/setting/download/setting_download_page.dart:201-206 | lib/src/pages/setting/download/setting_download_page.dart:237-242 | lib/src/pages/setting/download/setting_download_page.dart:292-297 | lib/src/pages/setting/read/setting_read_page.dart:611-616 | lib/src/pages/setting/read/setting_read_page.dart:639-644 | lib/src/widget/eh_search_config_dialog.dart:635-640 \u2014 there are 7 copies across 4 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 7 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/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart:133\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/src/pages/setting/read/setting_read_page.dart:617\u0060 calls \u0060Text\u0060, \u0060settingPageListTileTrailingTextStyle\u0060, \u0060marginSymmetric\u0060 and \u0060lib/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart:139\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"764df9663ed79b6664c43f16d5cf846843e87e529395470c10a14c80cc6b797b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/pages/details/details_page_logic.dart:887-892 | lib/src/pages/details/details_page_logic.dart:896-901 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"7002b2cca158226308338ab5f004910a2b7ace79b218168551d815a7298cf7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/service/local_block_rule_service.dart:84-89 | lib/src/service/local_block_rule_service.dart:155-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/service/local_block_rule_service.dart:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/local_block_rule_service.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"10af29d90a62f229aa28fcffdfbdce7693bd50b1c5d3a146b84ec9802c561599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): lib/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart:133-137 | lib/src/pages/setting/download/setting_download_page.dart:201-205 | lib/src/pages/setting/download/setting_download_page.dart:237-241 | lib/src/pages/setting/download/setting_download_page.dart:292-296 | lib/src/pages/setting/read/setting_read_page.dart:611-615 | lib/src/pages/setting/read/setting_read_page.dart:639-643 | lib/src/pages/setting/read/setting_read_page.dart:664-668 | lib/src/pages/setting/read/setting_read_page.dart:686-690 | lib/src/widget/eh_search_config_dialog.dart:635-639 \u2014 there are 9 copies across 4 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 9 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/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart:133\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/src/pages/setting/read/setting_read_page.dart:608\u0060 calls \u0060DropdownMenuItem\u0060, \u0060Text\u0060 and \u0060lib/src/pages/setting/download/setting_download_page.dart:234\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/src/pages/setting/advanced/super_resolution/setting_super_resolution_page.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a17a4514a88bb5ab35efcbfb282c4614c12d9aa91c0fd39a3f159a19a9eaf4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): lib/src/pages/setting/download/setting_download_page.dart:199-203 | lib/src/pages/setting/download/setting_download_page.dart:234-238 | lib/src/pages/setting/download/setting_download_page.dart:285-289 | lib/src/pages/setting/read/setting_read_page.dart:607-611 | lib/src/pages/setting/read/setting_read_page.dart:635-639 | lib/src/pages/setting/read/setting_read_page.dart:660-664 | lib/src/pages/setting/read/setting_read_page.dart:682-686 | lib/src/widget/eh_search_config_dialog.dart:633-637 \u2014 there are 8 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 8 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/src/pages/setting/download/setting_download_page.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/src/pages/setting/download/setting_download_page.dart:240\u0060 calls \u0060DropdownMenuItem\u0060, \u0060Text\u0060 and \u0060lib/src/pages/setting/download/setting_download_page.dart:205\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/src/pages/setting/download/setting_download_page.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedb20a333b16586d6c7cfb6834271efa0c3934c26357811a5894fcc5d7cd566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): lib/src/utils/eh_spider_parser.dart:1001-1005 | lib/src/utils/eh_spider_parser.dart:1024-1028 | lib/src/utils/eh_spider_parser.dart:1048-1052 | lib/src/utils/eh_spider_parser.dart:1071-1075 \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/src/utils/eh_spider_parser.dart:1001\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c48270dfe324b1104c52bbdcaf105f975159ce6e7b9a78f2d9c01a8e0107f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/network/eh_request.dart:954-959 | lib/src/network/jh_request.dart:133-138 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/src/network/jh_request.dart:130\u0060 calls \u0060_parseResponse\u0060 and \u0060lib/src/network/eh_request.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/src/network/eh_request.dart"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93a080d3132ef179761a355d9fe431b48ff6b29d635438df6785056cffe18f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/service/schedule_service.dart:105-110 | lib/src/service/schedule_service.dart:136-141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/service/schedule_service.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/src/service/schedule_service.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a62484b94968379dfe69902e8d5eb1cd8bb4cfd0a01b7a7803bedf9f90cace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): lib/src/utils/eh_spider_parser.dart:418-422 | lib/src/utils/eh_spider_parser.dart:453-457 | lib/src/utils/eh_spider_parser.dart:462-465 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d6a743f2712c8f2161dd4a751280a723d1253497ac202902057d48e55a0ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/pages/download/mixin/archive/archive_download_page_mixin.dart:29-41 | lib/src/pages/download/mixin/gallery/gallery_download_page_mixin.dart:21-33 \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/src/pages/download/mixin/archive/archive_download_page_mixin.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9bc880bce883a4b2bb46a1b35c1e3011ddebd282cde7e2f1a2974a4a7a4399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/database/table/archive_group.dart:4-12 | lib/src/database/table/gallery_group.dart:4-12 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/database/table/archive_group.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b6dc67d987e96083a2c85f98511918e34e14bf54054956764d63e25a59e012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart:70-78 | lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart:87-95 \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/src/pages/download/grid/archive/archive_grid_download_page_logic.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56eecdbb993e6dcfed1aee40d6460a56f25bb9d977782d7e1a3f06f4aac0cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page.dart:45-53 | lib/src/pages/download/list/gallery/gallery_list_download_page.dart:52-60 \u2014 \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_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 11 separate duplicated blocks between them, totalling at least 182 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4504706d36c913b338b02bbaa7240d4b176e0dd9e326464f4266ab41ecb42c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/download/list/archive/archive_list_download_page_logic.dart:68-74 | lib/src/pages/download/list/gallery/gallery_list_download_page_logic.dart:68-74 \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/src/pages/download/list/archive/archive_list_download_page_logic.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"09adda6ae93a74489806bdf9bb4cd011a91238f767e7dd938b3ecb7af6213192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:41-47 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:33-39 \u2014 \u0060lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart\u0060 and \u0060lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.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 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd1056c4b4f0ec55b71015c09f47e156bee842a429cdb22dc055c3107d6c800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/src/pages/favorite/favorite_page_logic.dart:92-99 | lib/src/pages/search/desktop/desktop_search_page_tab_logic.dart:47-54 | lib/src/pages/search/mobile_v2/search_page_mobile_v2_logic.dart:67-74 | lib/src/pages/watched/watched_page_logic.dart:20-27 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/favorite/favorite_page_logic.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a97a0f90331b7f4e56028040a76f842974fb24b8c4c8fdfd52020090571f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.dart:156-162 | lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart:222-228 \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/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadf96810f0318918345888d8a1c0b59e3afbf4f9a9f574aa5863c1332a06699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart:145-152 | lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.dart:167-174 \u2014 \u0060lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart\u0060 and \u0060lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.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 61 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c53de155234c85409a4aa145a73f78ebb8019f27113dd5c2ec93bd6f69cbb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart:211-220 | lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.dart:233-242 \u2014 \u0060lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart\u0060 and \u0060lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.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 61 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.dart:244\u0060 calls \u0060_getVisibleHeight\u0060 and \u0060lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart:222\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/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2562a0f8d13ad074d3a4df2c93295febc34e033bdf70bb682700d865402002eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/model/archive_bot_response/archive_bot_response.dart:10-16 | lib/src/model/jh_response/jh_response.dart:8-14 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/src/model/archive_bot_response/archive_bot_response.dart:20\u0060 calls \u0060fromCode\u0060 and \u0060lib/src/model/jh_response/jh_response.dart:18\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/src/model/archive_bot_response/archive_bot_response.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6050d669d74bfa0d1fd910faacd11839016b2cc4ca5f4468d54cfe4270069aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart:45-51 | lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart:47-53 \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/src/pages/download/grid/archive/archive_grid_download_page_logic.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5636dc7b72e7d62a3d680a399ca4fc8f3feab9ee35c2795fc498ff4723c960"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart:63-68 | lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart:80-85 \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/src/pages/download/grid/archive/archive_grid_download_page_logic.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7660792102d75b8d279b3ef7bee7621019cb75a84398352d85a2417a8ae26925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:73-80 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:110-117 \u2014 \u0060lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart\u0060 and \u0060lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.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 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e30b7fb6b73db3b5ec9d267eebce8dad81a80efbcd0f5916e12efa1e5fe2d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:82-89 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:119-126 \u2014 \u0060lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart\u0060 and \u0060lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.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 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ArchiveDownloadedData\u0060 in one and \u0060GalleryDownloadInfo\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be847f15d248ccf83857011f57416963bdac7909492754438e0f8790ad97a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:250-256 | lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart:258-264 | lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart:275-281 \u2014 \u0060lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart\u0060 and \u0060lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.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 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f2d94194249cc422436eb2d9622d5a96f629a4b7cc4de13c5575c95767854f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/service/archive_download_service.dart:318-327 | lib/src/service/gallery_download/gallery_download_service.dart:1328-1337 \u2014 before extracting anything, compare \u0060lib/src/service/archive_download_service.dart\u0060 and \u0060lib/src/service/gallery_download/gallery_download_service.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 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/src/service/archive_download_service.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b069ee9f8df2a0e569e51c8d85b38ae0076c2373eaa1ada7897cd53135dfdf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/service/archive_download_service.dart:1206-1212 | lib/src/service/gallery_download/gallery_download_service.dart:1320-1326 \u2014 before extracting anything, compare \u0060lib/src/service/archive_download_service.dart\u0060 and \u0060lib/src/service/gallery_download/gallery_download_service.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 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/src/service/archive_download_service.dart"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5d5095cf0ce14be8a3e90a87d37efc5ff81f4135c148433edff5352bb968af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): lib/src/setting/advanced_setting.dart:50-54 | lib/src/setting/advanced_setting.dart:56-60 | lib/src/setting/advanced_setting.dart:62-66 | lib/src/setting/advanced_setting.dart:68-72 | lib/src/setting/security_setting.dart:104-108 | lib/src/setting/security_setting.dart:117-121 | lib/src/setting/security_setting.dart:123-127 | lib/src/setting/security_setting.dart:129-133 \u2014 there are 8 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 8 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/advanced_setting.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbc20704fcc97cd6216b66909a8b78fd0a77ddee272fcebb0b4473fd8b45bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/src/setting/archive_bot_setting.dart:133-137 | lib/src/setting/archive_bot_setting.dart:139-143 | lib/src/setting/read_setting.dart:347-351 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/archive_bot_setting.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c0be1e376d6be2fc3aa0a9468ea013c14245f041abdd16acfb07942a62497b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): lib/src/setting/download_setting.dart:144-148 | lib/src/setting/download_setting.dart:150-154 | lib/src/setting/user_setting.dart:85-89 | lib/src/setting/user_setting.dart:91-95 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/download_setting.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"571efc7504e35326aa092e86f46783c42ce31a1b6f5fbb11aed7ba248f267554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/pages/download/grid/archive/archive_grid_download_page.dart:212-218 | lib/src/pages/download/grid/gallery/gallery_grid_download_page.dart:227-233 \u2014 \u0060lib/src/pages/download/grid/archive/archive_grid_download_page.dart\u0060 and \u0060lib/src/pages/download/grid/gallery/gallery_grid_download_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 5 separate duplicated blocks between them, totalling at least 90 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/src/pages/download/grid/archive/archive_grid_download_page.dart:212\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef66dd6538e52c1829337e6c99fc1ee151a9b7921d5d5f396941331439cbafa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart:80-85 | lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart:97-102 \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/src/pages/download/grid/archive/archive_grid_download_page_logic.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7786ddd2fc3d8d41840a744e2454e8b3b5a9b952a1da746698eb66be627565ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/src/pages/read/layout/base/base_layout.dart:161-165 | lib/src/pages/read/layout/base/base_layout.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/src/pages/read/layout/base/base_layout.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/src/pages/read/layout/base/base_layout.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c532d8191fe76f0d5d5053a602f20fbf76d17e1b5502ec6e375a4bac2032356b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/pages/setting/account/login/login_page.dart:212-217 | lib/src/pages/setting/account/login/login_page.dart:231-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/src/pages/setting/account/login/login_page.dart:238\u0060 calls \u0060handleLogin\u0060 and \u0060lib/src/pages/setting/account/login/login_page.dart:218\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/src/pages/setting/account/login/login_page.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f697effbff82c2f347de0c3777d58c0fd7d619482020e341d431e9b0f54c62a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/src/service/app_update_service.dart:655-659 | lib/src/service/app_update_service.dart:667-671 | lib/src/service/app_update_service.dart:672-676 \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/src/service/app_update_service.dart"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e6c6741712d7168385c3fc75f5d154f51437c5d1d06bd622179e6c41271e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/utils/eh_spider_parser.dart:888-893 | lib/src/utils/eh_spider_parser.dart:920-925 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/utils/eh_spider_parser.dart:888\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/eh_spider_parser.dart"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c8ab490b3575118dec652776a70171f960fc7d4d554235a4bbd41b1057d69e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EHGalleryComicInfo (LCOM4 8): EHGalleryComicInfo\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/comic_info.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"def679d653049fff63da9f5863f04d71c2d4eb40cf47cd783bbaaa31e8336f65"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LocalGalleryGridPageLogic (LCOM4 8): LocalGalleryGridPageLogic\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/local/local_gallery_grid_page_logic.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba3aebc11825a00d626186ff583b034076ccdde2d1cc715a51e5a0cf799b8c9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _EHTagBottomSheetState (LCOM4 8): _EHTagBottomSheetState\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_tag_bottom_sheet.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d6947c1e78eb89fe139c0c6c3e6a1f791edb9db9a4d3ecad02dbb835deefb5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _EHTagDialogState (LCOM4 8): _EHTagDialogState\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_tag_dialog.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da705927672085fb9951ecd56751304235868c2cb5ec1243d40aec73edcf409"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArchiveGridDownloadPageLogic (LCOM4 7): ArchiveGridDownloadPageLogic\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page_logic.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"503b8b6133ede8481c7a171660386beb599d07d06ed58b169b3d73efd8cd3ad0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AppManagerState (LCOM4 7): _AppManagerState\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/app_manager.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2176eeef004c77b2b923aa0921463934e754a73cb042cb023ae94d082bd14b56"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SqliteCacheStore (LCOM4 6): SqliteCacheStore\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_cache_manager.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d405f35dac276eea7bae8c8915acdbc71eb6defe8b4912882d8a56f326c1ccb6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DetailsPageLogic (LCOM4 6): DetailsPageLogic\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"582414a9e39b3485eaf363f56670318afbfa45787a84dfe7dda025cec8771c05"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GalleryGridDownloadPageLogic (LCOM4 6): GalleryGridDownloadPageLogic\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/gallery/gallery_grid_download_page_logic.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3491de9800e87d2391a7168fa497a4f78e12b6ce2fcec1f88c5b8f3d1ebab0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReadPageLogic (LCOM4 6): ReadPageLogic\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/read_page_logic.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74790450b25284431be53c31a5dd3e160655e65c4171d110ac0309ec95decf2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LogService (LCOM4 6): LogService\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/log.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"625d0df20e42188e5e3841ea918a980ba6434ff04b0828a83c9ca7f41c5a1fcb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseLayoutLogic (LCOM4 5): BaseLayoutLogic\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/base/base_layout_logic.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed47372d77673320d2d3c0730ac007e49562dd643be620d86d0e4df70c3dd9b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BuiltInBlockedUserService (LCOM4 5): BuiltInBlockedUserService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/built_in_blocked_user_service.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3199cb8058172bf336524f5dd7890acf350556511c51238eee0217371f80a44"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GalleryDownloadService (LCOM4 5): GalleryDownloadService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8de052e69126296aed27af91fa87bdefedfbd67bc0feab302001e315f1fe09f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LocalBlockRuleService (LCOM4 5): LocalBlockRuleService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/local_block_rule_service.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eda0ec6cd9741f764776188fbc9f6d2085452d2bf1e812e83dbfe35e50d7a0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SearchHistoryService (LCOM4 5): SearchHistoryService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/search_history_service.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"39155d0d853ee678d7105a1f3aec8df0db99a17854764c4048d8c1e9fe9c902c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FavoritePageLogic (LCOM4 4): FavoritePageLogic\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/favorite/favorite_page_logic.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72cf2c807163501ebcd6b499effd50e7471c159fa43cd69a398a8bb3850bc4b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DashboardPageLogic (LCOM4 4): DashboardPageLogic\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/gallery/dashboard/dashboard_page_logic.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c568f73007058fa53957c3238cbd6abd95da79525f8ef02a80270e2529a8b626"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HistoryPageLogic (LCOM4 4): HistoryPageLogic\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/history/history_page_logic.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"862bfb212feab3684a45f1ef4ad3124357caa98cc6d07e6749a332188cebfa04"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ReadPageState (LCOM4 4): _ReadPageState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/read_page.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0676c238e32fefcb12786260f8e69646b2a5d1e0807b9663155b7ee97dadd767"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: QuickSearchService (LCOM4 4): QuickSearchService\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/quick_search_service.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6527cffe9fe9735b63176d785910d216c44fcdad6da68c4509ddf8aa8af6cb7c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SuperResolutionService (LCOM4 4): SuperResolutionService\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/super_resolution_service.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ff70c35f10182667382f5d33fbf835a5ad8f404e018a51dfbc1d6c65de14c4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TagTranslationService (LCOM4 4): TagTranslationService\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/tag_translation_service.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b904f098c4e1fd68e963cea1497f1bbce15292088675f0d3c3d53dea6d6b724"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AdvancedSetting (LCOM4 4): AdvancedSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/advanced_setting.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b8ff6367f5c3a2637d4f7b58b78920e2bf3b84811b93af5d1a749e3d6b01dc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArchiveBotSetting (LCOM4 4): ArchiveBotSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/archive_bot_setting.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab025ec7daf5da83be5247aa2a2cd0d64873532f33ab8b4c956673fd3e5f52fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EHSetting (LCOM4 4): EHSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/eh_setting.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"909ceadbc21670ab885aa6597761149e7f106a0126c394bcefcdf4e070089f2f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MouseSetting (LCOM4 4): MouseSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/mouse_setting.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"479356f4c6e2d6855880f7169623bd1c56a99cad588c458b8b2f3954ff840127"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NetworkSetting (LCOM4 4): NetworkSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/network_setting.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e204b994f82b9a92a2c25415573e242efba1ba4e1adaca11f470067808a994"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PerformanceSetting (LCOM4 4): PerformanceSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/performance_setting.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1769e1f2809af4b540cad08764789bc6afce7d686765ae774ac73c2b9810fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PreferenceSetting (LCOM4 4): PreferenceSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/preference_setting.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"497e5d106f0b94ca9bcc7471a1aa60e6e299ce423dc445151d4b59588a265b24"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReadSetting (LCOM4 4): ReadSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/read_setting.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd37024d783bed87c1eee882c9962c5af61a3adb0510aecf1dcbd9e50d4e193"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SuperResolutionSetting (LCOM4 4): SuperResolutionSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/super_resolution_setting.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3019404f6e46f9ff92d72d20e03b23aec82a77a189cf73390c68fc9615c5a5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserSetting (LCOM4 4): UserSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/user_setting.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"705941d2373fce64630702289dae60b224b06780ca5f2dd791ea9de2671a3647"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EHSliverHeaderDelegate (LCOM4 4): EHSliverHeaderDelegate\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_sliver_header_delegate.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f076ce343eac42f7acdcff2b035e8f1713baed9109c1ec7b34798eb5191beb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/pages/read/read_page_logic.dart: lib/src/pages/read/read_page_logic.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ReadPageLogic.onReady at line 121. 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 15:30:08 \u002B08:00\u0027 --until=\u00272026-11-08 15:30:08 \u002B08:00\u0027 --full-history --no-merges -- lib/src/pages/read/read_page_logic.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/read_page_logic.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab54d292707dc3533078907d18a06be6d4b129b9f40049064bd9d1cf7a0bc6fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/service/archive_download_service.dart: lib/src/service/archive_download_service.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ArchiveDownloadService._getDownloadUrl at line 934. 1 of those changes was a fix/bug commit, 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 15:30:08 \u002B08:00\u0027 --until=\u00272026-11-08 15:30:08 \u002B08:00\u0027 --full-history --no-merges -- lib/src/service/archive_download_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/src/service/archive_download_service.dart"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e4a2e8ad3d2ba80d6289cfadaa513c50990bed3c9d4e95937bbb88e83cc1ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/service/gallery_download/gallery_download_task_runner.dart: lib/src/service/gallery_download/gallery_download_task_runner.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in _GalleryDownloadTaskRunner.downloadImageTask at line 242. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 15:30:08 \u002B08:00\u0027 --until=\u00272026-11-08 15:30:08 \u002B08:00\u0027 --full-history --no-merges -- lib/src/service/gallery_download/gallery_download_task_runner.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/gallery_download/gallery_download_task_runner.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"101742c7c5e5e49ba1544ee831f615a5ab9916ad2532f8c71c38482555716a85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dnfield): we should provide a way to set cacheExtent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/cached_page_view.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6664c62387666575f13b0e8d3638607e2a5b2ef34f9b0382c4d69257d2f7cb31"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/grouped_list.dart"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c1096a232a6eb56c9d64e5857a47035c491253910c6a765c2f73dbcab44d34"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 4 project(s) overshoot their size bounds, lowering Project Cohesion to 5.0/10. The most over is \u0060(repository root)\u0060 (58222 LoC, 570 module-visible types across 96 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"2a0dc3d9ea6546f9aecd7ec635830dfc0b2f942557a200b92a033fe7c505bd38"},"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":"64ea61ade656156fca7718409940f43f7c2de32425f85566c806d53298676057"},"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":"1eb3d95d00ba52fb124fedbd4e6b3190cb09887d256439df73a86375e34c6758"},"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":"1f414d574a4149a86933abc2a6f75a9a0558f72d3e1885049f8b275df0e32452"},"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":"5dec46a121c6c0ccb27dcf4f220b9d39d797fc20757c13947fe9347f22b84b8c"},"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":"6cd693c03f887b5885f14c2080384d9466afaf176dcdc66bdafa041d20f44167"},"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":"6b62ea4bea0c0f28fbb8f39fe6d37b5a46c9e8f0d298aa1450cdca8de551b9b6"},"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":"08009ffff2b0479c84010c79abc7845e804aa2ce202df4a92a242e61e3bd9dd3"},"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":"09a261a54881c0f6ab9008ffd8578426dc915bf3ab0aee353d093c2bfbdecb0d"},"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":"83f01e2f0ef84f63ed35a145f3f73ea99180f65bb47c623e6415e88a6a751f28"},"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":"66a927684f8b66c70de14852a15a2e36a8ce6dcdb99103850065737fd4e17c8a"},"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":"961cf1da41903a95b74f7dc24f3905a7074908819bf62a21d08a984bdddbad10"},"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":"ef631f333d15ef760dbe60bd7165c23be434fef3f86981d213099a9fbae9dfb7"},"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":"0342f6d3b478709e20a7631899b069a5551c0a4de6987f88c5f8566b2186d216"},"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":"e91065be427d81a1d2f0e5fa2217704c84f02e665db4624229102d2105ba239b"},"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":"f97c405e10719f475288182fc107eccd7093fca35c162d46fba03d02c3257511"},"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":"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":"bc99c5d9cfa3291dad6052653131c04607397c39e57ddac49784d6b2460aa9fa"},"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":"447231069f89cd7b9ce763c9b179837b97bf663908c7d9c7e8ec0be47b60467b"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","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-3","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":"fa74ad3d51175272b728c5098efb186d0db0e40f7a706fccf3c5d68f60ec61c0"},"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":"6d4891aa22b29b4c85b6115e46300ecbb2b5430cfead98bc8f1cadbf4f29813b"},"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":"D32","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":"4d8414e8c0785af70a7bfbac2168483e3985b7cc1c820ef87885810648a47897"}},{"ruleId":"D32","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":"5bd5bf56aa0ada57b3320f2d63bab7ccd4e9a08cc7ec2fb7000f64fc76138124"}},{"ruleId":"D32","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":"de3a85a03697965eeeaf76eb7845200ce5b98cc3c6051f3c3b3c85efa13abec4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: detail_preview_page.dart \u2194 eh_spider_parser.dart: \u0060lib/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart\u0060 (context pages) and \u0060lib/src/utils/eh_spider_parser.dart\u0060 (context utils) sit in DIFFERENT parts of the tree yet 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) \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 8 shared commits counted here, the most recent 3 are \u0060b310652a\u0060 remove serialNo; \u0060a92ac85b\u0060 Show comment vote status in detail page; \u00608ccb52f4\u0060 fix bug \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/style/theme_color/preview_page/detail_preview_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6981b66b2a97e8ba291f317a03498818cf79cae6e157432e161c5e70d2e130cd"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: gallery_detail.dart \u2194 details_page.dart: \u0060lib/src/model/gallery_detail.dart\u0060 (context model) and \u0060lib/src/pages/details/details_page.dart\u0060 (context pages) sit in DIFFERENT parts of the tree yet change together 60% of the time (15 of the 25 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 15 shared commits counted here, the most recent 3 are \u0060c1f38c22\u0060 Now when accessing a gallery that has been deleted due to copyright, \u2026; \u00608ccb52f4\u0060 fix bug; \u0060fd7ef576\u0060 refactor detail page \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/gallery_detail.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f53774ec2da9261dae70ed6fecfc158b431effc28c137fe1b9d1add5d067313"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: zh_CN.dart \u2194 routes.dart: \u0060lib/src/l18n/zh_CN.dart\u0060 (context l18n) and \u0060lib/src/routes/routes.dart\u0060 (context routes) sit in DIFFERENT parts of the tree yet change together 51% of the time (22 of the 43 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 22 shared commits counted here, the most recent 3 are \u0060a23edddc\u0060 bot api; \u0060b137ca3b\u0060 1. Support disable the gesture of swipe back 2. Support disable the g\u2026; \u00602003e531\u0060 Hide R18G images by default in tag dialog \u6807\u7B7EDialog\u4E2D\u73B0\u5728\u9ED8\u8BA4\u60C5\u51B5\u4E0B\u4F1A\u9690\u85CFR18G\u7684\u56FE\u7247 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/l18n/zh_CN.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad1d2d0313537c052d8b6f77b28d552a642628c4735cb0ccc16e2b0ad8e7c01"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: gallery_image.dart \u2194 eh_request.dart: \u0060lib/src/model/gallery_image.dart\u0060 (context model) and \u0060lib/src/network/eh_request.dart\u0060 (context network) sit in DIFFERENT parts of the tree yet change together 50% of the time (8 of the 16 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 8 shared commits counted here, the most recent 3 are \u006036591e85\u0060 Now when the gallery image fails to load, it will automatically try t\u2026; \u0060ca7f9d62\u0060 fix some analysis problems; \u006054ab2d7e\u0060 \u5B8C\u5168\u91CD\u5199\u4E86\u4E0B\u8F7D\u5F15\u64CE \u91CD\u6784\u4E0B\u8F7D\u5217\u8868\u9875\u9762\uFF0C\u63D0\u5347\u6027\u80FD \u65B0\u589E\u4E0B\u8F7D\u914D\u7F6E\uFF0C\u53EF\u9009\u62E9\u6309\u4E0B\u8F7D\u4EFB\u52A1\u52A0\u5165\u7684\u987A\u5E8F\u4E0B\u8F7D \u6DFB\u52A0\u53EA\u5220\u9664\u4E0B\u8F7D\u4EFB\u52A1\uFF0C\u4E0D\u5220\u9664\u4E0B\u8F7D\u7684\u56FE\u7247\u7684\u9009\u9879 \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/gallery_image.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3452121401fb696226b7589a1d4753b89c2abf5caf9b3a3f9d21a78a16166f4b"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: eh_comment.dart \u2194 eh_comment_dialog.dart: \u0060lib/src/pages/details/comment/eh_comment.dart\u0060 (context pages) and \u0060lib/src/widget/eh_comment_dialog.dart\u0060 (context widget) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 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 5 shared commits counted here, the most recent 3 are \u0060336a3926\u0060 Fix the bug that cannot vote or add comments in some scenarios; \u006005654e46\u0060 http error message; \u006077441570\u0060 gallery url \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/comment/eh_comment.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff47f0757c4a4b063b65d8be1663362a64291a6b7fb6aa76bf8a56c540adad47"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: en_US.dart \u2192 pt_BR.dart, zh_CN.dart, zh_TW.dart: \u0060lib/src/l18n/en_US.dart\u0060 changes together with 3 other files \u2014 \u0060lib/src/l18n/pt_BR.dart\u0060, \u0060lib/src/l18n/zh_CN.dart\u0060, \u0060lib/src/l18n/zh_TW.dart\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/l18n/en_US.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e05b29ab9e5ec5ea0ed3581f7f48e79ffcf7c5377d6aeb2f71459a86158c69"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: zh_CN.dart \u2194 zh_TW.dart: \u0060lib/src/l18n/zh_CN.dart\u0060 and \u0060lib/src/l18n/zh_TW.dart\u0060 change together 89% of the time (77 of the 87 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 77 shared commits counted here, the most recent 3 are \u00607dc447f6\u0060 chooseTagSet; \u0060188f487f\u0060 proxy; \u00602084078e\u0060 log \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/l18n/zh_CN.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"218148aaba5d9fb2d53c02f0d2f9a7bf19bba68a93d60bf44f057ce1987db3ac"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: base_layout_logic.dart, horizontal_double_column_layout.dart, horizontal_list_layout.dart, vertical_list_layout.dart: 4 files \u2014 \u0060lib/src/pages/read/layout/base/base_layout_logic.dart\u0060, \u0060lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart\u0060, \u0060lib/src/pages/read/layout/horizontal_list/horizontal_list_layout.dart\u0060, \u0060lib/src/pages/read/layout/vertical_list/vertical_list_layout.dart\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 6 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/src/pages/read/layout/base/base_layout_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0f5875588c82466c0b34f32338989626f5079b061cfc4030f91821cd5c5a2e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: archive_grid_download_page.dart \u2194 gallery_grid_download_page.dart: \u0060lib/src/pages/download/grid/archive/archive_grid_download_page.dart\u0060 and \u0060lib/src/pages/download/grid/gallery/gallery_grid_download_page.dart\u0060 change together 83% of the time (10 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \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 \u0060cd356195\u0060 replace CupertinoActionSheet with showMenu for desktop platform; \u006016a5db8c\u0060 archive bot; \u006084d99b70\u0060 Supports displaying the number of galleries in download group \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b4d4b44522db8fddd82988d7e4926604666cf5f858bebfcded1dd2300f3e3e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: details_page.dart \u2192 comment_page.dart, thumbnails_page.dart, log_list_page.dart: \u0060lib/src/pages/details/details_page.dart\u0060 changes together with 3 other files \u2014 \u0060lib/src/pages/details/comment/comment_page.dart\u0060, \u0060lib/src/pages/details/thumbnails/thumbnails_page.dart\u0060, \u0060lib/src/pages/setting/advanced/loglist/log_list_page.dart\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8403ed923a9b34f52ac1fbb31775cdf654f3aafca7f66260b920403676d01e96"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: archive_download_page_logic_mixin.dart \u2194 gallery_download_page_logic_mixin.dart: \u0060lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart\u0060 and \u0060lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart\u0060 change together 76% of the time (13 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 13 shared commits counted here, the most recent 3 are \u0060cd356195\u0060 replace CupertinoActionSheet with showMenu for desktop platform; \u0060030a9ca6\u0060 upgrade flutter; \u0060368b76f3\u0060 refactor: add sanitizedTitle field to fix download path consistency \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63312026d71a884882427b23893fb35ad19734c187da6e83d25e01f77583e79f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: archive_list_download_page.dart \u2194 gallery_list_download_page.dart: \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 and \u0060lib/src/pages/download/list/gallery/gallery_list_download_page.dart\u0060 change together 74% of the time (42 of the 57 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 42 shared commits counted here, the most recent 3 are \u0060cd356195\u0060 replace CupertinoActionSheet with showMenu for desktop platform; \u0060d641131e\u0060 fix: migrate to font_awesome_flutter 11 for Flutter 3.44; \u006001e0efc9\u0060 Fix #603 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/list/archive/archive_list_download_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caba86ad976569e970ba84274d358c695ee544e3b12df62cf3da06acb150e0c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: favorite_setting.dart \u2194 site_setting.dart: \u0060lib/src/setting/favorite_setting.dart\u0060 and \u0060lib/src/setting/site_setting.dart\u0060 change together 67% of the time (10 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 10 shared commits counted here, the most recent 3 are \u00601989b900\u0060 initDependencies; \u00602187a01e\u0060 FavoriteSetting; \u006005654e46\u0060 http error message \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/setting/favorite_setting.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60b46c5765ae986d0e5d1833398dcb8832db121b8c63759dfd683aa41f46924"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: desktop_search_page_logic.dart \u2192 base_page_logic.dart, search_page_mobile_v2.dart, search_page_mobile_v2_logic.dart: \u0060lib/src/pages/search/desktop/desktop_search_page_logic.dart\u0060 changes together with 3 other files \u2014 \u0060lib/src/pages/base/base_page_logic.dart\u0060, \u0060lib/src/pages/search/mobile_v2/search_page_mobile_v2.dart\u0060, \u0060lib/src/pages/search/mobile_v2/search_page_mobile_v2_logic.dart\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/search/desktop/desktop_search_page_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c76ecad26ebfaaedbd7de34abb3df30b09041fad8dc67ea1262a84bc460809"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: base_page_logic.dart \u2194 history_page_logic.dart: \u0060lib/src/pages/base/base_page_logic.dart\u0060 and \u0060lib/src/pages/history/history_page_logic.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 \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 \u0060cd356195\u0060 replace CupertinoActionSheet with showMenu for desktop platform; \u0060fd0795cc\u0060 Fix a bug that filter options in watched page may not work \u4FEE\u590D\u5173\u6CE8\u9875\u4E0B\u7B5B\u9009\u9879\u5931\u2026; \u00607f19b15e\u0060 Support delete single history record \u652F\u6301\u4EC5\u5220\u9664\u5355\u6761\u5386\u53F2\u8BB0\u5F55 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/base/base_page_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe5113574e7c8e8d5d8eeb6c7d9107eb1255b749c87c3284938dae13ed10ae6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: desktop_search_page.dart \u2194 search_page_mobile_v2_logic.dart: \u0060lib/src/pages/search/desktop/desktop_search_page.dart\u0060 and \u0060lib/src/pages/search/mobile_v2/search_page_mobile_v2_logic.dart\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \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 \u006033283a38\u0060 SearchConfig; \u0060977f8df1\u0060 search; \u0060b9341098\u0060 Improve search history when use multiple tags \u4F18\u5316\u4F7F\u7528\u591A\u6807\u7B7E\u641C\u7D22\u65F6\u7684\u641C\u7D22\u5386\u53F2\u7EAA\u5F55 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/search/desktop/desktop_search_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c526921894cb03cab15957a1d32bdface3b29fd5870bd4442e9643761d2cac"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: favorite_page_logic.dart \u2194 dashboard_page_logic.dart: \u0060lib/src/pages/favorite/favorite_page_logic.dart\u0060 and \u0060lib/src/pages/gallery/dashboard/dashboard_page_logic.dart\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \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 \u006033283a38\u0060 SearchConfig (at that commit the file was still \u0060lib/src/pages/gallerys/dashboard/dashboard_page_logic.dart\u0060); \u0060ed2de59e\u0060 postHandleGallerys (at that commit the file was still \u0060lib/src/pages/gallerys/dashboard/dashboard_page_logic.dart\u0060); \u00604ed639fd\u0060 local blocking rules (at that commit the file was still \u0060lib/src/pages/gallerys/dashboard/dashboard_page_logic.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/favorite/favorite_page_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ead8a3314df95908f3a3302a45369d6c298796e52b47caeaa0df185d82e16e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: horizontal_double_column_layout_logic.dart \u2194 horizontal_list_layout_logic.dart: \u0060lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.dart\u0060 and \u0060lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \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 \u006046169b63\u0060 ReadSetting; \u00605ab6b139\u0060 image size; \u00605c824d9c\u0060 optimize reload \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d7f7fd2b55296ca8522591cb16aa058a8a44797143b5388f2b08d67ad9ada2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: archive_grid_download_page.dart \u2194 archive_list_download_page.dart: \u0060lib/src/pages/download/grid/archive/archive_grid_download_page.dart\u0060 and \u0060lib/src/pages/download/list/archive/archive_list_download_page.dart\u0060 change together 56% of the time (9 of the 16 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 \u0060b310652a\u0060 remove serialNo; \u0060cd356195\u0060 replace CupertinoActionSheet with showMenu for desktop platform; \u006016a5db8c\u0060 archive bot \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/download/grid/archive/archive_grid_download_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ddb7e8cbbb754ba3aec2b1f87ce7afe02863b5cd32f63ea5ce2a91dfd77620"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: desktop_search_page.dart \u2194 search_page_mixin.dart: \u0060lib/src/pages/search/desktop/desktop_search_page.dart\u0060 and \u0060lib/src/pages/search/mixin/search_page_mixin.dart\u0060 change together 56% of the time (10 of the 18 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 \u0060a3d13d91\u0060 button; \u006033283a38\u0060 SearchConfig; \u0060a38a479a\u0060 Optimize mouse drag logic of some page components \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/search/desktop/desktop_search_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0dd3e0b74c60fed8fe9948c57bfd5ebe9dac531584b6e30e240c35c4cea78b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: details_page_logic.dart \u2194 local_gallery_download_page_logic_mixin.dart: \u0060lib/src/pages/details/details_page_logic.dart\u0060 and \u0060lib/src/pages/download/mixin/local/local_gallery_download_page_logic_mixin.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 \u0060167760a7\u0060 readIndexRecord; \u006046169b63\u0060 ReadSetting; \u006077441570\u0060 gallery url \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45286d8672202c7df548eb476ce353df6f3a9d8d47ecdd64a3742d94c6d8a1a0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: desktop_layout_page.dart \u2194 tablet_layout_page_v2.dart: \u0060lib/src/pages/layout/desktop/desktop_layout_page.dart\u0060 and \u0060lib/src/pages/layout/tablet_v2/tablet_layout_page_v2.dart\u0060 change together 54% of the time (7 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 \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 \u0060b3fa4595\u0060 ResizableContainer; \u00609713d4be\u0060 Optimize snack style under tablet layout and desktop layout; \u00601ce5250e\u0060 Fixed some bugs when switching theme \u4FEE\u590D\u5207\u6362\u4E3B\u9898\u65F6\u7684\u4E00\u4E9Bbug \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/layout/desktop/desktop_layout_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33644dbee7d553585ebc3aa5da021e38711c882d7b2a6623e59eb053ea91d80b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: base_layout.dart \u2194 horizontal_double_column_layout_logic.dart: \u0060lib/src/pages/read/layout/base/base_layout.dart\u0060 and \u0060lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout_logic.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 \u00605d9661ba\u0060 - Optimize the scrolling experience in read page - Optimize the doubl\u2026; \u006046169b63\u0060 ReadSetting; \u00605c824d9c\u0060 optimize reload \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/base/base_layout.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7519695a54b565ea0253aa3f9465d1287e01e0e4b6d0cb2509296f23f822edc0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: login_page_logic.dart \u2194 setting_account_page.dart: \u0060lib/src/pages/setting/account/login/login_page_logic.dart\u0060 and \u0060lib/src/pages/setting/account/setting_account_page.dart\u0060 change together 50% of the time (13 of the 26 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 13 shared commits counted here, the most recent 3 are \u00608eb12773\u0060 Fix the bug that cookies are still retained after logout in some scen\u2026; \u00609361dd72\u0060 Display nickname instead of username after login \u73B0\u5728\u767B\u9646\u540E\u663E\u793A\u6635\u79F0\u800C\u4E0D\u662F\u7528\u6237\u540D; \u0060ac37a9c9\u0060 Support set \u0060igneous\u0060 when log in by cookie Cookie\u767B\u5F55\u652F\u6301\u76F4\u63A5\u8BBE\u7F6Eigneous \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e3371cd97d9434d311eff085765731caeddb84b737dd939b322a31d09a93ae"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: search_page_mixin.dart \u2194 search_page_mobile_v2_logic.dart: \u0060lib/src/pages/search/mixin/search_page_mixin.dart\u0060 and \u0060lib/src/pages/search/mobile_v2/search_page_mobile_v2_logic.dart\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \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 \u006033283a38\u0060 SearchConfig; \u00602496cb0b\u0060 rename; \u006067181c64\u0060 Search options will now inherit from the previous search(exclude the \u2026 (at that commit the file was still \u0060lib/src/pages/search/base/base_search_page.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/search/mixin/search_page_mixin.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c31f670f2af8080df54422f5709e7e95a61d0f1de8a3338c224820511912c4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: horizontal_list_layout_logic.dart \u2194 read_page.dart: \u0060lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart\u0060 and \u0060lib/src/pages/read/read_page.dart\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \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 \u006079442983\u0060 scrollable_positioned_list; \u006046169b63\u0060 ReadSetting; \u00605ab6b139\u0060 image size \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f82aafb736fa2d3ffb36def415a179ef6babd40857c6ecf9471109f37a6063"}},{"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":"9369bc8b825fb106ccb1892c38f4919f168584466d8efd81ec30147f6e6c919d"}},{"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":"50a68e3e7e4e2a0f95f0bbc0cc67d89b3763c8211499e22dfcbc21ae3443172a"},"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":"ac32120c426b699c7e3bca7989ee2c708862d7b087952e598e5f4f1ccca63ac3"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \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 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/fastlane.yml"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"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":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 1 versioned entry, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060saveOriginalOnlineImage\u0060 is async and calls readAsStringSync \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/src/pages/read/layout/base/base_layout_logic.dart"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef33b49e711f01c8d427f6dc361a308cbc0a4b70b0ff7c8a612e554884793679"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_copyOldFiles\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/src/pages/setting/download/setting_download_page.dart"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc36adda94e09895ceae626f27fc3df899f72db3120392edc69f832355725a8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060restoreTasks\u0060 is async and calls readAsStringSync \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/src/service/archive_download_service.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42303067651847927d03fdf585abc599f685cfdc73330298ffd309ed4950750"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_deleteArchiveInDisk\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/src/service/archive_download_service.dart"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a402f82416b3193b15b5349b125020e2d3cd05347cd4bf918c577b93bc6b485"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_doRestoreTasks\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/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d46957f5fa507ccda0655faa12b35d54ebabb4fadf0195d7abb7d29e5ba18a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060superResolve\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/src/service/super_resolution_service.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ca47bd318ffa333982df3854331598b27798f1a9ba0ae16d19e464e4ef577a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060deleteSuperResolve\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/src/service/super_resolution_service.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9575998d2fa463acb62958579036a9b43c21dc5dacd13fa7da57433d7cacbc22"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_handleImage\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":"lib/src/service/super_resolution_service.dart"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"605a59237cf08cb53dc6ec1cdd3dd7b506fe98820359641afb57e116ebe08f33"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060copyImageInfo\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/src/service/super_resolution_service.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0afbb4af1218a75efde70d55fdfdeea5e812c9d5e80678b5fbc4c39366f5455"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fetchDataFromGithub\u0060 is async and calls readAsStringSync \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/src/service/tag_translation_service.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dc6c7a53aae34782bcfb6c64112c66246da68faed93e7a8ce8088e7cd321b8"}},{"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/src/network/eh_cache_manager.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5030a3201cbd421d22547dfdeb48636c5e189703738ef0abe3fbfb351fe19044"}},{"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/src/utils/file_util.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9a134c8781479ac619137c68868dab5e8fe80c5ba34a1add066f0078eb9ae0"}},{"ruleId":"X1","level":"warning","message":{"text":"\u0060async\u0060 callback passed to \u0060forEach\u0060: \u0060forEach\u0060 takes a \u0060void\u0060 callback and never awaits what it returns, so the Future each \u0060async\u0060 call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that \u0060await\u0060s around this loop still returns early, and a resource it closes next is closed under the work), and an error is never handled \u2014 it surfaces as an uncaught asynchronous error, which terminates a command-line program and reaches only the zone\u0027s error handler in Flutter. Iterate with \u0060for (final item in items) { await \u2026 }\u0060 when the work must run in order, or \u0060await Future.wait(items.map((item) async { \u2026 }))\u0060 when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback\u0027s whole body a \u0060try { \u2026 } catch (e) { \u2026 }\u0060 that handles the failure, so it cannot escape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/cloud_service.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32aab645a30af04831d8e7f0c49d1c053836be8bb60cdd83d98b87d66417e10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!GetPlatform.isMobile || readSetting.enableOrientationSpecificReadDirection.isFalse\u0060 appears character-identically in 2 files \u2014 lib/src/pages/read/read_page_logic.dart, lib/src/pages/setting/read/setting_read_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/src/pages/read/read_page_logic.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc187a713c535e0ef0a9e83cd90d94b59381cd6af4b3b0f3e6afd9cb9aaa937d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060GetPlatform.isDesktop || PlatformDispatcher.instance.views.first.physicalSize.width / PlatformDispatcher.instance.views.first.devicePixelRat\u2026\u0060 appears character-identically in 2 files \u2014 lib/src/pages/details/details_page_logic.dart, lib/src/setting/read_setting.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5c39097bf66cb067cc5562d5101e27890fa15ad24e7a8c7eba224a3a17d0d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060GetPlatform.isIOS || GetPlatform.isMacOS\u0060 appears character-identically in 2 files \u2014 lib/src/pages/download/grid/local/local_gallery_grid_page.dart, lib/src/pages/download/list/local/local_gallery_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/src/pages/download/grid/local/local_gallery_grid_page.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e5283a156f1cabee86b2d51a2abe4dc45ac0c922059b041405533b39e6ea22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060GetPlatform.isWindows || GetPlatform.isLinux\u0060 appears character-identically in 2 files \u2014 lib/src/network/eh_request.dart, lib/src/pages/setting/account/login/login_page_logic.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/network/eh_request.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"452caa4b2090b0b77a4a5e16148e15633392d00cd11ce7af575b1859fea17937"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060checkLoadingState \u0026\u0026 state.loadingState == LoadingState.loading\u0060 appears character-identically in 2 files \u2014 lib/src/pages/base/base_page_logic.dart, lib/src/pages/base/old_base_page_logic.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/base/base_page_logic.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d469045b255315e6bc16f28ee4278085e4dad198b512660d08771bb64a8b110"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e is DioException \u0026\u0026 e.type != DioExceptionType.cancel\u0060 appears character-identically in 2 files \u2014 lib/src/service/archive_download_service.dart, lib/src/service/gallery_download/gallery_download_task_runner.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/service/archive_download_service.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02485a745b12cc67035d628b9ac3e8d65be7c6186cbab0ea063dfdd1512f144"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.type == DioExceptionType.connectionTimeout || e.type == DioExceptionType.badResponse || e.type == DioExceptionType.connectionError\u0060 appears character-identically in 2 files \u2014 lib/src/network/eh_request.dart, lib/src/pages/setting/account/cookie/cookie_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/src/network/eh_request.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09f946260fefced44069a59104a7dbf8fba25e5ae19d1c4bd0c90da5301d382"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060favoriteTagIndex != null || favoriteTagName != null\u0060 appears character-identically in 2 files \u2014 lib/src/model/gallery.dart, lib/src/model/gallery_detail.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/model/gallery.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fc22521264485b33e002d1635e6791503f21877d47374ea839e4b6000e7532"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key == LogicalKeyboardKey.controlLeft || key == LogicalKeyboardKey.controlRight\u0060 appears character-identically in 2 files \u2014 lib/src/pages/read/layout/base/base_layout_logic.dart, lib/src/widget/eh_wheel_speed_controller_for_read_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/src/pages/read/layout/base/base_layout_logic.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bf9e5e6a7cc499c3ca9e4ef79bbc7874d98159fc3b5304d0305f4049579a4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastPart.startsWith(\u0027-\u0027) || lastPart.startsWith(\u0027~\u0027)\u0060 appears character-identically in 2 files \u2014 lib/src/pages/search/mixin/search_page_logic_mixin.dart, lib/src/widget/eh_search_config_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/src/pages/search/mixin/search_page_logic_mixin.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5faf1d28495c78a1375016bdf350edc5a90194862e3574a992d70b99bab573"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastPosition.index == readPageState.readPageInfo.pageCount - 1 \u0026\u0026 lastPosition.itemTrailingEdge \u003C= 1.2\u0060 appears character-identically in 2 files \u2014 lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart, lib/src/pages/read/layout/vertical_list/vertical_list_layout_logic.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/horizontal_list/horizontal_list_layout_logic.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7dd46bf3f6144ae7168a64a1b341994eb98d8b1816b8876e40e9c0b4cabe88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listMode == ListMode.flat || listMode == ListMode.flatWithoutTags\u0060 appears character-identically in 2 files \u2014 lib/src/widget/eh_gallery_collection.dart, lib/src/widget/eh_gallery_list_card_.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/widget/eh_gallery_collection.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbb114b8d503dd94d9762dec935faed19fe83bdd365be0ef62a48af729f14fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prevState == LoadingState.error || prevState == LoadingState.noData\u0060 appears character-identically in 2 files \u2014 lib/src/pages/base/old_base_page_logic.dart, lib/src/pages/gallery/dashboard/dashboard_page_logic.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/base/old_base_page_logic.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"43898996dd57c614132f3a04d82b895d9d540391bc671298b25fed9ea277f3c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060readSetting.useThirdPartyViewer.isTrue \u0026\u0026 readSetting.thirdPartyViewerPath.value != null\u0060 appears character-identically in 5 files \u2014 lib/src/pages/details/details_page_logic.dart, lib/src/pages/download/mixin/archive/archive_download_page_logic_mixin.dart, lib/src/pages/download/mixin/gallery/gallery_download_page_logic_mixin.dart, lib/src/pages/download/mixin/local/local_gallery_download_page_logic_mixin.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f0dd57b5bde6043fdce45c7a7c8faf59c27c552173ccf75fc31f27bda7d23b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.extendedImageInfo == null || logic.readPageState.imageContainerSizes[index] != null\u0060 appears character-identically in 2 files \u2014 lib/src/pages/read/layout/base/base_layout.dart, lib/src/pages/read/layout/horizontal_double_column/horizontal_double_column_layout.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/read/layout/base/base_layout.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e3874d0e104dcc02a78a97e5a3def841dc1e3f58805887b413e27b9c31b5c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.inputGalleryUrl == null \u0026\u0026 state.inputGalleryImagePageUrl == null\u0060 appears character-identically in 3 files \u2014 lib/src/pages/search/desktop/desktop_search_page_tab_view.dart, lib/src/pages/search/mixin/search_page_mixin.dart, lib/src/pages/search/mobile_v2/search_page_mobile_v2.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/search/desktop/desktop_search_page_tab_view.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c16ed0077c2cfab67f7931e2cfa26c3509933bea66493e5e5215b870f67fa70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tag.color != null || tag.backgroundColor != null\u0060 appears character-identically in 2 files \u2014 lib/src/pages/details/details_page_logic.dart, lib/src/pages/gallery_image/gallery_image_page_logic.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9d02b9ff298eef461a6a868fc824d736a10f842c9ca17333ce737807656bf5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tagInfo.tag.hidden || tagInfo.tag.weight \u003C 0\u0060 appears character-identically in 2 files \u2014 lib/src/pages/details/details_page_logic.dart, lib/src/pages/gallery_image/gallery_image_page_logic.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/details/details_page_logic.dart"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebf90d4f9bd1f686403540340b40d3893ae2640b1ac5396523429f13ac2359a"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a CancelToken: Only 7/13 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: checkAndRequestPermissions: \u0060checkAndRequestPermissions\u0060 calls \u0060audio.request(\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/src/utils/permission_util.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68369232494798bb8b721152e76431c2583d78ad575e1ca8cfb4fed93678950"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: requestAlive: \u0060requestAlive\u0060 calls \u0060_dio.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/src/network/jh_request.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9e1316fd105fa903cd24d886e95fcad3dd3d4f386665a420fe40c3c4bd1f1e"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: requestListConfig: \u0060requestListConfig\u0060 calls \u0060_dio.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/src/network/jh_request.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0ece92f940df2fa0fd1e5cb7584a85ff86e502fae0068048724b77034d18f8"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: requestConfigByShareCode: \u0060requestConfigByShareCode\u0060 calls \u0060_dio.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/src/network/jh_request.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1812b0745ad4ce9431b42521acadbcf17c8e208943c0bdae5cb93de1a772af75"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: requestBatchUploadConfig: \u0060requestBatchUploadConfig\u0060 calls \u0060_dio.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/src/network/jh_request.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea75196a0dc386317cfd58d1d8aa57b73c72c31e64c7cede39423b16b4cff347"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: requestDeleteConfig: \u0060requestDeleteConfig\u0060 calls \u0060_dio.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/src/network/jh_request.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"21215d6d621c7af3fd806cdb7536e69cee84698f83103223eb139b26cb1051b1"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060trace\u0060 at line 123 is called with an argument built by \u0060galleries.map((a) =\u003E a.gid)\u0060 (line 123), 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 trace 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":"lib/src/service/schedule_service.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"be56f6e45a422a2393634b5c90bdec8f86c97ab8ef55153a2cf1fed4d743e928"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060trace\u0060 at line 154 is called with an argument built by \u0060archives.map((a) =\u003E a.gid)\u0060 (line 154), 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 trace 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":"lib/src/service/schedule_service.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b58b50a6e295f9e9b8d56cb70362983309a05c101aa9c126657e0d4d57b781"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060on Exception catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/archive_util.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"018735b422c15db1d42d3c4d2fc883dd3417f9747d0c524d5ad7be6c86338a08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060on Exception catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/archive_util.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2837c1e39e6acc0b3c1ab6d3d3535ae337420f3196e8ad0be78d3c37feda0ce7"}},{"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/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ae276d42648d4278a5b5d74bbf3b835c2dd4ffbb16f7695ee8257e152ece61"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"8596d68d8ff74df4ef6734b7adddab461ee83fa69c6061a91f2a4ad92817de89"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d04a496e9b9a837c35649a21559e35c5ac5e6fb938059ee9c7eb25d3c1e426e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"beec6d278d041f45240a7bb2153fe8099c7a01a45fc5379a750191144db94996"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/pages/setting/account/login/login_page_logic.dart"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0000add13cac0fcbf8016d940116c826c920e292d41eddc77d51879a838b42"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_parseInsertTimePriority\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/src/service/gallery_download/gallery_download_service.dart"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"f118907ce75c7a23f96b5a024b8a8cc52439f8c5acca5b1c5ecfe90960bf4785"}}],"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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.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-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.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-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"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-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-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":30,"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."]}]}