{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"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":"DanmakuAtlasPainter.paint (cyclomatic 147): DanmakuAtlasPainter.paint has cyclomatic complexity 147 (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/danmaku_next/danmaku_atlas_painter.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f19a52ce6578048b3c1a72a738479db341650d2ef58c11ef76798ff6e473c5"}},{"ruleId":"D1","level":"warning","message":{"text":"HotkeyService._getKeyCodeFromString (cyclomatic 120): HotkeyService._getKeyCodeFromString has cyclomatic complexity 120 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3fb7cf3576efe8e0f7bd8a68e27682f1170c15c3aca4df6bf65caf55c24fdc"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShortcutsSettingsPageState._keyToText (cyclomatic 90): _ShortcutsSettingsPageState._keyToText has cyclomatic complexity 90 (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/pages/shortcuts_settings_page.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec8d0ad9caa925c862db37b8df0618c0dee6b4a429f5a27949859e5b80a017a"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginService._handlePluginBridgeCall (cyclomatic 85): PluginService._handlePluginBridgeCall has cyclomatic complexity 85 (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/plugins/plugin_service.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03ac3577257fb90054d8d36425526e35ea037bcb50ad057a568f6749d9e548e"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlayerSettingsContentState.build (cyclomatic 84): _PlayerSettingsContentState.build has cyclomatic complexity 84 (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/settings/pages/player_settings_content.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fa538464311ba6385f841373bfa8fa3d2db0c9d17b333aafaf617ed94e801d"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeDetailPageState._buildEpisodesListView (cyclomatic 81): _AnimeDetailPageState._buildEpisodesListView has cyclomatic complexity 81 (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/pages/anime_detail_page.dart"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5b3ceb6b1e3d0dfb36cf9912e3fe3b318b5527b48455a14f78f3d11f4ed8b0"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayLargeScreenScaffoldLayoutState._dispatchInputCommand (cyclomatic 81): _NipaplayLargeScreenScaffoldLayoutState._dispatchInputCommand has cyclomatic complexity 81 (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/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbaef0bf23131893c135b45ad397f68787d15857c9c4f65b8ac357f9037d9e9"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlayVideoPageState._buildMaterialControls (cyclomatic 72): _PlayVideoPageState._buildMaterialControls has cyclomatic complexity 72 (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/pages/play_video_page.dart"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e9c749dbde45f3fa7e63521b102212f07466b219ece6844788c0497cbb73c8"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayLargeScreenScaffoldLayoutState._handleInputKeyEvent (cyclomatic 70): _NipaplayLargeScreenScaffoldLayoutState._handleInputKeyEvent has cyclomatic complexity 70 (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/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7654d306a2c457bdabdefe9fe83f58b3c9c76640ed1185ff16ff3eb28698c2"}},{"ruleId":"D1","level":"warning","message":{"text":"JellyfinDandanplayMatcher._matchWithDandanPlay (cyclomatic 68): JellyfinDandanplayMatcher._matchWithDandanPlay has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d3db5dca78db1c025578c32f863912c2e7c90a5c95b8d2e0ae2f641f28b5dd"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager.autoDetectAndLoadSubtitle (cyclomatic 62): SubtitleManager.autoDetectAndLoadSubtitle has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b57ae9cd083444b3b74f04387b101015efd91e460562388fea87184d7f8de68"}},{"ruleId":"D1","level":"warning","message":{"text":"WebDAVService._parseWebDAVResponseDart (cyclomatic 61): WebDAVService._parseWebDAVResponseDart has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"439e0bdc7cfc78c366fcc7cedae1efd3c27380e74079492dce4ca0c6c788fabb"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbyDandanplayMatcher._matchWithDandanPlay (cyclomatic 60): EmbyDandanplayMatcher._matchWithDandanPlay has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"12699df20a910dbf028e8f77669b50e8469ed13f5c900db7cdbc9471cfdf7a9b"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlaylistMenuState._playEpisode (cyclomatic 55): _PlaylistMenuState._playEpisode has cyclomatic complexity 55 (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/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"990bd0bceeace77f92bd02a7c912217e486ccc88adc5e62d6823bafd1d076c91"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerRemoteControlBridge._setParameter (cyclomatic 54): PlayerRemoteControlBridge._setParameter has cyclomatic complexity 54 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aef556d392cb5f1b60e6fbd8020b116d9eabf060562466a9723e6df40bafb0"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioTracksMenu.build (cyclomatic 54): AudioTracksMenu.build has cyclomatic complexity 54 (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/themes/nipaplay/widgets/audio_tracks_menu.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bffacef668d5dfa4f777cd05c936f63fe7a92a32a3b9b3eabb49e743c18310b"}},{"ruleId":"D1","level":"warning","message":{"text":"_DfmPlusOverlayState._tryUpdateTexture (cyclomatic 52): _DfmPlusOverlayState._tryUpdateTexture has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ea8f2bf75ddaa983e82d3c7cd7f38e47c2ba040710db5d2518a8059b2d5bb6"}},{"ruleId":"D1","level":"warning","message":{"text":"_DanmakuSettingsContentState.build (cyclomatic 52): _DanmakuSettingsContentState.build has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/danmaku_settings_content.dart"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a504d0758c537ce76a6381aecc13a301caef622e96e61b1c216c33bc3f6670"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsItem.build (cyclomatic 51): SettingsItem.build has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/settings_item.dart"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"3665d69bb493fe71b1fc0a29ac2b09625f61735fe45fcf9a1d6f7bb5a581d974"}},{"ruleId":"D1","level":"warning","message":{"text":"ErikaPlayerAdapter._handleEvent (cyclomatic 49): ErikaPlayerAdapter._handleEvent has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"b062685245dc75ca4f8d8efc35c5681dc3b2067bb177135f5b677a005cb880d4"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoSyncService._applyOperationsLocally (cyclomatic 49): AutoSyncService._applyOperationsLocally has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/auto_sync_service.dart"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"883f6066d0674a542aacc025bfa0cd55d8b3bd490c097aa5fe0ebd127a9c8c7a"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodeFileSelectionService.resolve (cyclomatic 49): EpisodeFileSelectionService.resolve has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_file_selection_service.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd84676af30194e70c183e989fd20b179a36fe05be52fcbf20e685b081df941"}},{"ruleId":"D1","level":"warning","message":{"text":"_SharedRemoteLanScanDialogContentState.build (cyclomatic 49): _SharedRemoteLanScanDialogContentState.build has cyclomatic complexity 49 (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/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdb69017353951af5e1313a34422c27584d3d6461a563f49477809a06682d03"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlaybackInfoMenuState._getAudioInfo (cyclomatic 47): _PlaybackInfoMenuState._getAudioInfo has cyclomatic complexity 47 (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/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa61b996c85ea0a6f250802ef68cd91c0e5272a0b1889fcaba0dd9cca93c6e70"}},{"ruleId":"D1","level":"warning","message":{"text":"_VideoPlayerUIState.build (cyclomatic 46): _VideoPlayerUIState.build has cyclomatic complexity 46 (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/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36d95e1a118201c7448e18e67e557e0a6ad304511f7fc7b1541fa38cf795f7e"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaServerDetailPageState._buildEpisodesListForSelectedSeason (cyclomatic 44): _MediaServerDetailPageState._buildEpisodesListForSelectedSeason 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/pages/media_server_detail_page.dart"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b4b44f89dfcc383320740b18d5b6b83395c765cd15de700428e7439344248e"}},{"ruleId":"D1","level":"warning","message":{"text":"_ModernVideoControlsState.build (cyclomatic 43): _ModernVideoControlsState.build has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac37436b805dcd496267d17cdfc43c880585c06d1b596d5d276e41b49643e0e7"}},{"ruleId":"D1","level":"warning","message":{"text":"_DanmakuListMenuState.build (cyclomatic 42): _DanmakuListMenuState.build has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f8050b43b9b43e7f9c4d9b9ee737e948f4ddbba127730402b04cd822284c14"}},{"ruleId":"D1","level":"warning","message":{"text":"GpuDanmakuTextRenderer.renderItem (cyclomatic 40): GpuDanmakuTextRenderer.renderItem has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_gpu/lib/gpu_danmaku_text_renderer.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cd37fe3147faa608cfe5a87d6507348660569a98b2bd4e706d9c49b9c0c27d"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaKitPlayerAdapter._ensureDefaultTracksSelected (cyclomatic 40): MediaKitPlayerAdapter._ensureDefaultTracksSelected has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"f032e74600b6f43541d30253703f81e58f2fa2fff64e7c96b173aa5378a22bb3"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_nipaplay::next2_engine::engine::runtime::run_engine_loop (cyclomatic 40): rust_lib_nipaplay::next2_engine::engine::runtime::run_engine_loop has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/runtime.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90ab7f77f46550e442dbe91a8bb1608af4b9d329485a9b96166d747b5922929"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayerAdapter.snapshot (cyclomatic 39): VideoPlayerAdapter.snapshot 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/player_abstraction/video_player_adapter.dart"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26861560b500aa09db12133ecea7f32b19ff05bad5314a17b13e65e0fe174df"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiSyncService._syncAnimeToBangumi (cyclomatic 39): BangumiSyncService._syncAnimeToBangumi 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/services/bangumi_sync_service.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"56339090e4a96fb9e4f65a42223815f09f668ebddf84f4c57b2fc7ed0b68d12e"}},{"ruleId":"D1","level":"warning","message":{"text":"_DfmPlusOverlayState.didUpdateWidget (cyclomatic 38): _DfmPlusOverlayState.didUpdateWidget has cyclomatic complexity 38 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc04025c0f05066ceb808c50fc2a09776847ee693aa25fb1d2fae3c2e2331d5b"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalPlayerService.play (cyclomatic 37): ExternalPlayerService.play has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/external_player_service.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"133942521f7d8214cdd5a7746cdedd248927b441f705f6ff0103350ca516df9b"}},{"ruleId":"D1","level":"warning","message":{"text":"_AdaptiveMediaDetailActionButtonState.build (cyclomatic 37): _AdaptiveMediaDetailActionButtonState.build has cyclomatic complexity 37 (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/themes/nipaplay/widgets/adaptive_media_detail_action.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"959cceebc5faa467a0a73232e2eedcb24672a787eb6cecf842962863a0f9dbe9"}},{"ruleId":"D1","level":"warning","message":{"text":"_BangumiCommentsWidgetState._loadComments (cyclomatic 37): _BangumiCommentsWidgetState._loadComments has cyclomatic complexity 37 (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/themes/nipaplay/widgets/bangumi_comments_widget.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"829156582af61dff41a1aa1f79ed7c44fdbebf968a892be9118386627e423fed"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubtitleTracksMenuState.build (cyclomatic 37): _SubtitleTracksMenuState.build has cyclomatic complexity 37 (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/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f588b2e9314a039ec8afe536cdc8f82c80486adb956af83ed7eea872dfeb1c"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanService.startDirectoryScan (cyclomatic 36): ScanService.startDirectoryScan has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"386a5a57f06769df5c9412e3ab218aeae4a60da1c3eb97fb86dce389c8335e94"}},{"ruleId":"D1","level":"warning","message":{"text":"_BangumiCommentsWidgetState.build (cyclomatic 36): _BangumiCommentsWidgetState.build has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_comments_widget.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f440e9a47b6a9a0426ab1d2e4697750264995677d5db9917a3d81662ae3cb21f"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseSettingsMenu.build (cyclomatic 36): BaseSettingsMenu.build has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/base_settings_menu.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1a6a9737f2a0ff9cf9759e8c5a4cbbcd756189deac7824aa93b425a6697d21"}},{"ruleId":"D1","level":"warning","message":{"text":"_JellyfinQualityMenuState._applySelection (cyclomatic 36): _JellyfinQualityMenuState._applySelection has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"921aec45ba09ea9b679c8ad898e52a463255e896bb8168f2baee1dfb0c5b630b"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubtitleListMenuState.build (cyclomatic 36): _SubtitleListMenuState.build has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"24835718eba0afc61c631447dfb73415cdfd7f3b8113a7fbf2dabf8305476b4c"}},{"ruleId":"D1","level":"warning","message":{"text":"MsdfFontAtlas._buildSegments (cyclomatic 35): MsdfFontAtlas._buildSegments has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/msdf_font_atlas.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b094db1a72b55dd4407a97e9373622e0d72b25ea223d60ce99df9a21630abd"}},{"ruleId":"D1","level":"warning","message":{"text":"_WebDAVBrowserPageState._playVideo (cyclomatic 35): _WebDAVBrowserPageState._playVideo has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c3c93996b6c3aa3896c12741982f2685bca91f3bb6abd81f3345ae54e0b61f"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayWindowScaffoldState.build (cyclomatic 35): _NipaplayWindowScaffoldState.build has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/nipaplay_window.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"66105d4e8895bafb65e7cd18446a6c7425964bb5987074e7736ddef87f3073a5"}},{"ruleId":"D1","level":"warning","message":{"text":"_SharedRemoteLibraryViewState.build (cyclomatic 35): _SharedRemoteLibraryViewState.build 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/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b3b55a9bd159bd38d12873070ff64d963c3cb9a8d244583a2873d2eaa2f42c"}},{"ruleId":"D1","level":"warning","message":{"text":"_VideoPlayerUIState._handleKeyEvent (cyclomatic 35): _VideoPlayerUIState._handleKeyEvent has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccd2cb7ab807c85dfad83956270a5939e1c76512fe90fffb10da387efc8390c"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager.updateEmbeddedSubtitleTrack (cyclomatic 35): SubtitleManager.updateEmbeddedSubtitleTrack has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8191d09d0aa9ff14721e5aea49745c2f576d0df5a6f6e2ba69446edc45fa426"}},{"ruleId":"D1","level":"warning","message":{"text":"_DanmakuContainerState._getYPosition (cyclomatic 35): _DanmakuContainerState._getYPosition has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"55837e6804d5ed04017ced3de9a3263c04bb172d01f5dcf338495c48c9be6d26"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiAnime.fromDandanplayDetail (cyclomatic 34): BangumiAnime.fromDandanplayDetail has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/bangumi_model.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a715cc3ca013983f56a46447e5200651961ff786cdf84d544c224c94cf1c0a"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerRemoteControlBridge._buildParameters (cyclomatic 34): PlayerRemoteControlBridge._buildParameters has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2532e2bb6bfd2d867e79dab204052d1f8ec89b2eb3434a6ed04dac01e706b7d9"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSubtitleService._downloadPair (cyclomatic 34): RemoteSubtitleService._downloadPair has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f65931a48610e602de1c040d84468ae25086966cf5218abee5add74643af376"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState.build (cyclomatic 34): _LibraryManagementTabState.build has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02d62845d9a22c5f9976a537e6b4cdb8bb13372edc18b6f5e3eb9882f222ae3"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.didInitializeImplicitFlutterEngine (cyclomatic 34): AppDelegate.didInitializeImplicitFlutterEngine has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/AppDelegate.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4a2335d3fd1cb3dd4a37a3f6240a5d22089d803023bc85f64214211181fabe"}},{"ruleId":"D1","level":"warning","message":{"text":"WebApiService.handleUpdateHistoryProgressRequest (cyclomatic 33): WebApiService.handleUpdateHistoryProgressRequest 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/services/web_api_service.dart"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dce0f9d70d8f5f094bba0f526acc511a551d6bdcec8412b10781c7953e07c70"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlaybackInfoMenuState._getVideoInfo (cyclomatic 33): _PlaybackInfoMenuState._getVideoInfo 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/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac48cde8c254978a3f90c08cb1fe04f3ba31d9ae428716ebe6c036bf247d0661"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubtitleTracksMenuState._loadRemoteSubtitle (cyclomatic 33): _SubtitleTracksMenuState._loadRemoteSubtitle 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/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cb9c4275e1787645f3c182bdc33e8f2acf7f313f8c8bf2024c50d3f10485cc"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleParser._normalizeEncodingName (cyclomatic 33): SubtitleParser._normalizeEncodingName has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d64d85293e0e947b276d4c730ced3eab60dd9dddaa3cb854fc643240d09452"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeDetailPageState._buildSummaryView (cyclomatic 32): _AnimeDetailPageState._buildSummaryView has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b061d4c4846b1a47958a42cf25a0d6ae4e73d2a986b9735b6a2470ceb52f2a43"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaKitPlayerAdapter.attachPlatformVideoSurface (cyclomatic 32): MediaKitPlayerAdapter.attachPlatformVideoSurface has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac78359ad1857db9a60b284b6580ad36b222d6661a1ae56f1ba5ec0da292e256"}},{"ruleId":"D1","level":"warning","message":{"text":"FullBackupService._restoreMediaLibraries (cyclomatic 32): FullBackupService._restoreMediaLibraries has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"b643adbf9071490b6360023985e5e0930735e98ae9b2e8847e5ec12b6b67432a"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayLargeScreenScaffoldLayoutState.build (cyclomatic 32): _NipaplayLargeScreenScaffoldLayoutState.build has cyclomatic complexity 32 (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/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cfff786e97480c47f91ca18e139534348e62ad0e3329463559f0837663d1ee"}},{"ruleId":"D1","level":"warning","message":{"text":"_VideoUploadUIState._handleUploadVideo (cyclomatic 32): _VideoUploadUIState._handleUploadVideo has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_upload_ui.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"46302be4c34eec0500384b4b2af48bd6daa7598065f89fddcd5afa8abe84728e"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_nipaplay::api::dfm_plus::dfm_plus_prepare_layout (cyclomatic 32): rust_lib_nipaplay::api::dfm_plus::dfm_plus_prepare_layout has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/dfm_plus.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b834d837b996f2030e44c34b2c4b955960c1ef15b417a06f011df53f2c2ba6a"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeDetailPageState._buildDetailContent (cyclomatic 31): _AnimeDetailPageState._buildDetailContent has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6753193eccdad850dbf5cc1d7a1ffbcd8e724aeb3cf254ab0bf15beff7a4683c"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeDetailPageState._buildImmersiveSubtitle (cyclomatic 31): _AnimeDetailPageState._buildImmersiveSubtitle has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":3288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4e6423a5dbe1dcfd2ffd1e4fad7206c86324e846e0cb14fa63dc6c999dcab3"}},{"ruleId":"D1","level":"warning","message":{"text":"_Step2DialogState.scanVideoFiles (cyclomatic 31): _Step2DialogState.scanVideoFiles has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1d391ce90d3d129300c49292afc7b8ef46a4455e21cb208a425699eb003190"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._pickAndScanDirectory (cyclomatic 31): _LibraryManagementTabState._pickAndScanDirectory has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3ecfa071753e924829d40a050e3a4065e5cbb7a5cf7d40d546116bdbb4fc8d"}},{"ruleId":"D1","level":"warning","message":{"text":"_VideoProgressBarState.build (cyclomatic 31): _VideoProgressBarState.build has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_progress_bar.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80a76edd1c929d7c319e122eb2adc63751bd473cd5371ebc3761dd00cdb8ffa"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager._prefetchRemoteFontsForSubtitle (cyclomatic 31): SubtitleManager._prefetchRemoteFontsForSubtitle has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d0e86363fc93cd0b758b2703c0a54b5437bd69486b2f75087487489bacd881"}},{"ruleId":"D1","level":"warning","message":{"text":"UserActivityController.loadUserActivity (cyclomatic 30): UserActivityController.loadUserActivity has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/user_activity_controller.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01760dc2429ff24e4c489fbed2e19931083246c81c1f731bb19c4e950e19538"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService._getVideoInfoWithMetadata (cyclomatic 30): DandanplayService._getVideoInfoWithMetadata has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"102559fb24fffc11c7865fb850fef25eed48481cbb21f4613778c92b574e1870"}},{"ruleId":"D1","level":"warning","message":{"text":"DanmakuSpoilerFilterService._extractTextFromResponseBody (cyclomatic 30): DanmakuSpoilerFilterService._extractTextFromResponseBody has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fd84836f8f2c42c8d44d5db7d4d76a714b386a9d8ff8a8fe16446bb5a30360"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodeNavigationService._getNextEpisodeFromJellyfin (cyclomatic 30): EpisodeNavigationService._getNextEpisodeFromJellyfin has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (EpisodeNavigationService._getPreviousEpisodeFromEmby, EpisodeNavigationService._getNextEpisodeFromEmby) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f59fe362dd0f58e7aabf2fb6810f7e9341110ef5313f00643340fd1878c041"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodeNavigationService._getPreviousEpisodeFromEmby (cyclomatic 30): EpisodeNavigationService._getPreviousEpisodeFromEmby has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (EpisodeNavigationService._getNextEpisodeFromJellyfin, EpisodeNavigationService._getNextEpisodeFromEmby) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d984a8c1483aecc2c60e60973c7c0327dc54b215f49aec6b46f7057688bd0d"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodeNavigationService._getNextEpisodeFromEmby (cyclomatic 30): EpisodeNavigationService._getNextEpisodeFromEmby has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (EpisodeNavigationService._getNextEpisodeFromJellyfin, EpisodeNavigationService._getPreviousEpisodeFromEmby) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"71af7127a04de044fe053e351289a6d9f7d348e9ba38bade15589e74c6a28fcb"}},{"ruleId":"D1","level":"warning","message":{"text":"_BlurButtonState._buildButtonBody (cyclomatic 30): _BlurButtonState._buildButtonBody has cyclomatic complexity 30 (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/themes/nipaplay/widgets/blur_button.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb22b7760c7428d095d56afaa22deba5d9c1f3c5f939d478ca3a04c67ba95313"}},{"ruleId":"D1","level":"warning","message":{"text":"_CachedNetworkImageWidgetState.build (cyclomatic 30): _CachedNetworkImageWidgetState.build has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/cached_network_image_widget.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"d255d4838601a0c0c33be83b55f29c4d96d6bf5db8a56efc4f5217075146fec2"}},{"ruleId":"D1","level":"warning","message":{"text":"_SystemResourceDisplayState.build (cyclomatic 30): _SystemResourceDisplayState.build has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/system_resource_display.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a2d6a9e75a48ba52cec91d865d367b6a6d20631eb60556a3d9a30e425175ab"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleParser.decodeSubtitleFile (cyclomatic 30): SubtitleParser.decodeSubtitleFile has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c970812f202d49d5106719564e94e0bb6cedaee1f96b8d28edb733f0fc5afd8"}},{"ruleId":"D1","level":"warning","message":{"text":"_ExternalSubtitleOverlayState._buildPathBlock (cyclomatic 30): _ExternalSubtitleOverlayState._buildPathBlock has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/external_subtitle_overlay.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8677da96a6c7f8195f750963d5d1b766d5b7149c5bb2b44283198b3c78ba498e"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_nipaplay::api::media_metadata::subtitle_compute_match_score (cyclomatic 29): rust_lib_nipaplay::api::media_metadata::subtitle_compute_match_score has cyclomatic complexity 29 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/media_metadata.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e191e1af0a48270bc8558549b37d6c4012fe37247940e8dd21f7b557d1be91c"}},{"ruleId":"D1","level":"warning","message":{"text":"NipaPlayNextEngine.layout (cyclomatic 28): NipaPlayNextEngine.layout has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c80b8288b27b95625189e25d2838e331a268fa439d35ce36ccc8476f675aa5"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeDetailPageState._loadBangumiUserData (cyclomatic 28): _AnimeDetailPageState._loadBangumiUserData has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1d1e94cbb92f623ee0bb69663c3ef97ca3bbe2dd5ec1d382bd6269c92b1057"}},{"ruleId":"D1","level":"warning","message":{"text":"WebDAVService._searchBreadthFirst (cyclomatic 28): WebDAVService._searchBreadthFirst has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41914ec9cb24aa679d5700845b47b0f81ff5453ab3b8223dab2b8de92fdc3e3"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._buildManagementItems (cyclomatic 28): _LibraryManagementTabState._buildManagementItems has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2639}}}],"partialFingerprints":{"codehealthFindingId/v1":"728d7dee75462101e55ccdf97f8881dc819be04637974002de77b2aa87e1616e"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaKitPlayerAdapter._addEventListeners (cyclomatic 27): MediaKitPlayerAdapter._addEventListeners has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"711d5b32cc4e9f669703f069c83c7608348badf2d8f44edd955e7d2e418cb4e4"}},{"ruleId":"D1","level":"warning","message":{"text":"_PluginProcess.launch (cyclomatic 27): _PluginProcess.launch has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_process_manager.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec91173f6f1273e388a9b3340cd3a6365e7dc58b9f2333bf75b01056f3170b7"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteLibraryProvider.browseRemoteDirectory (cyclomatic 27): SharedRemoteLibraryProvider.browseRemoteDirectory has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f8b6c1062452fef51d161befe19f70b1659575706c6c23a860b201f9734a82"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchHistoryProvider._validateFilePathBatch (cyclomatic 27): WatchHistoryProvider._validateFilePathBatch has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/watch_history_provider.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5438ca3d03a19809088fcad89730caff410cfdb4035e40740fffa8e347af3f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeMatchDialogState.build (cyclomatic 27): _AnimeMatchDialogState.build has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6c5ea5fdd2287ec11589a4c14fbac3f6fa6e3da619e0de9c2ac4a2f9b29538"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeMatchDialogState.build (cyclomatic 27): _AnimeMatchDialogState.build has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"70125f69604a42f0a30be412918d1d2a4caee5c562cc44c4dcba610239e5d15c"}},{"ruleId":"D1","level":"warning","message":{"text":"WebDAVProxyService._handleStreamInternal (cyclomatic 27): WebDAVProxyService._handleStreamInternal has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_proxy_service.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"efccc4ac8d04e5e5a36ab43c74ba331dfc888fd3716591efe657b7699fdc1820"}},{"ruleId":"D1","level":"warning","message":{"text":"WebDAVService._legacyAttemptConnection (cyclomatic 27): WebDAVService._legacyAttemptConnection has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"48312f4c73f2c49455f6c7d926fb6199789099a7aa3264c59f61e0bc80ff2a09"}},{"ruleId":"D1","level":"warning","message":{"text":"_CustomScaffoldState.build (cyclomatic 27): _CustomScaffoldState.build has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_scaffold.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d3f03e069c7dc900ff082b4abce4d0024f8a25bd1112e01c5a0774906a67ec"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._buildControlBarActionsLocal (cyclomatic 27): _LibraryManagementTabState._buildControlBarActionsLocal has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb08c3a071af555b72f16b0a82e8710471910954c7366775353eafbcedeeafb"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiAnime.fromJson (cyclomatic 26): BangumiAnime.fromJson has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/bangumi_model.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bf3fd90a127e5350953b0cb2c00a2fb1c248b923aa43e8e7812ed3a0938855"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchHistoryProvider._syncRemoteHistory (cyclomatic 26): WatchHistoryProvider._syncRemoteHistory has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/watch_history_provider.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aff048a9697dcea9fa3e4abcc2a05863780e83a69fe7330000fbaed82761fe"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService._getVideoInfoWithMetadata (cyclomatic 26): DandanplayService._getVideoInfoWithMetadata has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"79861f6ad7670eee02780e7fb77a5fbeb6c9ca00949162cecdd311f7eb0d1854"}},{"ruleId":"D1","level":"warning","message":{"text":"_CupertinoJellyfinQualityPaneState._applySelection (cyclomatic 26): _CupertinoJellyfinQualityPaneState._applySelection has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d4211a5673b3a15be1580db14ac4cfa6e543c1be068e413c52e2aa3664bb64"}},{"ruleId":"D1","level":"warning","message":{"text":"_CupertinoSubtitleTracksPaneState.build (cyclomatic 26): _CupertinoSubtitleTracksPaneState.build has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"91059e36dd1eccdc89f59deccceadc10ea5ec6ad9bb09ac49a0051de90029a82"}},{"ruleId":"D1","level":"warning","message":{"text":"_MacOSWindowNativeVideoOverlaySurfaceState._sendOverlayFrame (cyclomatic 26): _MacOSWindowNativeVideoOverlaySurfaceState._sendOverlayFrame has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/macos_native_video_view.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e261a6ca4b1dea9d5d708fa5bbc2e69db05584b1c740eb1030787b8a27aff77"}},{"ruleId":"D1","level":"warning","message":{"text":"DfmPlusLayoutBridge.configure (cyclomatic 25): DfmPlusLayoutBridge.configure has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28395397570899692f7224307b7cdc338e954398a951773780d5ba9d8eb66fd"}},{"ruleId":"D1","level":"warning","message":{"text":"NipaPlayNextEngine._rebuildLayout (cyclomatic 25): NipaPlayNextEngine._rebuildLayout has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fe9ecd49d4aa83f0bdc5ef31a0f86e609a1c4f22384045b7cfccdb83b75167"}},{"ruleId":"D1","level":"warning","message":{"text":"NipaPlayNextOldEngine._rebuildLayout (cyclomatic 25): NipaPlayNextOldEngine._rebuildLayout has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"15160db3d9d997bc7ad5861203726dc9e5d9bce22e9694ff5345027e2ce6aefe"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteLibraryProvider._fetchRemoteWebDAVDirectory (cyclomatic 25): SharedRemoteLibraryProvider._fetchRemoteWebDAVDirectory has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ba91ca2287e31c206019b5b34b44c6b820bd8ed2cfff3c50f5f025fca1d413"}},{"ruleId":"D1","level":"warning","message":{"text":"FullBackupService._collectPreferences (cyclomatic 25): FullBackupService._collectPreferences has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"998a6bc399b56923c9e00956a2f32240e707c5a28a3a98bcedf887e32e603780"}},{"ruleId":"D1","level":"warning","message":{"text":"_WatchHistoryPageState._onWatchHistoryItemTap (cyclomatic 25): _WatchHistoryPageState._onWatchHistoryItemTap has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bfdc482c5a0632d25df8a408c02df4fc6db91291cc3806853806913910d8ab"}},{"ruleId":"D1","level":"warning","message":{"text":"NipaplayAnimeDetailLayout.build (cyclomatic 25): NipaplayAnimeDetailLayout.build has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/anime_detail_shell.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d63e02268a257ab25ee21893b1716ead1237ce05ce7761c5ccd8f5c4c86912b"}},{"ruleId":"D1","level":"warning","message":{"text":"_JellyfinQualityMenuState._loadCurrentQuality (cyclomatic 25): _JellyfinQualityMenuState._loadCurrentQuality has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b0da51e8d6d5e3bcefef070b8226d35615f49e0125fb13ba353cadd7baf021"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._buildWebDAVFileNodes (cyclomatic 25): _LibraryManagementTabState._buildWebDAVFileNodes has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (_LibraryManagementTabState._buildSMBFileNodes) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5412}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24a5c653e4d85787667e25631bf7a88b368fafb663d843a229c9ea74cb29a86"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._buildSMBFileNodes (cyclomatic 25): _LibraryManagementTabState._buildSMBFileNodes has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (_LibraryManagementTabState._buildWebDAVFileNodes) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5617}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a8594a751fd08a1cbe0802c466b40b14cac509e66c0a950250805e31cfdf41"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaCaptureDialogContentState._buildImageTab (cyclomatic 25): _MediaCaptureDialogContentState._buildImageTab 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/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2afd8b107644ae94021f2dc68ebce43d4603591399842dc42883000d123234"}},{"ruleId":"D1","level":"warning","message":{"text":"_WebDAVFormState.build (cyclomatic 25): _WebDAVFormState.build has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3c648866287acb205d281f6da027e3ea2aab5237da79d570defab66d3fc2ec"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager._writeExternalSubtitleSelection (cyclomatic 25): SubtitleManager._writeExternalSubtitleSelection has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a9d5539230602dc8157cb01ce61ba79caad6caadc08960c77466a534e915dc"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager._registerRemainingSubtitlesAfterRestore (cyclomatic 25): SubtitleManager._registerRemainingSubtitlesAfterRestore has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"29194db3e87e53c237c371f342b8e874d2e82f7de35a7eba4fc94ca6d421c16d"}},{"ruleId":"D1","level":"warning","message":{"text":"_ErikaOhosSmokeAppState._run (cyclomatic 24): _ErikaOhosSmokeAppState._run has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/ohos_erika_smoke.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72e44e3e80feb9c01ef976d95a6f959f0cc9fa1914f8b2337531abd18d0ec23"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaLibraryScope.containsPath (cyclomatic 24): MediaLibraryScope.containsPath has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/media_library_scope.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a6e2b1c8aeab32441540e1036281b8f57a3e95a7bebc10868b948cac2a5dbd"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchHistoryDatabase._ensureWebStoreLoaded (cyclomatic 24): WatchHistoryDatabase._ensureWebStoreLoaded 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/models/watch_history_database.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23eac50a38a48c5d62cad8f8a88e1b36bf302c97c8b479821ee325a0a8a5b15"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeDetailPageState._syncBangumiCollection (cyclomatic 24): _AnimeDetailPageState._syncBangumiCollection 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/pages/anime_detail_page.dart"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a1073a3569063cdbbf913f9f482a75b99a130811a09f5aa3591bfcdde85236"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaKitPlayerAdapter._updateMediaInfo (cyclomatic 24): MediaKitPlayerAdapter._updateMediaInfo 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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbbb5f0b5b2f846fd1ce01fbfff9cdb282dc0c4765639026136f3543b5b3630"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoSyncService._synchronizeRepository (cyclomatic 24): AutoSyncService._synchronizeRepository has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/auto_sync_service.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"261ee266e0f063a320e36cc19e0f00bc772604962ab5e290c16939d92ccd48dc"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbyService.getSubtitleTracks (cyclomatic 24): EmbyService.getSubtitleTracks 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/services/emby_service.dart"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"45092fc7cad7b7b90781891fd5060ccbfbb656344c834fec42d3f6147afc060a"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodeNavigationService._getPreviousEpisodeFromDatabase (cyclomatic 24): EpisodeNavigationService._getPreviousEpisodeFromDatabase 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. This shape REPEATS in the file: one other method here (EpisodeNavigationService._getNextEpisodeFromDatabase) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"398c7230c9571c80bacf9686d741ea87353188a1d8924fcd7e365b02bdb1f740"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodeNavigationService._getNextEpisodeFromDatabase (cyclomatic 24): EpisodeNavigationService._getNextEpisodeFromDatabase 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. This shape REPEATS in the file: one other method here (EpisodeNavigationService._getPreviousEpisodeFromDatabase) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"faefaf5658436ade7ed8097500862bec1aa40e583c0e2435265be95a614e2703"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodeNavigationService._getPreviousEpisodeFromJellyfin (cyclomatic 24): EpisodeNavigationService._getPreviousEpisodeFromJellyfin 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/services/episode_navigation_service.dart"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3e85deae4da27b5ffaf5849fd1317a776d46521687d435e448bd95f9366516"}},{"ruleId":"D1","level":"warning","message":{"text":"FilePickerService._copyToDocumentsIfNeeded (cyclomatic 24): FilePickerService._copyToDocumentsIfNeeded 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/services/file_picker_service.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0069bc57b91fa34dcc6727f26c0ea264ca2ccb61d03b9be5702a12e102482d6a"}},{"ruleId":"D1","level":"warning","message":{"text":"_BlurDropdownState._openDropdown (cyclomatic 24): _BlurDropdownState._openDropdown has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"039479ee9e8ecaa6db2fa4bad684af63b4bab2d9b8999e63374509dfc5842710"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._buildAdaptiveManagementView (cyclomatic 24): _LibraryManagementTabState._buildAdaptiveManagementView 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef64b3b9d015fecf3c5d08e8632ccc5a96ecbc5fa6850f2e5dd34640d5bbc71"}},{"ruleId":"D1","level":"warning","message":{"text":"_LoadingOverlayState.build (cyclomatic 24): _LoadingOverlayState.build has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/loading_overlay.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"37efdecb5ce013503343177bcf66518fb5d95dc7ddd442ac4d8899dd52eec632"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteHostSelectionSheet.build (cyclomatic 24): SharedRemoteHostSelectionSheet.build has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce2795b85f3d703e3b20487ef13686d1a6231332fe3b977889acba55aa8f126"}},{"ruleId":"D1","level":"warning","message":{"text":"_AdaptiveMediaTextFieldState.build (cyclomatic 23): _AdaptiveMediaTextFieldState.build has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcd0fc79194355251e29ed0490f02b3631ad7f7b0f422b383b6c5b309763341"}},{"ruleId":"D1","level":"warning","message":{"text":"_WebDAVBrowserPageState._startSearch (cyclomatic 23): _WebDAVBrowserPageState._startSearch 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/pages/webdav_browser_page.dart"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d188cc35c1ce998aa63fee87d66ae792de87b814c6707595912374e07c006e0"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteLibraryProvider.refreshManagement (cyclomatic 23): SharedRemoteLibraryProvider.refreshManagement 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd6fa64ba8fac8ddf8a571680dfad0960a91143594a075f07dd3f5cf58c31ab"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteLibraryProvider._fetchRemoteSMBDirectory (cyclomatic 23): SharedRemoteLibraryProvider._fetchRemoteSMBDirectory 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"35136d0e9bbca121890982eca9722c0cd5a5bda20e40ff613bfa0211ed15c688"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbyService.loadAvailableLibraries (cyclomatic 23): EmbyService.loadAvailableLibraries 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/services/emby_service.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df828d665709df0855049c61a3369baa6aa8bc44051d3e9046e5f409e16acd1"}},{"ruleId":"D1","level":"warning","message":{"text":"_BackupRestorePageState._showFullRestoreDialog (cyclomatic 23): _BackupRestorePageState._showFullRestoreDialog 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/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7b726b1d3be0db52c422fdb148264775bfaa2a18bfb1b2927403965db39194"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._buildLargeScreenManagementStatus (cyclomatic 23): _LibraryManagementTabState._buildLargeScreenManagementStatus 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"659181b85a135be49c4d30b2bb526ea17ffb03f22fd305dcdc8a808611299d69"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlaybackInfoMenuState._getServerMetaInfo (cyclomatic 23): _PlaybackInfoMenuState._getServerMetaInfo has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc6a1ab1a34824c584e9893fc03e730c10df831080b9b72f965d0194c9dcddf"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteMediaFetcher._fetchHeadWithDart (cyclomatic 23): RemoteMediaFetcher._fetchHeadWithDart has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/remote_media_fetcher.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d99f37328f2527820d5d3d587453f6a7e7a96c0adf90968b56c554a12c86251"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager.setExternalSubtitle (cyclomatic 23): SubtitleManager.setExternalSubtitle has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"29998c07961b5e131b7f5a4fd7ea2918beef0eee892139879fb33198fe7cec7f"}},{"ruleId":"D1","level":"warning","message":{"text":"RustLibNipaplayPlugin.getTextureInfo (cyclomatic 23): RustLibNipaplayPlugin.getTextureInfo has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52a762dbcee7351bf5955d98c4ede022a515e0909c7c61de4ff977e781975a8"}},{"ruleId":"D1","level":"warning","message":{"text":"RustLibNipaplayPlugin.getTextureInfo (cyclomatic 23): RustLibNipaplayPlugin.getTextureInfo has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/macos/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acab57bea6a4f28625621fb5364010bdbec54289b5e6ec85b14238b90335d06"}},{"ruleId":"D1","level":"warning","message":{"text":"_DfmPlusOverlayState._runUpdateLoop (cyclomatic 22): _DfmPlusOverlayState._runUpdateLoop has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7572893be2ee49d25fdbac1dc258eba787315ac5a632815296598858482a2d"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaServerDetailPageState._playEpisode (cyclomatic 22): _MediaServerDetailPageState._playEpisode has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe128159b52097e193572a64a51488c30eb073e806d6042cbf60abf486d5330c"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShortcutsSettingsPageState._handleKeyPress (cyclomatic 22): _ShortcutsSettingsPageState._handleKeyPress has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/shortcuts_settings_page.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a039ee2982684b64c6ad84aff094af93bc45906a9b3b01fa9b523c1aba517b"}},{"ruleId":"D1","level":"warning","message":{"text":"_WebDAVBrowserPageState._loadDirectory (cyclomatic 22): _WebDAVBrowserPageState._loadDirectory has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aea51570ce846da9fec307e6ebfbe669737ed356c79d01d1a6737477f860f5"}},{"ruleId":"D1","level":"warning","message":{"text":"_WebDAVBrowserPageState._buildFileItem (cyclomatic 22): _WebDAVBrowserPageState._buildFileItem has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f95e63de2b1d14388cc709bdab017bf0cd318f42006a14b68bfa310a162668"}},{"ruleId":"D1","level":"warning","message":{"text":"CertificateTrustService._isLanHost (cyclomatic 22): CertificateTrustService._isLanHost has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/certificate_trust_service.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37085b841a0055de185524c484534fe58ed3e0c5550ea8eb6c08747ff527411"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodeNavigationService._locateRemoteEpisode (cyclomatic 22): EpisodeNavigationService._locateRemoteEpisode has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a629b27cbb1e98d7cd31a96049b609100a92e89b9a506b4afe83c2d7336f55"}},{"ruleId":"D1","level":"warning","message":{"text":"JellyfinService.createPlaybackSession (cyclomatic 22): JellyfinService.createPlaybackSession has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"096115a0cc669adb82aeba308d8dcd67249d5a08435e74c39274e6eb25bd4d75"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginPlaybackService.prepare (cyclomatic 22): PluginPlaybackService.prepare has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/plugin_playback_service.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c57b1ecc2a9542fabac115a5df39b50bc7aa792a2d34666e58a601b4d06a68"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSubtitleService._listSharedRemoteFontCandidates (cyclomatic 22): RemoteSubtitleService._listSharedRemoteFontCandidates has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"692219e348ab3dd190eb4a13898407d522422851e8d38f3a8274094b65621eb9"}},{"ruleId":"D1","level":"warning","message":{"text":"SMBProxyService._handleStreamInternal (cyclomatic 22): SMBProxyService._handleStreamInternal has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"445d19626c9dcd7ee4384ce71a5b895ff243d6f7bf8bcb3d2d5e544aeb119cfd"}},{"ruleId":"D1","level":"warning","message":{"text":"WebServerService._accessUrlSortWeight (cyclomatic 22): WebServerService._accessUrlSortWeight has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_server_service.dart"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7473592590656d05519e2926561786549dbbcb7ecc8754b5e694eb4c6d2f09"}},{"ruleId":"D1","level":"warning","message":{"text":"_CupertinoMainPageState.build (cyclomatic 22): _CupertinoMainPageState.build has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/pages/cupertino_main_page.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e409fadfe488aac09d88678ce2d21655cb5e35b5650f450c8c54bf39fa08d9cb"}},{"ruleId":"D1","level":"warning","message":{"text":"_BlurDropdownState.build (cyclomatic 22): _BlurDropdownState.build has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c414fbdeac8c798d8e8f22371da7c864fd74f1d07c8b88ef9d1d01a284b37c"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._loadMountedDirectory (cyclomatic 22): _LibraryManagementTabState._loadMountedDirectory has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3052}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8c6d58e3b00b08ee2bfa59572b5d02f754ff82a9cb4c807a4857d7761474a4"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._scrapeRemoteFiles (cyclomatic 22): _LibraryManagementTabState._scrapeRemoteFiles has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5879}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea213e003008e4fdaf433beec0eb0934c3f125a7711f922226f454eede1efa0"}},{"ruleId":"D1","level":"warning","message":{"text":"_SMBConnectionFormState.build (cyclomatic 22): _SMBConnectionFormState.build has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/smb_connection_dialog.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"589c66168280ce00d9cd8afb29facae2e1066d5a14bb36dd684988379b48beec"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager._loadExternalSubtitleWithEncodingFix (cyclomatic 22): SubtitleManager._loadExternalSubtitleWithEncodingFix has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"47862c6ffedb5f74e8f496de7901b50698c57b1406ae67abb1862f59afeb5fec"}},{"ruleId":"D1","level":"warning","message":{"text":"DanmakuGroupWidget.build (cyclomatic 22): DanmakuGroupWidget.build has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_group_widget.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd88b4f6dfd86607d38e845ca6d6b4446c14c51ca8a3b4864190a327e159f89"}},{"ruleId":"D1","level":"warning","message":{"text":"nipaplay_dandanplay_gateway::proxy (cyclomatic 22): nipaplay_dandanplay_gateway::proxy has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/dandanplay-gateway/src/main.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87cfa610c802b2863b70cceb3a0bcddb37829d2a76d52a20cba459e6d379929"}},{"ruleId":"D1","level":"warning","message":{"text":"MainPageState.build (cyclomatic 21): MainPageState.build has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6cb6f8252577cd2821354d336bf52f755b92b4b8eecf393fb58854dd1583ed"}},{"ruleId":"D1","level":"warning","message":{"text":"_MdkOhosSmokeAppState._run (cyclomatic 21): _MdkOhosSmokeAppState._run has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/ohos_mdk_smoke.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1048ed31474e8640adb65bc6be11031df9c84332ef31d836948eb649d1b825"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlayVideoPageState._shareCurrentMedia (cyclomatic 21): _PlayVideoPageState._shareCurrentMedia has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4548c2756f5f1ee9b51e0b9696c89b9d6122a0367adb5e72386c6e0ba4fceb"}},{"ruleId":"D1","level":"warning","message":{"text":"_LargeScreenTorrentTaskCard.build (cyclomatic 21): _LargeScreenTorrentTaskCard.build has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/torrent_download_page.dart"},"region":{"startLine":2429}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0be0b54c75de4b8fef56738e568f6a57d1ef5e9a0de3c058dd00ef4eeffda28"}},{"ruleId":"D1","level":"warning","message":{"text":"_WebDAVBrowserPageState.build (cyclomatic 21): _WebDAVBrowserPageState.build has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"a262b7ea4458a7f163e7964f12ed002ad0ae965125d2fda594693900fdbdca69"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaKitPlayerAdapter.setMedia (cyclomatic 21): MediaKitPlayerAdapter.setMedia has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1a44a780df4ab7f6a3aad0c15e4766a5cf445e07554c76b79868ddcec57dbb"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService.getBangumiOAuthLoginUrl (cyclomatic 21): DandanplayService.getBangumiOAuthLoginUrl has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb24d79cee091ac7dea3aa7462c7a62b6c120d8a963b06139b916a59835b5d95"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbyService.getLatestMediaItems (cyclomatic 21): EmbyService.getLatestMediaItems has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2d8a6c35d35850968a202ebaff7ab71737811b8426edcda49027fa7a7c9b86"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbyService._addTranscodeParameters (cyclomatic 21): EmbyService._addTranscodeParameters has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ba9771d5f8a17541f2aaf31c41095bedffe66bfce6ad80b3cc65e9915b3706"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodeNumberExtractor.extract (cyclomatic 21): EpisodeNumberExtractor.extract has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/intro_skip/episode_number_extractor.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a6006a48ee16c6ad5fd01f8ef50000f4a4e064d5b164b75d9b3191c336f16a"}},{"ruleId":"D1","level":"warning","message":{"text":"JellyfinService._addTranscodeParameters (cyclomatic 21): JellyfinService._addTranscodeParameters has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0f3fc4b7348a9b2dd23c073bc733ade4a5eb85a7a14a3baa079c106da35685"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiAddressServerService.identifyServer (cyclomatic 21): MultiAddressServerService.identifyServer has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/multi_address_server_service.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"093d1bff5e914c2a83bec3ee62a9d5adab93c436514988ea87852875c63db072"}},{"ruleId":"D1","level":"warning","message":{"text":"QuarterlyReviewCache.reserveCollectionProbe (cyclomatic 21): QuarterlyReviewCache.reserveCollectionProbe has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/quarterly_review_cache.dart"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bebc291d9ceddc21364bf6057ad42be0b86d03abf50739a1cef97498cef93a"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSubtitleService._listSharedRemoteAudioCandidates (cyclomatic 21): RemoteSubtitleService._listSharedRemoteAudioCandidates has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b96ac73513ff04c4ee2e0f63c84658900310d2d866a9d9132ef4c408b426a8"}},{"ruleId":"D1","level":"warning","message":{"text":"_CupertinoDanmakuSettingsPaneState.build (cyclomatic 21): _CupertinoDanmakuSettingsPaneState.build has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"1401a2e3f387d852eb38c19ac493d9b188ceda2b00fd8da889696b1fe7c8d6e4"}},{"ruleId":"D1","level":"warning","message":{"text":"_CupertinoSubtitleTracksPaneState._loadRemoteSubtitleFile (cyclomatic 21): _CupertinoSubtitleTracksPaneState._loadRemoteSubtitleFile has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c37969d48e558ec287113b279fc1aa5f482a14a9f9457398bc000297a87f131"}},{"ruleId":"D1","level":"warning","message":{"text":"_BackupRestorePageState._showFullBackupDialog (cyclomatic 21): _BackupRestorePageState._showFullBackupDialog has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"69387aa76208fe78cbe1ba7aba4449bfb7f658083b46209174ac61597039183f"}},{"ruleId":"D1","level":"warning","message":{"text":"BlurSnackBar.show (cyclomatic 21): BlurSnackBar.show has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_snackbar.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c18702065942727f2b79ee3ae2cdcc018c09c28c328b7fbbdc8988085627a04"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._buildControlBarActionsRemote (cyclomatic 21): _LibraryManagementTabState._buildControlBarActionsRemote has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a93d9d13e4f9f2235d0dac7baafd872d38bb4acef31394d0db3ff344ac921d6"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._buildAdaptiveManagementStatus (cyclomatic 21): _LibraryManagementTabState._buildAdaptiveManagementStatus has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08a6daaeabc9e59adcbb1394492a01cb1c3e88b32abf6975973d71632dd48d2"}},{"ruleId":"D1","level":"warning","message":{"text":"_SharedRemoteLanScanDialogContentState._startScan (cyclomatic 21): _SharedRemoteLanScanDialogContentState._startScan has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9eee592ea221da7baa4ae99a177b2108aab1fcca35722d0d2c0d46ea78839bc"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubtitleTracksMenuState._loadExternalSubtitle (cyclomatic 21): _SubtitleTracksMenuState._loadExternalSubtitle has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2914f1908b7880724c93cbad809b187028c7c5484c43f6d9c3c2cca1aea72996"}},{"ruleId":"D1","level":"warning","message":{"text":"_VideoPlayerUIState._shareCurrentMedia (cyclomatic 21): _VideoPlayerUIState._shareCurrentMedia has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdcbc2377a958e12516353485ae4fea5992baf5241d163503fff4928dbd779f"}},{"ruleId":"D1","level":"warning","message":{"text":"_DanmakuContainerState.build (cyclomatic 21): _DanmakuContainerState.build has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"2137818f782454545b8e7d1e9a7827b033d43fe1a05345b438d059534be4f14e"}},{"ruleId":"D1","level":"warning","message":{"text":"Next2Renderer::build_vertices (cyclomatic 21): Next2Renderer::build_vertices has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"760e342ae58de5a931921db17b1f8d87abfcb697877e6b9621136126bf7c678f"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_nipaplay::api::webdav_multistatus::parse_webdav_multistatus (cyclomatic 21): rust_lib_nipaplay::api::webdav_multistatus::parse_webdav_multistatus has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/webdav_multistatus.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7911af96176f2aef15e45475b3cdf76215356308870e4aedb32e16c8fe6dd070"}},{"ruleId":"D1","level":"warning","message":{"text":"AdaptiveMediaActionButton.build (cyclomatic 20): AdaptiveMediaActionButton.build has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac3a641e05573e8ea6550e5423336f84e25cc8d4f159e1f3adefcb8cd5261e8"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeDetailPageState._buildContent (cyclomatic 20): _AnimeDetailPageState._buildContent has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f879d1b3ffede18c0a2e50db57870b467d3ad43fa5631788f50bcc87bec857e"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaServerDetailPageState._buildInfoView (cyclomatic 20): _MediaServerDetailPageState._buildInfoView has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbd21894bfb3bae01e27db6122aa532dcb389065c22594060b011b120c2fee8"}},{"ruleId":"D1","level":"warning","message":{"text":"_ErikaDanmakuConfigPatch.differenceFrom (cyclomatic 20): _ErikaDanmakuConfigPatch.differenceFrom has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e24c701b3f1c067149a91e3ed4611622486f20b586126d1b40033bfb32b1cb6"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayerAdapter._actuallyCreateController (cyclomatic 20): VideoPlayerAdapter._actuallyCreateController has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b958cf654c132d19ca5d5a221e258c74f09a5225e6c8e7dfdb4c478cafe1218"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiService._getAnimeDetails (cyclomatic 20): BangumiService._getAnimeDetails has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb5e34acc443cf9069eeda15472799d9d08bc3e4bd84444f0183d34bbce3c0e"}},{"ruleId":"D1","level":"warning","message":{"text":"JellyfinService.getMediaInfo (cyclomatic 20): JellyfinService.getMediaInfo has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ad81fd61c1c6da97e3559b150efe13b0f2b653d1fd17a81b0edf4b74fcb6ef"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaServerWatchHistorySync.refresh (cyclomatic 20): MediaServerWatchHistorySync.refresh has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_watch_history_sync.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b4f829bd49720c8f34ecb87494d8b49de85b8c933a365f8d4fbd37d5e00773"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaProxyServer._serve (cyclomatic 20): _MediaProxyServer._serve has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/plugin_media_proxy.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26a20cfc16692793554f88a14c0e02f82c5e9a04fd1d949c0799993a07cec98"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSubtitleService._ensureSingleSubtitleCached (cyclomatic 20): RemoteSubtitleService._ensureSingleSubtitleCached has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1f5f7183c266e7e225e4d3aed0b52190c24af6850ca7a1ea88db52909e5b29"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSubtitleService._tryResolveWebDavFromUrl (cyclomatic 20): RemoteSubtitleService._tryResolveWebDavFromUrl has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7ff5a39cde7087a2cb1c0fba0c9ccccdfad6a0705ca8d4c4a19bfae09856a9"}},{"ruleId":"D1","level":"warning","message":{"text":"WebApiService.handleImageProxyRequest (cyclomatic 20): WebApiService.handleImageProxyRequest has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e00221a91ef30e8dc2f631a90f77cf527cc53ef3b4a7d1af85a1d92339f9387"}},{"ruleId":"D1","level":"warning","message":{"text":"_StorageSettingsContentState.build (cyclomatic 20): _StorageSettingsContentState.build has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/storage_settings_content.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99ea053e5cbdd231f55ee59a471609a7ba45d599e5dbbe0e6a14c82bbb3b9bf"}},{"ruleId":"D1","level":"warning","message":{"text":"_CachedNetworkImageWidgetState._resolveDecodeTarget (cyclomatic 20): _CachedNetworkImageWidgetState._resolveDecodeTarget has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/cached_network_image_widget.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11dcece2cc282582e6282a1978d27afdb474032696b96847c4f64b13954d45d"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayLargeScreenAnimeDetailPageState._buildHeroInfoSection (cyclomatic 20): _NipaplayLargeScreenAnimeDetailPageState._buildHeroInfoSection has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"48579b96c51aa9b2eb80f12357cc144e38d50ad0a0dd36d28c45cd06a8200be9"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayLargeScreenAnimeDetailPageState._buildEpisodeCard (cyclomatic 20): _NipaplayLargeScreenAnimeDetailPageState._buildEpisodeCard has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9d80ef833d244e9663736af0a48741786a62588cbfd880f05f9c9de3f0029a"}},{"ruleId":"D1","level":"warning","message":{"text":"NipaplayLargeScreenViewContainer.build (cyclomatic 20): NipaplayLargeScreenViewContainer.build has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_view_container.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1004734e0e5e1e9894cf2f0af97d88d31236ae4e801ee6429030fa53a24de45"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._showBatchDanmakuMatchDialog (cyclomatic 20): _LibraryManagementTabState._showBatchDanmakuMatchDialog has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4395}}}],"partialFingerprints":{"codehealthFindingId/v1":"17418f4c3a5c9576172bf5b2286c66b0d932eb1b99d2b3adbdbeeacec156b579"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsItem._buildLargeScreen (cyclomatic 20): SettingsItem._buildLargeScreen has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/settings_item.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"2529f5fcc2e28ace71cd0c2a2f430378d369b6009051666fb885e1dd980b215c"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkAddressUtils._isPrivateIpv4 (cyclomatic 20): NetworkAddressUtils._isPrivateIpv4 has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/network_address_utils.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9908cae0e4141257de23a7d8c1cbb8513d1969a823b38544747d6c24eda70c"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageService._getUniversalStorageDirectory (cyclomatic 20): StorageService._getUniversalStorageDirectory has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/storage_service.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb0313550786d935ece568947a9fd7228570daa1318cc0b1eda7b94b44c9565"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleParser._scoreDecodedText (cyclomatic 20): SubtitleParser._scoreDecodedText has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff52be92428676f937f395632ebcf48127c8004f52b0ed9f9a84937fa753cdf4"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoAspectGeometry.displayRect (cyclomatic 20): VideoAspectGeometry.displayRect has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_aspect_geometry.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa94ed0a93f0be83a91c17ef6298e2de63d4c82a1b83c5b821c8959c0e04f26"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayerState._parseSeekStepFrameRateValue (cyclomatic 20): VideoPlayerState._parseSeekStepFrameRateValue has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe7bc59a3068f83a632aca781bcc8dc1f2e8edbc6e9eefb638d66b424a916a5"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchHistoryAutoMatchHelper.tryAutoMatch (cyclomatic 20): WatchHistoryAutoMatchHelper.tryAutoMatch has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/watch_history_auto_match_helper.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a18c2c09ab04cc15c3b5b52dc4172c5b32dbb55101af87ee2d4a108d3e12f00"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_nipaplay::api::next2::next2_prepare_layout (cyclomatic 20): rust_lib_nipaplay::api::next2::next2_prepare_layout has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/next2.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"17937c63aed00881a9c638b50a948c8c00cb0e4dacfb5843c8d14f7e1895661b"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSubtitleParser.parseBytes (cyclomatic 19): NativeSubtitleParser.parseBytes 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/cpp_native/bindings/subtitle_parser_io.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"13335d5fb6194bcb7492e617775637064a2bd3721f332aa4e8ea36c8e7961c10"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaPlayNext2OverlayState._tryUpdateTexture (cyclomatic 19): _NipaPlayNext2OverlayState._tryUpdateTexture 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/danmaku_next/nipaplay_next2_overlay.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"37447c60813d1845525a9a0f7343fb7ae68431f79478031c4ff9dad1cc94e3d6"}},{"ruleId":"D1","level":"warning","message":{"text":"_WebDAVBrowserPageState._buildLargeScreenFileCard (cyclomatic 19): _WebDAVBrowserPageState._buildLargeScreenFileCard has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e965adf3399170e4e57ad623ea52872063ea293a43f8167240ed1260c709ab"}},{"ruleId":"D1","level":"warning","message":{"text":"_ErikaDanmakuConfigPatch.isEmpty (cyclomatic 19): _ErikaDanmakuConfigPatch.isEmpty has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4349a87e3606aa57a327d05b1a9f3287fe54857b6af1b5f3a6e42c7b25362653"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayerAdapter.prepare (cyclomatic 19): VideoPlayerAdapter.prepare 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/player_abstraction/video_player_adapter.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ca7527255e4eb425ab8efa32fc60996234ec2c1d7106b17414f3a95741bb95"}},{"ruleId":"D1","level":"warning","message":{"text":"_PluginProcess.stop (cyclomatic 19): _PluginProcess.stop 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/plugins/plugin_process_manager.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a12a67732323a4892f7829ac5ab1015760ed60228b4a1755f1402dccdd92fc"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteLibraryProvider._shouldBypassProxy (cyclomatic 19): SharedRemoteLibraryProvider._shouldBypassProxy 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69d45771e32c5db40884c3f442ef23773d5941a0e13e11dba1740bebc412f82"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayHttpClient.send (cyclomatic 19): DandanplayHttpClient.send 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/services/dandanplay_http_client.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b299a72339283c1a503f946e2f25fe7b4438544696fc68344f8fcb477b1bdc7e"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService._tryMatchByFileNameFirstResult (cyclomatic 19): DandanplayService._tryMatchByFileNameFirstResult 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/services/dandanplay_service_io.dart"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9045c9e467398bcd280ff21cd2c456e39aa175b59db181b0401cfaa2dfaaf33"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService.getBangumiByTmdbId (cyclomatic 19): DandanplayService.getBangumiByTmdbId 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/services/dandanplay_service_io.dart"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"174f28c587d786b7dcb06ddf5cdeed033d91f8961a8ba58034f9179bc717d9cc"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService.refreshLinkedBangumiStatus (cyclomatic 19): DandanplayService.refreshLinkedBangumiStatus 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/services/dandanplay_service_stub.dart"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a6d8a42b190b3b7a275f56a0af63d76dc906d3616a5ad710333f8b70f93302"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService.getUserPlayHistory (cyclomatic 19): DandanplayService.getUserPlayHistory 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/services/dandanplay_service_stub.dart"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2719a15fd16dd7066d4f73d6a23d46810a47460c00b227757bdc0f1a9747f3e2"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService._tryMatchByFileNameFirstResult (cyclomatic 19): DandanplayService._tryMatchByFileNameFirstResult 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/services/dandanplay_service_stub.dart"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b542adf134296c6cc3324d273b8e6b3ae738860311732095f4b46a89d631c42"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbyService.createPlaybackSession (cyclomatic 19): EmbyService.createPlaybackSession has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75e0e30611f5f17d9b7a2eba9936511b5d7f1f21c629169c2bb5ce697beac6b"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbyService._buildPlaybackSessionFromResponse (cyclomatic 19): EmbyService._buildPlaybackSessionFromResponse 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/services/emby_service.dart"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1386565951d19cd9d58e8c4e3de93d272d454903e3409037519c4a25cabb1fc1"}},{"ruleId":"D1","level":"warning","message":{"text":"EpisodeNavigationService._isSameRemoteEpisode (cyclomatic 19): EpisodeNavigationService._isSameRemoteEpisode has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2060f05df49370fb2721f45f36f59bfb2b1c8ec7d6770143bfd7654e2eb5953"}},{"ruleId":"D1","level":"warning","message":{"text":"FullBackupService._restoreAccounts (cyclomatic 19): FullBackupService._restoreAccounts 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/services/full_backup_service.dart"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"e838f7ea88fb66962162d217d2cc35382bbf6b37495f7aa27d83fcdd6cd19c63"}},{"ruleId":"D1","level":"warning","message":{"text":"JellyfinService._buildPlaybackSessionFromResponse (cyclomatic 19): JellyfinService._buildPlaybackSessionFromResponse 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/services/jellyfin_service.dart"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"05054bdd7f233ad964c375123e5ed2c89679b2233b32fcb20ca3eab6e22e7a32"}},{"ruleId":"D1","level":"warning","message":{"text":"QuarterlyReviewCache._load (cyclomatic 19): QuarterlyReviewCache._load 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/services/quarterly_review_cache.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac3ad80b00ed729128baf495c7972f78820dd6428f7313ae805adc116e18b22"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSubtitleService._listManagedLibraryCandidates (cyclomatic 19): RemoteSubtitleService._listManagedLibraryCandidates 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/services/remote_subtitle_service.dart"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9d7e09f7c154610686984172b41b5a86843ad3be9880917844f638b41166d3"}},{"ruleId":"D1","level":"warning","message":{"text":"WebDAVService.resolveFileUrl (cyclomatic 19): WebDAVService.resolveFileUrl 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/services/webdav_service.dart"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"748e75e6802d5a017d6e5a97918739fc99de56168944a9deb9981f91c831dcd1"}},{"ruleId":"D1","level":"warning","message":{"text":"WebDAVService._shouldBypassProxy (cyclomatic 19): WebDAVService._shouldBypassProxy 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/services/webdav_service.dart"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cea253acf02ebdad895aa3b7167a1ff4d501babe7575de6b28c8a1b57a1131"}},{"ruleId":"D1","level":"warning","message":{"text":"_CupertinoTagSearchViewState._buildResultSlivers (cyclomatic 19): _CupertinoTagSearchViewState._buildResultSlivers has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_tag_search_view.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c39f613d5552d7be1c30c9554c884afe86418c06442d6ef89ce0458abfcb36"}},{"ruleId":"D1","level":"warning","message":{"text":"HorizontalAnimeCard.build (cyclomatic 19): HorizontalAnimeCard.build has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/horizontal_anime_card.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf691dd40a2b7005ae3939ff0d30ffe2633a9c372241c3bec7995c1038db3002"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._sortContents (cyclomatic 19): _LibraryManagementTabState._sortContents 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f5779bdc8986a011c7d595e76c4c698e0a1decdd5121732bb90700fbe7b178"}},{"ruleId":"D1","level":"warning","message":{"text":"_LocalLibraryControlBarState.build (cyclomatic 19): _LocalLibraryControlBarState.build has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/local_library_control_bar.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"598e83ac27fbf1ca932929833baa7100daa086c3f1d9ec99988eb93b1ba652c2"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlaybackInfoMenuState._getErikaRuntimeInfo (cyclomatic 19): _PlaybackInfoMenuState._getErikaRuntimeInfo has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aee8d86a243724fe278b4cd45b0ff6fb2e57c6485f9966b8ead419dcc12a9c0"}},{"ruleId":"D1","level":"warning","message":{"text":"_RatingDialogState.build (cyclomatic 19): _RatingDialogState.build has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/rating_dialog.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc050233f8a8b56fd82bec46076a20035b5c8d37c6cd64ccf02e8373b1d6456e"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubtitleListMenuState._loadSubtitles (cyclomatic 19): _SubtitleListMenuState._loadSubtitles 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/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"285ce8bf91f6ba689deb61c57cd271ac8dda5228a5f8e96e6a7b71ea7e4077d8"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaSourceUtils.migrateWebDavPath (cyclomatic 19): MediaSourceUtils.migrateWebDavPath has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_source_utils.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9de9ebdd0f1e97edd9b0b5e001a104814d95f6a60da0e0c70aff6ca48527b7"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerKernelManager.performPlayerKernelHotSwapSteps (cyclomatic 19): PlayerKernelManager.performPlayerKernelHotSwapSteps has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/player_kernel_manager.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"253280e2d9e2c253307fd40df4e9d455c01a45a405f6e9b481afee201cfe0947"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteMediaFetcher._shouldBypassProxy (cyclomatic 19): RemoteMediaFetcher._shouldBypassProxy has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/remote_media_fetcher.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"04208df62a9df23542b052b0b65de95d98a78c72fe6f91086a318c3422c99377"}},{"ruleId":"D1","level":"warning","message":{"text":"DfmPlusLayoutBridge.layout (cyclomatic 18): DfmPlusLayoutBridge.layout 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/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"cede85bc2b463bc3594e0e9478d11753b75a9561d024bf735de0091e6a80cc14"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryNewContentTracker.load (cyclomatic 18): LibraryNewContentTracker.load 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/media_library/adaptive_media_collection_view.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeae286f61875bb8a39ca4ea65d78eddaca36b8b776a5bd22b69e7d9fb111fcf"}},{"ruleId":"D1","level":"warning","message":{"text":"_DanmakuRow.build (cyclomatic 18): _DanmakuRow.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/external_player_console_page.dart"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0720644dd9a256afc170cb90288d2ce74f8ed51536d9821135188f2af9ed1e7e"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayErikaWindowOverlayVideoViewState._sendOverlayFrame (cyclomatic 18): _NipaplayErikaWindowOverlayVideoViewState._sendOverlayFrame 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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d49bab9c0fe18ea56a2df354508f41f9e33ce2a30a3cded48519326d23bf6a"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginUrlResolver.resolve (cyclomatic 18): PluginUrlResolver.resolve 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/plugins/url_resolver.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fd707194300e4737accdbb74562e66e61775c63de347f1e271a1d27274a405"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteLibraryProvider.testWebDAVConnection (cyclomatic 18): SharedRemoteLibraryProvider.testWebDAVConnection 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64c53da8ac60827d56e990eb0adaf054da8d9fb503925ede95a48d992989d45"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService._tryExtractEpisodeNumberFromFileName (cyclomatic 18): DandanplayService._tryExtractEpisodeNumberFromFileName has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"303627db8f5cd14ff504d1362789fea50dee90c1c673eda6c6fb76cbbe9ba14a"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService._tryExtractEpisodeNumberFromFileName (cyclomatic 18): DandanplayService._tryExtractEpisodeNumberFromFileName has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":2317}}}],"partialFingerprints":{"codehealthFindingId/v1":"870f0a7e3fca5b4c7edc0c44812d46737eda78d182d45722b02526e92115e457"}},{"ruleId":"D1","level":"warning","message":{"text":"JellyfinService.getLatestMediaItems (cyclomatic 18): JellyfinService.getLatestMediaItems has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bec1a1ca9c46f2482c973c3184d5e6509b8b8446c5ebfeaed38a097a7c9d91"}},{"ruleId":"D1","level":"warning","message":{"text":"JellyfinService.buildHlsUrlWithAutoSubtitle (cyclomatic 18): JellyfinService.buildHlsUrlWithAutoSubtitle has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99fa87200c449ddecce0b4351579f70d3277c0bb2ce131df524db7f18ba4a3e"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalMediaManagementApi._handleStreamInternal (cyclomatic 18): LocalMediaManagementApi._handleStreamInternal has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5e9a4cd888d6d63d7cc139d3b8d330fc91fbefc96eaccb39c2dbf6a6b5c3be"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalMediaManagementApi._handleSubtitles (cyclomatic 18): LocalMediaManagementApi._handleSubtitles has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d04446a0e28f3cdc8ff32244e2196e760ace0b26a2e119b0b6ef21ddf15e3d"}},{"ruleId":"D1","level":"warning","message":{"text":"AdaptiveSettingsTile._buildPhone (cyclomatic 18): AdaptiveSettingsTile._buildPhone 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/settings/adaptive_settings_widgets.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1015f45025173c23b2715713f21fb508c3f4628743de2be95a8a081ba63fe94b"}},{"ruleId":"D1","level":"warning","message":{"text":"_AppearanceSettingsContentState.build (cyclomatic 18): _AppearanceSettingsContentState.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/appearance_settings_content.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"520ecfdb11dec66d1fa408822e72d4949736580dcca80308529ea7d97e661937"}},{"ruleId":"D1","level":"warning","message":{"text":"CupertinoAudioTracksPane.build (cyclomatic 18): CupertinoAudioTracksPane.build has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"672345870292601b506a34ffc41a25203fa24ea81ef1c740b47a619d553a1ec4"}},{"ruleId":"D1","level":"warning","message":{"text":"_DanmakuSettingsMenuState.build (cyclomatic 18): _DanmakuSettingsMenuState.build has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3733c5a3f628d6187f472a9d609f154d9bb7ffed850a07a2d61417b53a1b525"}},{"ruleId":"D1","level":"warning","message":{"text":"_DescriptionBlock.build (cyclomatic 18): _DescriptionBlock.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/immersive_anime_detail_scaffold.dart"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dd3b0d01260bb0feaea7d022f7a8cbb8572a1f2ce5e28f37e30172fc65f2cf"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._getDirectoryContents (cyclomatic 18): _LibraryManagementTabState._getDirectoryContents 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04072bf75f3a8673a13a452c8964ac6b34cfb91bc87fe78f40c2a21762c8666"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._collectMountedVideoPaths (cyclomatic 18): _LibraryManagementTabState._collectMountedVideoPaths 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfe08dc195650b5555834502b51eb33cdd5874ce3def667ec837de4767263f8"}},{"ruleId":"D1","level":"warning","message":{"text":"_SwitchableViewState._schedulePreloadIfNeeded (cyclomatic 18): _SwitchableViewState._schedulePreloadIfNeeded 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/themes/nipaplay/widgets/switchable_view.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea2af2c68b23c31476af5273a4a29a2185fd55b81a100c48ed3609e01762473"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager._activateMdkExternalSubtitleTrack (cyclomatic 18): SubtitleManager._activateMdkExternalSubtitleTrack 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/utils/subtitle_manager.dart"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1d93e6bb26d1479b698a38a940d9107874df9dc16a8000aad486339e79a092"}},{"ruleId":"D1","level":"warning","message":{"text":"RustLibNipaplayPlugin.initSurface (cyclomatic 18): RustLibNipaplayPlugin.initSurface 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":"rust_builder/android/src/main/java/com/flutter_rust_bridge/rust_lib_nipaplay/RustLibNipaplayPlugin.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f96dfe8171b14d80a861dd53b7d2fee566fc4e43bb784ac142ddba44f34bf8"}},{"ruleId":"D1","level":"warning","message":{"text":"MacOSNativeVideoPlugin.handle (cyclomatic 18): MacOSNativeVideoPlugin.handle 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":"macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"3493459eae857fdca312057cc75e8b11d4f25ce1e93f8372f8a41cde3ab65fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseState::handle_start (cyclomatic 18): ResponseState::handle_start 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":"rust/src/api/webdav_multistatus.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"123eb6e9b3b890dd424b8db6d311e52b3ce8b3bfe8ec7a3c79ea453434ae75ec"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_nipaplay::next2_engine::engine::runtime::render_linux_gl_texture (cyclomatic 18): rust_lib_nipaplay::next2_engine::engine::runtime::render_linux_gl_texture 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":"rust/src/next2_engine/engine/runtime.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8ff067a9e309ad590138c92cd979ecb3db72231c3b76fe5aca7eef7f527277"}},{"ruleId":"D1","level":"warning","message":{"text":"_AdaptiveMediaLibraryPageState.build (cyclomatic 17): _AdaptiveMediaLibraryPageState.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/media_library/adaptive_media_library_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e701031645dc272f60abba8459e6930fd10c2cd7b1527013a37b6d92e98a81"}},{"ruleId":"D1","level":"warning","message":{"text":"_AdaptiveMediaLibraryPageState._playHistoryItem (cyclomatic 17): _AdaptiveMediaLibraryPageState._playHistoryItem 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/media_library/adaptive_media_library_page.dart"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8424924921ffeb01ecb0f10943b11a350a82e885a7dbad9d1ae21741c9a1b70b"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchHistoryManager.getHistoryItem (cyclomatic 17): WatchHistoryManager.getHistoryItem 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/models/watch_history_model.dart"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f294ea1d8d32cbee18c826c7bad48850bf8167b3ad5db9d02559704b9274037"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeDetailPageState._syncBangumiEpisodeProgress (cyclomatic 17): _AnimeDetailPageState._syncBangumiEpisodeProgress 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/pages/anime_detail_page.dart"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2b0d69e3d2fc217df2c684cf122c5466c59f3fd7be17ffb44a87179b855323"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeDetailPageState._buildImmersiveEpisodeRail (cyclomatic 17): _AnimeDetailPageState._buildImmersiveEpisodeRail 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/pages/anime_detail_page.dart"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"02295641a53d29557812acdeb2e96459fa97d81cf9eddb9124b524aeef80c847"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayerAdapter._playDirectly (cyclomatic 17): VideoPlayerAdapter._playDirectly has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74941c12f6daf0ff0ed980608cb97d8f216fa0aff0a10a276b0deb7d8a3ecbd"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteLibraryProvider._refreshLibraryForHost (cyclomatic 17): SharedRemoteLibraryProvider._refreshLibraryForHost 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca21b948c003d18e84202ed174804b12e34d7746f065bf837a514d81c3e88e42"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteLibraryProvider.scanRemoteWebDAVFolder (cyclomatic 17): SharedRemoteLibraryProvider.scanRemoteWebDAVFolder 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. This shape REPEATS in the file: one other method here (SharedRemoteLibraryProvider.scanRemoteSMBFolder) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f1965e123d4f239faf4bcccb36020b42a15697b220b58172ddde6f7bf5861e"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteLibraryProvider.scanRemoteSMBFolder (cyclomatic 17): SharedRemoteLibraryProvider.scanRemoteSMBFolder 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. This shape REPEATS in the file: one other method here (SharedRemoteLibraryProvider.scanRemoteWebDAVFolder) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"f598d7a2d271aab5e0987d09163fcdcbc321b988e890954b49c7d22e727d9320"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoNextEpisodeService._playNextEpisode (cyclomatic 17): AutoNextEpisodeService._playNextEpisode 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/services/auto_next_episode_service.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6835372b540ce1466c1e6931f362376424c4bf2e3bae572fed2335a2c35f6a"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiApiService._makeRequest (cyclomatic 17): BangumiApiService._makeRequest 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/services/bangumi_api_service.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6034fbc514feb984fbe9fcc6fd86088c8bd935ef9119b5f36e0d6ed205600f"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultEmbyMediaSelectionResolver.resolve (cyclomatic 17): DefaultEmbyMediaSelectionResolver.resolve has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_media_selection_resolver.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70b577f3fcfaf9658678d78300b3f55620307becaab8b2411cb16620e07fd38"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbyService.getServerMediaTechnicalInfo (cyclomatic 17): EmbyService.getServerMediaTechnicalInfo 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/services/emby_service.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33ac37996bf8dfeaf46b3ec97f3009a1671f300965ae6e7f1ec0b354e1d2174"}},{"ruleId":"D1","level":"warning","message":{"text":"FilePickerService.pickExternalPlayerExecutable (cyclomatic 17): FilePickerService.pickExternalPlayerExecutable 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/services/file_picker_service.dart"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"be54fb636b3f18524fb85e03cbdf8facfcb9143eac6743e0797e4c579c391e8a"}},{"ruleId":"D1","level":"warning","message":{"text":"DanmakuIntroDetector.detect (cyclomatic 17): DanmakuIntroDetector.detect 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/services/intro_skip/danmaku_intro_detector.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2e2e7c447009b07cdad9c458c2d90b69c1f6b1506f1a3408e8fee3f9099f7a"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalMediaManagementApi._scrapeRemoteFiles (cyclomatic 17): LocalMediaManagementApi._scrapeRemoteFiles 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. This is NOT this file\u0027s highest cyclomatic complexity: LocalMediaManagementApi._determineContentType (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"5305d1c903a4a8348c2f51c725d7b4a161f32a8d051e96068194c1f40483cc89"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackSourceService._resolveDandanplayRemote (cyclomatic 17): PlaybackSourceService._resolveDandanplayRemote 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/services/playback_source_service.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b138b8a2cd8625366e5c49ed4e22abf460b830d747cd39f7d0de773f9f4bdf5"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSubtitleService.ensureFontCached (cyclomatic 17): RemoteSubtitleService.ensureFontCached 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/services/remote_subtitle_service.dart"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a47bd472ae5c394d35e35c649cc57229b8a3d1ebc85da3edd916bd0c170e38b"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSubtitleService._resolveSmbConnectionFromUri (cyclomatic 17): RemoteSubtitleService._resolveSmbConnectionFromUri 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/services/remote_subtitle_service.dart"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f524e8dc8e37c5e35b230894e6c7feb72bc53b990a963e970b0d1e11887eb8"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteTextInputApiService._handlePost (cyclomatic 17): RemoteTextInputApiService._handlePost 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/services/remote_text_input_service.dart"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3eea6204a16866dbaf9d843bec8ac593b6bce73b8b7368956e967349a28e111"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanService._loadScannedFolders (cyclomatic 17): ScanService._loadScannedFolders 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/services/scan_service.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5aaea5d97ebc39a363c37d32df7c4e5b6507f8551b5817ec85690312de18fd5"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanService._updateScanState (cyclomatic 17): ScanService._updateScanState has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7693018a78ce6972c17158e8735639e8a7bf1006e64ff1c301d6ea15e59e85b"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemProxyService._parseMacOSProxyOutput (cyclomatic 17): SystemProxyService._parseMacOSProxyOutput 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/services/system_proxy_service.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"977dda0c1baa6a42841372136616fc96a8bd7f582ff1cb96d5567e59e1b1a7dd"}},{"ruleId":"D1","level":"warning","message":{"text":"WebDAVService._validateConnection (cyclomatic 17): WebDAVService._validateConnection 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/services/webdav_service.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"465e3d094235a8d912665e4824a83d6d2ce41d5168ea79d45f5a34c0eba9e8f8"}},{"ruleId":"D1","level":"warning","message":{"text":"AdaptiveButton.build (cyclomatic 17): AdaptiveButton.build has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/cupertino_adaptive_platform_ui.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5422dc1c27297c115ad370469baaf4f760c8fc4a527a1239c7989c868185377f"}},{"ruleId":"D1","level":"warning","message":{"text":"_RemoteMenuPaneSheetState._buildNumericParam (cyclomatic 17): _RemoteMenuPaneSheetState._buildNumericParam 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/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfd4b580e45ebc23fd28ccf5ae60294c75fd9ee9276c685364d4a759d594484"}},{"ruleId":"D1","level":"warning","message":{"text":"_BlurDropdownState._handleMenuKeyEvent (cyclomatic 17): _BlurDropdownState._handleMenuKeyEvent 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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0500e61c362c03076a6bb285192e829682ddd667cfbefc94a7a04e0c6f00cd6"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomMediaInfoDialog._showStep1 (cyclomatic 17): CustomMediaInfoDialog._showStep1 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/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5ff91f2d5f3ca3c5829feeea74c0f671470d955adcdd66b1062c3507ccdd85"}},{"ruleId":"D1","level":"warning","message":{"text":"_NetworkMediaLibraryViewState._loadData (cyclomatic 17): _NetworkMediaLibraryViewState._loadData 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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"56579bbc3ce6b98bec5d095a76900e3075f4f7aa6e0532ce5f9fc77e26bfe37b"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlaylistMenuState._createJellyfinHistoryItem (cyclomatic 17): _PlaylistMenuState._createJellyfinHistoryItem 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. This shape REPEATS in the file: one other method here (_PlaylistMenuState._createEmbyHistoryItem) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4548adddb94f01aca706e7256f9921488c7ba5f9c8b17eaac9ec1709f78e87a"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlaylistMenuState._createEmbyHistoryItem (cyclomatic 17): _PlaylistMenuState._createEmbyHistoryItem 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. This shape REPEATS in the file: one other method here (_PlaylistMenuState._createJellyfinHistoryItem) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1400d85f523ca096be1afab94148f899ee6ee9d995cc0f6deff11d1beacb75"}},{"ruleId":"D1","level":"warning","message":{"text":"_SeekStepMenuState.build (cyclomatic 17): _SeekStepMenuState.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/themes/nipaplay/widgets/seek_step_menu.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbe71d039646a2c2c06cf4b50f887a36fae5607acf149db81bbd32305354c47"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteHostSelectionSheet._buildHostList (cyclomatic 17): SharedRemoteHostSelectionSheet._buildHostList 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/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6969997efe5cc2d5bb77e3fc4e320c943efb813ed038a8f47bf133706d63c3"}},{"ruleId":"D1","level":"warning","message":{"text":"_SharedRemoteLanScanDialogContentState._discoverByUdp (cyclomatic 17): _SharedRemoteLanScanDialogContentState._discoverByUdp 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/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3e2981ed7e79e9aafb91a04d4d8a1387028833877999733c5723a1cea44309"}},{"ruleId":"D1","level":"warning","message":{"text":"_SharedRemoteLibraryViewState._appendUnifiedRemoteEntries (cyclomatic 17): _SharedRemoteLibraryViewState._appendUnifiedRemoteEntries 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/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16588f0e2e01156d99a5216e20e3c57649f2067eac19ea5dd806994396d992a"}},{"ruleId":"D1","level":"warning","message":{"text":"_VideoUploadUIState._handlePlayFromUrl (cyclomatic 17): _VideoUploadUIState._handlePlayFromUrl 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/themes/nipaplay/widgets/video_upload_ui.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddcdc7ddb1eccbd3027e137259f3f13138814cc613ada91ebf998460995cbb1"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioTrackManager._detectRemoteExternalAudioPath (cyclomatic 17): AudioTrackManager._detectRemoteExternalAudioPath has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/audio_track_manager.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"485df9f29df2435683fec3010695dfdee7359d7fd99b7f7cecf7204423ad1680"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager._pickTextSubtitleReplacement (cyclomatic 17): SubtitleManager._pickTextSubtitleReplacement has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cf810f24dea63833b766ce5d43dcec34f41894929bfc260f981ade029f36ee"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager._pickRemoteSubtitleCandidate (cyclomatic 17): SubtitleManager._pickRemoteSubtitleCandidate has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"6532eb5102b8d3bc7fefd6c3c77fd5124db9c965bf6b2de5b6e2c1c07502765f"}},{"ruleId":"D1","level":"warning","message":{"text":"NipaPlayNextEngine.configure (cyclomatic 16): NipaPlayNextEngine.configure 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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"272be6e22e89dd4bdcabf0b0da3754284f82db55449dc1a85d5e0a6d2f3869eb"}},{"ruleId":"D1","level":"warning","message":{"text":"NipaPlayNextOldEngine.configure (cyclomatic 16): NipaPlayNextOldEngine.configure 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/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"691b609872a806eb2b0d00dba09056dd0da8c33ac88940de220f4974fb0946a7"}},{"ruleId":"D1","level":"warning","message":{"text":"MpvSession._readMpvState (cyclomatic 16): MpvSession._readMpvState has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b2e1f5c510537f436037dceef7f20d32296c83f3d355cba408d91c206737e7"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeDetailPageState._handleBangumiCollectionSubmitted (cyclomatic 16): _AnimeDetailPageState._handleBangumiCollectionSubmitted 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/pages/anime_detail_page.dart"},"region":{"startLine":3792}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9182b10a380d8f866f66c90c097f86d0337bdffb2df0ae8022b48f75da6e3d"}},{"ruleId":"D1","level":"warning","message":{"text":"_DashboardHomePageState._onJellyfinStateChanged (cyclomatic 16): _DashboardHomePageState._onJellyfinStateChanged 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. This shape REPEATS in the file: one other method here (_DashboardHomePageState._onEmbyStateChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"babb1a9c61a10221d840564207c88a29cda5bba17198875117c5b36b5c57dcff"}},{"ruleId":"D1","level":"warning","message":{"text":"_DashboardHomePageState._onEmbyStateChanged (cyclomatic 16): _DashboardHomePageState._onEmbyStateChanged 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. This shape REPEATS in the file: one other method here (_DashboardHomePageState._onJellyfinStateChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48a6f7d5b91551f1cde0bc674d18bd95d53037a639a3dd2c34bb21a3e6e457b"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaServerDetailPageState._requestLargeScreenContentFocus (cyclomatic 16): _MediaServerDetailPageState._requestLargeScreenContentFocus 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/pages/media_server_detail_page.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78a1b8c7f1f6711a8220bb59e4763d563aab79a91615eb99853c0374255d305"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaServerDetailPageState._loadMediaDetail (cyclomatic 16): _MediaServerDetailPageState._loadMediaDetail 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/pages/media_server_detail_page.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"70198bf7485ab8be3da8a1922b06b0d78a6c1554c6a51c4a611757061f4c0050"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaServerDetailPageState.build (cyclomatic 16): _MediaServerDetailPageState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5d6d3334ebce970339ecba45292a88c9d3cc404572d3694d8674ed482d7be0"}},{"ruleId":"D1","level":"warning","message":{"text":"_NewSeriesPageState._buildLargeScreenMainContent (cyclomatic 16): _NewSeriesPageState._buildLargeScreenMainContent 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/pages/new_series_page.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3851ca5c28d5cb47e87ef304d2d8825ef56ff9fd8e316e762cc5bf60f23b9469"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlayVideoPageState._captureScreenshot (cyclomatic 16): _PlayVideoPageState._captureScreenshot 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/pages/play_video_page.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b23f50695822104991eadec5b61bf24aacec0b4f114aecea746a079c70ec6ef"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayErikaWindowOverlayVideoViewState._attachOverlaySurface (cyclomatic 16): _NipaplayErikaWindowOverlayVideoViewState._attachOverlaySurface 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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"84580d85d9b86e6e741e924447dbf3bd7238f232dee12c88ec576934b49255a4"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaKitPlayerAdapter._performSubtitleSyncLogic (cyclomatic 16): MediaKitPlayerAdapter._performSubtitleSyncLogic 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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51e6d4a4195cec1be111346fe919d9d3d427d448ccf5dc89b06ea76385c3054"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaKitPlayerAdapter._openMainMedia (cyclomatic 16): MediaKitPlayerAdapter._openMainMedia 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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7623619e7d39f8cc887eeacf72fbb88913f5ad268028db04acb49c96522bedf7"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginProcessManager.start (cyclomatic 16): PluginProcessManager.start 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/plugins/plugin_process_manager.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdea40eccc36b4f9eea0b908c3805796324c6758ca26f6a9002c372e6a9627e6"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedRemoteLibraryProvider.loadAnimeEpisodes (cyclomatic 16): SharedRemoteLibraryProvider.loadAnimeEpisodes 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4e944f184cbcba871a803ef57964aefc1944826b2c72d42b8f2087be6d65f5"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchHistoryProvider.loadHistory (cyclomatic 16): WatchHistoryProvider.loadHistory 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/providers/watch_history_provider.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0816a5f83a71f2b7a96a6830165915ed1dba4a1bd28c25d8617f3915fb81dbd1"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiService.getCalendar (cyclomatic 16): BangumiService.getCalendar has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0315a95e8ae30ab060bceeea0d7ffd79b39189b0bb6de443ad25a61c0874ecf0"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcurrentVideoProcessor._processSingleVideoPath (cyclomatic 16): ConcurrentVideoProcessor._processSingleVideoPath has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/concurrent_video_processor.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9664c6e0b5f73b750de22dd488dac31f829307de8a8a705ec2a90bc617755fe"}},{"ruleId":"D1","level":"warning","message":{"text":"DandanplayService.getUserFavorites (cyclomatic 16): DandanplayService.getUserFavorites has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5a7ed3051aed4e7e0e3f5c580ea328ec5e1f52bda74361a9d7a04528023419"}},{"ruleId":"D1","level":"warning","message":{"text":"DanmakuSpoilerFilterService.detectSpoilerDanmakuTexts (cyclomatic 16): DanmakuSpoilerFilterService.detectSpoilerDanmakuTexts has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"246e007d9639f3219c8a17035a36652b5ac2a0d832da456d0cc63cd3ad9c3622"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeMatchDialogState._loadAnimeEpisodes (cyclomatic 16): _AnimeMatchDialogState._loadAnimeEpisodes has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d0172cb7df746fe28b28f07949c54833fedca98dcf1dd27e5c8a3535467fdf"}},{"ruleId":"D1","level":"warning","message":{"text":"_AnimeMatchDialogState._loadAnimeEpisodes (cyclomatic 16): _AnimeMatchDialogState._loadAnimeEpisodes has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c41b4d64d092077ff199a788671aecf17b9b2b95175058e4d2922215498f76"}},{"ruleId":"D1","level":"warning","message":{"text":"JellyfinService.getServerMediaTechnicalInfo (cyclomatic 16): JellyfinService.getServerMediaTechnicalInfo has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d18d17549ee914f7297968b3445a9e9a0a4da6014a14e934572b0006436447"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalMediaShareApi._handleUpdateEpisodeThumbnail (cyclomatic 16): LocalMediaShareApi._handleUpdateEpisodeThumbnail has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_api.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62df9ad30080020f421f52624921dd21344c51bdb29c99ada7241e7e487d75e"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaServerServiceBase.connect (cyclomatic 16): MediaServerServiceBase.connect has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_service_base.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"659a1ca5517ddf190c14f4dbede2e385aab45ceba422cdb80be7ce29c3f1bdf3"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackSourceService._resolve (cyclomatic 16): PlaybackSourceService._resolve has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77eedfd020394db3d3719d440449775c9740872b95b2153f7dc3393b90555e3"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackSourceService.sourceKindForPath (cyclomatic 16): PlaybackSourceService.sourceKindForPath 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/services/playback_source_service.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd207bbb3bd4518e113db4fe8f7d1599c4b4c3332f58c9584c899f6401527f8"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSubtitleService._listSharedRemoteCandidates (cyclomatic 16): RemoteSubtitleService._listSharedRemoteCandidates has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d2e4d9df9d95c042b4707ef70910f71c7d3424fbf1d80b865dbb0e03354aec"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchService.searchAnimeAdvanced (cyclomatic 16): SearchService.searchAnimeAdvanced has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/search_service.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4790ab51addbb73b2fcad20593b2f06dc1b1481523c7ddadc4761070b1dd77df"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerHistorySyncService._processResumeItems (cyclomatic 16): ServerHistorySyncService._processResumeItems has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/server_history_sync_service.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6edb9cf3cb0e3c2dd795043876c86907906e974d6561ad2d46f2d52fa8d9a46"}},{"ruleId":"D1","level":"warning","message":{"text":"WebServerService.getAccessUrls (cyclomatic 16): WebServerService.getAccessUrls has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_server_service.dart"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"564cabe1467cc73d5664903af9840f29d77bd6f6b9b3addc952fdae6c0bae599"}},{"ruleId":"D1","level":"warning","message":{"text":"WebDAVService._legacyTestConnection (cyclomatic 16): WebDAVService._legacyTestConnection has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cffe1d3e86568bbe9410e8e04216cfd680f31e220c927b9cb6859f2f95aeb5"}},{"ruleId":"D1","level":"warning","message":{"text":"CupertinoBottomSheet._buildSheet (cyclomatic 16): CupertinoBottomSheet._buildSheet 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/themes/cupertino/widgets/cupertino_bottom_sheet.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"029afd542ac8c3312f7aba90dcb181e98d990aa3c78bd6002d365e487a912dbf"}},{"ruleId":"D1","level":"warning","message":{"text":"CupertinoAudioTracksPane._buildServerTrackTile (cyclomatic 16): CupertinoAudioTracksPane._buildServerTrackTile 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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1265e3a625d8e22d28fadd2c67387bbeaba5b6e9c00526a8d955bc667da493ce"}},{"ruleId":"D1","level":"warning","message":{"text":"_ImmersiveEpisodeCardState.build (cyclomatic 16): _ImmersiveEpisodeCardState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/immersive_episode_rail.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4c785d03b7651d0d7940f30e471f4cbe53b827648df48dcfe92a9eee1664f6"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayLargeScreenFocusableActionState.build (cyclomatic 16): _NipaplayLargeScreenFocusableActionState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_focusable_action.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8b95ce0cdc6505dbde7b18d9eb17ac88d5583d32572339c6b5e309758a69bd"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayLargeScreenPlayerMenuPanelState._handleKeyEvent (cyclomatic 16): _NipaplayLargeScreenPlayerMenuPanelState._handleKeyEvent 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/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb758f47f318af96ec22b9479fb5dae314f4e569512789869ecd5aaaf961747"}},{"ruleId":"D1","level":"warning","message":{"text":"_NipaplayLargeScreenPlayerMenuPanelState._focusFirstFullyVisibleDanmakuRow (cyclomatic 16): _NipaplayLargeScreenPlayerMenuPanelState._focusFirstFullyVisibleDanmakuRow has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e81fad10f8cd91bb1b3e128e16db137f8492dc6871af1d62cd70828130f1b7"}},{"ruleId":"D1","level":"warning","message":{"text":"_LibraryManagementTabState._buildFileSystemNodes (cyclomatic 16): _LibraryManagementTabState._buildFileSystemNodes 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecae0e2faac5fbd5a5871cc66c33aa2f993446701fbea0d7f83fe6fb85229ad"}},{"ruleId":"D1","level":"warning","message":{"text":"_MediaCaptureDialogContentState._validateSource (cyclomatic 16): _MediaCaptureDialogContentState._validateSource 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/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48da59cd73e4c1a853fdf8aef1f65d982a0d71a14f59010b18be6f472847529"}},{"ruleId":"D1","level":"warning","message":{"text":"_SearchBarActionButtonState.build (cyclomatic 16): _SearchBarActionButtonState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/search_bar_action_button.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc3cbad622cc3b9d40b1b6c18db26f97019234373d874fe905cbde7c56e95bf"}},{"ruleId":"D1","level":"warning","message":{"text":"_SharedRemoteLibraryViewState._buildRemoteDirectoryChildren (cyclomatic 16): _SharedRemoteLibraryViewState._buildRemoteDirectoryChildren 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/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd73694572df25f0ec527439a62f8e2cbae2e8249c71e4ab1fb2e7466be11345"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubtitleTracksMenuState._loadExternalSubtitles (cyclomatic 16): _SubtitleTracksMenuState._loadExternalSubtitles 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/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b08aa2955f5c9f811372c87fc65825b15cf0bfcea112cecccfcffdf2142ef1e"}},{"ruleId":"D1","level":"warning","message":{"text":"_TagSearchStyle.from (cyclomatic 16): _TagSearchStyle.from 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/themes/nipaplay/widgets/tag_search_widget.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aa19290039be436d1d93c3c91cf423f469762e63ec9617495b41fbce6796da"}},{"ruleId":"D1","level":"warning","message":{"text":"_WebRemoteAccessGateState._autoMountSharedLibraries (cyclomatic 16): _WebRemoteAccessGateState._autoMountSharedLibraries 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/themes/nipaplay/widgets/web_remote_access_gate.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"434214788f50b2dd64594d34ecc93de854187a3549331672c8df2ca9a845df60"}},{"ruleId":"D1","level":"warning","message":{"text":"DecoderManager.checkDecoderAfterScreenshot (cyclomatic 16): DecoderManager.checkDecoderAfterScreenshot has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/decoder_manager.dart"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9262b682351e145a5e6d962001073f5f957c155c6d32601924e1c945468c7a9"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkChecker.checkConnection (cyclomatic 16): NetworkChecker.checkConnection has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/network_checker.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e4c9aa44bcd87eaa487a6b3771ac1541013bf3828adc7712be8530ce5855b2"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleManager._autoLoadLocalSubtitleGroup (cyclomatic 16): SubtitleManager._autoLoadLocalSubtitleGroup has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"6248fd5363e2c698770af1bf486a2f0c478302de6fa145d1d2958fa52b2dea90"}},{"ruleId":"D1","level":"warning","message":{"text":"_SingleDanmakuState._calculatePosition (cyclomatic 16): _SingleDanmakuState._calculatePosition has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/single_danmaku.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2721b991132df89e6606434544c7daad67a369bdf84498d251bb9e559e841e"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_nipaplay::api::next2::prepare_merged_items (cyclomatic 16): rust_lib_nipaplay::api::next2::prepare_merged_items 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":"rust/src/api/next2.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f301389d79c1b49042dc2fd79282e946f3b3f84a68ff556f911c884f0e5fd35"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_lib_nipaplay::dfm_core::retainer::select_scroll_track (cyclomatic 16): rust_lib_nipaplay::dfm_core::retainer::select_scroll_track 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":"rust/src/dfm_core/retainer.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5215e57fccdc2922c8438d0792b64aa1d6b74a172f59b1269b65a3d44eed24"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuAtlasPainter.paint (cognitive 314): DanmakuAtlasPainter.paint has cognitive complexity 314 (threshold 15). Drivers by points: if/else 104 (218 pts), ternaries 20 (58 pts), boolean chains 26, loops 6 (12 pts) (nesting depth added 158). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/danmaku_atlas_painter.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d976e506e7be4545a5c838859f387605da2280634c9e482063e02fb2ad84712a"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaylistMenuState._playEpisode (cognitive 201): _PlaylistMenuState._playEpisode has cognitive complexity 201 (threshold 15). Drivers by points: if/else 43 (171 pts), boolean chains 11, ternaries 2 (10 pts), error handling 3 (9 pts) (nesting depth added 142). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9a8230e0cc55b2843372dbaecfc07aac013239018d745f67f4ba387371b8d2"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager.autoDetectAndLoadSubtitle (cognitive 200): SubtitleManager.autoDetectAndLoadSubtitle has cognitive complexity 200 (threshold 15). Drivers by points: if/else 42 (159 pts), boolean chains 14, error handling 4 (13 pts), loops 2 (9 pts), ternaries 1 (5 pts) (nesting depth added 137). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22a685168f06c34aa512afffcf949190dd848ab68c4962909508ca0760c5ffa"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDAVService._parseWebDAVResponseDart (cognitive 194): WebDAVService._parseWebDAVResponseDart has cognitive complexity 194 (threshold 15). Drivers by points: if/else 40 (160 pts), boolean chains 13, ternaries 3 (10 pts), error handling 3 (9 pts), loops 1 (2 pts) (nesting depth added 134). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"010a125e295ffdefa7c64306c3667d2942d0b301d1bd8a19f483552f3bd0c6cb"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyDandanplayMatcher._matchWithDandanPlay (cognitive 174): EmbyDandanplayMatcher._matchWithDandanPlay has cognitive complexity 174 (threshold 15). Drivers by points: if/else 50 (134 pts), error handling 6 (17 pts), boolean chains 15, ternaries 3 (8 pts) (nesting depth added 100). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8fe1b358b96f4bdb96d99b959b8ed78a45a6bb0c7007bf94edbdcc594e4f65"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinDandanplayMatcher._matchWithDandanPlay (cognitive 168): JellyfinDandanplayMatcher._matchWithDandanPlay has cognitive complexity 168 (threshold 15). Drivers by points: if/else 50 (125 pts), boolean chains 23, error handling 5 (13 pts), ternaries 3 (7 pts) (nesting depth added 87). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd59532c6af5cab0693fc9f8e607db8123b436218dc0bcac09d35121766b927"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVBrowserPageState._playVideo (cognitive 128): _WebDAVBrowserPageState._playVideo has cognitive complexity 128 (threshold 15). Drivers by points: if/else 17 (89 pts), loops 3 (23 pts), boolean chains 12, error handling 2 (4 pts) (nesting depth added 94). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0a95360e149d136751fd2964504a2cd1dc70cfaebdc0276e8ad7e3885a7fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlayerSettingsContentState.build (cognitive 128): _PlayerSettingsContentState.build has cognitive complexity 128 (threshold 15). Drivers by points: if/else 51 (81 pts), ternaries 18 (31 pts), boolean chains 9, error handling 2 (6 pts), match/switch 1 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/player_settings_content.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"8970cbb4da11d6a55254128ece10378f68348015ff1ec039db3af5323a8090cc"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginService._handlePluginBridgeCall (cognitive 123): PluginService._handlePluginBridgeCall has cognitive complexity 123 (threshold 15). Drivers by points: if/else 34 (78 pts), error handling 12 (33 pts), boolean chains 9, loops 1 (2 pts), match/switch 1 (nesting depth added 66). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e976dc7a9d7e2f8121203e235e4b7d6aa53d0efaaa85f20690243eb6f6205c3e"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerAdapter.snapshot (cognitive 117): VideoPlayerAdapter.snapshot has cognitive complexity 117 (threshold 15). Drivers by points: if/else 29 (76 pts), loops 7 (27 pts), error handling 3 (8 pts), boolean chains 6 (nesting depth added 72). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb3104bd9f749fd4d7642f2b3ec21ad896affd80b0bf0a19d7f37c43df7a157"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiSyncService._syncAnimeToBangumi (cognitive 114): BangumiSyncService._syncAnimeToBangumi has cognitive complexity 114 (threshold 15). Drivers by points: if/else 36 (91 pts), loops 4 (11 pts), ternaries 1 (6 pts), boolean chains 5, error handling 1 (nesting depth added 67). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_sync_service.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd33928b17eb8bb32e9264482bfedf03ee1d436fc60987553a25513ef4f9d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"_VideoUploadUIState._handleUploadVideo (cognitive 106): _VideoUploadUIState._handleUploadVideo has cognitive complexity 106 (threshold 15). Drivers by points: if/else 32 (97 pts), error handling 2 (5 pts), boolean chains 4 (nesting depth added 68). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_upload_ui.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dad51b663a0dea7a86c5b58c19d27c73dd606007221aad2886a43068ddba53"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioTracksMenu.build (cognitive 101): AudioTracksMenu.build has cognitive complexity 101 (threshold 15). Drivers by points: if/else 20 (45 pts), ternaries 16 (34 pts), boolean chains 17, error handling 2 (5 pts) (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/audio_tracks_menu.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"931690a5e8c34db19a22f2ba6e531c8ff9f0460db9cebcd1575a747583cb63ef"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlayVideoPageState._buildMaterialControls (cognitive 100): _PlayVideoPageState._buildMaterialControls has cognitive complexity 100 (threshold 15). Drivers by points: ternaries 28 (45 pts), if/else 24 (33 pts), boolean chains 22 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"624c2afca61ec364035dcedb5f14b1177bd8eca291d8d0098f97a9ae7022200b"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuSpoilerFilterService._extractTextFromResponseBody (cognitive 100): DanmakuSpoilerFilterService._extractTextFromResponseBody has cognitive complexity 100 (threshold 15). Drivers by points: if/else 19 (79 pts), ternaries 2 (13 pts), boolean chains 7, error handling 1 (nesting depth added 71). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"01089096e466084b3a70b5a4ce292f9ed748f5e8c053929bb9218101389c60d1"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager._prefetchRemoteFontsForSubtitle (cognitive 99): SubtitleManager._prefetchRemoteFontsForSubtitle has cognitive complexity 99 (threshold 15). Drivers by points: if/else 25 (82 pts), loops 3 (9 pts), error handling 3 (7 pts), boolean chains 1 (nesting depth added 67). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad123f143097f528a926305a8874ac5fe88d1d710057eb2cb516372d3288d13"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaybackInfoMenuState._getAudioInfo (cognitive 98): _PlaybackInfoMenuState._getAudioInfo has cognitive complexity 98 (threshold 15). Drivers by points: if/else 22 (65 pts), boolean chains 19, ternaries 6 (14 pts) (nesting depth added 51). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6117131b768551dc0540fa7c5c5824e308c839166c4bd495cb5fb0e76988d44"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._buildEpisodesListView (cognitive 97): _AnimeDetailPageState._buildEpisodesListView has cognitive complexity 97 (threshold 15). Drivers by points: ternaries 32 (41 pts), if/else 30 (36 pts), boolean chains 18, error handling 1 (2 pts) (nesting depth added 16). 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/pages/anime_detail_page.dart"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52e0a08cbafc25c2b42be79e1102d48881590f4247cb09171113a3ff0a433c4"}},{"ruleId":"D2","level":"warning","message":{"text":"_Step2DialogState.scanVideoFiles (cognitive 97): _Step2DialogState.scanVideoFiles has cognitive complexity 97 (threshold 15). Drivers by points: if/else 23 (74 pts), loops 2 (8 pts), ternaries 2 (6 pts), error handling 2 (5 pts), boolean chains 4 (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5af60e7558611fb136d0baa2cc4debdc2c44224d3fcf9d30913b7777921c4ed"}},{"ruleId":"D2","level":"warning","message":{"text":"FullBackupService._restoreMediaLibraries (cognitive 92): FullBackupService._restoreMediaLibraries has cognitive complexity 92 (threshold 15). Drivers by points: if/else 19 (54 pts), error handling 7 (22 pts), loops 4 (13 pts), boolean chains 3 (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebd5f2af7ee50b0f4d690ff09821a1bdd47814313cd5d7cd175601b95fd677e"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShortcutsSettingsPageState._keyToText (cognitive 91): _ShortcutsSettingsPageState._keyToText has cognitive complexity 91 (threshold 15). Drivers by points: if/else 87 (89 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/shortcuts_settings_page.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b18a1188c71d87b150cf7d3dc176a47b04e80329a23d5f2c5346a65ea59c345"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._getNextEpisodeFromJellyfin (cognitive 84): EpisodeNavigationService._getNextEpisodeFromJellyfin has cognitive complexity 84 (threshold 15). Drivers by points: if/else 21 (60 pts), error handling 5 (15 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 51). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 2 other methods here (EpisodeNavigationService._getPreviousEpisodeFromEmby, EpisodeNavigationService._getNextEpisodeFromEmby) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"61121475f4811efff3ced24743bea62687cd5eb0354e222ef435f7690d33b6d2"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._getPreviousEpisodeFromEmby (cognitive 84): EpisodeNavigationService._getPreviousEpisodeFromEmby has cognitive complexity 84 (threshold 15). Drivers by points: if/else 21 (60 pts), error handling 5 (15 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 51). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 2 other methods here (EpisodeNavigationService._getNextEpisodeFromJellyfin, EpisodeNavigationService._getNextEpisodeFromEmby) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d17397dc5c25c99946ac0f69680e2a0acd08e0b06d94bb088debb5c0254e03"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._getNextEpisodeFromEmby (cognitive 84): EpisodeNavigationService._getNextEpisodeFromEmby has cognitive complexity 84 (threshold 15). Drivers by points: if/else 21 (60 pts), error handling 5 (15 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 51). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 2 other methods here (EpisodeNavigationService._getNextEpisodeFromJellyfin, EpisodeNavigationService._getPreviousEpisodeFromEmby) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"389cf6b0104dbb059335f6ed1dc6607213b72700177db6efc8246576f61d5131"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsItem.build (cognitive 84): SettingsItem.build has cognitive complexity 84 (threshold 15). Drivers by points: ternaries 37 (74 pts), boolean chains 6, if/else 2 (3 pts), match/switch 1 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/settings_item.dart"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"64236e6c15029255f7bf18179d42d20c29fdfd641e8965448485c4ae74fb5384"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::next2_engine::engine::runtime::run_engine_loop (cognitive 84): rust_lib_nipaplay::next2_engine::engine::runtime::run_engine_loop has cognitive complexity 84 (threshold 15). Drivers by points: if/else 25 (60 pts), match/switch 5 (15 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/runtime.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d1225dd8aae26fb0797b45af1c47815adeaeb7fed684d7cb7b374fbe9b00cf"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._ensureDefaultTracksSelected (cognitive 83): MediaKitPlayerAdapter._ensureDefaultTracksSelected has cognitive complexity 83 (threshold 15). Drivers by points: if/else 20 (51 pts), boolean chains 20, loops 3 (11 pts), error handling 1 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"46387e905f1a8a8d9859dcc087d5138de55497d2b717e1725e6269e3cae9a492"}},{"ruleId":"D2","level":"warning","message":{"text":"UserActivityController.loadUserActivity (cognitive 82): UserActivityController.loadUserActivity has cognitive complexity 82 (threshold 15). Drivers by points: if/else 14 (54 pts), loops 3 (12 pts), boolean chains 10, ternaries 1 (5 pts), error handling 1 (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/user_activity_controller.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9117b271656c4a15fa05afb0415266b9ecc1a148ac749b88aeb3f3ce629757b2"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuContainerState._getYPosition (cognitive 81): _DanmakuContainerState._getYPosition has cognitive complexity 81 (threshold 15). Drivers by points: if/else 27 (61 pts), loops 5 (14 pts), boolean chains 3, ternaries 3 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c900479ba80fd354e08fbcdd86b53e4db36f882584872401c434b103fcbecad6"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyService.getSubtitleTracks (cognitive 80): EmbyService.getSubtitleTracks has cognitive complexity 80 (threshold 15). Drivers by points: if/else 16 (54 pts), ternaries 3 (15 pts), loops 2 (7 pts), boolean chains 3, error handling 1 (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2ffb4f470d5b3aef277073701ce89aee3ffe8e9bcb270e35475d7a3b481486"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayLargeScreenScaffoldLayoutState._dispatchInputCommand (cognitive 79): _NipaplayLargeScreenScaffoldLayoutState._dispatchInputCommand has cognitive complexity 79 (threshold 15). Drivers by points: if/else 31 (49 pts), boolean chains 20, match/switch 4 (7 pts), ternaries 1 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bdb1618e193fc546f8074d4fe1708db5f1221d41792ab6506fc9f90ca813b6"}},{"ruleId":"D2","level":"warning","message":{"text":"_JellyfinQualityMenuState._applySelection (cognitive 76): _JellyfinQualityMenuState._applySelection has cognitive complexity 76 (threshold 15). Drivers by points: if/else 19 (45 pts), ternaries 7 (21 pts), boolean chains 9, error handling 1 (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad1d3ee81c47c526aa8f58163f9f757e4cae6e6c498b42096af6d461cd45fea"}},{"ruleId":"D2","level":"warning","message":{"text":"_BangumiCommentsWidgetState._loadComments (cognitive 74): _BangumiCommentsWidgetState._loadComments has cognitive complexity 74 (threshold 15). Drivers by points: if/else 23 (47 pts), boolean chains 14, ternaries 3 (12 pts), error handling 1 (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_comments_widget.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48c17fcb206f6fb43237fc0ace7824942c3d5207de6f01528c72dc612ef90d5"}},{"ruleId":"D2","level":"warning","message":{"text":"_DfmPlusOverlayState._tryUpdateTexture (cognitive 73): _DfmPlusOverlayState._tryUpdateTexture has cognitive complexity 73 (threshold 15). Drivers by points: if/else 23 (39 pts), boolean chains 23, ternaries 6 (7 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd1fffda63506d99e58adac0f1d0b07ec3ea5b44e6ab116449c4a1a9cd6f2fa"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayLargeScreenScaffoldLayoutState._handleInputKeyEvent (cognitive 73): _NipaplayLargeScreenScaffoldLayoutState._handleInputKeyEvent has cognitive complexity 73 (threshold 15). Drivers by points: if/else 25 (44 pts), ternaries 7 (14 pts), boolean chains 10, match/switch 3 (5 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e9a71cae8f7227791ba54bc41dbb8057ecdbf8f8c7e31708b14f4b681b5ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"_VideoPlayerUIState.build (cognitive 73): _VideoPlayerUIState.build has cognitive complexity 73 (threshold 15). Drivers by points: if/else 24 (44 pts), ternaries 8 (16 pts), boolean chains 13 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fe038af2481207549c20386b767c7b1dad057278f4bbc5b48a360d9ce25368"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePickerService._copyToDocumentsIfNeeded (cognitive 72): FilePickerService._copyToDocumentsIfNeeded has cognitive complexity 72 (threshold 15). Drivers by points: if/else 14 (57 pts), boolean chains 5, loops 1 (4 pts), error handling 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ff8840557dcc2be7ca5cbbb17257ac90a30160986a262431073950a4c60df4"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryDatabase._ensureWebStoreLoaded (cognitive 69): WatchHistoryDatabase._ensureWebStoreLoaded has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (49 pts), error handling 3 (10 pts), boolean chains 6, loops 1 (4 pts) (nesting depth added 44). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"32eed4e7d3a02a72b8ea1b6639f1a14eb0eaa537881f1ed69136990d82d56cd2"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService._getVideoInfoWithMetadata (cognitive 69): DandanplayService._getVideoInfoWithMetadata has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (41 pts), error handling 4 (18 pts), boolean chains 10 (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d437607d98eaded7d24740d048e42c77f61ffa0aa9137920448bf23cfb49e120"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuSettingsContentState.build (cognitive 69): _DanmakuSettingsContentState.build has cognitive complexity 69 (threshold 15). Drivers by points: if/else 28 (35 pts), ternaries 10 (16 pts), boolean chains 14, loops 2 (4 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/settings/pages/danmaku_settings_content.dart"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b37d3d267e2338fdc56969f4d722330bdd6d1ed3385d3aefe56599f339ab9f"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubtitleTracksMenuState.build (cognitive 67): _SubtitleTracksMenuState.build has cognitive complexity 67 (threshold 15). Drivers by points: if/else 17 (33 pts), ternaries 12 (24 pts), boolean chains 10 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc37cedb19cfb12a63ffd49d0d3f16655b693e694977c4447d7e5e85b204b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._getPreviousEpisodeFromJellyfin (cognitive 65): EpisodeNavigationService._getPreviousEpisodeFromJellyfin has cognitive complexity 65 (threshold 15). Drivers by points: if/else 19 (47 pts), error handling 5 (15 pts), boolean chains 3 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2478da4ea49712778255ee48831320498c077bc0a00f279c7b9088814750f70"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubtitleTracksMenuState._loadRemoteSubtitle (cognitive 65): _SubtitleTracksMenuState._loadRemoteSubtitle has cognitive complexity 65 (threshold 15). Drivers by points: if/else 24 (52 pts), loops 3 (6 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b67ce14275f77dbab45137f4d59323e5093cc956178715c6ab007bbab8868f"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiAddressServerService.identifyServer (cognitive 63): MultiAddressServerService.identifyServer has cognitive complexity 63 (threshold 15). Drivers by points: if/else 11 (41 pts), loops 5 (18 pts), boolean chains 2, error handling 2 (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/multi_address_server_service.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2ea393b448fd30b34ce4b713ae06c6e699d8ed61274a39a9e585973b0b3c53"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager._registerRemainingSubtitlesAfterRestore (cognitive 63): SubtitleManager._registerRemainingSubtitlesAfterRestore has cognitive complexity 63 (threshold 15). Drivers by points: if/else 15 (43 pts), loops 4 (10 pts), boolean chains 4, error handling 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9c149dbd0baba8f128b3f9192c7f5314724685debe48614304a232aec328a1"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoSyncService._applyOperationsLocally (cognitive 62): AutoSyncService._applyOperationsLocally has cognitive complexity 62 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 22, loops 8 (12 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/auto_sync_service.dart"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"562c0beaea9ca9c98917a416a64050a9781ab60a015b3c3c7ac108f11a80a25c"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService._getVideoInfoWithMetadata (cognitive 61): DandanplayService._getVideoInfoWithMetadata has cognitive complexity 61 (threshold 15). Drivers by points: if/else 12 (32 pts), error handling 4 (18 pts), boolean chains 9, ternaries 1 (2 pts) (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6862b2184fb21a7184012427c61394d305640637ba1836fb2f9e09f847c8cd44"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDAVService._searchBreadthFirst (cognitive 61): WebDAVService._searchBreadthFirst has cognitive complexity 61 (threshold 15). Drivers by points: if/else 12 (39 pts), boolean chains 8, ternaries 4 (8 pts), loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ce8ffe21ca6dcaa34da591e5050729986e96b20428f733ca8ffd3512451e69"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._getPreviousEpisodeFromDatabase (cognitive 60): EpisodeNavigationService._getPreviousEpisodeFromDatabase has cognitive complexity 60 (threshold 15). Drivers by points: if/else 11 (31 pts), ternaries 2 (10 pts), error handling 3 (9 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (EpisodeNavigationService._getNextEpisodeFromDatabase) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e5ff0f168fc11f176d3a09f37761c149d834e5a4a708c8f5c866885be86424"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._getNextEpisodeFromDatabase (cognitive 60): EpisodeNavigationService._getNextEpisodeFromDatabase has cognitive complexity 60 (threshold 15). Drivers by points: if/else 11 (31 pts), ternaries 2 (10 pts), error handling 3 (9 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (EpisodeNavigationService._getPreviousEpisodeFromDatabase) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90018cf38ba36eb027594620fe13149e05ec0ee7fed0971ff2ac7448a5ae797"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatchHistoryPageState._onWatchHistoryItemTap (cognitive 60): _WatchHistoryPageState._onWatchHistoryItemTap has cognitive complexity 60 (threshold 15). Drivers by points: if/else 17 (32 pts), ternaries 4 (17 pts), error handling 2 (6 pts), boolean chains 5 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0445c6c9a48709844af912a48c76664e0b2869a2c2ea851e680a928fdc8796b4"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._buildManagementItems (cognitive 60): _LibraryManagementTabState._buildManagementItems has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 17 (49 pts), loops 3 (6 pts), boolean chains 4, match/switch 1 (nesting depth added 35). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2639}}}],"partialFingerprints":{"codehealthFindingId/v1":"de02f7943ab71c14e36dcd1b698eb839a04f65a60dc8a11b942f7bf48ed72840"}},{"ruleId":"D2","level":"warning","message":{"text":"MsdfFontAtlas._buildSegments (cognitive 59): MsdfFontAtlas._buildSegments has cognitive complexity 59 (threshold 15). Drivers by points: if/else 12 (37 pts), loops 6 (13 pts), boolean chains 3, match/switch 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/msdf_font_atlas.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"3019a158ce7700d1afb3ff5f21dea991616a3e29cd888eccdf51d1675c08c1cd"}},{"ruleId":"D2","level":"warning","message":{"text":"FullBackupService._restoreAccounts (cognitive 59): FullBackupService._restoreAccounts has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (50 pts), error handling 2 (5 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdf0b3c7419e5a534aed06a01372e15453052dc94898547d053d937325ad8f2"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaybackInfoMenuState._getVideoInfo (cognitive 59): _PlaybackInfoMenuState._getVideoInfo has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (38 pts), boolean chains 13, ternaries 4 (8 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ee381ec2b6771fac9cf5c3427a5a3c102e0be8e1c6dbbc7694c8e5526f0b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"Next2Renderer::build_vertices (cognitive 59): Next2Renderer::build_vertices has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (46 pts), loops 3 (7 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f16c1b2812876bdd5a7e7740bd01ce8db3a9bf9466a0abf7907161a48ea051"}},{"ruleId":"D2","level":"warning","message":{"text":"_DfmPlusOverlayState._runUpdateLoop (cognitive 58): _DfmPlusOverlayState._runUpdateLoop has cognitive complexity 58 (threshold 15). Drivers by points: if/else 15 (49 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (2 pts), error handling 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bcd8976f25f5020697529fbbbe30fdba8d084bd52f57943c3523042df20e7c"}},{"ruleId":"D2","level":"warning","message":{"text":"_JellyfinQualityMenuState._loadCurrentQuality (cognitive 58): _JellyfinQualityMenuState._loadCurrentQuality has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (32 pts), ternaries 6 (20 pts), boolean chains 5, error handling 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a0797843b1cf9aa591a806679cfbc9ab8e25577e2d448c88a17a5704ab8f6a"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager._writeExternalSubtitleSelection (cognitive 58): SubtitleManager._writeExternalSubtitleSelection has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 3 (10 pts), boolean chains 5, error handling 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"3166347eb60ed5a902177ff4fbf5dadf014bacd6ac3796fb24cbb655877bde78"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleParser.decodeSubtitleFile (cognitive 58): SubtitleParser.decodeSubtitleFile has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (44 pts), boolean chains 6, loops 2 (5 pts), error handling 2 (3 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/utils/subtitle_parser.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b639d9494ba6dccefe79157da59fda0a0f9f0b56a66cdbf14b76e328cfa4896"}},{"ruleId":"D2","level":"warning","message":{"text":"GpuDanmakuTextRenderer.renderItem (cognitive 57): GpuDanmakuTextRenderer.renderItem has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 17, loops 4 (8 pts), error handling 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_gpu/lib/gpu_danmaku_text_renderer.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c866cd5f296159504876afcf0de0f931df46d08d3429151cb6184dc3f72dfea"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._loadBangumiUserData (cognitive 57): _AnimeDetailPageState._loadBangumiUserData has cognitive complexity 57 (threshold 15). Drivers by points: if/else 23 (50 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9039e9df989b6d7982a5e3ba03ff1bf8fd587c158fe1673da95520414082c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ErikaPlayerAdapter._handleEvent (cognitive 57): ErikaPlayerAdapter._handleEvent has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (27 pts), ternaries 4 (10 pts), boolean chains 8, loops 4 (8 pts), match/switch 2 (4 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1098d76c49e8804d221c2f8f77896c60ae18f7d238a2267d6495bf1206da9d"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::api::dfm_plus::dfm_plus_prepare_layout (cognitive 57): rust_lib_nipaplay::api::dfm_plus::dfm_plus_prepare_layout has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 10 (16 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/dfm_plus.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"619ae1ecd0af27acee313e61c260e9d1b774ca1aaaf4bc08919ed4d811208bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeFileSelectionService.resolve (cognitive 56): EpisodeFileSelectionService.resolve has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 24, if/else 15 (19 pts), ternaries 6 (10 pts), loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_file_selection_service.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1848dd1430796f7565b35b2c3f6d01827b753b6528e2bac98aae50aff29401"}},{"ruleId":"D2","level":"warning","message":{"text":"_ModernVideoControlsState.build (cognitive 56): _ModernVideoControlsState.build has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 35 (49 pts), if/else 6, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"317d83e117d7b8a6c331437ac0d9efb9742262ed0d5509efbeb80e52bbf55363"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageService._getUniversalStorageDirectory (cognitive 56): StorageService._getUniversalStorageDirectory has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (42 pts), error handling 3 (10 pts), boolean chains 4 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/storage_service.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"77635ff4c0f4af248314170652c92d01bea9732cdb170d6d85361b705df93123"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider._fetchRemoteWebDAVDirectory (cognitive 55): SharedRemoteLibraryProvider._fetchRemoteWebDAVDirectory has cognitive complexity 55 (threshold 15). Drivers by points: if/else 12 (27 pts), ternaries 7 (19 pts), error handling 2 (4 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ffe07e4e1540ac1d936dc600f4d535281505ab88d0eac74bf8b691b0b103d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService._loadScannedFolders (cognitive 55): ScanService._loadScannedFolders has cognitive complexity 55 (threshold 15). Drivers by points: if/else 14 (44 pts), loops 2 (7 pts), boolean chains 3, error handling 1 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"304f8ab2ae9fd03236ae1cb69f89fdee486d9a6270b1fa5882d619bf09644168"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager._loadExternalSubtitleWithEncodingFix (cognitive 55): SubtitleManager._loadExternalSubtitleWithEncodingFix has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (53 pts), boolean chains 1, error handling 1 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"605b872be3b3064aeb267dfdf9ae085eff0f4fb341ab71e6da293734124a78de"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._buildDetailContent (cognitive 54): _AnimeDetailPageState._buildDetailContent has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (33 pts), ternaries 5 (12 pts), boolean chains 9 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb3b2cb267eca99583fc1f09eae969c36465ef4d89665748bb86ad8a56e7e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider.browseRemoteDirectory (cognitive 54): SharedRemoteLibraryProvider.browseRemoteDirectory has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 6 (14 pts), error handling 3 (7 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24480705e5a114102100ff8349bd2db41bf6b29d8e2c8786a965961680fbf4f"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoJellyfinQualityPaneState._applySelection (cognitive 54): _CupertinoJellyfinQualityPaneState._applySelection has cognitive complexity 54 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 7 (21 pts), boolean chains 7, error handling 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5a7e0508285c67eb0eb32e63916c364bd90559704a36634464bf22ff2fca7a"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._buildControlBarActionsLocal (cognitive 54): _LibraryManagementTabState._buildControlBarActionsLocal has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (30 pts), ternaries 11 (23 pts), match/switch 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ee15c8e52409f79bbf4e7af21b36dcb5120252662522ebd48a1550a0a67ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService.startDirectoryScan (cognitive 53): ScanService.startDirectoryScan has cognitive complexity 53 (threshold 15). Drivers by points: if/else 31 (41 pts), boolean chains 8, ternaries 2 (3 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"95853bb5efe9d0b793b9793e802acea63935c45d635869cb33ac43dd88154e1e"}},{"ruleId":"D2","level":"warning","message":{"text":"_SharedRemoteLanScanDialogContentState.build (cognitive 53): _SharedRemoteLanScanDialogContentState.build has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 46 (50 pts), if/else 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0b83417969cc26058e578e24c978d354f73ff0cfd39216f9318e2b326e620e"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaPlayNextEngine.layout (cognitive 52): NipaPlayNextEngine.layout has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 9, loops 2 (7 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2ff6cfd9aca526c8c4ddd21849865fb3addbde9e87c96a2e18b474f4d3076f"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryProvider._validateFilePathBatch (cognitive 52): WatchHistoryProvider._validateFilePathBatch has cognitive complexity 52 (threshold 15). Drivers by points: if/else 17 (42 pts), boolean chains 9, loops 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/watch_history_provider.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"399b6757d8966c87a9ae7d25e1e17a52569661143a41daad61264a183927dab9"}},{"ruleId":"D2","level":"warning","message":{"text":"WebApiService.handleUpdateHistoryProgressRequest (cognitive 52): WebApiService.handleUpdateHistoryProgressRequest has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 11 (26 pts), if/else 10 (14 pts), boolean chains 10, error handling 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"209ae4eab430f8467687e78ea94fa407f6917b183dd6ad58c14ac1d527add1ef"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDAVProxyService._handleStreamInternal (cognitive 52): WebDAVProxyService._handleStreamInternal has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (35 pts), boolean chains 6, error handling 3 (5 pts), ternaries 2 (4 pts), loops 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_proxy_service.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f72287310b5f5623c26803136a9aeb74357405bc4dba687e98eb7b53ea81ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDAVService._legacyAttemptConnection (cognitive 52): WebDAVService._legacyAttemptConnection has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (35 pts), boolean chains 7, ternaries 2 (6 pts), error handling 2 (3 pts), loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbab2820cb977342f4f3302c595a6e27f0b2b9f8c095b39227845a8b03d6047"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState.build (cognitive 52): _LibraryManagementTabState.build has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 9, ternaries 6 (8 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5683b94ec97cf8edcc573991bf3fe8f10a184de68c8ed17f923afe68fd3f0c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter.attachPlatformVideoSurface (cognitive 51): MediaKitPlayerAdapter.attachPlatformVideoSurface has cognitive complexity 51 (threshold 15). Drivers by points: if/else 20 (37 pts), boolean chains 7, ternaries 3 (5 pts), error handling 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c668e4c89ebe3dda6dd061ab916364a70a138dbe3cf9716c4283f6224a1179c"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerAdapter._actuallyCreateController (cognitive 51): VideoPlayerAdapter._actuallyCreateController has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (36 pts), error handling 4 (10 pts), boolean chains 5 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd2c795a2120c824870a0bf99e3a5aee2bc256018f06fb92456575913deccbd"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider.refreshManagement (cognitive 51): SharedRemoteLibraryProvider.refreshManagement has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 3 (9 pts), ternaries 4 (8 pts), error handling 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"5689013add8f33f8f28d1761d3f57c82a8a2332ef58ff64c6a8d573ffc1572c6"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider._fetchRemoteSMBDirectory (cognitive 51): SharedRemoteLibraryProvider._fetchRemoteSMBDirectory has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 6 (17 pts), error handling 2 (4 pts), loops 1 (3 pts), boolean chains 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4e869e05182e4e83ce9a6938a5530a52cf2758d9fc03cc0fb4cc652e4b5106"}},{"ruleId":"D2","level":"warning","message":{"text":"_BackupRestorePageState._showFullRestoreDialog (cognitive 51): _BackupRestorePageState._showFullRestoreDialog has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (28 pts), ternaries 5 (20 pts), error handling 2, boolean chains 1 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8443b7e39009f6e08e0c19684b701932cce9d84c9643f2eac9bc4c72c36cfc"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryManager.getHistoryItem (cognitive 50): WatchHistoryManager.getHistoryItem has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (34 pts), loops 4 (12 pts), error handling 2 (4 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a62f841dd2e1683423b45e4ad9678909898e5730d7a04f1f89a87aa56aee4a"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyService.loadAvailableLibraries (cognitive 50): EmbyService.loadAvailableLibraries has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (37 pts), boolean chains 7, error handling 2 (3 pts), loops 1 (3 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9ace1d6adbb048e62b23faf6b4ae887fa45dad1075c4d6e63c4d6c8218890a"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayWindowScaffoldState.build (cognitive 50): _NipaplayWindowScaffoldState.build has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 19 (30 pts), if/else 10 (14 pts), boolean chains 6 (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/themes/nipaplay/widgets/nipaplay_window.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e1d07645eb48c866ddc7d48d31485cdd9bf40f01b5cbb0b81c0bb97744d1b6"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._pickAndScanDirectory (cognitive 49): _LibraryManagementTabState._pickAndScanDirectory has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 8, error handling 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"542ad51dce822a8d5460a18b01c29591844bcf8bd96f7447ee51205127c7c4ae"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._getDirectoryContents (cognitive 49): _LibraryManagementTabState._getDirectoryContents has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (33 pts), loops 2 (7 pts), error handling 2 (5 pts), boolean chains 4 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d891c8f103d668f17ba4f297b4c5258fc1683209463f4f9c714b5237a60262"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubtitleListMenuState._loadSubtitles (cognitive 49): _SubtitleListMenuState._loadSubtitles has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (39 pts), loops 1 (5 pts), boolean chains 4, error handling 1 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a80ab9d3674f291e31d5bd96a2fd5d54ff24c08014359be272e32ac399e0488"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getUserPlayHistory (cognitive 48): DandanplayService.getUserPlayHistory has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 1 (5 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56c6c432ef9b746a862d040fce5da6a377c083d0393be9353ee8b47fd78fa3b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSettingsMenu.build (cognitive 48): BaseSettingsMenu.build has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 18 (25 pts), if/else 10 (15 pts), boolean chains 8 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/base_settings_menu.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a620ceeace552e5ed82ab423295b0cbc771b34f10bf372135d3019ec81847ac"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._buildImmersiveSubtitle (cognitive 47): _AnimeDetailPageState._buildImmersiveSubtitle has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 11, loops 4 (6 pts) (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/pages/anime_detail_page.dart"},"region":{"startLine":3288}}}],"partialFingerprints":{"codehealthFindingId/v1":"093f26487e3a7fc50c4d00fef948dcc2bde595521b593d5b87c9ee07adbe4407"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeMatchDialogState.build (cognitive 47): _AnimeMatchDialogState.build has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 13 (30 pts), if/else 11 (15 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c632ac0ca8fb5b331ec852408ab95c00dd550980c859d047cffe1ea299ff6a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeMatchDialogState.build (cognitive 47): _AnimeMatchDialogState.build has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 13 (30 pts), if/else 11 (15 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b839b4eed1b5a262b9791af85b7f95b12dd3b9ade032fe561562430216103556"}},{"ruleId":"D2","level":"warning","message":{"text":"_SharedRemoteLibraryViewState.build (cognitive 47): _SharedRemoteLibraryViewState.build has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (26 pts), ternaries 10 (13 pts), boolean chains 8 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7144b4cc98a5a48bce4cceed66c61f210cb949dc1e399960526d44d7c1bdb40"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiAnime.fromDandanplayDetail (cognitive 46): BangumiAnime.fromDandanplayDetail has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 16, loops 2 (4 pts), ternaries 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/bangumi_model.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbf0c5c1675c9974450d0f751c405880c7cc0fb333576aec57257554e8ad215"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._syncBangumiCollection (cognitive 46): _AnimeDetailPageState._syncBangumiCollection has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (30 pts), ternaries 4 (9 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c322e65ce65f75b4acac78cc4a65107abd75d9ec9b8b62ea4cdd867673c5734"}},{"ruleId":"D2","level":"warning","message":{"text":"_PluginProcess.launch (cognitive 46): _PluginProcess.launch has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 5 (10 pts), error handling 1 (4 pts), boolean chains 3, ternaries 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_process_manager.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e79bd1ba83f9c3175322f6867f42585e4d3decb1fb241601a4b880d8ace9509"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaylistMenuState._createJellyfinHistoryItem (cognitive 46): _PlaylistMenuState._createJellyfinHistoryItem has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (38 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (_PlaylistMenuState._createEmbyHistoryItem) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5b823dc99eec1bc91bb3d2fc217b9a86d563516e94b9def9986fce140b41b4"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaylistMenuState._createEmbyHistoryItem (cognitive 46): _PlaylistMenuState._createEmbyHistoryItem has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (38 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (_PlaylistMenuState._createJellyfinHistoryItem) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"38147cdac0be0175498e17731bfd484444cbe4639c6c4f3a5bdbb5709c14b2df"}},{"ruleId":"D2","level":"warning","message":{"text":"_ExternalSubtitleOverlayState._buildPathBlock (cognitive 46): _ExternalSubtitleOverlayState._buildPathBlock has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 10, ternaries 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/external_subtitle_overlay.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8242bc8dba4f62dd444bb0ce759c61ccbfdc4419db6ba9913d66c6580d20c62"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSubtitleService._downloadPair (cognitive 45): RemoteSubtitleService._downloadPair has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 16, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53b1ada7f15be4521d2e5c9d6bf711d95865cb088c9b29f05d3acf2581e117c"}},{"ruleId":"D2","level":"warning","message":{"text":"SMBProxyService._handleStreamInternal (cognitive 45): SMBProxyService._handleStreamInternal has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (36 pts), error handling 3 (6 pts), boolean chains 3 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a57250809a8f9af631a71f5427e63bb93792848a335eb14bc686ea91bd5a9f3"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuListMenuState.build (cognitive 45): _DanmakuListMenuState.build has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 16, boolean chains 13 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e886e9688db7331a38647f37d5648ffdd6eb1773ea384ae627c077e382468a59"}},{"ruleId":"D2","level":"warning","message":{"text":"_VideoProgressBarState.build (cognitive 45): _VideoProgressBarState.build has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 13 (19 pts), boolean chains 5 (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/themes/nipaplay/widgets/video_progress_bar.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8f1eb109f388f4bd991fe7b8e1b3b128624299dd8739da5f4a7109f9b56f90"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteMediaFetcher._fetchHeadWithDart (cognitive 45): RemoteMediaFetcher._fetchHeadWithDart has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 8, ternaries 2 (8 pts), error handling 3 (7 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/remote_media_fetcher.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beaac69f83dca5e9865b6cf4dcad6f7a4fec526495db404f4c0c6b9697dae7e"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState._buildEpisodesListForSelectedSeason (cognitive 44): _MediaServerDetailPageState._buildEpisodesListForSelectedSeason has cognitive complexity 44 (threshold 15). Drivers by points: boolean chains 16, if/else 14, ternaries 14. 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/pages/media_server_detail_page.dart"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d4a445b2eb7a872946ab0ed31fa9acdc446107555c736ec7bda8fb6872e109"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinService.getSubtitleTracks (cognitive 44): JellyfinService.getSubtitleTracks has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 4 (20 pts), if/else 7 (19 pts), loops 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91f89397b87077931d4723a080c3778be22225390233d83aa31cf8cd2d426ff"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerRemoteControlBridge._buildParameters (cognitive 44): PlayerRemoteControlBridge._buildParameters has cognitive complexity 44 (threshold 15). Drivers by points: if/else 25 (28 pts), ternaries 4 (9 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7504541fcc518876192abe6d3646c49e2ee73c34ec7532e895488486f2416d09"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaProxyServer._serve (cognitive 44): _MediaProxyServer._serve has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 3 (7 pts), error handling 3 (5 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/plugin_media_proxy.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d0669927dbd9030d139b4593c7e9c5fe557980493aad3b2ecdd50d76f64ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarterlyReviewCache._load (cognitive 44): QuarterlyReviewCache._load has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 5 (14 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/quarterly_review_cache.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b571a116a603eff0846663c04ef79a0bd04d93fae9bfb7710d9838f85820fa69"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._buildSummaryView (cognitive 43): _AnimeDetailPageState._buildSummaryView has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (20 pts), ternaries 13 (18 pts), boolean chains 5 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff20d6d83be08fd67562033fcdf66a806477ef3fc9cfbf2e2b776965c067419"}},{"ruleId":"D2","level":"warning","message":{"text":"_PluginProcess.stop (cognitive 43): _PluginProcess.stop has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 5 (15 pts), boolean chains 4 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_process_manager.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e106cd4731d74375f46cebaaffc9b2b580cc7c93e3829c605f05c6721aed4713"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalPlayerService.play (cognitive 43): ExternalPlayerService.play has cognitive complexity 43 (threshold 15). Drivers by points: if/else 20 (27 pts), boolean chains 5, error handling 4 (5 pts), match/switch 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/external_player_service.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fd84f1089202348f090a4078687bb5f981ca2225a3325faa680cdb4f80b31a"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._showManualDanmakuMatchDialog (cognitive 43): _LibraryManagementTabState._showManualDanmakuMatchDialog has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (35 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4694}}}],"partialFingerprints":{"codehealthFindingId/v1":"815e0a44cd7681de0c58e7815739c12adecbc16358161e87300adb9f861f726f"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuContainerState.build (cognitive 43): _DanmakuContainerState.build has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 5 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10c28eff900b220590563db3e801c93ba58546ec6dffc947b171f94901cb924"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryProvider._syncRemoteHistory (cognitive 42): WatchHistoryProvider._syncRemoteHistory has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 9, loops 2 (3 pts), error handling 2, ternaries 1 (2 pts) (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/providers/watch_history_provider.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4971bcc044d6b6246e9ce806f1921320df5effbfadeef062cd6f1ceb214768"}},{"ruleId":"D2","level":"warning","message":{"text":"_BangumiCommentsWidgetState.build (cognitive 42): _BangumiCommentsWidgetState.build has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 14 (19 pts), if/else 12 (14 pts), boolean chains 9 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_comments_widget.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1e8f6f1578697c0895752fdcd5b19f2929a37d93e34c8892cde546a7cbc314"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._scrapeRemoteFiles (cognitive 42): _LibraryManagementTabState._scrapeRemoteFiles has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 4 (12 pts), boolean chains 9, error handling 1 (2 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5879}}}],"partialFingerprints":{"codehealthFindingId/v1":"818cb490d45110d564690a8df0bfbf348880c630f7700160581d8f1f2dd67c02"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager.updateEmbeddedSubtitleTrack (cognitive 42): SubtitleManager.updateEmbeddedSubtitleTrack has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 18 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"be44f6af162f8f8d37cc436bb3fc8e49d0e7ba219a5cfe871462968fd4b5b91c"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._performSubtitleSyncLogic (cognitive 41): MediaKitPlayerAdapter._performSubtitleSyncLogic has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 2 (7 pts), boolean chains 4, error handling 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"111f9ee5c73cc96068dcf851d0cfd607dd1abfa6725f3189997f114f6305dbf2"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider._shouldBypassProxy (cognitive 41): SharedRemoteLibraryProvider._shouldBypassProxy has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad1013218e0b910b77caae6d3476693e8930e16231237ad80c2e404a9fce1cd"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiService.getCalendar (cognitive 41): BangumiService.getCalendar has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (18 pts), error handling 4 (13 pts), loops 2 (7 pts), boolean chains 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f594cec0d36c985f2724ee3d19d3ff1486731d54bfd980e7ac4ad81d9d92cb3"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyService.getLatestMediaItems (cognitive 41): EmbyService.getLatestMediaItems has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (25 pts), error handling 4 (8 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"3491074511c844f66e0ff1b59f09c15a649d7e0fbeffca420c069ba8581147b6"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDAVService._shouldBypassProxy (cognitive 41): WebDAVService._shouldBypassProxy has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9c1cadb9d838b6d73d846636d4ca8379bb81ed947e33669f76d75706d17c69"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteMediaFetcher._shouldBypassProxy (cognitive 41): RemoteMediaFetcher._shouldBypassProxy has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/remote_media_fetcher.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5953ed914df2d4d24c65fb8a22ee6f08b6797708138b7522842d99b78b0bb7a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.didInitializeImplicitFlutterEngine (cognitive 41): AppDelegate.didInitializeImplicitFlutterEngine has cognitive complexity 41 (threshold 15). Drivers by points: if/else 25 (29 pts), boolean chains 7, ternaries 2 (4 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/AppDelegate.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"189190bb833699115bb088f9d46358e43ed623ec963bf729ff78e0789cbff2b9"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSubtitleParser.parseBytes (cognitive 40): NativeSubtitleParser.parseBytes has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 4 (11 pts), ternaries 3 (7 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cpp_native/bindings/subtitle_parser_io.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec4df1fe4144dd6cdcc578a131979cfe855d9f873a0bd0b50bfb3b622e6bb15"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter.setMedia (cognitive 40): MediaKitPlayerAdapter.setMedia has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (34 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3755013ec20a7ab2219a87380137ff8965b6321f66a3ed59269e14b5b174d26"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getBangumiOAuthLoginUrl (cognitive 40): DandanplayService.getBangumiOAuthLoginUrl has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (28 pts), boolean chains 7, error handling 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"d267df56da6490e65ee260cab6332927e5bd245a5ebf1c8b29efd4691945223e"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getUserFavorites (cognitive 40): DandanplayService.getUserFavorites has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 1 (5 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1da566aba6a04e6c6ee4fccb767b8cafbe27197e9e38e9b842120a3069c988"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDAVService._validateConnection (cognitive 40): WebDAVService._validateConnection has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (34 pts), error handling 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0aaf2b685b51c02ef3fe68470e4f889851430c30aa89915e87929ed00b8a9d"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._scanWebDAVFolder (cognitive 40): _LibraryManagementTabState._scanWebDAVFolder has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (37 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (_LibraryManagementTabState._scanSMBFolder) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5990}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d952791240ac5aaaf8cfe7fb09fc14bbcb8011be0e6e934eefa1fb7d6b043a"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._scanSMBFolder (cognitive 40): _LibraryManagementTabState._scanSMBFolder has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (37 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (_LibraryManagementTabState._scanWebDAVFolder) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":6226}}}],"partialFingerprints":{"codehealthFindingId/v1":"672a683d5792d5f79dd166c98e59dfbe252cf41d647298e7678120c0fb054fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"_DfmPlusOverlayState.didUpdateWidget (cognitive 39): _DfmPlusOverlayState.didUpdateWidget has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 22, if/else 15 (17 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"190b7aa4ead8215b0f9a25ef602119b11c94f9602a0581944867f4e3fec4ead3"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState._loadMediaDetail (cognitive 39): _MediaServerDetailPageState._loadMediaDetail has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (30 pts), ternaries 2 (7 pts), boolean chains 1, error handling 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87538ae5b2969e7c5fc6501f9e77b6c3705c6b1f89e9d7ca3387d6a6b8768fd"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState._playEpisode (cognitive 39): _MediaServerDetailPageState._playEpisode has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 4 (9 pts), boolean chains 5, error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cf7202c6ad91b3f7438405f0481eb42800e36dc32622fca787d3d68dca614b"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiApiService.getSubjectCommentsFallback (cognitive 39): BangumiApiService.getSubjectCommentsFallback has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (30 pts), ternaries 2 (5 pts), boolean chains 3, error handling 1 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_api_service.dart"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e769a5165c0ce0e09bd7bae133998bfba95b28c3b204d53f4420f90a29271e"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._buildLargeScreenManagementStatus (cognitive 39): _LibraryManagementTabState._buildLargeScreenManagementStatus has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 4 (10 pts), boolean chains 7, loops 2 (4 pts) (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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b2a949644d5fe9f7ca2711ba9c0fa13069cfd78ffce3f87c40ad8c501554c4"}},{"ruleId":"D2","level":"warning","message":{"text":"_SharedRemoteLanScanDialogContentState._startScan (cognitive 39): _SharedRemoteLanScanDialogContentState._startScan has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 6, loops 1 (3 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5a303732ada279d61aa0aa751faff1a2e06894240384f566300d9adbc7f7df"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubtitleListMenuState.build (cognitive 39): _SubtitleListMenuState.build has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 16, if/else 9 (13 pts), boolean chains 10 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"75468640e778a76ada3e8ce7c33c6cf30bd00b4802df705d52d5d953e78b72e3"}},{"ruleId":"D2","level":"warning","message":{"text":"_SystemResourceDisplayState.build (cognitive 39): _SystemResourceDisplayState.build has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (20 pts), ternaries 8 (13 pts), loops 3 (5 pts), match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/system_resource_display.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"edac8691237b4b6eecbe3f44f468b6f791d5102ba934b2d42ea08613c9d73a59"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager.setExternalSubtitle (cognitive 39): SubtitleManager.setExternalSubtitle has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 8, ternaries 1 (2 pts), error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad48c80188ab64e3161d5024ea581af6a791cb149df0693eaa598de62581068"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiService.cleanExpiredDetailCache (cognitive 38): BangumiService.cleanExpiredDetailCache has cognitive complexity 38 (threshold 15). Drivers by points: if/else 6 (24 pts), ternaries 1 (6 pts), error handling 2 (4 pts), loops 2 (4 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0c0434ae9198df0e2287841b75ba4de4fc25584d114a332c9cfd55ecf378e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcurrentVideoProcessor._processSingleVideoPath (cognitive 38): ConcurrentVideoProcessor._processSingleVideoPath has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (23 pts), ternaries 3 (9 pts), boolean chains 4, error handling 2 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/concurrent_video_processor.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"154bbc705631711ef3318788428654cc8a836a209adbeb15608c665ec8452163"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoSubtitleTracksPaneState.build (cognitive 38): _CupertinoSubtitleTracksPaneState.build has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 9 (17 pts), if/else 9 (14 pts), boolean chains 7 (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/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5c57f522447fb6952d965647462001db3482552ebb1c3ade9e43c92605c41c"}},{"ruleId":"D2","level":"warning","message":{"text":"_AdaptiveMediaDetailActionButtonState.build (cognitive 38): _AdaptiveMediaDetailActionButtonState.build has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 24 (28 pts), if/else 4 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/adaptive_media_detail_action.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a648970c9134f1a0f957fa6b65e33e933566bd214da4e2431e4cf6aac5d41787"}},{"ruleId":"D2","level":"warning","message":{"text":"_CachedNetworkImageWidgetState.build (cognitive 38): _CachedNetworkImageWidgetState.build has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 15, ternaries 4 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/cached_network_image_widget.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c5e6fcf0a701fe0ef768a5a33fdfd7de9c04ecce563c488a371f40739c0653"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._buildWebDAVFileNodes (cognitive 38): _LibraryManagementTabState._buildWebDAVFileNodes has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 12 (19 pts), if/else 11 (16 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_LibraryManagementTabState._buildSMBFileNodes) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5412}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb89275866af5966fea06239da237a63b97ea1d21ff948bbbda38e7a23e1368f"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._buildSMBFileNodes (cognitive 38): _LibraryManagementTabState._buildSMBFileNodes has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 12 (19 pts), if/else 11 (16 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_LibraryManagementTabState._buildWebDAVFileNodes) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5617}}}],"partialFingerprints":{"codehealthFindingId/v1":"502f53446924fbf8ce3d09972c41095d0587d178e4fec430dc22173469a513b4"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkMediaServerDialogState._handleQualityChanged (cognitive 38): _NetworkMediaServerDialogState._handleQualityChanged has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (31 pts), error handling 3 (7 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c1d8b4eb9a402f6a9fd2ced551874b12598fe76a1b3fe31a57912111dbfebe"}},{"ruleId":"D2","level":"warning","message":{"text":"DecoderManager.checkDecoderAfterScreenshot (cognitive 38): DecoderManager.checkDecoderAfterScreenshot has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (25 pts), boolean chains 7, error handling 2 (6 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/decoder_manager.dart"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"3469333c96636d8848cfcd0636802bbff4c88940a8d8f0ecd05c3a36184b0dd1"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaSourceUtils.migrateWebDavPath (cognitive 38): MediaSourceUtils.migrateWebDavPath has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (31 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_source_utils.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99bb44b2edcad43ae6ae6b23b1177eeb5fc7181edafb8c817343806cd0e3c1e"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryNewContentTracker.load (cognitive 37): LibraryNewContentTracker.load has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (30 pts), boolean chains 6, error handling 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_collection_view.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4787abd4f475a089220e5406daa7443fb298cd9bbde121e7302d2c8842089e2"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVBrowserPageState._startSearch (cognitive 37): _WebDAVBrowserPageState._startSearch has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 10, error handling 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"03eebe104e38524b39591bb009ca9808ae3fc0646e25efaa78fe30dca06ccdc7"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginUrlResolver.resolve (cognitive 37): PluginUrlResolver.resolve has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (28 pts), boolean chains 4, match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/url_resolver.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc074d17453c04d246beceb51d685ef41b286676ab8a71aa96ec60f2fffff96"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuCacheManager._clearExpiredCache (cognitive 37): DanmakuCacheManager._clearExpiredCache has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (29 pts), error handling 2 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"93631c2ab0de13ef278f9b01b113d2a95b0ddacdccffcec5939470d0d24e0f0b"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeMatchDialogState._loadAnimeEpisodes (cognitive 37): _AnimeMatchDialogState._loadAnimeEpisodes has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb17e44decdd9f443a746cf5042d86f5aaaf113da854865ad47c1c55e725ba4b"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._locateRemoteEpisode (cognitive 37): EpisodeNavigationService._locateRemoteEpisode has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 5 (10 pts), boolean chains 4 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4416e9bb179ab10905862e40c3b773d7176380908e933b92779a6801651fcb"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeMatchDialogState._loadAnimeEpisodes (cognitive 37): _AnimeMatchDialogState._loadAnimeEpisodes has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf2261171b4f11510386c208a1224aac7a6c44098474a236d1aa1984aaa61b6"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaManagementApi._handleStreamInternal (cognitive 37): LocalMediaManagementApi._handleStreamInternal has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 5 (18 pts), if/else 7 (14 pts), boolean chains 4, error handling 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd60bd9bd0fbf8616c78ca9f61816be916b1bab64b1d6abffb0ee22d6e17805"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaManagementApi._handleSubtitles (cognitive 37): LocalMediaManagementApi._handleSubtitles has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (25 pts), error handling 2 (4 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7497af400e3661858d8aaec1d9aca3ee1de24b5250f64c8b2227c8e5604596d"}},{"ruleId":"D2","level":"warning","message":{"text":"WebApiService.handleImageProxyRequest (cognitive 37): WebApiService.handleImageProxyRequest has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 7, error handling 3 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3eafbf6021945740ea5ade60cae375c7fd71fd35c6f6aad449fb3c0aea6655f"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDAVService.resolveFileUrl (cognitive 37): WebDAVService.resolveFileUrl has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 2 (6 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"6921ec1b23a17404aeb5bf138b49e2d4aa7a37443ab29ab9b54c9af5a97e6327"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoSubtitleTracksPaneState._loadRemoteSubtitleFile (cognitive 37): _CupertinoSubtitleTracksPaneState._loadRemoteSubtitleFile has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (35 pts), boolean chains 1, error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1456f5825259aafcef4ccaefed4850889ce669d6e3fa30dee3dbc4b88af92c"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubtitleTracksMenuState._loadExternalSubtitle (cognitive 37): _SubtitleTracksMenuState._loadExternalSubtitle has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (32 pts), boolean chains 4, error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0870b7eaee1890aea76a45e5078a98a38e0fefe7e9b2c071c0354a23c766356"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaPlayNextEngine._rebuildLayout (cognitive 36): NipaPlayNextEngine._rebuildLayout has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 4, match/switch 2 (4 pts), loops 3 (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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38f6bf25629bc452509c1498d0a545addd1e64cae243c2fde8297a073f09f38"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaPlayNextOldEngine._rebuildLayout (cognitive 36): NipaPlayNextOldEngine._rebuildLayout has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 4, match/switch 2 (4 pts), loops 3 (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/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"191ae84cb79124a443d914c1e665a8ce9b3770a0d4d37c4c583eec36b06c624b"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryDatabase.getHistoryByFilePath (cognitive 36): WatchHistoryDatabase.getHistoryByFilePath has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 1 (2 pts), error handling 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"32beafbfd110e0eb9af251de8c88a99def10a04438d99135fc267ef91276f97b"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._updateMediaInfo (cognitive 36): MediaKitPlayerAdapter._updateMediaInfo has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, loops 4 (7 pts), ternaries 2 (5 pts), error handling 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"60302b68e51e7c7b88807895b0072edd333b52f063d31cf1303ac484a56e6fe2"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter.activeAudioTracks (cognitive 36): MediaKitPlayerAdapter.activeAudioTracks has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (7 pts), boolean chains 3, error handling 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1454321598bdf8b1eb2ca7cae12cef848d1d6a01486970be106d16ed81c0305"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiService._getAnimeDetails (cognitive 36): BangumiService._getAnimeDetails has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 6, error handling 1, ternaries 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb10e4c0b0de3218b0d94eb49b5cf7ecc0f574d8c2ff9a79a847b6302bcad9b9"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._buildControlBarActionsRemote (cognitive 36): _LibraryManagementTabState._buildControlBarActionsRemote has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 5 (10 pts), boolean chains 3, match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7405bd9cdef6630c47f017a1ca8f90c15413ae819fb15b1ca0daac3a254c2f"}},{"ruleId":"D2","level":"warning","message":{"text":"_VideoPlayerUIState._handleKeyEvent (cognitive 36): _VideoPlayerUIState._handleKeyEvent has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (28 pts), ternaries 1 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"025605b8d202b3634be809d8861a234b998dedcca3b66efe3bfd96632f15d5cc"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioTrackManager._detectRemoteExternalAudioPath (cognitive 36): AudioTrackManager._detectRemoteExternalAudioPath has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 2 (4 pts), error handling 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/audio_track_manager.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1d194167238097c4378a27cfe668bd5da400a0ab79d043cf13af3e4cf431b6"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuGroupWidget.build (cognitive 36): DanmakuGroupWidget.build has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 5 (12 pts), match/switch 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_group_widget.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc1f50c96f68b9880366e8868f67570968a5246353a6cdfca82712a602473c4"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerAdapter.prepare (cognitive 35): VideoPlayerAdapter.prepare has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 6, error handling 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1b5650fcdb4e8621098e2f0b4ea298a27367bc51cc0f20f61f94af8ec1c4d9"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider._loadPersistedHosts (cognitive 35): SharedRemoteLibraryProvider._loadPersistedHosts has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (31 pts), boolean chains 3, error handling 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce661315194313e5921d01428b2923d1f78f8dd9b8b4d1bfa041224f52e057f4"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService._ensureVideoInfoTitles (cognitive 35): DandanplayService._ensureVideoInfoTitles has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (30 pts), boolean chains 5 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f52272416645d16de2ffeceaf452f9b52846883220b06f624dfe9049b4d5ae"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.login (cognitive 35): DandanplayService.login has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 2 (8 pts), error handling 2 (3 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"003bb2670579d42f6330f11a36ab4251cf45d3d5be1f612c826481eeb8e35418"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService._ensureVideoInfoTitles (cognitive 35): DandanplayService._ensureVideoInfoTitles has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (30 pts), boolean chains 5 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":2256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0db2dd356be76cb204fbabf608dbb6614807e9e0fab7a10ffef8b86f9106f1"}},{"ruleId":"D2","level":"warning","message":{"text":"_MacOSWindowNativeVideoOverlaySurfaceState._sendOverlayFrame (cognitive 35): _MacOSWindowNativeVideoOverlaySurfaceState._sendOverlayFrame has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 11, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/macos_native_video_view.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12a8a7208e4b5573e0cd70e3ed311a42fff7593fef047c4292305898ee0d633"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyService.getServerMediaTechnicalInfo (cognitive 34): EmbyService.getServerMediaTechnicalInfo has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 6, loops 1 (5 pts), error handling 2 (3 pts) (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"819538d9f6f228dcd36fe078672691bd7affecc4dd3f689dbc332e50f82a67c4"}},{"ruleId":"D2","level":"warning","message":{"text":"WebServerService.getAccessUrls (cognitive 34): WebServerService.getAccessUrls has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (5 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_server_service.dart"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53a84ad6e6c68f417345fa681987f7e4e2983db2ef8db44a1d09c4eabe34032"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayLargeScreenScaffoldLayoutState.build (cognitive 34): _NipaplayLargeScreenScaffoldLayoutState.build has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 12, ternaries 11 (12 pts), if/else 8 (10 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"40447de0dfbc79aeff01a4323ccfe0c04b4fb6f4d87a30dff5aefb7d1e4a5d53"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager._pickTextSubtitleReplacement (cognitive 34): SubtitleManager._pickTextSubtitleReplacement has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 3 (6 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cc3914ec62cf89f1d25af5fccb37ba36cae1fe17206e3e9ce82efda9054a29"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleParser.parseSubtitleFile (cognitive 34): SubtitleParser.parseSubtitleFile has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (27 pts), error handling 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"716decae76082a2dc0016fbf2cbdaa6ca10b44e981b2767f3de4dfbc3be6cd9f"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::api::webdav_multistatus::parse_webdav_multistatus (cognitive 34): rust_lib_nipaplay::api::webdav_multistatus::parse_webdav_multistatus has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (28 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/webdav_multistatus.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d6e591f7e185ff1bb8057d1c09d049ba2cbf829c4fa4c81c23f918263b1a59"}},{"ruleId":"D2","level":"warning","message":{"text":"DfmPlusLayoutBridge.configure (cognitive 33): DfmPlusLayoutBridge.configure has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 13, if/else 6 (10 pts), loops 4 (6 pts), ternaries 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1a4629087daf30fe3c4a7f9c9b23eebc38d4e9399467ad567e37dbd3974032"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService._tryMatchByFileNameFirstResult (cognitive 33): DandanplayService._tryMatchByFileNameFirstResult has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"15939c6ecb97b91eef8cedf8c4bfd432a7d542a92fbca76858e3431e01092e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService._tryMatchByFileNameFirstResult (cognitive 33): DandanplayService._tryMatchByFileNameFirstResult has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"67240e8dc3434b5226ab74f74be78f4f6f2edeecb70806152254c4790b384135"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinService.getServerMediaTechnicalInfo (cognitive 33): JellyfinService.getServerMediaTechnicalInfo has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 5, loops 1 (5 pts), error handling 2 (3 pts) (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5150adc55d1940a89742da2d74b28c4fd5c0dc4d7dd0e94cf3200c122a50df1d"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaManagementApi._scrapeRemoteFiles (cognitive 33): LocalMediaManagementApi._scrapeRemoteFiles has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 6 (18 pts), boolean chains 6, if/else 2 (6 pts), error handling 1 (2 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"469550c651f8e6c22f9e1b77577e8ca144486507320928369a776a573d023f0b"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._collectMountedVideoPaths (cognitive 33): _LibraryManagementTabState._collectMountedVideoPaths has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (6 pts), ternaries 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3281}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc04bea1e5fa3209edb7e4639210facddb966f0197fcbdd99e0f7930b176b224"}},{"ruleId":"D2","level":"warning","message":{"text":"_AdaptiveMediaLibraryPageState._playHistoryItem (cognitive 32): _AdaptiveMediaLibraryPageState._playHistoryItem has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 3 (10 pts), boolean chains 5, error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_page.dart"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b2bd4c60e0b245356539155af5c85350c71a99d5ea03f6833c237fb2fb8cd1"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiAnime.fromJson (cognitive 32): BangumiAnime.fromJson has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 13, loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/bangumi_model.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"00241d567cfac87066e692772aa0bd81cb754a3fccaabec9feec8661db74f737"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._fetchAnimeDetails (cognitive 32): _AnimeDetailPageState._fetchAnimeDetails has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (25 pts), error handling 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"914b9a2323f26cb716dc4353f13fac2b736e923c800c030692ff1f6ff2b37eda"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._syncBangumiEpisodeProgress (cognitive 32): _AnimeDetailPageState._syncBangumiEpisodeProgress has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (21 pts), ternaries 2 (5 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1e4e6fdd084d16031895149538298247334c9350bc1a0615a48418c9be3ee2"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._addEventListeners (cognitive 32): MediaKitPlayerAdapter._addEventListeners has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 9, ternaries 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae0848190f475d90023cd084a2a59e9f360f0767ba5a7080d1d3eee9f83951c"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter.activeSubtitleTracks (cognitive 32): MediaKitPlayerAdapter.activeSubtitleTracks has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 2 (6 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c92ff464d54f9132d757db0c0ac42df11680b0b402c638968f2b635bdc3dcc"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getEpisodesWatchStatus (cognitive 32): DandanplayService.getEpisodesWatchStatus has cognitive complexity 32 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 4 (13 pts), boolean chains 4, error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac3cc7f5b2f76995ca86e535cfd5b5d1e045bb140b1dacdefb7e27a7d325758"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSubtitleService._tryResolveWebDavFromUrl (cognitive 32): RemoteSubtitleService._tryResolveWebDavFromUrl has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"821ad26315adb863a276313a80bd33153152f86bb4d2f170d48497f0c764639e"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService.searchAnimeAdvanced (cognitive 32): SearchService.searchAnimeAdvanced has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (27 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/search_service.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"47739913b9b71c5f7322193e5241952ad6936cbc3cfceb25e0085f4a5c4d796d"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDAVService._legacyTestConnection (cognitive 32): WebDAVService._legacyTestConnection has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 1 (2 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25e2d61e1300b5c2b623515a32b0166cd14abf7836e9889335d4b5a8a9eb949"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._loadMountedDirectory (cognitive 32): _LibraryManagementTabState._loadMountedDirectory has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 5 (9 pts), boolean chains 6, match/switch 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3052}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7c6b980e036e09d1eef2561b68c199d652c811246aa9f3b7489f90fb592f2b"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaCaptureDialogContentState._buildImageTab (cognitive 32): _MediaCaptureDialogContentState._buildImageTab has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 10 (14 pts), if/else 12 (13 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"790fafb0544efbb42a28fae9b6252552fcfe23e086025063d9547a26d9d5dd32"}},{"ruleId":"D2","level":"warning","message":{"text":"_SharedRemoteLanScanDialogContentState._discoverByUdp (cognitive 32): _SharedRemoteLanScanDialogContentState._discoverByUdp has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (21 pts), error handling 3 (6 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaa27ec02402701e8a626dbdb0aa78c935e16751dad09ea532c365307ebf9f1"}},{"ruleId":"D2","level":"warning","message":{"text":"DecoderManager.updateCurrentActiveDecoder (cognitive 32): DecoderManager.updateCurrentActiveDecoder has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 6, error handling 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/decoder_manager.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a060ca6f6e131180d51047a34dc3bb7d077ed7dec5a1bb4eb3f59059c004f79"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageService.isValidStorageDirectory (cognitive 32): StorageService.isValidStorageDirectory has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (20 pts), error handling 4 (11 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/storage_service.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"830489246313ff262a90460d63a19832875eba8809cc22871be70eff44492b7b"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleParser._normalizeEncodingName (cognitive 32): SubtitleParser._normalizeEncodingName has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17, boolean chains 15. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4e487514504999169bcea7ddc579cfecc481fd34e59e24e4815f903dfac842"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::api::next2::prepare_merged_items (cognitive 32): rust_lib_nipaplay::api::next2::prepare_merged_items has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 3 (4 pts), match/switch 1 (3 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":"rust/src/api/next2.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ca76e1475b3805c83046d1e289aa9f5dc031cfd0eced65017ec3529a1a36dd"}},{"ruleId":"D2","level":"warning","message":{"text":"AdaptiveMediaActionButton.build (cognitive 31): AdaptiveMediaActionButton.build has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 12 (22 pts), if/else 6 (8 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"490ae5a90c1326db987668bec8b30e99052909790f4122227a223867e63c201f"}},{"ruleId":"D2","level":"warning","message":{"text":"_AdaptiveMediaTextFieldState.build (cognitive 31): _AdaptiveMediaTextFieldState.build has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 17 (26 pts), if/else 3, 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/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"646d8acfe379f75e3acb9dc0548ab3be4ebf292e047d7d640357fe1ee4c25642"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVBrowserPageState._loadDirectory (cognitive 31): _WebDAVBrowserPageState._loadDirectory has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 11, ternaries 1 (4 pts), error handling 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"860e86a63cafefc562bb13b090ef7b9dc9a7859f725661677d1c14571f257edf"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVBrowserPageState._buildFileItem (cognitive 31): _WebDAVBrowserPageState._buildFileItem has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 6, ternaries 4, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"69416b4085f94f8f300c3626a7f21a09b7dc794f96d1580def54478ecf5c25be"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider.testWebDAVConnection (cognitive 31): SharedRemoteLibraryProvider.testWebDAVConnection has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 3 (7 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c7b7471122a8b9821a49b26bb501affe332da914d89492135a19cf3147ad4b"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider.scanRemoteWebDAVFolder (cognitive 31): SharedRemoteLibraryProvider.scanRemoteWebDAVFolder has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 5 (11 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SharedRemoteLibraryProvider.scanRemoteSMBFolder) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"47558ed75426e0a08e63c10bbf45519cc832b8983cac571cc91a4ea8f455105e"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider.scanRemoteSMBFolder (cognitive 31): SharedRemoteLibraryProvider.scanRemoteSMBFolder has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 5 (11 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SharedRemoteLibraryProvider.scanRemoteWebDAVFolder) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a56fe7e0c1998519e3f3ebf426d0d33bf7c5c46316c88bdb88f5eab0ea98e4"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiSyncService.syncWatchHistoryToBangumi (cognitive 31): BangumiSyncService.syncWatchHistoryToBangumi has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_sync_service.dart"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"5317e0aef14d243ca4c1da1b7de229a6deef1bfc6483d0130bb0d8b91386ae32"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoMainPageState.build (cognitive 31): _CupertinoMainPageState.build has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (18 pts), if/else 7 (8 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/pages/cupertino_main_page.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"829456a00f0f5b3d3da4bb48e11b8086ae775fc858d1113e5777e8c21837326f"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoJellyfinQualityPaneState.build (cognitive 31): _CupertinoJellyfinQualityPaneState.build has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 8 (22 pts), if/else 4 (6 pts), loops 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc70cca601aa9a6ac4b644f7f613ada56738a0d2a19205ab08306dc81f1e4d5"}},{"ruleId":"D2","level":"warning","message":{"text":"_BlurButtonState._buildButtonBody (cognitive 31): _BlurButtonState._buildButtonBody has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 17 (18 pts), boolean chains 8, if/else 4 (5 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_button.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"84538bc5790d9cca1a5d6ddc0769510e36d5057ac4d9f7f33646842c131adf73"}},{"ruleId":"D2","level":"warning","message":{"text":"_HoverTooltipBubbleState._calculateOverlayOffset (cognitive 31): _HoverTooltipBubbleState._calculateOverlayOffset has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (24 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/hover_tooltip_bubble.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b2df693613df19e9c3cd2a37921b8ebdd6267c820eab41dba912681a0e4cd1"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaylistMenuState._loadFileSystemData (cognitive 31): _PlaylistMenuState._loadFileSystemData has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (29 pts), boolean chains 1, error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f594856208f6fbe612439c0f68e7643c18817b72d3cc2b501af24ab733b71b8"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerState._parseSeekStepFrameRateValue (cognitive 31): VideoPlayerState._parseSeekStepFrameRateValue has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 8 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"66588043217ecccc4a7e6f0412de42217ee579d42f86edc26add54d9e4332933"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryAutoMatchHelper.tryAutoMatch (cognitive 31): WatchHistoryAutoMatchHelper.tryAutoMatch has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 3 (9 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/watch_history_auto_match_helper.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3394de3051b1a5add6c7fe4f92da344a01806eb0360b5ccdcae8c0468081a488"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_tvos_icons.generate (cognitive 31): generate_tvos_icons.generate has cognitive complexity 31 (threshold 15). Drivers by points: loops 7 (12 pts), ternaries 3 (12 pts), if/else 2 (7 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/generate_tvos_icons.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac52d171df0edcdd14ab7db648f5b637bd12931727cad23ca94790edc103f655"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::next2_engine::engine::frame::normalize_tokens (cognitive 31): rust_lib_nipaplay::next2_engine::engine::frame::normalize_tokens has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/frame.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eff9b31a005a18276c6bb2b44a0552815400d911dab110de8f4dcf11b6b1f74"}},{"ruleId":"D2","level":"warning","message":{"text":"_ErikaOhosSmokeAppState._run (cognitive 30): _ErikaOhosSmokeAppState._run has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 15, if/else 4 (7 pts), ternaries 2 (4 pts), loops 1 (3 pts), error handling 1 (nesting depth added 7). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/ohos_erika_smoke.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c849e48cc269b8166d63c09ae5e0cb0de6ec0094a4aec82d7c33394d577c3063"}},{"ruleId":"D2","level":"warning","message":{"text":"DfmPlusLayoutBridge.layout (cognitive 30): DfmPlusLayoutBridge.layout has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 4 (7 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7913ee7556a9e3bbde7865c44cc6f8731592ca24452f609e3c2d182f466a2ef"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerAdapter._playDirectly (cognitive 30): VideoPlayerAdapter._playDirectly has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 4 (9 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"df72c9afc876074e20c5056131c5ae1a74ed5dac7f44135efd77386c1100e7e2"}},{"ruleId":"D2","level":"warning","message":{"text":"CertificateTrustService._isLanHost (cognitive 30): CertificateTrustService._isLanHost has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/certificate_trust_service.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"278ea315ac97a6adcdffac778ca72cc622d31059a1c02088195a552ffb4abf31"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getBangumiByTmdbId (cognitive 30): DandanplayService.getBangumiByTmdbId has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 6, ternaries 1 (3 pts), error handling 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dbad799fb6d5f3daea72858bc525209852189c1db601800c9366f425ea131c"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.refreshLinkedBangumiStatus (cognitive 30): DandanplayService.refreshLinkedBangumiStatus has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"267663a5f020db5eac46d2b857ab3818c094b596976037e291bed2ccad18fd75"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDavIncrementalSyncTransport._propfind (cognitive 30): WebDavIncrementalSyncTransport._propfind has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/incremental_sync_transport.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5be3549d28eb3094f0fce06eeb186ca88c9ac4384f2b020970d7af34e10109"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinService.getMediaInfo (cognitive 30): JellyfinService.getMediaInfo has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 9, error handling 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"3174278530c602e5b9d72ccfa592149fe33ab04a9cc3a49946eb493f14c816c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerHistorySyncService._processResumeItems (cognitive 30): ServerHistorySyncService._processResumeItems has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (25 pts), error handling 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/server_history_sync_service.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b435edda80fd42dc8a45c44898e28a65ab0d9b5ab58871b4cf9d0c09677d5d"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubtitleTracksMenuState._loadExternalSubtitles (cognitive 30): _SubtitleTracksMenuState._loadExternalSubtitles has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea4b2a52a9181ffa806bb77c928c69b9b066b730c19e92b7fd880c7b16a3aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVFormState._testConnection (cognitive 30): _WebDAVFormState._testConnection has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 3 (8 pts), error handling 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"19948ddcebb8a8f234ce65c62c951d5973ac3f29cdc835443df4e62c377c2191"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager._activateMdkExternalSubtitleTrack (cognitive 30): SubtitleManager._activateMdkExternalSubtitleTrack has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76245f2b228cba6c67e0c6ca9a269f5221283480da5947fd713378f7f2916a5"}},{"ruleId":"D2","level":"warning","message":{"text":"RustLibNipaplayPlugin.initSurface (cognitive 30): RustLibNipaplayPlugin.initSurface has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 5 (9 pts), ternaries 2 (6 pts), boolean chains 3, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/android/src/main/java/com/flutter_rust_bridge/rust_lib_nipaplay/RustLibNipaplayPlugin.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2cbe7b4ad36cd87a592eae31ec456ad2751a93fa9e40f8cc0fe9fdaa6b7024"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.register (cognitive 29): DandanplayService.register has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 4, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7294a639a85116dd84fa7f65898e22dd9072ddd1a9d9bbfb8a7dffb1dbd436"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._createEmbyHistoryItem (cognitive 29): EpisodeNavigationService._createEmbyHistoryItem has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (20 pts), error handling 2 (4 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f280208f32f9ddbec305b967a706daa3e673131d4bc4d4d96b0f4c56cc99f2a"}},{"ruleId":"D2","level":"warning","message":{"text":"IncrementalSyncCodec.inflateState (cognitive 29): IncrementalSyncCodec.inflateState has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (23 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/incremental_sync_repository.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"30469e33e13c8173742fb9e55a450224ed5db872caf6cb5b7615d35959da5317"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarterlyReviewCache.reserveCollectionProbe (cognitive 29): QuarterlyReviewCache.reserveCollectionProbe has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7, loops 1, ternaries 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/services/quarterly_review_cache.dart"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d0d5fb53d8d0e5aee0e6fed5259aaa9a9a8713f3df10e32ce4d24d4a61a1ec"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSubtitleService._listSharedRemoteFontCandidates (cognitive 29): RemoteSubtitleService._listSharedRemoteFontCandidates has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (21 pts), ternaries 2 (4 pts), error handling 2, boolean chains 1, 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/services/remote_subtitle_service.dart"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cbc8314f15a2563a053a3c11f34810d0972554b7bd858ea6ea37d774a17864"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteTextInputApiService._handlePost (cognitive 29): RemoteTextInputApiService._handlePost has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2 (4 pts), boolean chains 3, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_text_input_service.dart"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ca4c5e2abb7094c36d05edc087947feb12c3c10e996802202bd1fc1abcea7c"}},{"ruleId":"D2","level":"warning","message":{"text":"_BackupRestorePageState._showFullBackupDialog (cognitive 29): _BackupRestorePageState._showFullBackupDialog has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (15 pts), error handling 7 (8 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2887ae2ffceb47f3ae6e0dbb1e9a5df488e851ee42794be9d413b3ba9b4bcc00"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaplayAnimeDetailLayout.build (cognitive 29): NipaplayAnimeDetailLayout.build has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 7, if/else 6 (7 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/anime_detail_shell.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"715430f0c02435964c65c622e2c3521e029b227024f61c817234f4fb627fbce5"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._buildAdaptiveManagementView (cognitive 29): _LibraryManagementTabState._buildAdaptiveManagementView has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 15 (22 pts), if/else 4, boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede82f199d1ef3a51436d481b090e6640c1a6035be0656ff01e1c709f42ed300"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsItem._buildLargeScreen (cognitive 29): SettingsItem._buildLargeScreen has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 10 (20 pts), if/else 3 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/settings_item.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4898ceaeeffc2ff14bc0fb5fd6ec799525db1c921f60310b53197c145b98e07"}},{"ruleId":"D2","level":"warning","message":{"text":"_MdkOhosSmokeAppState._run (cognitive 28): _MdkOhosSmokeAppState._run has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 10, ternaries 3 (6 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/ohos_mdk_smoke.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b1d2343b0edb8156cad2aa94e5f20acbd4c82afe84e57f00e709c0a0372a76"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._handleBangumiCollectionSubmitted (cognitive 28): _AnimeDetailPageState._handleBangumiCollectionSubmitted has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":3792}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb696eb3cdb0f7c4bae8888e99d20cd908963cc3e8921aaaa90bb25c2512eb43"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginService._importPluginFromContent (cognitive 28): PluginService._importPluginFromContent has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1cb488068d92510ee2878fa1d400c6df6454a165e33689d6ad66f9982f533d"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider._refreshLibraryForHost (cognitive 28): SharedRemoteLibraryProvider._refreshLibraryForHost has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 3, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a538ce16cabff36ca03ef01dfb16875fe6e2139573924462e2bd09389143c639"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoSyncService._synchronizeRepository (cognitive 28): AutoSyncService._synchronizeRepository has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 5, loops 4, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/services/auto_sync_service.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23690713ea8306661f788332cc4073b8e1d217d81147d9a163561db8c3dda0a"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getEpisodesWatchStatus (cognitive 28): DandanplayService.getEpisodesWatchStatus has cognitive complexity 28 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 4 (12 pts), boolean chains 3, error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b140a97b22e39b5dd49155ec701d39df6f49f513b9e7b0f1c0e991dbacde4c1"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinDandanplayMatcher._getAnimeEpisodes (cognitive 28): JellyfinDandanplayMatcher._getAnimeEpisodes has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (4 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bc652a163120de177674bc4361125b7201fc86d64827393baae974d7ff061c"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinService.getLatestMediaItems (cognitive 28): JellyfinService.getLatestMediaItems has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5, error handling 2 (4 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/services/jellyfin_service.dart"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa145ef7a170e442cdbc0090e775c6a24ce56b1a254e8ee72015fe2651e9b565"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackSourceService._resolve (cognitive 28): PlaybackSourceService._resolve has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 2, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56eb537891e0b0344e1dee4bb49e8fbb7439575ef41c190561a2f2becb7bd9f"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSubtitleService._listSharedRemoteAudioCandidates (cognitive 28): RemoteSubtitleService._listSharedRemoteAudioCandidates has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (20 pts), ternaries 2 (4 pts), error handling 2, boolean chains 1, 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/services/remote_subtitle_service.dart"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f22ee95ab55da2f9d44547b9c894e9bf5c4d92cf3e8c1582e47452b8a693d12"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkMediaServerDialogState._handleTranscodeEnabledChanged (cognitive 28): _NetworkMediaServerDialogState._handleTranscodeEnabledChanged has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 3 (7 pts), ternaries 1 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9ec57ed34e3158176c49050d788540b5f0203c52f0c005a221e85f8e9f24de"}},{"ruleId":"D2","level":"warning","message":{"text":"_SharedRemoteLibraryViewState._appendUnifiedRemoteEntries (cognitive 28): _SharedRemoteLibraryViewState._appendUnifiedRemoteEntries has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 9 (18 pts), if/else 4 (7 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c15034f7d8aa794bf974e97198a8fdeb5fadb218e042604a397602fc0349df"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVFormState._saveConnection (cognitive 28): _WebDAVFormState._saveConnection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 2 (7 pts), error handling 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cf61cc95f72e3517140e74c3dff11953e7afc7fdfb6b4da660cbde0ed1077d"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkChecker.checkConnection (cognitive 28): NetworkChecker.checkConnection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), error handling 3, loops 1 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/network_checker.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d29688b5348194af2c2729513c3b1f1ee3af59d59ea4e80ca2c044bcb31617b"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::dfm_core::retainer::select_scroll_track (cognitive 28): rust_lib_nipaplay::dfm_core::retainer::select_scroll_track has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/dfm_core/retainer.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a947abf85d99b3c20b38d2f230eb74c7bde07448b9576c048a7a532695453447"}},{"ruleId":"D2","level":"warning","message":{"text":"Next2EmojiPipeline.buildPayload (cognitive 27): Next2EmojiPipeline.buildPayload has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/next2_emoji_pipeline.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e3b64478161338a1a9a2a131519f87f5e75608900c9b7cd5b16265d742b251"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryDatabase.migrateFromJson (cognitive 27): WatchHistoryDatabase.migrateFromJson has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 3 (5 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda91312d58a9d626c4af3a68989898d7ce3ecce37a8cc584ae25873ee7f78ad"}},{"ruleId":"D2","level":"warning","message":{"text":"_NewSeriesPageState._loadAnimes (cognitive 27): _NewSeriesPageState._loadAnimes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (23 pts), error handling 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/new_series_page.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"63961b2074fe8121976f11fb5e70f69e3afa5d5f866f74bb0d5ca05571ea74a0"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlayVideoPageState._captureScreenshot (cognitive 27): _PlayVideoPageState._captureScreenshot has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abc474b1592f9884dbea42980f7a0c7a7fd20e8243a5fbd9c5f3e821ea73dfa"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._handleActiveSubtitleTrackDataChange (cognitive 27): MediaKitPlayerAdapter._handleActiveSubtitleTrackDataChange has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"4deac02c447a9f2fcf829249f2916fb9bab1f945858a30a0ca661b1a23d1f3ec"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._onTick (cognitive 27): MediaKitPlayerAdapter._onTick has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (10 pts), boolean chains 5 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3480}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7782fe6939d5892756654e9847762553ff01bebbf0e4623729e530a8c736e61"}},{"ruleId":"D2","level":"warning","message":{"text":"AniSkipService._requestSkipTimes (cognitive 27): AniSkipService._requestSkipTimes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/intro_skip/aniskip_service.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdc54f7eadb9648d008239fd25e475494cb3b2d7ab83b65c73f7b132bfbcdd5"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService.getSearchConfig (cognitive 27): SearchService.getSearchConfig has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 3 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/search_service.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"676de777334d523ae03bfae13e124835b720957a2a1f9f3d792d8ea897bc9527"}},{"ruleId":"D2","level":"warning","message":{"text":"_AppearanceSettingsContentState._pickImageFromGalleryForBackground (cognitive 27): _AppearanceSettingsContentState._pickImageFromGalleryForBackground has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 2 (5 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/appearance_settings_content.dart"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"92818aa0bbf21cecd0fa2f17dacf523560155194652f827eef73c0cf0e00f434"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuSettingsMenuState._applyDanmakuFontFromLibrary (cognitive 27): _DanmakuSettingsMenuState._applyDanmakuFontFromLibrary has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 1 (3 pts), error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3be6aa974d5609424c417df1795938fb9d326ddc4fdb75796c3d3e487dc7007"}},{"ruleId":"D2","level":"warning","message":{"text":"HorizontalAnimeCard.build (cognitive 27): HorizontalAnimeCard.build has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 10 (19 pts), if/else 5, 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/themes/nipaplay/widgets/horizontal_anime_card.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05f1baa46c404facca84887a0edac612aa17507e3a9ba36e844ba5ed7487f73"}},{"ruleId":"D2","level":"warning","message":{"text":"_LoadingOverlayState.build (cognitive 27): _LoadingOverlayState.build has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 18 (21 pts), boolean chains 4, if/else 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/loading_overlay.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8204f7e09fac87425a09553465e5e853e9b949d169a016926a5c6e7020c95fd3"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager._lookupPersistedDisplayName (cognitive 27): SubtitleManager._lookupPersistedDisplayName has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 1 (4 pts), boolean chains 3, error handling 2 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"efddfc1361224f0159e611b66f37b2aff72d652f75ed3b48a50f32c7c852d10b"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::api::next2::next2_prepare_layout (cognitive 27): rust_lib_nipaplay::api::next2::next2_prepare_layout has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 4, match/switch 2 (4 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":"rust/src/api/next2.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe0388883241a7a1d09c1b38eedb7c2ee5f2b37c7f1a51f3c8641903280fc9c"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryDatabase.mergeWatchHistoryBatch (cognitive 26): WatchHistoryDatabase.mergeWatchHistoryBatch has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"7689b8b3e66971cee1e51144fc905e98862ba74c78aa5e0d7b3550a45e7f2870"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._showEpisodeListCleanupDialog (cognitive 26): _AnimeDetailPageState._showEpisodeListCleanupDialog has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 3 (9 pts), boolean chains 1, error handling 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":3617}}}],"partialFingerprints":{"codehealthFindingId/v1":"6693b3c514ae2165d7057538391fa4d8193b8339c5edec4f5d8634dd38ca5558"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayErikaWindowOverlayVideoViewState._sendOverlayFrame (cognitive 26): _NipaplayErikaWindowOverlayVideoViewState._sendOverlayFrame has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 5, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"490a514e77c4d2f9b93496378ddf5cf4b66d4b01f619900c7e3f69865bd5c861"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._requestWindowsNativeVideoHandlesWithRetry (cognitive 26): MediaKitPlayerAdapter._requestWindowsNativeVideoHandlesWithRetry has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 6, error handling 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eb9aacfe3d00f43c7df176b9fd8adcf894f928df1ef6b6d7af51caf15ad8f6"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getBangumiOAuthLoginUrl (cognitive 26): DandanplayService.getBangumiOAuthLoginUrl has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"0759568682f1468a42638a5b3375867c632ea5adbfab71bc4280eeeee712114d"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getDanmaku (cognitive 26): DandanplayService.getDanmaku has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), error handling 3 (7 pts), loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"2984c4db2ba7d80c8c18478486ec4cb46c85995c640883aebeff9cb886c596fc"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.addFavorite (cognitive 26): DandanplayService.addFavorite has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (21 pts), error handling 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/services/dandanplay_service_stub.dart"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f624998cbbb61445288ba5fb1784970dbee2476bc55ac01148246ac9d6d5c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePickerService.pickExternalPlayerExecutable (cognitive 26): FilePickerService.pickExternalPlayerExecutable has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"e316a382044ed9853cad57ad3ec073b4b21546f9c91f895e5db465618eae67d8"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePickerService.pickDirectory (cognitive 26): FilePickerService.pickDirectory has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (21 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"559da01baaadfd4892834f9b7c987402438d62e92280de5629e85be47c29bc78"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNumberExtractor.extract (cognitive 26): EpisodeNumberExtractor.extract has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/intro_skip/episode_number_extractor.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9534421b88755c8cd9c49525598c614e27560b1aaf0d1d226ba009c2a4ccda"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinService.loadAvailableLibraries (cognitive 26): JellyfinService.loadAvailableLibraries has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 3, loops 1 (3 pts), error handling 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d18a4660b00249250195adba8be7f1f980dd6b029828dc549c3ee98d0fb9c3"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaServerServiceBase.connect (cognitive 26): MediaServerServiceBase.connect has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5, error handling 1, ternaries 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/services/media_server_service_base.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a141da91fa809802c2db5fee11e16a19fbbd8507ae06a379b2b6f6e18c5d9ad7"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaServerServiceBase._makeAuthenticatedRequestWithRetry (cognitive 26): MediaServerServiceBase._makeAuthenticatedRequestWithRetry has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_service_base.dart"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bf6e73fc5c3347d9a74539027058cbc7d5ede2f1088c044d64c290ef4d3114"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaServerWatchHistorySync.refresh (cognitive 26): MediaServerWatchHistorySync.refresh has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 7, loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_watch_history_sync.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44484ae782d2d935f596edf1f915fc19a0b0b13f78995bee0d8222471fe4cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"TorrentSessionStorage.prepare (cognitive 26): TorrentSessionStorage.prepare has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (6 pts), ternaries 3, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/torrent_session_storage.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c5557276051df707ec26ed9591b589dea04f78a301a23327b2c293f38b491c"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoDanmakuSettingsPaneState.build (cognitive 26): _CupertinoDanmakuSettingsPaneState.build has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 8 (10 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c04e470dbe0ef9ffa549eef91bad645daa2e8b0106013a8d4adcc4d008de8a0"}},{"ruleId":"D2","level":"warning","message":{"text":"_CustomScaffoldState.build (cognitive 26): _CustomScaffoldState.build has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 14, ternaries 10, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_scaffold.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caeda633e3d44ef9467ae4a665967d8752f6725ea54a44f108f3af6220241f8"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuSettingsMenuState.build (cognitive 26): _DanmakuSettingsMenuState.build has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, ternaries 4, error handling 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"99de20c863f0a7ea71d3d1bd768389e08372e7e79b25eb7bd61a10e9beb26736"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._sortContents (cognitive 26): _LibraryManagementTabState._sortContents has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 4 (12 pts), error handling 4 (8 pts), if/else 3, boolean chains 2, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f235232adb575396b282ac890d6983aea91949f6e711f8ce3bd2a72bcb242c"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._showBatchDanmakuMatchDialog (cognitive 26): _LibraryManagementTabState._showBatchDanmakuMatchDialog has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4395}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea17209f09583be8fc02677059fed45e9094cf9f26705451f99e925eccafd7c"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebRemoteAccessGateState._autoMountSharedLibraries (cognitive 26): _WebRemoteAccessGateState._autoMountSharedLibraries has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/web_remote_access_gate.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea6bd6b8d746399a40b49e7fd12d80cd49927227953783740b41d0d1eadb4c5"}},{"ruleId":"D2","level":"warning","message":{"text":"MacOSStorageMigration._hasDataToMigrate (cognitive 26): MacOSStorageMigration._hasDataToMigrate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 1 (2 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/macos_storage_migration.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"04df753da075871769ea26184f33fb578c7e70b3d83b570b9864a8b80b82b641"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteMediaFetcher._parseContentDispositionFileName (cognitive 26): RemoteMediaFetcher._parseContentDispositionFileName has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, error handling 1 (3 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/remote_media_fetcher.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"8873a4546052f7a7031e20cc37b23eb683e4bde1cefdee612422889cc4142236"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleParser._scoreDecodedText (cognitive 26): SubtitleParser._scoreDecodedText has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 7, loops 1, ternaries 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/utils/subtitle_parser.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f1c7a2785f7615ee0085ccd8e484afae66cdc72a04454fb2d72d1e4e4aa7c9"}},{"ruleId":"D2","level":"warning","message":{"text":"_SingleDanmakuState._calculatePosition (cognitive 26): _SingleDanmakuState._calculatePosition has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 2, ternaries 1 (2 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/single_danmaku.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e38f24ca2b90ad0c8b5da39cecb2a9952fa046a3a178ef4a59636711b98103b"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::api::media_metadata::subtitle_compute_match_score (cognitive 26): rust_lib_nipaplay::api::media_metadata::subtitle_compute_match_score has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 8, loops 1 (2 pts), match/switch 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"rust/src/api/media_metadata.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91928fc381a7b96df9bab5e4f6df2baef23f68cb52c908b0628999908957039"}},{"ruleId":"D2","level":"warning","message":{"text":"nipaplay_dandanplay_gateway::proxy (cognitive 26): nipaplay_dandanplay_gateway::proxy has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 5 (6 pts), boolean chains 4, loops 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"server/dandanplay-gateway/src/main.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d90dbad8bdc1edf6fe0615a000d3f24a2bc8b8470b15e72d5bbc1da2b21bd94"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaPlayNext2OverlayState._tryUpdateTexture (cognitive 25): _NipaPlayNext2OverlayState._tryUpdateTexture has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 6, ternaries 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next2_overlay.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f991cdac3cdbc6913636ba8bf5d3fa56627e5e2bb20b3f2772a58a3ec4b42cc8"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryManager.addOrUpdateHistory (cognitive 25): WatchHistoryManager.addOrUpdateHistory has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (20 pts), error handling 2 (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/models/watch_history_model.dart"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"a689d585927829cfab29e7d08130261c218e8b51d42e98cc6ab14f66fc6ec64e"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState._loadEpisodesForSeason (cognitive 25): _MediaServerDetailPageState._loadEpisodesForSeason has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 1, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5198f7362dc2ac81fdb3cd8029fbe891b3351d0e9a90b7a97a6c1635061c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlayVideoPageState._shareCurrentMedia (cognitive 25): _PlayVideoPageState._shareCurrentMedia has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 8, error handling 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1949f97c82bb9213e380f9e0d09f0c4744b17f9147abd288af2bb772278b7e5a"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider.addRemoteFolder (cognitive 25): SharedRemoteLibraryProvider.addRemoteFolder has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 2 (4 pts), loops 1 (3 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0019abbbc0f27e43314a7f7599f4f8c5b4da99b172d03a7e42766037273055a"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryProvider.loadHistory (cognitive 25): WatchHistoryProvider.loadHistory has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/watch_history_provider.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"668cce4591e6129e4dc3aba655061532f471365bf479e3809429cf9b72207a45"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayHttpClient.send (cognitive 25): DandanplayHttpClient.send has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 10 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_http_client.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"05484573a3f999a6a7a3788140268e5f296785fd85b00714fbc7a0186d76585a"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuSpoilerFilterService.detectSpoilerDanmakuTexts (cognitive 25): DanmakuSpoilerFilterService.detectSpoilerDanmakuTexts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 1 (3 pts), match/switch 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/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2709efb87584011d037aaee814cc983ec45e683817704edb50b192b684e2df22"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyService._buildPlaybackSessionFromResponse (cognitive 25): EmbyService._buildPlaybackSessionFromResponse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 7, loops 2 (4 pts), ternaries 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c84e3d00a91b79560864172a3736bc0ee1eb140568ac5959a3d39eb9dd1334a"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._createJellyfinHistoryItem (cognitive 25): EpisodeNavigationService._createJellyfinHistoryItem has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (18 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a80558b84f93149dabea442a817e5f1cb76d9ae9ad8b54486ec43f541ab1ae8"}},{"ruleId":"D2","level":"warning","message":{"text":"FullBackupService._collectPreferences (cognitive 25): FullBackupService._collectPreferences has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 22, if/else 1 (2 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6cd15cf1a193448c8346782c73db9a624311716512bbaaea2c4b14fbd362c3"}},{"ruleId":"D2","level":"warning","message":{"text":"FullBackupService.importBackup (cognitive 25): FullBackupService.importBackup has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (6 pts), boolean chains 2, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a4bad38054586dd92fb62d68195a4efcd08d5154a56fe99aa82e846877bbfc"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinService.createPlaybackSession (cognitive 25): JellyfinService.createPlaybackSession has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, ternaries 4 (6 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07f5899b492a2fd4f92a68c93df0a5219570aa64ad08c061a2b93696cec3928"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinService._buildPlaybackSessionFromResponse (cognitive 25): JellyfinService._buildPlaybackSessionFromResponse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 7, loops 2 (4 pts), ternaries 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8fee85fd3189cd99eb5a9c6602f97614af4f207db8061e6d03f465008e0be2"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSubtitleService._listManagedLibraryCandidates (cognitive 25): RemoteSubtitleService._listManagedLibraryCandidates has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 2 (4 pts), error handling 2, boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"03168feeef35d8f455c6123ab168f1306c619873c79fee7b48cbc52775e1d447"}},{"ruleId":"D2","level":"warning","message":{"text":"SMBProxyService._parseRangeHeader (cognitive 25): SMBProxyService._parseRangeHeader has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f2afb51156b3ae5cc9de156b4fe7a87949a5f79879d9996f21e4fee9e77b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"WebServerService.startServer (cognitive 25): WebServerService.startServer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 3 (7 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_server_service.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f55f2c6e6b47da42a265a73ab325a6ef2b923a92e03037c1ff708b9e07e5a16"}},{"ruleId":"D2","level":"warning","message":{"text":"WebServerService._accessUrlSortWeight (cognitive 25): WebServerService._accessUrlSortWeight has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 8 (12 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_server_service.dart"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3750af78916e45eda961ee9695fd3ca4b6c11183308d763fe12a9e30b82a2fe"}},{"ruleId":"D2","level":"warning","message":{"text":"_UnifiedRemoteAccessSettingsContentState._scanQrAndConnect (cognitive 25): _UnifiedRemoteAccessSettingsContentState._scanQrAndConnect has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 1 (2 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e742289af6bbf8cca7cd1838eb4a93f70e422040f9e785597fae7c0f2fbbcdc1"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoDanmakuListPaneState.build (cognitive 25): _CupertinoDanmakuListPaneState.build has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 6 (9 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c695e9293cf5d0dd2f50d9db32b44e0afaedc4736ae730707bcaa436619178fb"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoSubtitleTracksPaneState._loadExternalSubtitleFile (cognitive 25): _CupertinoSubtitleTracksPaneState._loadExternalSubtitleFile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (23 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b920d27681cd61d902c0585eea3724f25ff823eb9a086b6f75e963280ba0db30"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaCaptureDialogContentState._exportFile (cognitive 25): _MediaCaptureDialogContentState._exportFile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 5, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9acd055fc9dedb83cbe6a298ec25b31d9bd0167ba42e2984675092dc1eaced"}},{"ruleId":"D2","level":"warning","message":{"text":"_VideoPlayerUIState._shareCurrentMedia (cognitive 25): _VideoPlayerUIState._shareCurrentMedia has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 8, error handling 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"122734e7a8f7b78896c507d3cb9ccc29ff5c86035baff01eff2897d4d21c1427"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageCacheManager.clearCache (cognitive 25): ImageCacheManager.clearCache has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 3 (9 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"afecf0b5cd5dee4a274e0839ed72e7e46c256f3b1dbd443976db2c1bb5047257"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerKernelManager.performPlayerKernelHotSwapSteps (cognitive 25): PlayerKernelManager.performPlayerKernelHotSwapSteps has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (24 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/utils/player_kernel_manager.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a33bc08d1416c7456c1aa0742d6fcfafd6e332a4459f52addad024f852b75c"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuContainerState._resize (cognitive 25): _DanmakuContainerState._resize has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 5 (11 pts), loops 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/widgets/danmaku_container.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"304ec0c752e93f09f3db87f4ae84d5fcd510a6002a014e8a6af946bf4fdc9641"}},{"ruleId":"D2","level":"warning","message":{"text":"MacOSNativeVideoPlugin.handle (cognitive 25): MacOSNativeVideoPlugin.handle has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 2, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ab8973e8f81101631fed35697340db2d11393325f26458f57d9c00fd3b7c1b"}},{"ruleId":"D2","level":"warning","message":{"text":"_ReopenSmokeState._run (cognitive 24): _ReopenSmokeState._run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 1 (2 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/ohos_mdk_reopen_smoke.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78833eed2fa9e4bcbee001e5bd50f69cd4e80501f4693286322d402a40f0e07"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaPlayNextEngine._prepareMergedDanmakuList (cognitive 24): NipaPlayNextEngine._prepareMergedDanmakuList has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b250fb5f30449469b296fd602bfb3b0cdf96bf776d10fe74c5377d928e77ea4"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaPlayNextOldEngine._prepareMergedDanmakuList (cognitive 24): NipaPlayNextOldEngine._prepareMergedDanmakuList has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"216b951b9baf122530a0de131504bacbfbc163c4b6f63c75f90303a8d6978fb6"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShortcutsSettingsPageState._handleKeyPress (cognitive 24): _ShortcutsSettingsPageState._handleKeyPress has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 10, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/shortcuts_settings_page.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d70b0f61c036ae8842d1a34b921b7dc52f16b9c16dc44bba050c278803477d"}},{"ruleId":"D2","level":"warning","message":{"text":"_TorrentDownloadPageState._playTask (cognitive 24): _TorrentDownloadPageState._playTask has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/torrent_download_page.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8a1759e3992658c3bbe81c61b21b9a94c4498fc6dcfb6fa65ace5f0e5ba37a"}},{"ruleId":"D2","level":"warning","message":{"text":"ErikaPlayerAdapter._flushDanmakuConfig (cognitive 24): ErikaPlayerAdapter._flushDanmakuConfig has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (6 pts), boolean chains 1, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd7b60440bdc3a32c1e89c2679cc5e865a64e51455ddb4823b56478d8542cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._openMainMedia (cognitive 24): MediaKitPlayerAdapter._openMainMedia has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, error handling 2 (4 pts), ternaries 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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1390a5865e57369341ba3bb520c60e04fecd069bbfe5cad3b2336ca7aaf9426"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiApiService._makeRequest (cognitive 24): BangumiApiService._makeRequest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 2 (5 pts), boolean chains 2, match/switch 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/services/bangumi_api_service.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"49244ca66cc94a2902d8d81869afbecb2d825866e5c109527a9aade6c4125e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.addPlayHistory (cognitive 24): DandanplayService.addPlayHistory has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 2 (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/services/dandanplay_service_stub.dart"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"6970b7206910a72be9f0dc8cd84b58a276eddc88287181825310388b7572e10a"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyService._addTranscodeParameters (cognitive 24): EmbyService._addTranscodeParameters has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 7, ternaries 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cbc1f8271923edcb77804d83533562db677be2b261d2aa7ca6bd951a96ef0b"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinService._addTranscodeParameters (cognitive 24): JellyfinService._addTranscodeParameters has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 7, ternaries 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"83651ada79ce58198d205d37b332fcfcf7513a736bee0edb33d14483f0a2781b"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaShareService.buildExternalAudioResponse (cognitive 24): LocalMediaShareService.buildExternalAudioResponse has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 5 (8 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"7566c4ede5a4c4eaf4cc67928d0c99b187352975f2179f7c26ef0f1768897faf"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSubtitleService.ensureFontCached (cognitive 24): RemoteSubtitleService.ensureFontCached has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 1, error handling 1, ternaries 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/services/remote_subtitle_service.dart"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2c283a92d59e696fc652e889dd7739827bb39845b806f42b563cd27587e139"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemProxyService._parseMacOSProxyOutput (cognitive 24): SystemProxyService._parseMacOSProxyOutput has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5, 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/services/system_proxy_service.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1024f25d57cd50f4dac1fea5b48323b071c3c7e2a3f2836a1bcb7a7940e5ee09"}},{"ruleId":"D2","level":"warning","message":{"text":"WebApiService.handleGetLocalMediaItemsRequest (cognitive 24): WebApiService.handleGetLocalMediaItemsRequest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (15 pts), error handling 2 (4 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"26677e3e06d66a02ff753e0fa5d9feaaf0a79f20175a08858f7482cc9f61c61a"}},{"ruleId":"D2","level":"warning","message":{"text":"_StorageSettingsContentState.build (cognitive 24): _StorageSettingsContentState.build has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (11 pts), if/else 6 (8 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/storage_settings_content.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccebe02f84161707fd63f0fe30bd54fbb75e05ffc8b907b74adc8359b393b682"}},{"ruleId":"D2","level":"warning","message":{"text":"CupertinoAudioTracksPane._buildServerTrackTile (cognitive 24): CupertinoAudioTracksPane._buildServerTrackTile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 5 (9 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d6abd24f9a125a9659184746b49e8bd27507ead171ae639abb5ae97aec3e54"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoSubtitleListPaneState._loadSubtitles (cognitive 24): _CupertinoSubtitleListPaneState._loadSubtitles has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9255c739fe32600fe4da9f99184761943a42c6c104ee3433d37e3032ad7d0b"}},{"ruleId":"D2","level":"warning","message":{"text":"_BlurDropdownState._openDropdown (cognitive 24): _BlurDropdownState._openDropdown has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12, if/else 7 (8 pts), boolean chains 4 (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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e048f91e44fc16fc19b1cff6ca96a0f79bc1fe457b77ce995ffd4cb62ab236"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayLargeScreenAnimeDetailPageState._buildEpisodeCard (cognitive 24): _NipaplayLargeScreenAnimeDetailPageState._buildEpisodeCard has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (13 pts), if/else 6, boolean chains 5 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"3885744e90509f5b287db28a02fe7ad4d516b97e0e6050b7ffcab4a17b7eb9b0"}},{"ruleId":"D2","level":"warning","message":{"text":"_LocalLibraryControlBarState.build (cognitive 24): _LocalLibraryControlBarState.build has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 8 (9 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/local_library_control_bar.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b681b7d801f1d398165969173db1681136a5bc5c1d85e819c6cdc66fd8621318"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVFormState.build (cognitive 24): _WebDAVFormState.build has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 13, if/else 6, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c97f15c8666cc9327b0d44ca8e1631a4bc160a4977d17259f47fd25330e557"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaSourceUtils._matchesRemoteWebDavConnection (cognitive 24): MediaSourceUtils._matchesRemoteWebDavConnection has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_source_utils.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc2bb5adbe357564528491e8caa36d69a087aa1407fec4f0865d14029c3835f"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuContainerState._getCachedGroupedDanmaku (cognitive 24): _DanmakuContainerState._getCachedGroupedDanmaku has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4be98ca3b2325aa1b08a6bb2b6df1d4afe9136920a5835fcd6c4b7d73a1024"}},{"ruleId":"D2","level":"warning","message":{"text":"RustLibNipaplayPlugin.getTextureInfo (cognitive 24): RustLibNipaplayPlugin.getTextureInfo has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 7, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c5438e6ac00bfd3fa8a0ea30bece84272c42b9bc13a17b2c644366014c0780"}},{"ruleId":"D2","level":"warning","message":{"text":"RustLibNipaplayPlugin.getTextureInfo (cognitive 24): RustLibNipaplayPlugin.getTextureInfo has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 7, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/macos/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cf344efd171afdc6b1ecc93fa806cf6f20ef011aead942852e9fdb16ba751f"}},{"ruleId":"D2","level":"warning","message":{"text":"MainPageState._handleThemeToggleFromButton (cognitive 23): MainPageState._handleThemeToggleFromButton has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 3 (6 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/main.dart"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45b0a2fe18c81c55c7d8ef64ce2b393f68e57f462818541ea9056351bef63e0"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState.updateEpisodeWatchStatus (cognitive 23): _AnimeDetailPageState.updateEpisodeWatchStatus has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (4 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7367d5e2fd1f427f5d4337f0ced8e89a79b98e3253d715d4fd2560cd1c17b771"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVBrowserPageState.build (cognitive 23): _WebDAVBrowserPageState.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 7, boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7349cda4a8102a872a932935a82635e9edbad6bd665d77ae457c6713cf058bc6"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginService._reloadPlugins (cognitive 23): PluginService._reloadPlugins has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (6 pts), error handling 2 (4 pts), boolean chains 3, loops 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/plugins/plugin_service.dart"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1c99509ac5f39fa47765b28d46d75256d77cdc0978c60082f078a20aca4fa3"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider.testSMBConnection (cognitive 23): SharedRemoteLibraryProvider.testSMBConnection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (7 pts), error handling 2 (4 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fac7e5aa69c3e8461c9631f835f0caca366e308552953a506ea4992b9e71a96"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider.removeRemoteFolder (cognitive 23): SharedRemoteLibraryProvider.removeRemoteFolder has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 2 (4 pts), loops 1 (3 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91af5e16cac1f4b904e4165c11c56b3b6a7b5927a749b74910d1e4c3ec2fcb6"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiApiService._syncLoginStatusFromServer (cognitive 23): BangumiApiService._syncLoginStatusFromServer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 2, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_api_service.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"16be7bee03e0045e4bc8d19a041e507f365850cd6f302b9985fab46f36ec0b99"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService._renewNow (cognitive 23): DandanplayService._renewNow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2768bf4ed33c934013807d82e5046c40a8d29681cf27d01ec49f323b5812f0"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService._tryExtractEpisodeNumberFromFileName (cognitive 23): DandanplayService._tryExtractEpisodeNumberFromFileName has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 9, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb11e83f44cee316e91500eae30aef11d6474a7bd10870382ca5d755454bfe8f"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getCachedVideoInfo (cognitive 23): DandanplayService.getCachedVideoInfo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (22 pts), error handling 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8650df250a67a1ee372c383057db7f3f5164c5c98c379fa013d7d3613073aa8e"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService._fetchBangumiDetailsFromApi (cognitive 23): DandanplayService._fetchBangumiDetailsFromApi has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e82c7d2af44e94a49a9e2c8a697839979c188afcef8a845960fea75ef597fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService._tryExtractEpisodeNumberFromFileName (cognitive 23): DandanplayService._tryExtractEpisodeNumberFromFileName has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 9, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":2317}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c42792767c4a69cbf7ca4acd2895d4555a754e195b34044c1cb277126fd95a"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyService.downloadSubtitleFile (cognitive 23): EmbyService.downloadSubtitleFile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 1 (3 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d9ab21e84591eaecb675f7c5fd3deaeeab7289b370b14ae3b8187078d97b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePickerService.pickVideoFile (cognitive 23): FilePickerService.pickVideoFile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (4 pts), boolean chains 3, ternaries 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/services/file_picker_service.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfaccab93e5e0b9f7de793c5b3dbaff5349a3cc888e85aeacbac3dd444becc6"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuIntroDetector.detect (cognitive 23): DanmakuIntroDetector.detect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/intro_skip/danmaku_intro_detector.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"203780b0cb182f73f6f28f4cf9114f2fe6022c685f13d6969015a31c1b9321c7"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaManagementApi._handleBrowse (cognitive 23): LocalMediaManagementApi._handleBrowse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 1 (3 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee77abc0b2a3860f0c8df4f492e5e85d26d6e9ef5fd528d71b61ba3ed9906611"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaShareService.buildStreamResponse (cognitive 23): LocalMediaShareService.buildStreamResponse has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 4 (7 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3b447597eaf5c92b340487e785916fa79b759eef62ffcb82c87bd4cbf957db"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaShareService._collectFontFiles (cognitive 23): LocalMediaShareService._collectFontFiles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c192fffc70aaf1de08ec6765df37dfad742a2cb85273a38eb32a34d60652f36e"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackSourceService._resolveDandanplayRemote (cognitive 23): PlaybackSourceService._resolveDandanplayRemote has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 5 (7 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3da0b42d7724d7375688df114682d07e6dba505370db4fc19ea1f247d115704"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchService.searchAnimeByTags (cognitive 23): SearchService.searchAnimeByTags has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 2 (3 pts), 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/services/search_service.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0daaa1e694ae0db89e1d856865ce6dc1e11647589ab986e71b497d0ef5cb0f18"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemProxyService._loadWindowsProxySettings (cognitive 23): SystemProxyService._loadWindowsProxySettings has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/system_proxy_service.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d56085095f240bded128963c4de4029c0017285552ad03a6923d780f6260411"}},{"ruleId":"D2","level":"warning","message":{"text":"_BlurDropdownState.build (cognitive 23): _BlurDropdownState.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9, boolean chains 7, ternaries 7. 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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16b12f57c2b4f0bebba99dcf5c7489e24dfe57f0fb1dfaa88acdb0a17f3321c"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._buildFileSystemNodes (cognitive 23): _LibraryManagementTabState._buildFileSystemNodes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 4 (5 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"99483d20f55deebcce534f1a2a2f048494702ed1a3794f86d6cec2e7093e25be"}},{"ruleId":"D2","level":"warning","message":{"text":"_ManualDanmakuMatchDialogState._loadAnimeEpisodes (cognitive 23): _ManualDanmakuMatchDialogState._loadAnimeEpisodes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (4 pts), loops 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c205ae6e8303f856847d6b83f86f3cbc8e7aa940dc4d0994f34003ccf49384ba"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteHostSelectionSheet.build (cognitive 23): SharedRemoteHostSelectionSheet.build has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 17, boolean chains 3, if/else 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5156c8aa01488e1345f517a637fb86033900241b73d702474580597b751e93b"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemResourceMonitor._updateFromRustSamples (cognitive 23): SystemResourceMonitor._updateFromRustSamples has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, error handling 3, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/system_resource_monitor.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"551ff8212591df0e985dcb5d50b09fe8694d13312c3684d7da3dd9fb95452313"}},{"ruleId":"D2","level":"warning","message":{"text":"MpvSession._isProcessRunning (cognitive 22): MpvSession._isProcessRunning has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 3 (6 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e941aec1722b830d210a87fbb7110bdbf7f1f658d79902d2f576c013e60664"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryDatabase.mergeEpisodeMatchBatch (cognitive 22): WatchHistoryDatabase.mergeEpisodeMatchBatch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (5 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a099b1dd74e9d491c5bce686e24adda3fff6150d2f3925a1c7e066a85ed331"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVBrowserPageState._buildLargeScreenFileCard (cognitive 22): _WebDAVBrowserPageState._buildLargeScreenFileCard has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 7, boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b06bf5cfe6dfe7eb7ea6ddd085deca988d9e576cd908ebfed58d68742c2df66"}},{"ruleId":"D2","level":"warning","message":{"text":"ErikaPlayerAdapter.snapshot (cognitive 22): ErikaPlayerAdapter.snapshot has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (8 pts), boolean chains 3, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e973ba30cccb55ab6ae52a604295a0f2aa9de5433a5344c1d0bd8b1573e0e3f"}},{"ruleId":"D2","level":"warning","message":{"text":"AppearanceSettingsProvider._loadSettings (cognitive 22): AppearanceSettingsProvider._loadSettings has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/appearance_settings_provider.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0fe7f24798b728c05c5eaa4876cbe750b2e5174f10c4081cb97256e33cb7b5"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider.loadAnimeEpisodes (cognitive 22): SharedRemoteLibraryProvider.loadAnimeEpisodes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb82ea9467db41366245b0faa2b7c5621bee5454ada98994a064af73e6dad957"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getCachedVideoInfo (cognitive 22): DandanplayService.getCachedVideoInfo has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (22 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae366e2392ebe28fc14e50f03637c29456ce0419903aa51a5466756f719b109"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.removeFavorite (cognitive 22): DandanplayService.removeFavorite has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 2 (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/services/dandanplay_service_stub.dart"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2469a056f471d024924de9d94baff3591448ca94538836587295d28a14ba74a"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._updateCurrentEpisodeHistory (cognitive 22): EpisodeNavigationService._updateCurrentEpisodeHistory has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ee4056fe596d0b9b9cc6f1408e5f5eaa436d07b6c4d06933e3ecfedbf9cf9f"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSubtitleService._ensureSingleSubtitleCached (cognitive 22): RemoteSubtitleService._ensureSingleSubtitleCached has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, error handling 1, match/switch 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a292b96ef291183ed08a18fcf25b5163c55729783f0e101d1c2abc9586509dc5"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSubtitleService._cleanupCacheIfNeeded (cognitive 22): RemoteSubtitleService._cleanupCacheIfNeeded has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 3 (8 pts), loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb3ad9b0465b4d3db7403533f1613a8b46c20aeefe611fd0a7853d508e6092"}},{"ruleId":"D2","level":"warning","message":{"text":"_AppearanceSettingsContentState.build (cognitive 22): _AppearanceSettingsContentState.build has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (16 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/appearance_settings_content.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2649aac95423e5039d8b95a59a7411afc3f6a4fbd6f5486a86fc54767bd6ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"_RemoteMenuPaneSheetState._buildNumericParam (cognitive 22): _RemoteMenuPaneSheetState._buildNumericParam has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 11 (17 pts), if/else 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"4062782dde07a621202e44e9d13cfe3933b3b9037dfcffa4d2cafaf38f0f5324"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoPlaylistPaneState._loadData (cognitive 22): _CupertinoPlaylistPaneState._loadData has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66bbabfcd30cdfbf263c19f43574ee0444da86cc1f4d54f76925e7ae8c8426e"}},{"ruleId":"D2","level":"warning","message":{"text":"_BatchDanmakuMatchDialogState._displayNameFromPath (cognitive 22): _BatchDanmakuMatchDialogState._displayNameFromPath has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cb2da3af609cd9ea4f50d7b58f6615c4bce22cb25674e7402b508b3140252f"}},{"ruleId":"D2","level":"warning","message":{"text":"_CachedNetworkImageWidgetState._resolveDecodeTarget (cognitive 22): _CachedNetworkImageWidgetState._resolveDecodeTarget has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (8 pts), ternaries 2 (4 pts), 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/themes/nipaplay/widgets/cached_network_image_widget.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c21570b990d2db50596df83deaf008a96b31a29df77accf9fe1b9bf284a0989"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayLargeScreenAnimeDetailPageState._buildHeroInfoSection (cognitive 22): _NipaplayLargeScreenAnimeDetailPageState._buildHeroInfoSection has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (12 pts), if/else 6, boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"89510e099644b64eb98015756307c5cbc08f2050943832e75222161c953e4b9b"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._showRemoveScanResultDialog (cognitive 22): _LibraryManagementTabState._showRemoveScanResultDialog has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4787}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f20aba8ae5f60434256ec3536423d8963078133b4f6fc72bba6b39bb8c49dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaybackInfoMenuState._getServerMetaInfo (cognitive 22): _PlaybackInfoMenuState._getServerMetaInfo has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 7. 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/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c42c31c1ce36ac8a58dc829e0e0312ebd0676aa3da64d27a1ae37eb8237193"}},{"ruleId":"D2","level":"warning","message":{"text":"_SharedRemoteLibraryViewState._buildRemoteDirectoryChildren (cognitive 22): _SharedRemoteLibraryViewState._buildRemoteDirectoryChildren has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 6 (9 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6648be239d16b016f5074315817e2d84a16f228b3787970e6d0fb19d0e9c3c"}},{"ruleId":"D2","level":"warning","message":{"text":"_VideoPlayerUIState._captureScreenshot (cognitive 22): _VideoPlayerUIState._captureScreenshot has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf66d56f47bbae7aa96d87de47ad97bac1ccc50d28efa243464a46b68f1009c"}},{"ruleId":"D2","level":"warning","message":{"text":"MacOSStorageMigration.performMigration (cognitive 22): MacOSStorageMigration.performMigration has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 2 (4 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/macos_storage_migration.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"808fdea99b4affe601671bde8e2e2acda5865cd2d75e7a2240a6bc7d5c07f0c8"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager.removeExternalSubtitleFromStack (cognitive 22): SubtitleManager.removeExternalSubtitleFromStack has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (6 pts), ternaries 2 (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/utils/subtitle_manager.dart"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"711bd0277aa964995ca7e00bc5cb09027c42f55230c13fc234fa2fcb77191319"}},{"ruleId":"D2","level":"warning","message":{"text":"Next2GlyphAtlas::upload_glyph (cognitive 22): Next2GlyphAtlas::upload_glyph has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 1, 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":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7ab524727c4aca04ef8556abec3781d6a2f3f7c71dc15d0b95b48c101f6130"}},{"ruleId":"D2","level":"warning","message":{"text":"MpvSession._readMpvState (cognitive 21): MpvSession._readMpvState has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 6, match/switch 1 (3 pts), loops 1 (2 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"51283fa6518d0067109e5da25b70e3cd741d7744b3b55a18841695745edeff72"}},{"ruleId":"D2","level":"warning","message":{"text":"_DashboardHomePageState._onJellyfinStateChanged (cognitive 21): _DashboardHomePageState._onJellyfinStateChanged has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_DashboardHomePageState._onEmbyStateChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace40add6b6aaf12495d044e4fb61434760bd41a028e03e7016851edaab34c98"}},{"ruleId":"D2","level":"warning","message":{"text":"_DashboardHomePageState._onEmbyStateChanged (cognitive 21): _DashboardHomePageState._onEmbyStateChanged has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (_DashboardHomePageState._onJellyfinStateChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b639391eb0c35adedb2e89838b9aa44be9c74bebf2302caf3f408bad79098cc"}},{"ruleId":"D2","level":"warning","message":{"text":"_DashboardHomePageState.dispose (cognitive 21): _DashboardHomePageState.dispose has cognitive complexity 21 (threshold 15). Drivers by points: error handling 9 (13 pts), if/else 2 (4 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"4481cbeb33d0d119fd671f91f20eea79e0e4ba2dea48e9485af0047b99e70842"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState._buildInfoView (cognitive 21): _MediaServerDetailPageState._buildInfoView has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, ternaries 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fa336a0cbdcd94d1a2fc12f8db888c7f8ff4d380914331049e2e914aeda09a"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerAdapter._pauseDirectly (cognitive 21): VideoPlayerAdapter._pauseDirectly has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 3 (7 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/player_abstraction/video_player_adapter.dart"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb202e82aaddab2910bdf13f809291d1fa22f3ad29a654e0d34e429eb4b6afe"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeSectionsSettingsProvider._loadSettings (cognitive 21): HomeSectionsSettingsProvider._loadSettings has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (8 pts), boolean chains 2, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/home_sections_settings_provider.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"952327bb384619ceac3f241bc665a5fea8b23fb9b46221465ad3db2a5317ea79"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.login (cognitive 21): DandanplayService.login has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53ad154206513ac858eb7ea3fba46c4a1976f1485f292d8d46f5e14d6e757c7"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.register (cognitive 21): DandanplayService.register has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), error handling 2 (3 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97a6a9d764cf8ce3f7c0795afdc5e0f78f85728c4fdd9812733116082deff74"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuSpoilerFilterService._parseSpoilerTexts (cognitive 21): DanmakuSpoilerFilterService._parseSpoilerTexts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 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/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"590aba27921bd8795255287b656f83061301281388e1b0a723fc61b9b164338f"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaShareService.listEpisodeSubtitles (cognitive 21): LocalMediaShareService.listEpisodeSubtitles has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 1 (2 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d261255bee055ae1563734723f1971461c768b737133d646efe09713623d057"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaServerServiceBase.getClientInfo (cognitive 21): MediaServerServiceBase.getClientInfo has cognitive complexity 21 (threshold 15). Drivers by points: error handling 3 (6 pts), if/else 3 (6 pts), ternaries 2 (6 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_service_base.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac29390dcd90ee5d81e3b048e535495eedd06d8c7463bc2f69faee2551989e8"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginPlaybackService.prepare (cognitive 21): PluginPlaybackService.prepare has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 9. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/plugin_playback_service.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0e9a8e67267dbcfbcec4a66d51801df3184ca6512fe94745cd48c2f104c8b6"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSubtitleService._listSharedRemoteCandidates (cognitive 21): RemoteSubtitleService._listSharedRemoteCandidates has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2 (4 pts), error handling 2, boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f26254d52ae3d9d92d01ae3d12eff22cc9b0680cf88ffe440227ee04dd073e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService.rescanAllFolders (cognitive 21): ScanService.rescanAllFolders has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"8432aada610fbb8092a234023768de3a91533a8e625a49fefc3a5918ef995304"}},{"ruleId":"D2","level":"warning","message":{"text":"_RemoteMediaLibrarySettingsContentState._showDandanplayConnectionDialog (cognitive 21): _RemoteMediaLibrarySettingsContentState._showDandanplayConnectionDialog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 4 (6 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/remote_media_library_settings_content.dart"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"6239333f5fd7bf714be7911a3419b1fb338b2558a5222202da850a53a4d16c29"}},{"ruleId":"D2","level":"warning","message":{"text":"AdaptiveButton.build (cognitive 21): AdaptiveButton.build has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 5 (8 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/cupertino_adaptive_platform_ui.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5debf49a97fc2616bdf5de6bea2830b5fe3fa99696813efd1b1f07b1b6b629e9"}},{"ruleId":"D2","level":"warning","message":{"text":"CupertinoNetworkServerConnectionDialog.show (cognitive 21): CupertinoNetworkServerConnectionDialog.show has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_network_server_connection_dialog.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1e0660fd1b79c7ae3a72a413fe06b9a658d99357a437f792b71d124d3a7788"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoRemoteTextInputContentState.build (cognitive 21): _CupertinoRemoteTextInputContentState.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (6 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_remote_text_input_sheet.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e822d44c51f51f00dc5d918cd77f2f2da33b662f148f46d3b7e4bb1ea3b5488a"}},{"ruleId":"D2","level":"warning","message":{"text":"CupertinoAudioTracksPane.build (cognitive 21): CupertinoAudioTracksPane.build has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (5 pts), ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3401986457368e70549582d3aa90bdf6d9c636d9d271a6ed0871be2568f992da"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._buildAdaptiveManagementStatus (cognitive 21): _LibraryManagementTabState._buildAdaptiveManagementStatus has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, ternaries 6 (7 pts), if/else 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc93552278102b70d2858bbdab2843872276f51f234bb92d10be4c16dddcda5"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteHostSelectionSheet._buildHostList (cognitive 21): SharedRemoteHostSelectionSheet._buildHostList has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13 (17 pts), if/else 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"59483f424fbd2d6415bbac325bad81a1fee75e08ba682dfb8ed6c30d4ae50444"}},{"ruleId":"D2","level":"warning","message":{"text":"_SMBConnectionFormState.build (cognitive 21): _SMBConnectionFormState.build has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 7. 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/themes/nipaplay/widgets/smb_connection_dialog.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"671f096bac1ce416637781ab16c0b55548995bf59938d41392af4d5489deaa03"}},{"ruleId":"D2","level":"warning","message":{"text":"_TvOSRemoteTextInputScopeState._showRemoteInput (cognitive 21): _TvOSRemoteTextInputScopeState._showRemoteInput has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/tvos_remote_text_input_scope.dart"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d26896467cb84702f310327b052f438925f7072de56edafa61fd976a728f679"}},{"ruleId":"D2","level":"warning","message":{"text":"_VideoUploadUIState._handlePlayFromUrl (cognitive 21): _VideoUploadUIState._handlePlayFromUrl has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 7, 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/themes/nipaplay/widgets/video_upload_ui.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb9c63431fc6a25ac062c376ab98a324a9f35c1a599d627de418b2744c499ce"}},{"ruleId":"D2","level":"warning","message":{"text":"LinuxStorageMigration._hasDataToMigrate (cognitive 21): LinuxStorageMigration._hasDataToMigrate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 1 (2 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/linux_storage_migration.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d2ee4432b780a66f9e169e18c7abde2daf943dc59f67b1b469126304d2b516"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkAddressUtils._isPrivateIpv4 (cognitive 21): NetworkAddressUtils._isPrivateIpv4 has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9, loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/network_address_utils.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a396c6959603044607ba7cdfd329679802efed51565afb96b4ac2ac9366d136"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::next2_engine::engine::runtime::render_linux_gl_texture (cognitive 21): rust_lib_nipaplay::next2_engine::engine::runtime::render_linux_gl_texture has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/runtime.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c69e1ce41c4eb519026f15055ed9c731600409c9edb9de5355630c833f74a80"}},{"ruleId":"D2","level":"warning","message":{"text":"MainPageState.build (cognitive 20): MainPageState.build has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, ternaries 7, if/else 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d30d68506829bf1981ebe4a7a050e2d1274423564ce160ea57a0ee30faae2ce"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuLayoutEngine.configure (cognitive 20): DanmakuLayoutEngine.configure has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 3 (8 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cpp_native/bindings/danmaku_layout_io.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a292a04c6979cb0a8ebcc8b0b5b1b7ce0e0407d0fbde866d49108c1d5447381"}},{"ruleId":"D2","level":"warning","message":{"text":"_AdaptiveMediaCollectionViewState._loadWebCollection (cognitive 20): _AdaptiveMediaCollectionViewState._loadWebCollection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_collection_view.dart"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc00cee39331a3b3ba04f9be030d48bfc7e83c11397099191dd36cc5d9701568"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountPageController.performBangumiSync (cognitive 20): AccountPageController.performBangumiSync has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/account/account_controller.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"246f675c4d636c1a09217ffbbda96ca656aea8bfe2b1f2b3c79eed01e9c49eb4"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._buildContent (cognitive 20): _AnimeDetailPageState._buildContent has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11, if/else 4 (5 pts), boolean chains 4 (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/pages/anime_detail_page.dart"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8dda5da136d3513748729e7f6a4fa7f37b3ae0fae95975455b51051fc068c9"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState.build (cognitive 20): _MediaServerDetailPageState.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 5, boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9740fc66acc3448c148a9253e29a81517ac173c632b1684ee5ec63fbd92df91"}},{"ruleId":"D2","level":"warning","message":{"text":"_TorrentDownloadPageState._autoScanCompletedTask (cognitive 20): _TorrentDownloadPageState._autoScanCompletedTask has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/torrent_download_page.dart"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cd8c4ff8f56aff861774832cf67e1aa39415abb727e91583667ca704439e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"_LargeScreenTorrentTaskCard.build (cognitive 20): _LargeScreenTorrentTaskCard.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 13, if/else 5, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/torrent_download_page.dart"},"region":{"startLine":2429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2242c386caf4e6a13aa0461f1d47fb1d88b80ed49110e25c48dba570aca280bf"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._handleJellyfinStreamingTracks (cognitive 20): MediaKitPlayerAdapter._handleJellyfinStreamingTracks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"7899e7b9ccf2b5a00262c81488e2db9d504a325c5b078ccf58d04583ee4fad62"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupService.importWatchHistorySilent (cognitive 20): BackupService.importWatchHistorySilent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (13 pts), error handling 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/backup_service.dart"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ddc7c8d53548d74595239c7ef0e4852d12f74fb67e51012518ccfae2de1c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuCacheManager._clearAllCache (cognitive 20): DanmakuCacheManager._clearAllCache has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 2 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e79fa0a141c27f50f27bc7ed0dee0883140e772cfd01afc8795030e7d4bcf6"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyService.createPlaybackSession (cognitive 20): EmbyService.createPlaybackSession has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8c716ebf09deb1e6dc67bdbc342e3cb0d180703973a8b80121b6afe4811aab"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._isSameRemoteEpisode (cognitive 20): EpisodeNavigationService._isSameRemoteEpisode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fe4127107ef2274697eab09080864b837e290edc461379daf2f27adb57d8d4"}},{"ruleId":"D2","level":"warning","message":{"text":"SkipIdResolver._searchAniList (cognitive 20): SkipIdResolver._searchAniList has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/intro_skip/skip_id_resolver.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d944d67020703e370c1b34b557cf25ecb6ad80ca9cc303aca1ca600186f761ca"}},{"ruleId":"D2","level":"warning","message":{"text":"JellyfinService.buildHlsUrlWithAutoSubtitle (cognitive 20): JellyfinService.buildHlsUrlWithAutoSubtitle has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (5 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92ef8d0097515151c45a4cf1de96f1df21849527bb178c39f4e76f601633270"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSubtitleService._resolveSmbConnectionFromUri (cognitive 20): RemoteSubtitleService._resolveSmbConnectionFromUri has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6, ternaries 2, 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/services/remote_subtitle_service.dart"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dfa2ebd2786192f6c90577693654d9350a04bf08ce9498178647edbefa3f89"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService.removeScannedFolder (cognitive 20): ScanService.removeScannedFolder has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (4 pts), error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d240688d70bcbe87fc9d5f020a08fbd3c9f6cc538fc252a8256f1609b62775e"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleService.loadExternalSubtitles (cognitive 20): SubtitleService.loadExternalSubtitles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 1 (3 pts), error handling 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/subtitle_service.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90c60f91c7f28cd6d293ab2d2f19dcc9e96f24f2352ea677168a7f68d3935c2"}},{"ruleId":"D2","level":"warning","message":{"text":"AdaptiveSettingsTile._buildPhone (cognitive 20): AdaptiveSettingsTile._buildPhone has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 5, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/adaptive_settings_widgets.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b64cd92632a98b1c2f1d9d9a1bc56b66ffda175abeab53c541bdd068c865e8"}},{"ruleId":"D2","level":"warning","message":{"text":"CupertinoAudioTracksPane._resolveTrackTitle (cognitive 20): CupertinoAudioTracksPane._resolveTrackTitle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 7 (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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b2274a84dd88e23fcc1b851081181a82bbee63a7c99da951d179c3f1cd5c88"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoSubtitleListPaneState.build (cognitive 20): _CupertinoSubtitleListPaneState.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (16 pts), if/else 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb9d1860bd76c4d746e0ae185c77cf4b49ee7cd8593e7f104b442063ece0b4c"}},{"ruleId":"D2","level":"warning","message":{"text":"_BlurLoginDialogState._handleLogin (cognitive 20): _BlurLoginDialogState._handleLogin has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 1 (2 pts), boolean chains 1, error handling 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/themes/nipaplay/widgets/blur_login_dialog.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e446d9e38f395750be6eb696f80bbda56a984f9df4494915fd4ebc5926af249d"}},{"ruleId":"D2","level":"warning","message":{"text":"BlurSnackBar.show (cognitive 20): BlurSnackBar.show has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11, if/else 5, boolean chains 3, error handling 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/themes/nipaplay/widgets/blur_snackbar.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"504a933a7758e3a9323fc888e9b07cde47e8f8651c99427c7f54c41a290869e7"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuSettingsMenuState._saveDanmaku (cognitive 20): _DanmakuSettingsMenuState._saveDanmaku has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1049893d770b79e84d48296a18a0bdc8d3ecdd28ac66da2dd133ad56674e70"}},{"ruleId":"D2","level":"warning","message":{"text":"_DescriptionBlock.build (cognitive 20): _DescriptionBlock.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 6, if/else 4 (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/themes/nipaplay/widgets/immersive_anime_detail_scaffold.dart"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"4871a5f9466ddd335a01b27a375f569bb0ec5fbb5bd7c634c8b8e49ddaf88ce9"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaplayLargeScreenViewContainer.build (cognitive 20): NipaplayLargeScreenViewContainer.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 16 (17 pts), boolean chains 2, if/else 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_view_container.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d526a806c412e40a3fedb904f4ef72ff2c7f28c95bcc846da3dc0928ab1820"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._showSMBConnectionDialog (cognitive 20): _LibraryManagementTabState._showSMBConnectionDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (8 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96f5164ff4f3e320a7a683e07bf7e53d14a5efa0570cb658c3e8ade52edee28"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkMediaLibraryViewState._loadData (cognitive 20): _NetworkMediaLibraryViewState._loadData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, match/switch 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"869727323bbf709b2b0d9bf9de001e55d312e3597b344d3beea880f6cb157fec"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkMediaServerDialogState.didChangeDependencies (cognitive 20): _NetworkMediaServerDialogState.didChangeDependencies has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 2 (4 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/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bcea7d0a27ba782e3dd140e762920de5d6104a01ad0543fa77beb3a46bbb3e"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaybackInfoMenuState._getErikaRuntimeInfo (cognitive 20): _PlaybackInfoMenuState._getErikaRuntimeInfo has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 7, boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"653273c4d10196dddbab5bcf224e4bc9fcd74e203f4618fcf9db6d625e52bb54"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaylistMenuState._getEpisodeDisplayName (cognitive 20): _PlaylistMenuState._getEpisodeDisplayName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42b1301938732d42fe5ed0a7c5a0b73cee3812013986b9a73945bb9eaad5f4d"}},{"ruleId":"D2","level":"warning","message":{"text":"SendDanmakuDialogContentState.build (cognitive 20): SendDanmakuDialogContentState.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 3, boolean chains 2, loops 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/themes/nipaplay/widgets/send_danmaku_dialog.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c43df3df08b6e240531c14058253524718f1ab0ebcdd15388e30580683f7ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_TvOSRemoteTextInputScopeState._openRemoteInput (cognitive 20): _TvOSRemoteTextInputScopeState._openRemoteInput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/tvos_remote_text_input_scope.dart"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca0073bbf34473e694bec9f989adfbebabbdd480a7d2846ddf6c6dcfdc239bd"}},{"ruleId":"D2","level":"warning","message":{"text":"HotkeyService._getKeyCodeFromString (cognitive 20): HotkeyService._getKeyCodeFromString has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 4 (8 pts), boolean chains 6, if/else 4 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c9b67d8cab0f9b37e8d2fe7ebf5bbd319442c350fae492e88453a5be66b257"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageCacheManager._cleanupDirectoryByAge (cognitive 20): ImageCacheManager._cleanupDirectoryByAge has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (5 pts), loops 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0ba91a7616accd98d7acdceb7055ee11509977327bfbef2e2451fdc8f1fb37"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleParser.parseMicrodvd (cognitive 20): SubtitleParser.parseMicrodvd has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c40abfd82c1ef0e43661a2fd032de6842c6a1776e21de258479cac351a3a45a"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaPlayNextOldCanvasPainter.paint (cognitive 19): NipaPlayNextOldCanvasPainter.paint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (2 pts), 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/danmaku_next/nipaplay_next_old_canvas_painter.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f3b6ebbecde3bb5f46e9fd40fc2ef5e21cc852da1ff677fd57036c095b8fe2"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryOpenTimeStore.load (cognitive 19): LibraryOpenTimeStore.load has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 3, error handling 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_collection_view.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da3d374b7bf367a07d6f3bf93235c7dbefab52bb9a5d53987946c405d0a37c4"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountPageController.performRegister (cognitive 19): AccountPageController.performRegister has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/account/account_controller.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d926c2388d3d7394bc4c21f98897ed8a758236aaa326b3e9d0b5d1f309ebd6"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._changeImmersiveBackdrop (cognitive 19): _AnimeDetailPageState._changeImmersiveBackdrop has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":3053}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ec857f109e64e104fc7f07bfdd1e888ac09399347fb8eac1962444d469051c"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState._createWatchHistoryItem (cognitive 19): _MediaServerDetailPageState._createWatchHistoryItem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 1, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"595d7efa861a65d9b8619c174a34b79eb3fb84cdf0511cdcc4c0e05f53b9c617"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVBrowserPageState._buildLargeScreenWebDavPage (cognitive 19): _WebDAVBrowserPageState._buildLargeScreenWebDavPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 5 (7 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/pages/webdav_browser_page.dart"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06bf9720f20155cb43ec950b8bcb341d88904dd3b768364f3eb84292b5b8590"}},{"ruleId":"D2","level":"warning","message":{"text":"_ErikaDanmakuConfigPatch.differenceFrom (cognitive 19): _ErikaDanmakuConfigPatch.differenceFrom has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 19. 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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54517244be8b9b95b3f8193ee8406ebd7e1f30dfafb4d674ed55c4cdcf7fda5"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayErikaWindowOverlayVideoViewState._attachOverlaySurface (cognitive 19): _NipaplayErikaWindowOverlayVideoViewState._attachOverlaySurface has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8, 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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7bb1d5fe3e209c22d06d2a3012f56a94a45eab3cb7418ba9e5488f40d66bac"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._loadPendingExternalAudio (cognitive 19): MediaKitPlayerAdapter._loadPendingExternalAudio has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2470}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfffd26f4036a140bab066a53bdc6801519bed6d648b280501ee3e3a7aa63adb"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter._refreshChapters (cognitive 19): MediaKitPlayerAdapter._refreshChapters has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2841}}}],"partialFingerprints":{"codehealthFindingId/v1":"0877d08aa3d140bc532d07e9ed78a8bcd232b6079865eaee44ff13212e7bd077"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteLibraryProvider.refreshScanStatus (cognitive 19): SharedRemoteLibraryProvider.refreshScanStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a49312329917bd2279b32593596630eef89743e408b2458cc04c2e6b051ebc2"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuCacheManager._migrateLegacyCacheIfNeeded (cognitive 19): DanmakuCacheManager._migrateLegacyCacheIfNeeded has cognitive complexity 19 (threshold 15). Drivers by points: error handling 3 (8 pts), if/else 4 (8 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e253c5c4e0531f39d824636a5ab7ff5b0bc511f964882430319abbd85b898d22"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuCacheManager._getDanmakuFromCache (cognitive 19): DanmakuCacheManager._getDanmakuFromCache has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"027d0c9af9d47bf6de7e7c33c128207c31458e95450bb95b70b02f0a4a82e409"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeMatchDialogState._tryAutoMatchEpisode (cognitive 19): _AnimeMatchDialogState._tryAutoMatchEpisode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"311e974f2634ce5f35502998a509e5a910b955493031572c374bc93217a6afe8"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyService.getMediaFileInfo (cognitive 19): EmbyService.getMediaFileInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"19353721fe5fe486b4c4a36a0917b23eb22c60233ecfc5494a9b1f93f4bd7994"}},{"ruleId":"D2","level":"warning","message":{"text":"FileAssociationService._drainIOSQueue (cognitive 19): FileAssociationService._drainIOSQueue has cognitive complexity 19 (threshold 15). Drivers by points: error handling 2 (8 pts), loops 2 (5 pts), if/else 1 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_association_service.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40ddb403fd21a1d86807ebc48fbcf34d1be9ca4e92e4c4a487eb1b4644aa0bb"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePickerService._normalizePath (cognitive 19): FilePickerService._normalizePath has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"054a96bfc24641c12d7cfcbb04d10b43e7f10e8da8f3b5699b36d54fad46ff4e"}},{"ruleId":"D2","level":"warning","message":{"text":"FullBackupService._restorePreferences (cognitive 19): FullBackupService._restorePreferences has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (5 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b5020e1398d6daf1499d8d6a9bf79a4c78ca7a3a641cbfada5b75e8333a69a"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaShareService.listEpisodeFonts (cognitive 19): LocalMediaShareService.listEpisodeFonts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf740a846b2363b6defaee018fbd0e2264b21b97a60ce60514903491d7dd6b7f"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessQrService._tryParseJsonPayload (cognitive 19): RemoteAccessQrService._tryParseJsonPayload has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_access_qr_service.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb12001711f649976614df7c7b61af09bcda9bda902f53816a46c875c1b5d47"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService.cleanupMissingScannedFolders (cognitive 19): ScanService.cleanupMissingScannedFolders has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (3 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8750457efc3cb619197f14a29002e151e3494a0911dd9bf8c71f8fb1c93d7d90"}},{"ruleId":"D2","level":"warning","message":{"text":"_AppearanceSettingsContentState._pickCustomBackground (cognitive 19): _AppearanceSettingsContentState._pickCustomBackground has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (7 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/appearance_settings_content.dart"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"6646d25c07177e429081cc87e589a049a2c0777140886a10d7029b17fcd2330d"}},{"ruleId":"D2","level":"warning","message":{"text":"_GeneralSettingsContentState.build (cognitive 19): _GeneralSettingsContentState.build has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (19 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/general_settings_content.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb72d1268f27756282abcb31591f3ff15197f3875c4e538bb2c141b9694ba40"}},{"ruleId":"D2","level":"warning","message":{"text":"_RemoteMediaLibrarySettingsContentState._connectSharedRemoteByQr (cognitive 19): _RemoteMediaLibrarySettingsContentState._connectSharedRemoteByQr has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (2 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/remote_media_library_settings_content.dart"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"2998fa0fcd2f647a77f76e05c3c22ceeb15bc73c123e5fba86e7e48313a851d8"}},{"ruleId":"D2","level":"warning","message":{"text":"_BatchDanmakuMatchDialogState._performSearch (cognitive 19): _BatchDanmakuMatchDialogState._performSearch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (3 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc8e789300adb27f575c7bd40022cb7fcb9f24d44755c31a656261afd1f2b5b"}},{"ruleId":"D2","level":"warning","message":{"text":"_BlurDropdownState._handleMenuKeyEvent (cognitive 19): _BlurDropdownState._handleMenuKeyEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8 (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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f02b24181874e6ed6c9bb9e7a1c9bc27dc7a3286a9c7b00b1980126a99b700"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuSettingsMenuState._addBlockWordFromInput (cognitive 19): _DanmakuSettingsMenuState._addBlockWordFromInput has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (4 pts), boolean chains 3, loops 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/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5410806037bc0f90e56c53f94cee7aa298485ed36594f116a9143e266f65dd5"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuTracksMenuState._loadLocalDanmakuFile (cognitive 19): _DanmakuTracksMenuState._loadLocalDanmakuFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_tracks_menu.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96dc86d9a66aecbda88ece43b2fe5a83d6dbe9eb33ab8b50de26b003f0fb477"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayLargeScreenPlayerMenuPanelState._focusFirstFullyVisibleDanmakuRow (cognitive 19): _NipaplayLargeScreenPlayerMenuPanelState._focusFirstFullyVisibleDanmakuRow has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (9 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4927b2fb35c196993b1197eb199a21b614c443248fc0be8eab2708c5f7e39f"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._basenameOrUrlLastSegment (cognitive 19): _LibraryManagementTabState._basenameOrUrlLastSegment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4496}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce22a8de529e9f61d8e3497c1e788f9906b699424c071658cc2da2881daef192"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._refreshSMBConnection (cognitive 19): _LibraryManagementTabState._refreshSMBConnection has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":6438}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f839815a3f86d88c3aed1a96c801cb5b7ff297bbb52c360777edbffd2d0e68"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkMediaLibraryViewState._performCrossLibrarySearch (cognitive 19): _NetworkMediaLibraryViewState._performCrossLibrarySearch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (4 pts), match/switch 1 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dec38094931441a542dc4909536933be1956afb7039d8e27e4d1a6120af64a"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkMediaServerDialogState._buildTranscodeSection (cognitive 19): _NetworkMediaServerDialogState._buildTranscodeSection has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 11 (18 pts), if/else 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dcc495af7cc32964fe1cc27b93a6bbe6cdfcb1500e19f18bf498d2f3353a4a"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaylistMenuState._loadSharedRemoteAnimeEpisodes (cognitive 19): _PlaylistMenuState._loadSharedRemoteAnimeEpisodes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"b028aee99da7c5ce750a0fe6b59c7d0c098bb8f307d0bd3afddc89ec839f32eb"}},{"ruleId":"D2","level":"warning","message":{"text":"_RatingDialogState.build (cognitive 19): _RatingDialogState.build has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 14 (15 pts), if/else 3, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/rating_dialog.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3565c2dfed091dbae58ba3940865de9a76aaf7ba247097b0000e96e68052f090"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemoteHostSelectionSheet._connectByQr (cognitive 19): SharedRemoteHostSelectionSheet._connectByQr has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (2 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baf4a548189d41e7f7f11fcdbc3d8d0c40a0e476ba362a13a5dd0b2061f571d"}},{"ruleId":"D2","level":"warning","message":{"text":"_SwitchableViewState._schedulePreloadIfNeeded (cognitive 19): _SwitchableViewState._schedulePreloadIfNeeded has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4, loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/switchable_view.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0307b971c8b8721f52139849788b923b11fbd0fd6ef56a169bb47921f93c9263"}},{"ruleId":"D2","level":"warning","message":{"text":"_TooltipBubbleState._recalculatePosition (cognitive 19): _TooltipBubbleState._recalculatePosition has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, ternaries 5 (8 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/tooltip_bubble.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dfb2735cd1fcd184f7dddeaded4cd17a72c7cfe70576a3ab843b0b0b5cc4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageService._getLinuxStorageDirectory (cognitive 19): StorageService._getLinuxStorageDirectory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/storage_service.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6a01f1b86d688f1c2248f564ce717a406f9a503421acbf01b8187a842b5222"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager.preloadSubtitleFile (cognitive 19): SubtitleManager.preloadSubtitleFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf63af537a4be84709347cf4622c13ca71addc7087769bfae6f4d272bb6a38f"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaPlayNextEngine.configure (cognitive 18): NipaPlayNextEngine.configure has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"278801f919a1364a337da0934493442ab4681ecf16669223c711709b743af341"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaPlayNextOldEngine.configure (cognitive 18): NipaPlayNextOldEngine.configure has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"38847298cc764f92a94ffe3b9e87921fc3fd0595b61e141b70ce30e5f803dce1"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaPlayNextOldEngine._layoutNative (cognitive 18): NipaPlayNextOldEngine._layoutNative has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (2 pts), boolean chains 1, 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/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3ad396035ff21008e4a675dec62cb98bcc009942f0447ad63bed0774d0b750"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState._startEpisodePlayback (cognitive 18): _MediaServerDetailPageState._startEpisodePlayback has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (6 pts), error handling 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8faf51d4dad6df39bb5137eaf69a29edc999a2576440cfbc7a6ac74aefc741"}},{"ruleId":"D2","level":"warning","message":{"text":"_ErikaDanmakuConfigPatch.isEmpty (cognitive 18): _ErikaDanmakuConfigPatch.isEmpty has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 18. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df65c6b4d558d9a927717012f09275db7a8869b9151b6735548378de6792e95"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerAdapter.updateTexture (cognitive 18): VideoPlayerAdapter.updateTexture has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"133c37fbbc047e16ca7b648b7273de55f15e77def7a573b16428f1e1e1407385"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeInfoRepository.linkDandanplayBangumiAnime (cognitive 18): _AnimeInfoRepository.linkDandanplayBangumiAnime has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/anime_info/anime_info_service_impl.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac79c59fda140e594a83ee60ea3f15cd77fde8f68c865d846754fcc38e3a41b"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoNextEpisodeService._playNextEpisode (cognitive 18): AutoNextEpisodeService._playNextEpisode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, error handling 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/auto_next_episode_service.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a6e2fc9bde7dadd32a29d5f1cd137ad08e341e9b06ebb752c55f8c890e95de"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._getPreviousEpisodeFromFileSystem (cognitive 18): EpisodeNavigationService._getPreviousEpisodeFromFileSystem has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (EpisodeNavigationService._getNextEpisodeFromFileSystem) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeb70a5f7eecfd0cc928314b248537e0e1ea187cdba4465b9a3b20dda6a6352"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._getNextEpisodeFromFileSystem (cognitive 18): EpisodeNavigationService._getNextEpisodeFromFileSystem has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (EpisodeNavigationService._getPreviousEpisodeFromFileSystem) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"3847475c047ab685e6b4be9d14e6167191251cbba009788c591494deac163a5c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalPlayerConsoleService._updateDisplayDanmakuList (cognitive 18): ExternalPlayerConsoleService._updateDisplayDanmakuList has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 4, match/switch 1 (2 pts), ternaries 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/external_player_console_service.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"287116249b0ab8814701097eb55470ada14bce1939217538f21c68b91c154103"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePickerService.getValidFilePath (cognitive 18): FilePickerService.getValidFilePath has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9438ed224fb075fccb3cf2c0423ffec9b73f20f018e772782a058c750c7023"}},{"ruleId":"D2","level":"warning","message":{"text":"FullBackupService.restoreFromData (cognitive 18): FullBackupService.restoreFromData has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f3d82c7f014154f0baea39ab5bfd33e69f0fa70cc660141a35c369202c2ee7"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaShareApi._handleUpdateEpisodeThumbnail (cognitive 18): LocalMediaShareApi._handleUpdateEpisodeThumbnail has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, error handling 3 (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/services/local_media_share_api.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0fa1ca39f63f2310475320b4f61606c73e90a107ca8230929a19291cd21e09"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaShareService.listEpisodeExternalAudio (cognitive 18): LocalMediaShareService.listEpisodeExternalAudio has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 1 (2 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d3278c386610e5e0a93c8edccafe6f7da677da1b73268c002ffd4d999dede7"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteTextInputApiService._buildInputPage (cognitive 18): RemoteTextInputApiService._buildInputPage has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 1, if/else 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_text_input_service.dart"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecc84077f94dbecafa96c6947f6e5ab72a0ac5ab6ea25184cae48102f5a2a91"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDAVService._loadConnections (cognitive 18): WebDAVService._loadConnections has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (6 pts), boolean chains 2, error handling 2 (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/services/webdav_service.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7db52c0c96c4160f2c4ed12aa3a5e1f3acb183cc3fefbcd9020e2bbd3d5b03"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoTagSearchViewState._buildResultSlivers (cognitive 18): _CupertinoTagSearchViewState._buildResultSlivers has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7, boolean chains 6, if/else 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_tag_search_view.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c979667814d4cbbf39294303c18aa6e962982368897698a9df462a542fbb20"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoPlaylistPaneState.build (cognitive 18): _CupertinoPlaylistPaneState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 5 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f901c1b2b178e87648c3c37aabbaf1ef13f54311f33478883b2577d7002dc42"}},{"ruleId":"D2","level":"warning","message":{"text":"_InformationHeader.build (cognitive 18): _InformationHeader.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/immersive_anime_detail_scaffold.dart"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb66180b39179bc4efb2e66e6081e6a343a83c6b0f822a7899f5c7383fc0f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._buildLargeScreenManagementActions (cognitive 18): _LibraryManagementTabState._buildLargeScreenManagementActions has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bc45865a18989e848e061c4f59eb1e81d9d7fb270991be7e635be93c6863f2"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._testWebDAVConnection (cognitive 18): _LibraryManagementTabState._testWebDAVConnection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 1 (4 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":6588}}}],"partialFingerprints":{"codehealthFindingId/v1":"1831249aa42bde89a7687930735113417f1ee501fd1309d444d3fface82ab0f0"}},{"ruleId":"D2","level":"warning","message":{"text":"_ManualDanmakuMatchDialogState._performSearch (cognitive 18): _ManualDanmakuMatchDialogState._performSearch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (3 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a5c3f90f491efd10fb0a894c989ac2d2c260bc630fa4c3fcacda0a1ab884ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaylistMenuState._loadSharedRemoteManagementEpisodes (cognitive 18): _PlaylistMenuState._loadSharedRemoteManagementEpisodes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (6 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e2a49022c35699ac229446482b0431a89cd20588a5a3c8b6abbe79c6c9bccb"}},{"ruleId":"D2","level":"warning","message":{"text":"_PluginMarketDialogState._installPlugin (cognitive 18): _PluginMarketDialogState._installPlugin has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/plugin_market_dialog.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"761ad80454565aafb43d95e72133685b2b673748fedf5319a1de5f9a716bfa7e"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubtitleTracksMenuState._switchToEmbeddedSubtitle (cognitive 18): _SubtitleTracksMenuState._switchToEmbeddedSubtitle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1037656ede67720836ce6e599a506afa53f8f3efd0234ab060b9e5a29e302a8"}},{"ruleId":"D2","level":"warning","message":{"text":"_TypingTextState._startTypingAnimation (cognitive 18): _TypingTextState._startTypingAnimation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/typing_text.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bfb5c978d890b00ef4de361befce42d49ee2c352b5e3bd88a833d1cbb89e57"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaInfoHelper.identifySubtitleLanguages (cognitive 18): MediaInfoHelper.identifySubtitleLanguages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_info_helper.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25923c37a385aabc2afd78d22452f661c613b7dd7187ff59af95d998803e2e3"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteMediaFetcher._extractFileNameFromUri (cognitive 18): RemoteMediaFetcher._extractFileNameFromUri has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (5 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/remote_media_fetcher.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a441ca617b6c8755adeeea23730e8d1dd25882fa0e895ca91a7611c0bcc3f80"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager._autoLoadLocalSubtitleGroup (cognitive 18): SubtitleManager._autoLoadLocalSubtitleGroup has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, error handling 1 (2 pts), loops 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"93007c3cea6825966a7e28df5e2e8c1a205b2731014e39286b0b45c32d05c14c"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoAspectGeometry.displayRect (cognitive 18): VideoAspectGeometry.displayRect has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 4 (7 pts), boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_aspect_geometry.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee9e8b0b725b17b449faac96d4a369d5ec33a00679cb4b5206af9e4cd8f176b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.prepareOpenedFile (cognitive 18): AppDelegate.prepareOpenedFile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/AppDelegate.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b6f21f823bbb257a7497b6db3951cf4266f2ff4faad56b48871ca7ffc1c324"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::api::dfm_plus::build_dfm_plus_frame (cognitive 18): rust_lib_nipaplay::api::dfm_plus::build_dfm_plus_frame has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/dfm_plus.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca77c79e2c4c16294f2c708c5c6bce45240c4dc6577542bf171242253be582c"}},{"ruleId":"D2","level":"warning","message":{"text":"_AdaptiveMediaLibraryPageState.build (cognitive 17): _AdaptiveMediaLibraryPageState.build has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, ternaries 5, if/else 3 (4 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/media_library/adaptive_media_library_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a5d8b51d1a87a42b3afb73ab0360f2a7dbf2378799f66963cc5afa72321831"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaLibraryScope.containsPath (cognitive 17): MediaLibraryScope.containsPath has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 16, match/switch 1. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/media_library_scope.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c61938cf06803560551d194c3cd19b9458a4fde59bc2b29f988aff67a35639"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryDatabase._cleanupJsonBackups (cognitive 17): WatchHistoryDatabase._cleanupJsonBackups has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 2 (5 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b262ebabd53ec344df0d7f1cfff21d2f324d09def92fb2319e1f1b3b734028f"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryManager.removeHistoryByAnimeId (cognitive 17): WatchHistoryManager.removeHistoryByAnimeId has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"089dc707784cc7850e69e8f37a99a533d058d397d943c2d63ed9dc57c79e5ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryManager.getHistoryItemByPath (cognitive 17): WatchHistoryManager.getHistoryItemByPath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68a75f686b85e4339f1d75708a248c307bc390eab176f8682ca9ac74bc8104f"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountPageController.performLogin (cognitive 17): AccountPageController.performLogin has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/account/account_controller.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9633e27b55b45c1252990e5628d6c7d8f1d8384964d199d96201d624b916c537"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState._playMovie (cognitive 17): _MediaServerDetailPageState._playMovie has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7c61be070e80c0f038a4b703fd45ac940632f28e699266efee395e8554f621"}},{"ruleId":"D2","level":"warning","message":{"text":"MdkPlayerAdapter.getDetailedMediaInfo (cognitive 17): MdkPlayerAdapter.getDetailedMediaInfo has cognitive complexity 17 (threshold 15). Drivers by points: error handling 7 (12 pts), if/else 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8c563fa293af6a392581ceba3f7876dda281f782f5062738a407cd25c2cf5a"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaKitPlayerAdapter.detachPlatformVideoSurface (cognitive 17): MediaKitPlayerAdapter.detachPlatformVideoSurface has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3261}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d71357ee54efa733f25c927d13cc46b1bab912569af29948cecc9e38de697c"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoSyncService._cleanupCompactedPatches (cognitive 17): AutoSyncService._cleanupCompactedPatches has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, error handling 2 (3 pts), 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/services/auto_sync_service.dart"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7d48f7e9fb50fbd0638e50ef89e006f55841760e1e34fd657b907c88413ee3"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiApiService.initialize (cognitive 17): BangumiApiService.initialize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_api_service.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"026332e93181d795a1c927190779b954f1e03ea27d62b5b6717c8e946f4b34be"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiService._executeRequest (cognitive 17): BangumiService._executeRequest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 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/services/bangumi_service.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bb4b447ff318e54146bccdada422f14321d2a5fe0166b1967b63288816f1cd"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.updateEpisodeWatchStatus (cognitive 17): DandanplayService.updateEpisodeWatchStatus has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (3 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/services/dandanplay_service_stub.dart"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"92456ed29c90fc7767d30e492036dc4c1fcfa57f101ae5e9311b06e2870fb797"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuDensityAnalyzer.findPeakSegments (cognitive 17): DanmakuDensityAnalyzer.findPeakSegments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_density_analyzer.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ffcdd66420c01d4775ec4b20ddc5d3590676bdb118faadd531b6d3bdea7a67"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultEmbyMediaSelectionResolver.resolve (cognitive 17): DefaultEmbyMediaSelectionResolver.resolve has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, loops 2, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_media_selection_resolver.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eab2e10b585eadba4da614bd3b7a78f39d4ae3a24459bdf4fd5247e285a1860"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbyService.buildHlsUrlWithOptions (cognitive 17): EmbyService.buildHlsUrlWithOptions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d55cc2c76b5ea52b8be263110e91ce0368adb62181480141d7e8362c22ccfac"}},{"ruleId":"D2","level":"warning","message":{"text":"IncrementalSyncDataFilter._normalizeWebDavConnections (cognitive 17): IncrementalSyncDataFilter._normalizeWebDavConnections has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/incremental_sync_data_filter.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeacd3c94caae4a4b24763a023d390c7562a4add43801d290d091a5c8d9ca06a"}},{"ruleId":"D2","level":"warning","message":{"text":"NipaPlayLanDiscoveryResponder.start (cognitive 17): NipaPlayLanDiscoveryResponder.start has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (4 pts), loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/nipaplay_lan_discovery.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eb57c8f6f896457ed4a0a47122d52d30574bc8322863d6e35a6bbdd3526e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackSourceService.sourceKindForPath (cognitive 17): PlaybackSourceService.sourceKindForPath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, ternaries 3 (5 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24f63921f804e75007759cf6e16cc3e004e69c2ccb0419a3600d5ba24f83a52"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteControlAccessGuardService._resolveRemoteIp (cognitive 17): RemoteControlAccessGuardService._resolveRemoteIp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_access_guard_service.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0580a7bcbbe5dc3f520a5e4073414480ae7ed01db87365362907884069dc72"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService._cleanupFolderHashCache (cognitive 17): ScanService._cleanupFolderHashCache has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (3 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"089ae018fec763bbba3bb6153843cd1043125508a10b451e72ba22380645ad7d"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerHistorySyncService._resolveThumbnailPath (cognitive 17): ServerHistorySyncService._resolveThumbnailPath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/server_history_sync_service.dart"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"af54a8686c4a158216316f8ff8114b6773e0f192cab19563ee0b65b5782dc040"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleService.addExternalSubtitles (cognitive 17): SubtitleService.addExternalSubtitles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/subtitle_service.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daf175a9c3cdeeb07f1c71bfa1caa93934aafa53d6bd19a49d65adfe12236aa"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemProxyService._parseWindowsProxyServer (cognitive 17): SystemProxyService._parseWindowsProxyServer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/system_proxy_service.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d1512c9f6e084129ddb1a2026bd9f77ccbcc267b5715b048fa166f14a43f39"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoJellyfinQualityPaneState._selectMediaSource (cognitive 17): _CupertinoJellyfinQualityPaneState._selectMediaSource has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c14a83b7cf2438a5c015617500b92faadb4b57d07982c16cc4d3da52a58503"}},{"ruleId":"D2","level":"warning","message":{"text":"_BangumiCollectionDialogState._buildEpisodeStatusSection (cognitive 17): _BangumiCollectionDialogState._buildEpisodeStatusSection has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10 (14 pts), if/else 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5b26650674a123900117d2c6e4cb74d68797be9f8dff589c1d8c85ab0c87ae"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiCommentPromptController.showForCurrentAnime (cognitive 17): BangumiCommentPromptController.showForCurrentAnime has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_comment_prompt_controller.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4ef03f6a937f0e684508d5543ad78e85c4dca9f341023ae61a63c9eb2464d4"}},{"ruleId":"D2","level":"warning","message":{"text":"_BatchDanmakuMatchDialogState._selectAnime (cognitive 17): _BatchDanmakuMatchDialogState._selectAnime has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (2 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6ce74e9dcda08a843cedae8fe25f16a986be0d7dcf304dd274a512804ba991"}},{"ruleId":"D2","level":"warning","message":{"text":"_BlurDropdownState._handleControlKeyEvent (cognitive 17): _BlurDropdownState._handleControlKeyEvent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 8 (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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec30084c5a67af69aa73a4a76516c652f257ad91e4f1eb765d9574459ec3ff3e"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuSettingsMenuState._splitBlockWords (cognitive 17): _DanmakuSettingsMenuState._splitBlockWords has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb9bf65521e432f70250240f007ef9331e2535f8d24671bcba5a9872f36a2a2"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuSettingsMenuState._buildDanmakuStyleSection (cognitive 17): _DanmakuSettingsMenuState._buildDanmakuStyleSection has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (8 pts), if/else 4 (5 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"39244e0a13aa83a1ba963038964c7becdabfc652c60d6f12e0b64a548ef8e465"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImmersiveEpisodeCardState.build (cognitive 17): _ImmersiveEpisodeCardState.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 5, boolean chains 4 (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/themes/nipaplay/widgets/immersive_episode_rail.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc66b85dbcd8839267e3b2e7229a2662810c569f759a8f043e70facfafdb1299"}},{"ruleId":"D2","level":"warning","message":{"text":"_JellyfinQualityMenuState._selectMediaSource (cognitive 17): _JellyfinQualityMenuState._selectMediaSource has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51fa7976e3203952807eceb525cc4cacd380c464bfd2e2d9d539a6191e1a192"}},{"ruleId":"D2","level":"warning","message":{"text":"_JellyfinQualityMenuState.build (cognitive 17): _JellyfinQualityMenuState.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2230772262685b562f8007c49034429e1815cfe4b149303f57577782d53a0be"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkMediaLibraryViewState._performSearch (cognitive 17): _NetworkMediaLibraryViewState._performSearch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0e67cf01eaa3229c1ccd0e241f5c3335cc700c543826bf5e6592b3f7ac3125"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkMediaServerDialogState._handleAddAddress (cognitive 17): _NetworkMediaServerDialogState._handleAddAddress has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eeb6177c8fe368d77fdcaf08541796670127885d6bc0bde48237f91723c67b7"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlaylistMenuState._buildContent (cognitive 17): _PlaylistMenuState._buildContent has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 3, boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf701e410c592cbad56c107cfe337f44c3269dc7ca32228e7c851247485fc89"}},{"ruleId":"D2","level":"warning","message":{"text":"_SwitchableViewState.build (cognitive 17): _SwitchableViewState.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/switchable_view.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"192d3654bc3fb4a53a1b46e112db865a2496801ea38681237156d2f7fc458813"}},{"ruleId":"D2","level":"warning","message":{"text":"DecoderManager._updateActiveDecoderInfo (cognitive 17): DecoderManager._updateActiveDecoderInfo has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (5 pts), ternaries 1 (2 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/decoder_manager.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9349c7c4d1cf464f91d0907becf7ee648275663cf242208f8497df5d195d7a"}},{"ruleId":"D2","level":"warning","message":{"text":"LinuxStorageMigration.performMigration (cognitive 17): LinuxStorageMigration.performMigration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (4 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/linux_storage_migration.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2177818d28121a89997998c6aff2034aae3699087b2740ce8f3494c60dfc8307"}},{"ruleId":"D2","level":"warning","message":{"text":"LinuxStorageMigration.emergencyRestorePersonalFiles (cognitive 17): LinuxStorageMigration.emergencyRestorePersonalFiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (4 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/linux_storage_migration.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f1d9e4f315b2e80549f2db09b0125a86609d77e68b886b1a6d25de5807a26f"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaIdentityResolver.forPath (cognitive 17): MediaIdentityResolver.forPath has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 7, boolean chains 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/utils/media_identity_resolver.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"340f4765aeab8ead11c7ea93183fa47873e5171be743e94383e44c9c80bd6902"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessAddressUtils.classifyUrl (cognitive 17): RemoteAccessAddressUtils.classifyUrl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5 (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/utils/remote_access_address_utils.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a188af0dc21015206dfa0403a4ec1c170843337134e7bc7bbb9773313a15a48"}},{"ruleId":"D2","level":"warning","message":{"text":"SubtitleManager._clearExternalSubtitleState (cognitive 17): SubtitleManager._clearExternalSubtitleState has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9afd0da98d1f2119ddebf30e63016a7ad5798c654011159f05079454b0bdb27"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-build-info-json._detect_memory_bytes (cognitive 17): generate-build-info-json._detect_memory_bytes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/scripts/generate-build-info-json.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae31047ef77493565f75a6c5ff2e82282f82a81ffb6a24b3d744e98384667b18"}},{"ruleId":"D2","level":"warning","message":{"text":"smoke-macos-app.main (cognitive 17): smoke-macos-app.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/scripts/smoke-macos-app.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb664c48115300cb357566d41a0c22acf1af8cca12a553fdbdeb2bbc5b2ea06c"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseState::handle_start (cognitive 17): ResponseState::handle_start has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. 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":"rust/src/api/webdav_multistatus.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04722d2a2853ce6a1c900c3e1f1d9358400806f6d15c0c31fead4e130d2c7e8"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::api::ass_converter::convert_prepared_danmaku_to_ass (cognitive 17): rust_lib_nipaplay::api::ass_converter::convert_prepared_danmaku_to_ass has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/ass_converter.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b6de1b738284e3686958426aa6b0c0d3a18666202a2a34fd55fb519c50aae6"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::api::startup_commands::parse_startup_command (cognitive 17): rust_lib_nipaplay::api::startup_commands::parse_startup_command has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/startup_commands.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d5d5de9ad65ac2389630221bc66263f96263362c7f2650afb29ff16abf6d7a"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeLibrary._open (cognitive 16): NativeLibrary._open has cognitive complexity 16 (threshold 15). Drivers by points: error handling 2 (6 pts), if/else 6, loops 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cpp_native/native_library.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2a6c600581476a20fb37b8c0d52a7dfb0bcd4697b633ee3c5dfb4c1b258045"}},{"ruleId":"D2","level":"warning","message":{"text":"MsdfFontAtlas._traceContour (cognitive 16): MsdfFontAtlas._traceContour has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/msdf_font_atlas.dart"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd6a5c47e93c2f91c5fd72f8ae3a620ad539bc12ab41d7d38e635fc166cc87c"}},{"ruleId":"D2","level":"warning","message":{"text":"_AdaptiveMediaLibraryPageState._handleRequestedSection (cognitive 16): _AdaptiveMediaLibraryPageState._handleRequestedSection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_page.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5ea56eb4e595fd9693a9a2be914f3a29f0b8a6e45fad2b91f7865dbce18996"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryManager._checkAndRecoverFromBackup (cognitive 16): WatchHistoryManager._checkAndRecoverFromBackup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 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/models/watch_history_model.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67051b174b013854ee0805160447ae960b1c3e542c286781c9a0f7038fc47a9"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchHistoryManager._loadCacheFromFile (cognitive 16): WatchHistoryManager._loadCacheFromFile has cognitive complexity 16 (threshold 15). Drivers by points: error handling 3 (7 pts), if/else 4 (6 pts), loops 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc9d6ccefeed7aacd5a9ba86d7371ed35a06759544ef98e1547fa9f1c8ac6e6"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountPageController.saveBangumiToken (cognitive 16): AccountPageController.saveBangumiToken has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/account/account_controller.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"3572348cbbaad25f5b484b6c316ee11c69dc2b4d010b6bd0578e97664d2270e6"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._loadPlaybackEpisodes (cognitive 16): _AnimeDetailPageState._loadPlaybackEpisodes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0070db16b70e7ebcd310b2af1f0b9059f4fa125a89fce865d79bd96506be1dd"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._extractBangumiSubjectId (cognitive 16): _AnimeDetailPageState._extractBangumiSubjectId has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 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/pages/anime_detail_page.dart"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad2964b0cc908187e0601e4bf3894fb6320b356bcaa25914f4603670c3df246"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeDetailPageState._buildImmersiveEpisodeRail (cognitive 16): _AnimeDetailPageState._buildImmersiveEpisodeRail has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9, boolean chains 6, if/else 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c22bc052bed11930b0905c49f63aae525c3b3583f525340b6d3185c84c0f7c"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState._requestLargeScreenContentFocus (cognitive 16): _MediaServerDetailPageState._requestLargeScreenContentFocus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 7. 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/pages/media_server_detail_page.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"422225549fe07ea5b0da9ab181d82029cc22e873ef855c6f8a5b19bd8a101961"}},{"ruleId":"D2","level":"warning","message":{"text":"_MediaServerDetailPageState._buildLargeScreenDetailPage (cognitive 16): _MediaServerDetailPageState._buildLargeScreenDetailPage has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (6 pts), boolean chains 5, if/else 5 (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/pages/media_server_detail_page.dart"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"26491b3af47844825886ca74ecc8f7385f23d5776cb32c7c9c6fb04b5930b048"}},{"ruleId":"D2","level":"warning","message":{"text":"_NewSeriesPageState._buildLargeScreenMainContent (cognitive 16): _NewSeriesPageState._buildLargeScreenMainContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 6, boolean chains 2, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/new_series_page.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bf749230d7f446aa6a061901e7222a69ad1c963904a4f176ea22a4d833e57a"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManifest.fromJson (cognitive 16): PluginManifest.fromJson has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 2, ternaries 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/models/plugin_manifest.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82fe8598dc20b5b231b7dad6e891fb403ffff3379a9dba4dd527054931d27e7"}},{"ruleId":"D2","level":"warning","message":{"text":"_AnimeInfoRepository._loadAnimeEpisodeDebugTitles (cognitive 16): _AnimeInfoRepository._loadAnimeEpisodeDebugTitles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (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/services/anime_info/anime_info_service_impl.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5655070d808222414986f45d11bdeb462f1eb8a34812ba2b5f4fdc36814e7594"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiApiService.getUserCollection (cognitive 16): BangumiApiService.getUserCollection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_api_service.dart"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"734dbed85e70a84521dd779b8deb583618c903cff4e7dc40a13877e0f308ef2c"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayRemoteService.refreshLibrary (cognitive 16): DandanplayRemoteService.refreshLibrary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_remote_service.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"177529419103a19aa24627b685247500a20237e8ca6f230a07bee8f489d55c1a"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayRemoteService._extractDandanplayIdentifier (cognitive 16): DandanplayRemoteService._extractDandanplayIdentifier has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (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/services/dandanplay_remote_service.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b894387375c6d6ba3101b84d49f607109a6976047aaec45dbe7a35c3b570527f"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getUserPlayHistory (cognitive 16): DandanplayService.getUserPlayHistory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07168317d90914c6f7e81988ca85b4cf824a9c1e022383aa5aed90256195ef0"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.getVideoInfo (cognitive 16): DandanplayService.getVideoInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cd7f1f1985d98702239fac3f4162cd3df3a4c8c3208162c10ecefbcac00e81"}},{"ruleId":"D2","level":"warning","message":{"text":"DandanplayService.sendDanmaku (cognitive 16): DandanplayService.sendDanmaku has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (3 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/services/dandanplay_service_stub.dart"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"3816a0149623accfecc4d27dafbbb7510408ca4e3a07b81baf70e4a5af0ca719"}},{"ruleId":"D2","level":"warning","message":{"text":"_DatabaseDebugPrinter.printAnimeEpisodeRelations (cognitive 16): _DatabaseDebugPrinter.printAnimeEpisodeRelations has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 4 (6 pts), boolean chains 2 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/database/database_debug.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75434dc869c6d2b4d01ced6217d02c8cdaef1d4712430e32e072f0485116462"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeFileSelectionService.select (cognitive 16): EpisodeFileSelectionService.select has cognitive complexity 16 (threshold 15). Drivers by points: error handling 3 (7 pts), if/else 3 (6 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_file_selection_service.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a25aedda84d101a68b29e95d228f523963d1d51bcfe2704bd6283dbd15ec81"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeNavigationService._extractDandanplayIdentifier (cognitive 16): EpisodeNavigationService._extractDandanplayIdentifier has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (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/services/episode_navigation_service.dart"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1eefe9a7ff5aa65bd4bfb03a99958c46ba3ad581f11f2d6b0cfc9843194d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuIntroDetector.parseTimestamp (cognitive 16): DanmakuIntroDetector.parseTimestamp has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/intro_skip/danmaku_intro_detector.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3625583a92c8a6d5e13be62862ee400be8e21284a107ba2f59597f1176f4ddc6"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMediaManagementApi._buildEntryJson (cognitive 16): LocalMediaManagementApi._buildEntryJson has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e775920964e8f6ae5e334257b629ea7401e7dacf024f04172349b8b8fa33c5d"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaServerWatchHistorySync._canMigrateLegacy (cognitive 16): MediaServerWatchHistorySync._canMigrateLegacy has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (6 pts), error handling 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_watch_history_sync.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9d79f812ebbefbb1b81fd70ffcfc22701bf1c62d909864deefc89c0178b239"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackService.tryPlayExternally (cognitive 16): PlaybackService.tryPlayExternally has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_service.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdeb3d92870bbc22bf638d6b1b89407bb4fa6ed872280c4ef3e595bc3e8c212"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerRemoteControlBridge._setDanmakuBlockWords (cognitive 16): PlayerRemoteControlBridge._setDanmakuBlockWords has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"98516c34c9f60c6ada312c29926f183640c1f377f24e968e2b68e2080962fbe3"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteControlClientService.fetchState (cognitive 16): RemoteControlClientService.fetchState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1544d952ce672b29fad97b11887ca80935097de449a08507adf4fbc396a5265"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService._updateScanState (cognitive 16): ScanService._updateScanState has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5745f5f883d0c72c9cc123a75f6e4501fff63a60a157c315179ff50f32b5c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityBookmarkService.restoreAllBookmarks (cognitive 16): SecurityBookmarkService.restoreAllBookmarks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/security_bookmark_service.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0840350850a7293354b67faf5dcc96a2d69b73333cfc4689b7eb682e607393"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemotePlaybackSyncService.syncProgress (cognitive 16): SharedRemotePlaybackSyncService.syncProgress has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3, error handling 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/shared_remote_playback_sync_service.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7af377cf24e8b6db85787115ca3e08f45960219326bf289cfab63375b69d877"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedRemotePlaybackSyncService.syncThumbnail (cognitive 16): SharedRemotePlaybackSyncService.syncThumbnail has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 3, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/shared_remote_playback_sync_service.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"342122699ca4362782bca91c27f85a83b28573e51e8456e451fac85f80e326cc"}},{"ruleId":"D2","level":"warning","message":{"text":"WebRemoteHistorySyncService.syncProgress (cognitive 16): WebRemoteHistorySyncService.syncProgress has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3, boolean chains 2, 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/services/web_remote_history_sync_service.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"639d1e348de52fdf1c7f34b9b3d36233c6bb86f1f5c2f2605e4d5318777b1f61"}},{"ruleId":"D2","level":"warning","message":{"text":"DeveloperOptionsSettingsContent.build (cognitive 16): DeveloperOptionsSettingsContent.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (6 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/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"042e1cb8ff98cbb6c6b5ca469624ab08c75b27f025967174eebeb7fa5f6569e7"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebDAVQuickSettingsContentState.build (cognitive 16): _WebDAVQuickSettingsContentState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/webdav_quick_settings_content.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"506363ed080610a9a4fdceca2468357eae5ce7c1c6ac622829c2965a55e48e74"}},{"ruleId":"D2","level":"warning","message":{"text":"CupertinoBottomSheet._buildSheet (cognitive 16): CupertinoBottomSheet._buildSheet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, boolean chains 5, ternaries 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_bottom_sheet.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a66660c55f094bc5604bfa60f83baeb248a113ac9842b51b0631b1c6a28102e"}},{"ruleId":"D2","level":"warning","message":{"text":"_CupertinoJellyfinQualityPaneState._loadInitialState (cognitive 16): _CupertinoJellyfinQualityPaneState._loadInitialState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f5798f4e5c19f5e0d88944e73b39dad48605b1d28d4c7df7fcb42c67764833"}},{"ruleId":"D2","level":"warning","message":{"text":"_BackupRestorePageState._backupHistory (cognitive 16): _BackupRestorePageState._backupHistory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b0419f294441b3d2ff82799f27cdde5b8fbf3c8a957f97c97f1dcf65a66613"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomMediaInfoDialog._showStep1 (cognitive 16): CustomMediaInfoDialog._showStep1 has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 13, if/else 2, boolean chains 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/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"328fd50250dc5651bc12378fce62b2f56b9d1ca9467e551dcd27a7ddd4a927c5"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuSettingsMenuState._pickDanmakuFontFolder (cognitive 16): _DanmakuSettingsMenuState._pickDanmakuFontFolder has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ebab83ae5b96a3c181772ad895ef7811ef250134ace9b57869b8758ef7f829"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayLargeScreenFocusableActionState.build (cognitive 16): _NipaplayLargeScreenFocusableActionState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 6, boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_focusable_action.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71e7f5d9eed1d1bb7f5c6a668247092fbde2de7e88561a9264d069ed0f54f90"}},{"ruleId":"D2","level":"warning","message":{"text":"_NipaplayLargeScreenPlayerMenuPanelState._handleKeyEvent (cognitive 16): _NipaplayLargeScreenPlayerMenuPanelState._handleKeyEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"babc4727a06cfdfac422b4d9440bc60520ce18361383d07f4d1767634de1a4d2"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryManagementTabState._showMountedCustomMediaInfo (cognitive 16): _LibraryManagementTabState._showMountedCustomMediaInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4, error handling 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0bdcff2f8a5823e98e08968449b5d02da37f9dcf6596967abe6ca76f74af50"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkMediaLibraryViewState._buildLibraryContentView (cognitive 16): _NetworkMediaLibraryViewState._buildLibraryContentView has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (11 pts), if/else 4, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0223b76ad3542c186fa9a7a9ee15c437be3b297f9f8daa3d860a2c20ded29ee6"}},{"ruleId":"D2","level":"warning","message":{"text":"_SeekStepMenuState.build (cognitive 16): _SeekStepMenuState.build has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 11, if/else 3, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/seek_step_menu.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eca347e02dc23f504a7f5a43440d0a198f466b1cc575ae76ce8419b6909bcb3"}},{"ruleId":"D2","level":"warning","message":{"text":"_SharedRemoteLibraryViewState._ensureManagementLoaded (cognitive 16): _SharedRemoteLibraryViewState._ensureManagementLoaded has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d1099b9acc2a29eaab830be140db5c79bf133428ced3ddcdca4455128aeccd"}},{"ruleId":"D2","level":"warning","message":{"text":"_SharedRemoteLibraryViewState._buildUnifiedRemoteManagementItems (cognitive 16): _SharedRemoteLibraryViewState._buildUnifiedRemoteManagementItems has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7177ebc7405be4744e232e35b6090e551865e9afae6ca4f8f26013382b16c4"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebRemoteAccessGateState.build (cognitive 16): _WebRemoteAccessGateState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 5 (8 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/web_remote_access_gate.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2095b9c191312972b655d02b90ec4b691a59e0e795434839b24274786177dac"}},{"ruleId":"D2","level":"warning","message":{"text":"ChineseConverter.convertAnimeData (cognitive 16): ChineseConverter.convertAnimeData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/chinese_converter.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a89586b3cd4ccf78652eed34d9485a4d57b7ee17e395926cfd393a8eae3924"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageCacheManager._enforceByteBudget (cognitive 16): ImageCacheManager._enforceByteBudget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb05237f92ea89c1946656d8cc1d4a3ddec3f4e6be6f418822b6e796c0272b63"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerState.dispose (cognitive 16): VideoPlayerState.dispose has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, error handling 3 (5 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3ef6e8be3ec5259fa12c2449cc108f38ef48698bb5a378f7a3f5997443925e"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuOverlayState.build (cognitive 16): _DanmakuOverlayState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_overlay.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8aa13edf41cdd34178b516968fa30c8e0fb22b3f9f19ff1e9dc7a2385f0767a"}},{"ruleId":"D2","level":"warning","message":{"text":"MotionClock::anchor (cognitive 16): MotionClock::anchor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/motion.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d65fe79ebb9287353e52dc88b5d86325582ef8c33b7fa3e5e21d12a4d44b177"}},{"ruleId":"D2","level":"warning","message":{"text":"Next2GlyphAtlas::alloc_atlas_space (cognitive 16): Next2GlyphAtlas::alloc_atlas_space has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, 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":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9406c7bc0277ee09ee2b1b69c040d587f5a9e8114533df5ced8d5989f84b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"Next2GlyphAtlas::evict_oldest (cognitive 16): Next2GlyphAtlas::evict_oldest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2de30f3a19097744be12587c37f5efdc6098dfba8a460e5a68b0921527bbe7"}},{"ruleId":"D2","level":"warning","message":{"text":"Next2Renderer::update_frame (cognitive 16): Next2Renderer::update_frame has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/renderer_core.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"197511eadcaf4dc82cec6b6d34d6de2c0fa460d8da4538555eeee8d655f95fdc"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::api::media_probe::probe_remote_media (cognitive 16): rust_lib_nipaplay::api::media_probe::probe_remote_media has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/media_probe.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"08260b663ea150fe6785329ee19953cacb793a88425bf7356a9de4ff0242b901"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_lib_nipaplay::api::torrent::handle_stream_request (cognitive 16): rust_lib_nipaplay::api::torrent::handle_stream_request has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/torrent.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a3228c7c179e7f4a378d488d3545ec07905beb570807f9e58dea90a508e209"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _LibraryManagementTabState: ClassTooLong \u2014 4590 significant lines (blank, comment-only and punctuation-only lines excluded), 132 methods. The bar is 400 significant lines; this is 4190 over it, 11.48\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3a197c36c0da59a1a0c423683f365117cbc6ff1c4e29be96bca45d38c50ce5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/library_management_tab.dart: FileTooLong \u2014 4770 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _LibraryManagementTabState (236-6622). The bar is 500 significant lines; this is 4270 over it, 9.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adde3e70ab008f10df2f61f3c3762ceba1a41ad1c2438e4d25320209b3f54a3f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VideoPlayerState: TooManyMethods \u2014 274 methods. The bar is 30 methods; this is 244 over it, 9.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2df11a9cbf36be2f3446b92f877a3857e5aa52f52934592d5efda1e2fd8643"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AnimeDetailPageState: ClassTooLong \u2014 2695 significant lines (blank, comment-only and punctuation-only lines excluded), 78 methods. The bar is 400 significant lines; this is 2295 over it, 6.74\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7358521d2cae1d2530fa8cf413d94e34776b9bcdfd30ea2da7e647eaa5a6419"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PlayerSettingsContentState.build: MethodTooLong \u2014 build runs 655 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 555 over it, 6.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/player_settings_content.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6881a917fc43809e95c0ea4eab737e45911e6d354f92fc1055c85bb5f98392cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuSettingsContentState.build: MethodTooLong \u2014 build runs 636 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 536 over it, 6.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/danmaku_settings_content.dart"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec1454839071e2dfd07bf8e4925bdec9aae86be718cb7f864ca9ab5341c316e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CustomMediaInfoDialog._showStep1: MethodTooLong \u2014 _showStep1 runs 632 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 532 over it, 6.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a53a413b0e7fdbf3f57a44f529b6b963f00e468d156c5048447e3df05eaf12"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MediaKitPlayerAdapter: ClassTooLong \u2014 2491 significant lines (blank, comment-only and punctuation-only lines excluded), 126 methods. The bar is 400 significant lines; this is 2091 over it, 6.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79c9efb14cdd5556ac607c8418b5b088b4cb7f5bb29e68cd29c13ca5101f500"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/anime_detail_page.dart: FileTooLong \u2014 3054 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: _AnimeDetailPageState (202-3911). The bar is 500 significant lines; this is 2554 over it, 6.11\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/pages/anime_detail_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c95d286e9d2d745d87be7d501a2e99b5964ef151ec5ad1395c9d8265be49c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DanmakuAtlasPainter.paint: MethodTooLong \u2014 paint runs 562 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 462 over it, 5.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/danmaku_atlas_painter.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18cf63ff63481c0a05aadc8df7d96209d19eb42157f2bc6c4ac897ada149ed7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AppearanceSettingsContentState.build: MethodTooLong \u2014 build runs 537 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 437 over it, 5.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/appearance_settings_content.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b9f2d795c6d0f2185b04d99060deb691fdeed562f8bbfaaced12eda47757d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player_abstraction/media_kit_player_adapter.dart: FileTooLong \u2014 2670 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: MediaKitPlayerAdapter (62-3830). The bar is 500 significant lines; this is 2170 over it, 5.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ab0e7fe20f3591b8f44cc1caa64355eedacdc79e735887af25c18c3c4521fd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerRemoteControlBridge._buildParameters: MethodTooLong \u2014 _buildParameters runs 525 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 425 over it, 5.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a08c9dbbd8deb123c335748d8a63eb39a4c3c9d681a21aa96baed7275a038d9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DandanplayService: ClassTooLong \u2014 2002 significant lines (blank, comment-only and punctuation-only lines excluded), 91 methods. The bar is 400 significant lines; this is 1602 over it, 5.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a29192b93b5b5bde646d76dbd532d2f171e96bc80f0f9d2916eed1a495a4ec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DandanplayService: ClassTooLong \u2014 1965 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods. The bar is 400 significant lines; this is 1565 over it, 4.91\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14374c762a5d71a1ec64d92af818fe9bf5be1f0b5411b5d1f23523775778f3d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _LibraryManagementTabState: TooManyMethods \u2014 132 methods. The bar is 30 methods; this is 102 over it, 4.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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"154601ac208ad46e44d463ac54bbd2d0f06d8c1414dc4812f82f5fbfaffdb7c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuListMenuState.build: MethodTooLong \u2014 build runs 425 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 325 over it, 4.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed589cf1e63d43504225ca75533478572f1cd3d19515b105ed666adf88b06de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MediaKitPlayerAdapter: TooManyMethods \u2014 126 methods. The bar is 30 methods; this is 96 over it, 4.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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0625cd3d670a09b9a4c0eb1ab2f92f947e30e6c5f6b588cbda6bf03dc2d41c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeDetailPageState._buildEpisodesListView: MethodTooLong \u2014 _buildEpisodesListView runs 414 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 314 over it, 4.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e458788bc9fee51593b809bd197461fe3bda468a655984bc029f9f69bb67896"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/torrent_download_page.dart: FileTooLong \u2014 2066 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1566 over it, 4.13\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/pages/torrent_download_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"751c8077eb35e74911682ba986aed7f5f6e740f55fc3c878533068d5c6359a87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/dandanplay_service_io.dart: FileTooLong \u2014 2023 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: DandanplayService (22-2929). The bar is 500 significant lines; this is 1523 over it, 4.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b89f4a17c0c074dde6f278b92a289734086719a6e7348250ffedce964d20a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _MediaServerDetailPageState: ClassTooLong \u2014 1612 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 1212 over it, 4.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e5c2fb6bc2ca6c60272e255ef4f62424e5ff7b738229fac3e2b6ba41b7e957"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/dandanplay_service_stub.dart: FileTooLong \u2014 1979 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: DandanplayService (16-2778). The bar is 500 significant lines; this is 1479 over it, 3.96\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66114e27bfbfa14d1de85f5f4223ba4ab84bb32a89752c9cdb0120d30d5fd016"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SharedRemoteLibraryProvider: ClassTooLong \u2014 1575 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods. The bar is 400 significant lines; this is 1175 over it, 3.94\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/providers/shared_remote_library_provider.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2266491a0744ad43abbd06989cd150aab0ac6fb66583ee5f0e648323670e437b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _NetworkMediaLibraryViewState: ClassTooLong \u2014 1560 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 400 significant lines; this is 1160 over it, 3.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d85ba6e673c7c1740d8a72cb25744104edc9df900c7b342f58da1c9a6e9dc3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SubtitleManager: ClassTooLong \u2014 1558 significant lines (blank, comment-only and punctuation-only lines excluded), 81 methods. The bar is 400 significant lines; this is 1158 over it, 3.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4e7de19407ffa95218a3f9e5014686d224a893d1092cde2ee041cec905af93"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ModernVideoControlsState.build: MethodTooLong \u2014 build runs 365 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 265 over it, 3.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09e364fe5f0dc4610b91cfc5a97211815367b32cbe42daad7a362266aee5a86"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebDAVService: ClassTooLong \u2014 1428 significant lines (blank, comment-only and punctuation-only lines excluded), 77 methods. The bar is 400 significant lines; this is 1028 over it, 3.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b686c656908113ae437e6ac50c138a8ac5cfc1074a47e0710cd055d59d05792"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _WebDAVBrowserPageState: ClassTooLong \u2014 1420 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 1020 over it, 3.55\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/pages/webdav_browser_page.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa7a3c4fdb9a9a67b27d7a14035c41312c240ca81c4c5a3383aefcadcc8786d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SeekStepMenuState.build: MethodTooLong \u2014 build runs 345 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 245 over it, 3.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/seek_step_menu.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9eb1e9c73d59392eab40251aeb02ade7812c36cf449dba930f0f3bb2a9ddda"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EmbyService: ClassTooLong \u2014 1379 significant lines (blank, comment-only and punctuation-only lines excluded), 84 methods. The bar is 400 significant lines; this is 979 over it, 3.45\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5233b95ee60e67e31034d0706e54b5ed3154c407a494276133256ed837638e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/network_media_library_view.dart: FileTooLong \u2014 1718 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: _NetworkMediaLibraryViewState (172-2403). The bar is 500 significant lines; this is 1218 over it, 3.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8645edbe5697018ea8f6c3ddbf430ee291f01f9183956fe31fa4829f48425ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/media_server_detail_page.dart: FileTooLong \u2014 1708 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _MediaServerDetailPageState (120-2355). The bar is 500 significant lines; this is 1208 over it, 3.42\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/pages/media_server_detail_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"833f951e070b3852a4e60445efbcd22ced3c8e8a2afdd75162f4e0a000bd7a80"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EpisodeNavigationService: ClassTooLong \u2014 1362 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 962 over it, 3.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60f6653a000d4d4a2d6f2970f7e626426f2ee9d575d5517522e72b1b373a765"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SharedRemoteLibraryViewState: ClassTooLong \u2014 1359 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 959 over it, 3.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/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bdfbad6d5671bd6319ab75dd44b0341e43fb6ae38d1ac6669e93acf19c591c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VideoPlayerState: ClassTooLong \u2014 1355 significant lines (blank, comment-only and punctuation-only lines excluded), 274 methods. The bar is 400 significant lines; this is 955 over it, 3.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/utils/video_player_state.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc39bd58ba4ad45e8994144ee4728f789531ca136be80bd82045565bddeee9e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CupertinoDanmakuSettingsPaneState.build: MethodTooLong \u2014 build runs 337 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 237 over it, 3.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae5ef8cad495eeae11ae4cd8054727d33d4c35f45167e5dd06d3c85da1fd789"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PlayVideoPageState._buildMaterialControls: MethodTooLong \u2014 _buildMaterialControls runs 336 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 236 over it, 3.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"395d18b0642755c3a13c491b015fe71b019fbdaec7de013e1f9a8c45490366c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SubtitleListMenuState.build: MethodTooLong \u2014 build runs 330 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 230 over it, 3.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a00ba2b38ae0c9b214832e7fd7f034f725d3500249ab87435af2c4d789e7cc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteSubtitleService: ClassTooLong \u2014 1313 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 913 over it, 3.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"083dd206cd71bcb914613d9331d090fc008718e9b2ebeb594267cd699693b06b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JellyfinService: ClassTooLong \u2014 1296 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods. The bar is 400 significant lines; this is 896 over it, 3.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"763849b9f3acda914dc4027bea29ccbd2423a4135839e31dee69878e7dda5b75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/video_player_state.dart: FileTooLong \u2014 1608 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: VideoPlayerState (316-2207). The bar is 500 significant lines; this is 1108 over it, 3.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5913fa2ffb69bea66401559d7589a0df83e36e93644e024f84922f985527bfa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/shared_remote_library_provider.dart: FileTooLong \u2014 1596 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: SharedRemoteLibraryProvider (27-2165). The bar is 500 significant lines; this is 1096 over it, 3.19\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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b5bb6c57bc1f631431b2fd1399b6ac062d2745a51895b5ef7b1f3c7c589063"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/subtitle_manager.dart: FileTooLong \u2014 1583 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: SubtitleManager (20-2381). The bar is 500 significant lines; this is 1083 over it, 3.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7f81a0350f335026722aee38c62b690174d05c9538671b59f9943d3c88b8d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/main.dart: FileTooLong \u2014 1579 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1079 over it, 3.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9b7d0917cfe5c8a8896b3266ae5cb21018e2995aba6f4c2d89358cddfa6e8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/webdav_service.dart: FileTooLong \u2014 1568 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: WebDAVService (187-2260). The bar is 500 significant lines; this is 1068 over it, 3.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ee233d29e4d998648cafd560d1cd856ba2286ff6ed1ce45b20f766ddf4f135"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/webdav_browser_page.dart: FileTooLong \u2014 1567 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: _WebDAVBrowserPageState (42-2097). The bar is 500 significant lines; this is 1067 over it, 3.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af709d93fdb45e9c538882845b8a764218cc3a0ca645c4576c83842031ffd78"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _RemoteMediaLibrarySettingsContentState: ClassTooLong \u2014 1234 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 834 over it, 3.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/remote_media_library_settings_content.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9dc6c9d0b7dbdf26a7506ef87e82986618f7b6c664351df0117a4e2b538af8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player_abstraction/erika_player_adapter.dart: FileTooLong \u2014 1536 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: ErikaPlayerAdapter (574-2015). The bar is 500 significant lines; this is 1036 over it, 3.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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9565cd24661b3564ca3f421fafbb18c878af0f2589c3e730449ca5f1af4fc4ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeMatchDialogState.build: MethodTooLong \u2014 build runs 307 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 207 over it, 3.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/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a452eb3649a132266b7d6f818db5a3072de22a8abdc9d377189aa85e9fc53135"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeMatchDialogState.build: MethodTooLong \u2014 build runs 307 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 207 over it, 3.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/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a470c8432b0d10eab83db758211618b1ab67d7e43cf4f927527f26ed308c9fd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WebDAVQuickSettingsContentState.build: MethodTooLong \u2014 build runs 307 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 207 over it, 3.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/settings/pages/webdav_quick_settings_content.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8de750030d1606373baa213817cb8d4dadebacf484968a2dca64336d6ff90b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PluginService: ClassTooLong \u2014 1220 significant lines (blank, comment-only and punctuation-only lines excluded), 82 methods. The bar is 400 significant lines; this is 820 over it, 3.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/plugins/plugin_service.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ed0f3e18c853418cc114933efba2cf77ee83760a69d2410e89626fd4a900fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ErikaPlayerAdapter: TooManyMethods \u2014 91 methods. The bar is 30 methods; this is 61 over it, 3.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"0819204a86bb51124c0ec33a4831e72551780445f91effaf6bae60b5e73b6fec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DandanplayService: TooManyMethods \u2014 91 methods. The bar is 30 methods; this is 61 over it, 3.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b50aedf80b4e8ad772b00892840c02f465ffc75d7cac0e20ca7eb90727be0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/remote_subtitle_service.dart: FileTooLong \u2014 1467 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: RemoteSubtitleService (171-1997). The bar is 500 significant lines; this is 967 over it, 2.93\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa496f1abab36b154ca424db08b47b05307f09083b715d29ff6ee749b125a6b4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DanmakuSettingsContentState: ClassTooLong \u2014 1162 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 762 over it, 2.91\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/settings/pages/danmaku_settings_content.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59dd34bf821c0c2c0f7d7adcd52d954d4964524254127091062228c146c602e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlayerRemoteControlBridge: ClassTooLong \u2014 1156 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 756 over it, 2.89\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2774dd46b79c1d96d42efcf5b4036bc3e689da82f70368ad4c19856d221f3553"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/emby_service.dart: FileTooLong \u2014 1415 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: EmbyService (51-2086). The bar is 500 significant lines; this is 915 over it, 2.83\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"894e745d07d828b13e50938126e959ba97c875e827d231df307233393fc7e631"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/episode_navigation_service.dart: FileTooLong \u2014 1404 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: EpisodeNavigationService (84-2295). The bar is 500 significant lines; this is 904 over it, 2.81\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c1fcff0788eadaf1c79442caf98dfad017c17ceaa1757fe69f31c402e7ad25"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EmbyService: TooManyMethods \u2014 84 methods. The bar is 30 methods; this is 54 over it, 2.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32624df429a7a0a28da8663f7094fadc160eaee118b4e066dcac51d9dab6bcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/shared_remote_library_view.dart: FileTooLong \u2014 1399 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _SharedRemoteLibraryViewState (50-1921). The bar is 500 significant lines; this is 899 over it, 2.80\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c600cc6e9eed825e1981950ddeb96ae36da55cb43b6b1a5520513e7cc50522c9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DandanplayService: 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/services/dandanplay_service_stub.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2385b7571cc42bd4dd95c8ca0e91784c587f41f91b733509a28649be3f47b669"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SubtitleTracksMenuState.build: MethodTooLong \u2014 build runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fa1ed94b45688b35d377581d53c3aa2276607295680e4c88be3039c93d0ddf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PluginService: TooManyMethods \u2014 82 methods. The bar is 30 methods; this is 52 over it, 2.73\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/plugins/plugin_service.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b826a5d69e1edfb83037819ac6b1e02f6670968189ed6198743682e6fff637"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ExternalSubtitleOverlayState._buildPathBlock: MethodTooLong \u2014 _buildPathBlock runs 271 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 171 over it, 2.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/external_subtitle_overlay.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7322751d62e2ae48d6ad53bd87c3a3943a8d7a3564c3dc4710609c140c1be907"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubtitleManager: TooManyMethods \u2014 81 methods. The bar is 30 methods; this is 51 over it, 2.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce52504239c1693e5daa2592e5824dc608b3c5c6b855398316439031213ccd6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JellyfinDandanplayMatcher._matchWithDandanPlay: MethodTooLong \u2014 _matchWithDandanPlay runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5027b86cb443ef416fc2ab7952847f7314f4c813754dbfe343c4f6210690f4f7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JellyfinService: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ae0b8b8cd837162d76bbb903934f92357bd4a6572432ab8fb827580753a933"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MediaServerServiceBase: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_service_base.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cbaa0209234b0a0177bdda6936d0d23cfa62577c439423747b2794f71c6fbd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EmbyDandanplayMatcher._matchWithDandanPlay: MethodTooLong \u2014 _matchWithDandanPlay runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"404db484173827f251cf747aceaee48330aa8a4329a589a2440197d57389fe09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/custom_media_info_dialog.dart: FileTooLong \u2014 1322 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 822 over it, 2.64\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/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4e0c86bcabaeb21267478a03ea377a3189e0925fb1903810262c0a93954bd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/jellyfin_service.dart: FileTooLong \u2014 1319 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: JellyfinService (26-1962). The bar is 500 significant lines; this is 819 over it, 2.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfd4e9c5b28cd6ada9182f2ceadb498f65bfb8662c12bb2a4a893eacc5654b2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _PlayVideoPageState: ClassTooLong \u2014 1055 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 655 over it, 2.64\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b709dc5e699ee65f946ac787afa84e709d2ce9af8f6cd8535d34c9a9edbec2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ErikaPlayerAdapter: ClassTooLong \u2014 1053 significant lines (blank, comment-only and punctuation-only lines excluded), 91 methods. The bar is 400 significant lines; this is 653 over it, 2.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e2abb48913c5644e93d2aa12207406d5862296a4bab54a145f31673d4e0ca8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _AnimeDetailPageState: TooManyMethods \u2014 78 methods. The bar is 30 methods; this is 48 over it, 2.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/pages/anime_detail_page.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"87414b7e2a621d01d383e6b31e703b940554069f64ab02949eeca57da9d849c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NipaplayWindowScaffoldState.build: MethodTooLong \u2014 build runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/nipaplay_window.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe63775e19f2e7ec5022cbfceb72ab41b0a367a38af85d14c9edb8387fa0d79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PlaylistMenuState._playEpisode: MethodTooLong \u2014 _playEpisode runs 259 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 159 over it, 2.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"38df1432bea98ab74323bfe2ddc241041f21cd9f774d60b9a74a840c6b1dac11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/remote_media_library_settings_content.dart: FileTooLong \u2014 1293 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _RemoteMediaLibrarySettingsContentState (46-1678). The bar is 500 significant lines; this is 793 over it, 2.59\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/settings/pages/remote_media_library_settings_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"959e02deedc35aff04701ab6ad6faf64a883f880a83e43e437792c74a31fa398"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _NipaplayLargeScreenScaffoldLayoutState: ClassTooLong \u2014 1032 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 632 over it, 2.58\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ed5610fc3d42e5203ce1842695c16fc6a706d08cf68cabf0f479dd76c41183"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _PlaylistMenuState: ClassTooLong \u2014 1030 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 630 over it, 2.58\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ae5698351dc87fa3ac5c667777d8219d03ad33f7d6958d33a459f588b9cfed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebDAVService: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"932be3e24614c5b89d4ddae6e65895ede018af97f0c90abc5f0e314affb23139"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Player: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cf15aa53c94d2298465761cfa5383fa475c53bea921fd908f648fc8c229c19"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SharedRemoteLibraryProvider: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e6fdf263f10f0e83ccaf57cef87210672d322826bb24aad975ac7f36e57636"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/plugin_service.dart: FileTooLong \u2014 1263 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: PluginService (32-1754). The bar is 500 significant lines; this is 763 over it, 2.53\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/plugins/plugin_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"560342bb67f34bcb643e449c67dffcaae0e218b06ba92e825607c24745de7277"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuContainerState._getYPosition: MethodTooLong \u2014 _getYPosition runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"325d68488489df11b999a9d7df711a5973412b6c449adb91034f5412bf48a40c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DanmakuSettingsMenuState: ClassTooLong \u2014 1005 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 605 over it, 2.51\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/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a509d8c1fb4ec723b598d37013bab24af0abed4d08d860b2f2404192e342ce4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video_player_state/video_player_state_danmaku.dart: FileTooLong \u2014 1237 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 737 over it, 2.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_danmaku.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2040bee4e2894b1a0e2e0f6c18956517a568463bddfd74b23dcace5e96b8d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/external_player_console_page.dart: FileTooLong \u2014 1228 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 728 over it, 2.46\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/pages/external_player_console_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1e9c7a311fab229c5ddfa3c616ca6fe5542d1e3c9d251bb0f4192647c33069"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/play_video_page.dart: FileTooLong \u2014 1220 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: _PlayVideoPageState (97-1512). The bar is 500 significant lines; this is 720 over it, 2.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3bc40cecfe534f399c4ab143df7622f7fe50cb75def4b533efa2a1524d37b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeDetailPageState._buildDetailContent: MethodTooLong \u2014 _buildDetailContent runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85148329675dc17c4e66fb171eeea727491d73c4ed468fdc8114b72198a08c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _NipaplayLargeScreenAnimeDetailPageState: ClassTooLong \u2014 975 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 575 over it, 2.44\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddd767ac69ae9af191a6385d84fa951874aeb8ed08f08131c6a44bb5190c463"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WatchHistoryDatabase: ClassTooLong \u2014 958 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 558 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/models/watch_history_database.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0eb231782f8082ac2aa4e0fd51d57cb9b5e35ca173ce90626fef566e2e9dd26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/danmaku_settings_content.dart: FileTooLong \u2014 1196 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _DanmakuSettingsContentState (39-1562). The bar is 500 significant lines; this is 696 over it, 2.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/danmaku_settings_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abaa8186b9afaa0636a3763615b28b91a84b478add95ea6361a825bac94351cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/jellyfin_dandanplay_matcher.dart: FileTooLong \u2014 1190 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 690 over it, 2.38\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/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6d984db348fca75e2df33fb1f604994305aeed9bb802d97e71806bc362676a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _PluginSettingsContentState: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.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/settings/pages/plugin_settings_content.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"50115f6ce5ca3e5fde3cf39997da11f5108a086d540bb6c54896b48acf9ce6aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _NetworkMediaLibraryViewState: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3547276799de8311bc489b8622ff67bee98846d9155e042dbf100dd18c244faf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/emby_dandanplay_matcher.dart: FileTooLong \u2014 1182 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 682 over it, 2.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4706aa4dc34f2f74d488317ce4f3e91a943efdace2b03c7af7d4f055ab686079"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HotkeyService._getKeyCodeFromString: MethodTooLong \u2014 _getKeyCodeFromString runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"03207d85e66a405a256a736dd5029915c00b980a688703d81c4a73573386f8f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Next2Renderer.new: MethodTooLong \u2014 new runs 235 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/renderer_core.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6bebda888aa94d9f2b5953e5a646fa295ad879ce3936e6c3761788138272b6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _VideoPlayerUIState: ClassTooLong \u2014 939 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 539 over it, 2.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1c19a93aa4ff063123b7ed74c248118b31424a1fede95cc32a60a1ce60b6cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/backup_restore_page.dart: FileTooLong \u2014 1171 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 671 over it, 2.34\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/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2690206dd7750a27225acb571cfd9634ac204e09c099f19abc7a729efe63995e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/player_remote_control_bridge.dart: FileTooLong \u2014 1170 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: PlayerRemoteControlBridge (17-1466). The bar is 500 significant lines; this is 670 over it, 2.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1b7d487bb33ff7e6fc9d6b052abe4d328f762be06ccfb9c86149305a0fc574"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _TagSearchModalState: ClassTooLong \u2014 922 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 522 over it, 2.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/tag_search_widget.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8d00d9df73d9ef0b4b32d494857508bff62da4fb9a4c35bb75247aeb974795"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DanmakuAtlasPainter: ClassTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 512 over it, 2.28\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/danmaku_next/danmaku_atlas_painter.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b37183dc6477e0a78d069e9cd48b35ff104cf7abc22f53b2f77132b10eb2d63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _VideoPlayerUIState.build: MethodTooLong \u2014 build runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1969eaaa165a367605c2e08eef6a72b906f95096b69adaea08ac49a1fbfaa4ac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _PluginSettingsContentState: ClassTooLong \u2014 901 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 400 significant lines; this is 501 over it, 2.25\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/settings/pages/plugin_settings_content.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd5f8489c590f6883864290036c51bdff7d87cf1e487b80651c9cad1d86ea36"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginService._handlePluginBridgeCall: MethodTooLong \u2014 _handlePluginBridgeCall runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb10719eeff597e3b6b9069983e878e50eb9435bef1a3ecde55efa05ce8b1722"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CupertinoSubtitleSettingsPaneState._buildFullSubtitleSections: MethodTooLong \u2014 _buildFullSubtitleSections runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f059b4c29eb9748afd8382206286a16343e86da61b0723458474bfe6b3dd70"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioTracksMenu.build: MethodTooLong \u2014 build runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/audio_tracks_menu.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecf9c5dd99b2304b6e56f96c103c9930a04cebc52447e96b2eb89c880a3e698"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Runner/MainFlutterWindow.swift: FileTooLong \u2014 1107 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 607 over it, 2.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3586615ba759cf23bd5874f5f0c32b7ae1f4265d2b35fdd09e131606bfe8526"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalMediaManagementApi: ClassTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 480 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/services/local_media_management_api.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6d138e45fb0e7dde8da80735d5c42e00067b28639a7f22fa5ff79c96de471e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/tag_search_widget.dart: FileTooLong \u2014 1092 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: _TagSearchModalState (203-1571). The bar is 500 significant lines; this is 592 over it, 2.18\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/themes/nipaplay/widgets/tag_search_widget.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"320e90af1a86b7ea07ed4ecc50d7b36654c409ddae0b42b455f5520f74bf0ddf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeveloperOptionsSettingsContent.build: MethodTooLong \u2014 build runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf2ca38195319eea54bcf35061ed914446bd9feeefc75b18e97c0674e07c8fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/large_screen_scaffold_layout.dart: FileTooLong \u2014 1089 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _NipaplayLargeScreenScaffoldLayoutState (69-1501). The bar is 500 significant lines; this is 589 over it, 2.18\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/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92d0cd9fa97ad6acc2f132f959b364327d44a58a905f0c9f3f0cba1f53d3f40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: danmaku_next/danmaku_atlas_painter.dart: FileTooLong \u2014 1078 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: DanmakuAtlasPainter (194-1720). The bar is 500 significant lines; this is 578 over it, 2.16\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/danmaku_next/danmaku_atlas_painter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e37a4a9364e5581e866fde4808725847ddf6c16ec805c60d638257621475c84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/playlist_menu.dart: FileTooLong \u2014 1069 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _PlaylistMenuState (46-1549). The bar is 500 significant lines; this is 569 over it, 2.14\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/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18c995bf1829e1c2a6c9de90cd16e31d3b422f4ecc8eb1ebc37e22608459269"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsItem.build: MethodTooLong \u2014 build runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/settings_item.dart"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d7330f6745f4264c4dd2f8058447a75e7ecf12ef075b1fcf0dc5c0359cb0d4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _PlayerSettingsContentState: ClassTooLong \u2014 851 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 451 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/player_settings_content.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"be077a14258a6075c465e73cffe076dbe6cd2840b54070fd59ba922cb2b43be4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryManagementTabState.build: MethodTooLong \u2014 build runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6196311b6ebebcff82c875f16f496d47502139c2a70fc06abb54e5334534731f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WebDAVFormState.build: MethodTooLong \u2014 build runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"269eb8620604b6ad2a6b7268fe67d70511e834b872380cad7f59321f03644902"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FullBackupService: ClassTooLong \u2014 843 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 443 over it, 2.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b208539e48ed43d520e1b2e48ada56e5e6dc2f153ef6aad59c2a59e8524915de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BangumiCommentsWidgetState.build: MethodTooLong \u2014 build runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_comments_widget.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df6131cf4b4e0b686fcc0a0a9a23dd1619b53be5baafe13827dfa98ccb8dde8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ModernVideoControlsState: ClassTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 435 over it, 2.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0d9d4f27234285665292df229310e300d0ff153a3548fe49d0c13d6a545608"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/danmaku_settings_menu.dart: FileTooLong \u2014 1043 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _DanmakuSettingsMenuState (46-1432). The bar is 500 significant lines; this is 543 over it, 2.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c18615afff679bdffe42f4cdfc87807155a237ce72ed122affa1195b04cd71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/large_screen_anime_detail_page.dart: FileTooLong \u2014 1041 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _NipaplayLargeScreenAnimeDetailPageState (85-1459). The bar is 500 significant lines; this is 541 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/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e983e4e474be1f378b0b1b6c0e7bd5146d829ddd33993730bc4a4979e36e734b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerRemoteControlBridge._setParameter: MethodTooLong \u2014 _setParameter runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6482568b0854a1d9ccaa77a9f336de237a7f5b55146851f2a06e4bdca9259a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SubtitleSettingsMenuState: ClassTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 431 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/themes/nipaplay/widgets/subtitle_settings_menu.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1a0262ac5cfa1e9883b9a1a99e6f2d0d1e40f955c09c60a862d4ebd0d6114b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeDetailPageState._buildSummaryView: MethodTooLong \u2014 _buildSummaryView runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f50c7ff572e7d86578573fecb3b7946dbae2e01314a70f408ec5b3d44a3901"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _VideoProgressBarState.build: MethodTooLong \u2014 build runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_progress_bar.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f46224d77b8e07a4976838c7afd266d21bb46b531dc9270fda726f98142ae3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Next2Renderer.build_vertices: MethodTooLong \u2014 build_vertices runs 204 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"809bafa377dde44878d55ae2df1baa33d496df5c54a29fbe43f2069eb29cd898"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/dashboard_home_page_trending.dart: FileTooLong \u2014 1018 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 518 over it, 2.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_trending.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08da6b40ffedd29142ec984a664ffcf7d9693d5deb68010272c06bc4e847d9ba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _RemoteAccessReceiverSettingsSectionState: ClassTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 414 over it, 2.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/settings/pages/remote_access_receiver_settings_section.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fecce5119c71b6217d60c51c5c1358c0220ca5a49660ccfadb6f72e2516bb1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebApiService: ClassTooLong \u2014 810 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 410 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eca2219f0d8834d8787d525ee4eadb5918dec61c7fb8fde13bac2a2714fce49"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/plugin_settings_content.dart: FileTooLong \u2014 1011 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: _PluginSettingsContentState (33-1291). The bar is 500 significant lines; this is 511 over it, 2.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/plugin_settings_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5517d2f70ce259f352a83e8668d6a18fa1736b7fcb7ddf720638a996de598315"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/video_player_ui.dart: FileTooLong \u2014 1011 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: _VideoPlayerUIState (89-1466). The bar is 500 significant lines; this is 511 over it, 2.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"214e4fa8e0b233cfeaf9e5eafb04dd4711921264c555adeef39ed5d9d0b8aed7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: media_library/adaptive_media_collection_view.dart: FileTooLong \u2014 1010 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 510 over it, 2.02\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/media_library/adaptive_media_collection_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9204a8129af565fb370081db51aed826180554e92dd5296b36229db02bfdd0e2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AutoSyncService: ClassTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 402 over it, 2.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/auto_sync_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d8823d2c75f7e4aa527604db4f9d1a16395ab31699417da424daaacc0cc1e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/watch_history_database.dart: FileTooLong \u2014 996 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: WatchHistoryDatabase (48-1398). The bar is 500 significant lines; this is 496 over it, 1.99\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10f11bc9d8bda2f077efa2e7ad9d270c7278d0b5fd3498d862fd5790b295d16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoSyncService._synchronizeRepository: MethodTooLong \u2014 _synchronizeRepository runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/auto_sync_service.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2971de73736f0db53abe281c05ce7211846ef562c84bd0af18de1978a2c0cc78"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuOffsetMenuState.build: MethodTooLong \u2014 build runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_offset_menu.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3866daaf5eb1dc59849be3c9d07b96f7db297e34ff0417dc616d7ea7a7e73e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RatingDialogState.build: MethodTooLong \u2014 build runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/rating_dialog.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aec862d35c2d4bba5e2cd0f3139171d5e89b62a3b9cb6c37fa16226046f7fdb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseSettingsMenu.build: MethodTooLong \u2014 build runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/base_settings_menu.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5f8028da72a3f98106ec52b947e266838d55e7da123e2729fbb9db57e36c85"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlaybackSourceService: ClassTooLong \u2014 783 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 383 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/services/playback_source_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9905d88a56d766f703bad50c80cf0e17dc1164dfb481894fb5b22dcf1ec7b535"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/adaptive_settings_widgets.dart: FileTooLong \u2014 972 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 472 over it, 1.94\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/settings/adaptive_settings_widgets.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fdd1fbf30f6ab80ccf83331f8bbe761e31f4f62839f184f599bca4ad935fc2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _BatchDanmakuMatchDialogState: ClassTooLong \u2014 776 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 376 over it, 1.94\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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa38b6d610ce503b42e7b8bb668b2fe2ac6ee1abbc27e829607bb3a32689f12"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NipaPlayNextEngine: ClassTooLong \u2014 776 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 376 over it, 1.94\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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb86480553227b2757166b1f5fcaec16f1fb879279907fb52d85b6cac3e6897"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CupertinoSubtitleSettingsPaneState: ClassTooLong \u2014 774 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 374 over it, 1.94\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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c7d7f5b30d246c6f2e5ec79252a8009bd93d020eb7a2d3a1e171448099c41d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubtitleManager.autoDetectAndLoadSubtitle: MethodTooLong \u2014 autoDetectAndLoadSubtitle runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1ecb0895a03841ea36c232f9f0813691a6671a446169e95796c5e1961abcdd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalMediaShareService: ClassTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 366 over it, 1.92\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"117a09e66657db2067f3366085a9759c5b7f55997f2eb7423dabd990327c85df"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _PlaybackInfoMenuState: ClassTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 365 over it, 1.91\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/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f4c4e767b9a934e0757c1bfedcfa024bd4948be314fc6b7b97ed60d8fc08b4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CustomMediaInfoDialog: ClassTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 364 over it, 1.91\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/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8196242578679f164908758bfdaa1ecd27c4843fc2c177e5185e5caee6312028"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SharedRemoteLanScanDialogContentState.build: MethodTooLong \u2014 build runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f5df2e9bd96ba6510f61d94d4d7a7d630b78bc31cac3df092ad4110dabcc27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/network_media_server_dialog.dart: FileTooLong \u2014 954 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: _NetworkMediaServerDialogState (379-1326). The bar is 500 significant lines; this is 454 over it, 1.91\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/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"429f38d368c8758bc1fe347fe61ea5c7a85dc053805d43bead94d3f50c0ac52f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _MediaCaptureDialogContentState: ClassTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 362 over it, 1.91\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/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"76deaab7af9de315faf0e9f9709af26b84159538ca342d6fa1bd553b3e4e46c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebDAVQuickAccessProvider: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/webdav_quick_access_provider.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74a0d44446e41d5c6e848f4ddd6efd2001e579464e29f8ddab9168bced1909b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _TagSearchModalState: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/tag_search_widget.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c090ad9969c31c1831349781b2b99ba25f78cfd0839c33c0525a2f9ae65c27e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DebugLogViewerPageState.build: MethodTooLong \u2014 build runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/debug_log_viewer_page.dart"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49f36197d4aa89ce0e15514fa8645e8e13c61857c5931d5b31c8fe1b914a151"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ExternalSubtitleOverlayState._showSubtitleSettingsPanel: MethodTooLong \u2014 _showSubtitleSettingsPanel runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/external_subtitle_overlay.dart"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeaccae9772be0143fa3841bff75b9a83c68fab43b5d4a664b4ca2de0d3074a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/modern_video_controls.dart: FileTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: _ModernVideoControlsState (41-1164). The bar is 500 significant lines; this is 441 over it, 1.88\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e253c92fd5be1aa2d44e0cb035108e6bf9b966839a0126068568de9fbbef65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rust_lib_nipaplay::next2_engine::engine::runtime::run_engine_loop: FunctionTooLong \u2014 rust_lib_nipaplay::next2_engine::engine::runtime::run_engine_loop runs 188 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/runtime.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"234d433fa68aace096c35c1e7e0a8279f146227c732f22666392bd3072ba8353"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/full_backup_service.dart: FileTooLong \u2014 922 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: FullBackupService (35-1301). The bar is 500 significant lines; this is 422 over it, 1.84\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f781ebc659c0f6d0db6d5f99afdb4945820b47ced87256ac95a3008ae39a3206"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebDAVService._parseWebDAVResponseDart: MethodTooLong \u2014 _parseWebDAVResponseDart runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea1556e05103e84d6963b5c54ea687da6bfff6883b7373ef2654445228f0fad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/cupertino_remote_controller_settings_page.dart: FileTooLong \u2014 919 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 419 over it, 1.84\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/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec49ee00fac70acc0551297e46f68e0ddedee631ef67c42936a7c199feea941"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VideoPlayerAdapter: ClassTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 330 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b001decda341d97e022159276d627f5abc867562d76dea7150a55542c508e0c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SubtitleParser: ClassTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 330 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5d0bdde2cab7c5b492dce07dc3f7306832bed338896559aa1b7aada600ef77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: media_library/adaptive_media_library_controls.dart: FileTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 412 over it, 1.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_controls.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c14f16028e057ac3c3fe9ead508d7cf9f7a4c04d69f99acec0dcb70970d654"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/local_media_management_api.dart: FileTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: LocalMediaManagementApi (44-1278). The bar is 500 significant lines; this is 412 over it, 1.82\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06441642e2a7e21547bc502d04ccc5dd683258df5b8cec837c6c6a122678d122"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuTracksMenuState.build: MethodTooLong \u2014 build runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_tracks_menu.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b90978d6a261d0eb005b971bacbeff18ab4cf6b2a856dcd5906e2bec34fee2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NipaplayLargeScreenScaffoldLayoutState.build: MethodTooLong \u2014 build runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d70a555c4481ea37e0f2ecf92b84821de41b000b04ceb981667d6f5f22f5de7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/batch_danmaku_dialog.dart: FileTooLong \u2014 906 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: _BatchDanmakuMatchDialogState (99-1198). The bar is 500 significant lines; this is 406 over it, 1.81\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1405b1873e8db10157e88fe1d470180b93c18dcaf18efcc5a7a02535d094623"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DandanplayRemoteLibraryViewState: ClassTooLong \u2014 724 significant lines (blank, comment-only and punctuation-only lines excluded), 35 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/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefebf7295740181f49010344fcc8e1dbbb3495a9bd5922a42a69332c8eabaaf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDelegate.didInitializeImplicitFlutterEngine: MethodTooLong \u2014 didInitializeImplicitFlutterEngine runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/AppDelegate.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"05458c922f530ffc57d63b20d7832fef372991c769ddb4a7a5d1d223f9e04a14"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MediaLibrarySortDialogState.build: MethodTooLong \u2014 build runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/media_library_sort_dialog.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1910ed70ee7ab2c0af32d86dda2848acbfbf94b53265997215816a25a2db12fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MediaServerDetailPageState._buildEpisodesListForSelectedSeason: MethodTooLong \u2014 _buildEpisodesListForSelectedSeason runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"250b05953e2572909380607445eaa1a09617cdb6ff5bf1af0d8795a24b95ea1c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuOverlayState.build: MethodTooLong \u2014 build runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_overlay.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d159419b07e7818e5686c5d3b7f35189d52c0fce4bf3e565b4a59aa1f5b51e52"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AppearanceSettingsContentState: ClassTooLong \u2014 710 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 310 over it, 1.78\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/settings/pages/appearance_settings_content.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ea00361f96a7b16b6cff7842b629e514d563a2de51009421413972d557dfaa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ExternalSubtitleOverlayState: ClassTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 309 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/external_subtitle_overlay.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afc013f611d36dc7b1e449406bf9751af9cb541153ea8b3f6e89d83f4cecb45"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Next2Renderer.draw_to_view: MethodTooLong \u2014 draw_to_view runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1995d608b66f32b43be917bd5a15cc78517cb634ce6ca119fe56b5931d30de4e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScanService: ClassTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 307 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98240218420f04ac79769a5a029ee60703d3c55aa472b3395873ce3ec904f36"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DashboardHomePageState: ClassTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 307 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fc01644fd4e8a9b3b201500e34d9598771b313ba8715217e9a7e21492caef2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/player_settings_content.dart: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _PlayerSettingsContentState (31-1141). The bar is 500 significant lines; this is 377 over it, 1.75\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/player_settings_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6d1335d4273c743733ee0b9b4841e3277f1521c61749dd42139d109c48524a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JellyfinDandanplayMatcher: ClassTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 298 over it, 1.75\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8a847056a23f096c5fd48a42126761816bdec056f59edd486ef385668b8617"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NipaplayLargeScreenAnimeDetailPageState._buildHeroInfoSection: MethodTooLong \u2014 _buildHeroInfoSection runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e72b3946ac525675af1cdd8250bfc9b457bf45db58efbfbc2c9729a375d0a1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NipaPlayNextOldEngine: ClassTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 294 over it, 1.74\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71c9a0c6bc0f69ae1cafec36406d7a0b219d0dbe8736710b0843c6c3c2ed00f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MdkPlayerAdapter: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0085e7d631c4c656a408305253f1fdc81457897c99ad4b2d9e2dfbb49ef2eb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemoteSubtitleService: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b1a2c2fa2034a35fe1f02019557262cc9ec96fceef083b7e1fbd77ca12a3af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CupertinoMainPageState.build: MethodTooLong \u2014 build runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/pages/cupertino_main_page.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d45018a2872a707229a6ac21e2237885f26ef09a8fb2f581f0738c93d6df337"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/renderer_draw.rs: FileTooLong \u2014 862 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 74% of them inside a single declaration: Next2Renderer (1-891). The bar is 500 significant lines; this is 362 over it, 1.72\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":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7410e74f66c48fac6e018ac2bc5846f0d52e431d838491f9b9f642a2e20a3204"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MediaServerServiceBase: ClassTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods. The bar is 400 significant lines; this is 288 over it, 1.72\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_service_base.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"be70d703f9b59f99ddb9df5bf247fa092f1336b00ad798990b1ebf38a934c248"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/subtitle_settings_menu.dart: FileTooLong \u2014 856 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _SubtitleSettingsMenuState (33-1181). The bar is 500 significant lines; this is 356 over it, 1.71\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_settings_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0879dfae2d4368fa6f7a3e140200032e298d69c719f35b6e57e52b93e71083c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CupertinoSubtitleTracksPaneState.build: MethodTooLong \u2014 build runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b2b024d846e84b286d00857d14547937bf0042393a6a7e5dff3e0d1c0da707"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/rendering.rs: FileTooLong \u2014 852 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 352 over it, 1.70\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":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07f129a3e6373c4d0a33b1cd66d2eb9baf8c700986ba4b5357c83d508e07cf1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VideoPlayerAdapter: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. Most of these members implement player_abstraction.AbstractPlayer (30 of 45 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ce0871de64a33de9917d9ea71c40704a39aa1697f8bf46928c23c62d86a732"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SubtitleTracksMenuState: ClassTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 280 over it, 1.70\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/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fbae49fb2eed8b17380913197ee11b393d44e501ee763be7a4d4d8e10eadc5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/local_media_share_service.dart: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: LocalMediaShareService (104-1221). The bar is 500 significant lines; this is 346 over it, 1.69\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a626a081a3da670d7262cb7f1ebe06017e8ef21f89b1df6011724c67f6f68f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/media_capture_dialog.dart: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: _MediaCaptureDialogContentState (66-1087). The bar is 500 significant lines; this is 346 over it, 1.69\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d7916ba4cb5e5455afac4bf8c2bcecf7cfe3d67ec831ef285517408691e54a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GeneralSettingsContentState.build: MethodTooLong \u2014 build runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/general_settings_content.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"62caeeef7bcc96c65dedd9fd0aabf581ceada34f2b57485e57f698233e329404"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlurSnackBar.show: MethodTooLong \u2014 show runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_snackbar.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c4eb9ff1ce64fc50070f7128c4c9fd0e109df4d967e7baeecb419cf88703cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: media_library/adaptive_media_library_primitives.dart: FileTooLong \u2014 843 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 343 over it, 1.69\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/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3141c7c698c77858389dd08a72cb7e5f432baa0ba489e15b79a6e8d7ab151a7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/auto_sync_service.dart: FileTooLong \u2014 843 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: AutoSyncService (50-1114). The bar is 500 significant lines; this is 343 over it, 1.69\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/auto_sync_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e35591dc1e044b2372f2ca183b20fedbbbd65b9b2737030b638dc327cad7ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _StorageSettingsContentState.build: MethodTooLong \u2014 build runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/storage_settings_content.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4da95ff7a802a2dd6f9ca02339c0da3d387cc7fdaa2d798f6cefd9d85b5ed0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HotkeyService: ClassTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 270 over it, 1.68\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c89be50cd65e22012106380f541394ee81cea73f0aec521f2092e72c6f4328"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EmbyDandanplayMatcher: ClassTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 270 over it, 1.68\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"260433edd8f1ea09e558269fbd1fab0a9b528286e2cbb38d49070ba451738026"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/remote_access_receiver_settings_section.dart: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _RemoteAccessReceiverSettingsSectionState (28-1156). The bar is 500 significant lines; this is 337 over it, 1.67\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/settings/pages/remote_access_receiver_settings_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e970870900a134ec143f0a565a29519bc9d7c7c2fe4b527877ab78261d3cbb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _NetworkMediaServerDialogState: ClassTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 269 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"2216ffbdeffda8741dc4010ac49f8005d460e9ac6d2df11e57f2a1c19f02ba86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MediaServerDetailPageState._buildInfoView: MethodTooLong \u2014 _buildInfoView runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbad5a537e9c1db51a4b1bd68c0887394c26cbf02bfa29378af51e5f5c228ad4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ErikaPlayerAdapter._handleEvent: MethodTooLong \u2014 _handleEvent runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccc46e9579ef3700019363a6f9a291126a5e520166ad9a4579e0cf75b395cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiSyncService._syncAnimeToBangumi: MethodTooLong \u2014 _syncAnimeToBangumi runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_sync_service.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be88520ef6171dfac2bdc4c59858484e1e9f2da12fb6640874e09970530fe54"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TagSearchModalState._buildTextSearchFilterSections: MethodTooLong \u2014 _buildTextSearchFilterSections runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/tag_search_widget.dart"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02656de9e4e61bd73122ed483536aa3e658173703273b09ca0b23afe60f0dc7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HotkeyService: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01ead0b0af2f92c1495c84ec21d8185ef741f5f3cea4ac6fe967ba7c119fd19"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CupertinoDanmakuSettingsPaneState: ClassTooLong \u2014 666 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 266 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cfd9cf4d9a87d9dd25960a6444d21b65771d0d47aa61682eb0b6871951de15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/web_api_service.dart: FileTooLong \u2014 832 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: WebApiService (24-1162). The bar is 500 significant lines; this is 332 over it, 1.66\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"285d7ede4368b12a2c4c24e4e93a3d6d145cbb033982d5acebaf51d7c1a53af8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/playback_info_menu.dart: FileTooLong \u2014 832 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: _PlaybackInfoMenuState (30-1087). The bar is 500 significant lines; this is 332 over it, 1.66\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a77595d96922ae843bfdd3583f99cc6e3c7a1497147964d098667ef494ad352"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _NetworkSettingsContentState: ClassTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 265 over it, 1.66\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/settings/pages/network_settings_content.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6a20202a87ca3ceae2f8b18b9b0111e21f7f7ea032cb7b708016f736ad1518"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DfmPlusOverlayState._tryUpdateTexture: MethodTooLong \u2014 _tryUpdateTexture runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"374bb3db0cc49204fe87668f09b7febb21aed10d6ad2bfe64e0821ce8be1c332"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rust_lib_nipaplay::api::dfm_plus::dfm_plus_prepare_layout: FunctionTooLong \u2014 rust_lib_nipaplay::api::dfm_plus::dfm_plus_prepare_layout runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/dfm_plus.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7ee2a4a7e65057773e97b594a00a8066bb43b93b3b34ea6deeb43f6b76ddd6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DanmakuContainerState: ClassTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 259 over it, 1.65\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13939bcbbd83a9f483f8feddb847cb50fa6c6617e9a8274a575a1255486849d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalPlayerService.play: MethodTooLong \u2014 play runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/external_player_service.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b346e13ec1314a35d20338cffecce3e00196fccf3942596173b32c5cd631e24e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SubtitleListMenuState: ClassTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 254 over it, 1.64\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cd38c4d4fc2a1f232989a7cc8641e94be06800c44227a6d4be02aa7d05ac93"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NipaplayUiPreviewWindowState.build: MethodTooLong \u2014 build runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/nipaplay_ui_preview_window.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a2ade09cb276f72c53798be01ab748d64f9990c49d0e9b79fc4e55ccf68485"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/dashboard_home_page.dart: FileTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: _DashboardHomePageState (113-1200). The bar is 500 significant lines; this is 308 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"481684e225ba3d5c2456df8434e682e8e086e8650cb1c5fba25739fa7077673e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/playback_source_service.dart: FileTooLong \u2014 805 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: PlaybackSourceService (26-1013). The bar is 500 significant lines; this is 305 over it, 1.61\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b48ca70ad967d06f279cf202aa756ca43da89775e1df649e7ef83d1688f7ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuSettingsMenuState.build: MethodTooLong \u2014 build runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db68459c3393844fdde95546aa6bc26b40debcdf5bf039efcce2271a68896ff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BangumiApiService: ClassTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 243 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_api_service.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f82422cb0e43856907a23078bf2b86c55e1d2437c536cb66ed15eb1c4425d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: danmaku_next/nipaplay_next_engine.dart: FileTooLong \u2014 803 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: NipaPlayNextEngine (26-1168). The bar is 500 significant lines; this is 303 over it, 1.61\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eae932d5a1ecda65b78911ed52a9dd79280c0f5e1934f3004651f330c41b87d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/video_progress_bar.dart: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: _VideoProgressBarState (52-879). The bar is 500 significant lines; this is 302 over it, 1.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_progress_bar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67227f90568f7da7d995f388a224d754c1451b12fb6f765a906d3f83df9c6e83"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PlaybackRateMenuState.build: MethodTooLong \u2014 build runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_rate_menu.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97da5b19e80b019167532909e5bcafb7e4488ba4194b66ee5c364ef0871cc8a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeveloperOptionsSettingsContent: ClassTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 237 over it, 1.59\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/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"011bbf0cd45b3d193f2ba7c72e7b1506813de0b5c1bbedb5805af83c4809d8b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player_menu/cupertino_subtitle_settings_pane.dart: FileTooLong \u2014 796 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _CupertinoSubtitleSettingsPaneState (28-1114). The bar is 500 significant lines; this is 296 over it, 1.59\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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"500d6cea963eaddd1d3eff64b4e345b09cc14961cf21568be07df2c9e1148088"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/scan_service.dart: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: ScanService (121-1176). The bar is 500 significant lines; this is 293 over it, 1.59\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5347f93749dcf037f34e04c1c2e2ce213a08f0acd52151bf67a8988c104a29"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GpuDanmakuTextRenderer.renderItem: MethodTooLong \u2014 renderItem runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_gpu/lib/gpu_danmaku_text_renderer.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e23df75955761dc7140b376dc408fabc22d5d0e2d42762501a39fc7622736d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/subtitle_parser.dart: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: SubtitleParser (87-1165). The bar is 500 significant lines; this is 288 over it, 1.58\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79139ea550cbc721efa843124df71b8d0f309be8b7334b2c17a21c66df9262c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryManagementTabState._buildWebDAVFileNodes: MethodTooLong \u2014 _buildWebDAVFileNodes runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5412}}}],"partialFingerprints":{"codehealthFindingId/v1":"c008020e5f0834882904beaf88a971955238a54e49328b77fad0ceb86fdb5a40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScanService: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff15764e57a5810e682cff021eaa553edf9b0eae8a00629d832556a0bc3218f1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LoadingOverlayState.build: MethodTooLong \u2014 build runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/loading_overlay.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a895213ef9788348f6231c88c973af59ffa2738fcb988c988e9784889a9c366b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WatchHistoryManager: ClassTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 223 over it, 1.56\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a02b7ad14dd14aedbb01c9d3f55c30aa010c4e0c03ce5367f19610a8306c354"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DebugLogViewerPageState: ClassTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 222 over it, 1.56\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/debug_log_viewer_page.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8969440037667c61b8ab429bdc23c93ad92507a4281b8fde6382168668d47f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryManagementTabState._buildSMBFileNodes: MethodTooLong \u2014 _buildSMBFileNodes runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5617}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfd6054f84bec210ace7e32df9231e6dc71f555f0e61a8fa234721ab8877d51"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DanmakuListMenuState: ClassTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 217 over it, 1.54\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"422270685a555f24d78399a515a41436f9825da99e1b2ce2217fb76f8a276634"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoPlayerAdapter.snapshot: MethodTooLong \u2014 snapshot runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c75b7037a3075c8528d5311b0aeca2797f6aa4954abb85a79f074b2db0a790"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NetworkMediaServerDialogState._buildTranscodeSection: MethodTooLong \u2014 _buildTranscodeSection runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"11754741075a7227506b04da9c1b143f1ca72330261dc62b29e492107c4bcd7d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EmbyProvider: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab57faf6a25f1a6207ad2ea6f4b826facd1b18b6689b432d891d86e29b92ee82"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JellyfinProvider: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/jellyfin_provider.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"437cf51fa330c94f20fd05ce6d30b95caa212b3470f20b3388f30efb3b855084"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EpisodeNavigationService: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82831a069e329123523f36fc68b58c5bd4e9eda22367e9063f82242e0a52422"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _NipaplayLargeScreenScaffoldLayoutState: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1028a6650f6239b7d60826bb0376f20f203c37711215160da72083706c4e600d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _VideoPlayerUIState: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"06113266f7bdd63107898120c7fbaaf2f72da5aa173c78b02fdef9ab8f13c4fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/settings_item.dart: FileTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: SettingsItem (44-852). The bar is 500 significant lines; this is 266 over it, 1.53\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/themes/nipaplay/widgets/settings_item.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"770b579a558366893379bee2124668254d140d7db8e2450f41e9662c7c153322"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuSettingsMenuState._buildDanmakuStyleSection: MethodTooLong \u2014 _buildDanmakuStyleSection runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d51ac1ac3954564f993a0145604e52732e615caf95617b6b9ec4ec9e309af7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SystemResourceDisplayState.build: MethodTooLong \u2014 build runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/system_resource_display.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7af3b7b61e10acfc54c34e9891041180e0eb8cad8183dd080ca756f62e0ba5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/dandanplay_remote_library_view.dart: FileTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _DandanplayRemoteLibraryViewState (43-1057). The bar is 500 significant lines; this is 260 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/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a345b9b8b2ab24619252fde2cdb002bc13bcbceed3d4123e5b05b9bbd0d34e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CupertinoSubtitleListPaneState.build: MethodTooLong \u2014 build runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e00284a4c4cc4ab7d3deb2c76e642e5a4a202f6b970db322115a6b43150e948"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SharedRemoteLibraryViewState.build: MethodTooLong \u2014 build runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b932bec005ef923c0ca773a26f9cf83814a25683d0f6e72b1ebbaceb8c41685d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/next2.rs: FileTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 32 free functions. The bar is 500 significant lines; this is 258 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/next2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe706d1a562cb4a5a11ca9cfd6cd82393cd17ddead0a0373b5fa987ef24ab4f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AdaptiveMediaTextFieldState.build: MethodTooLong \u2014 build runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe269cf4cc162fdb2329545bb636bd2a88f8ff2d882206f43db1f1aa8834ddf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/external_subtitle_overlay.dart: FileTooLong \u2014 751 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _ExternalSubtitleOverlayState (19-1037). The bar is 500 significant lines; this is 251 over it, 1.50\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/external_subtitle_overlay.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9651119c2e86a29f091aaf71766b552ba56434721f30c620a458c3249f3a0a2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RustLibNipaplayPlugin.getTextureInfo: MethodTooLong \u2014 getTextureInfo runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdc4fe04d7ff4140f2f3b37e024f9f8ddd6c14bfa5de9702f7d5b5df1810170"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DandanplayService.refreshLinkedBangumiStatus: MethodTooLong \u2014 refreshLinkedBangumiStatus runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"714d58025734784cff6642f8faa4182af6aab2f5078bb34ef75fec73e390f32b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _VideoUploadUIState._handleUploadVideo: MethodTooLong \u2014 _handleUploadVideo runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_upload_ui.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9bf04b8614e659acf4f35d94d42046fa2465bd820be2e0a83d08daa91ebff9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rust_lib_nipaplay::api::next2::next2_prepare_layout: FunctionTooLong \u2014 rust_lib_nipaplay::api::next2::next2_prepare_layout runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/next2.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c36b9e6b5bc3ed8565ed189b0fca80d9cf074599adea2ff0219fa247ae45e1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EmbyEpisodeMappingService: ClassTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 198 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/services/emby_episode_mapping_service.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1434170e50dfe287bd4f5a7ebf5e296ce4fe26b043a524fcbc345b3008dc51"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsItem: ClassTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 197 over it, 1.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/themes/nipaplay/widgets/settings_item.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"96315d26aaf935177db9e090a6a3247fbf2c1a6f9c42c1729ec704f6486f11bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player_abstraction/video_player_adapter.dart: FileTooLong \u2014 745 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: VideoPlayerAdapter (20-1196). The bar is 500 significant lines; this is 245 over it, 1.49\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37c6b9517909e258f2736ffd4807d5f13dd5f5a50b33353db6fe798f3e3609f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RustLibNipaplayPlugin.getTextureInfo: MethodTooLong \u2014 getTextureInfo runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/macos/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a983e12b396d673aa116fc53c114691e168a9383ca6d17a27b59052a513dc171"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/watch_history_model.dart: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: WatchHistoryManager (146-1227). The bar is 500 significant lines; this is 244 over it, 1.49\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"960a378bd24f43a4cc22e645a28ac5e7c4bd9c91b4eb06414419a5fac5b0c725"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/appearance_settings_content.dart: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _AppearanceSettingsContentState (36-937). The bar is 500 significant lines; this is 240 over it, 1.48\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/settings/pages/appearance_settings_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1553bc6ffcc94cba285f8056530fd24c00c3836c389735f59cc1c87ac808a38b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _VideoProgressBarState: ClassTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 191 over it, 1.48\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/themes/nipaplay/widgets/video_progress_bar.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c789db51170ee1da5aa473c3fcc5552107e5ee85d6bd67e9e16e697617739051"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NipaplayLargeScreenScaffoldLayoutState._dispatchInputCommand: MethodTooLong \u2014 _dispatchInputCommand runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"247a4528b09f76493bd6f45adc8ebc04e30cc988d05fe171c52ebfc206317fc9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WatchHistoryDatabase: 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/models/watch_history_database.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b98f323888ba7a20769ee17c32ae299233f2f9a1e7c70948aa0987b7db2616"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _MediaServerDetailPageState: 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/pages/media_server_detail_page.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a93a74442cb3912e1482a85423a3caefd44a3acd4a510cdb8e76cb0b0d1160f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _SharedRemoteLibraryViewState: 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/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d746a5fb2631abcc9178f624b85698381f95ea1cbfaf75bb331135715fa12839"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScanService.startDirectoryScan: MethodTooLong \u2014 startDirectoryScan runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0fc274eb9ccb902166ea9264eaa4d5c6357053ff7ba322f89f1b0d64fce807"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BlurDropdownState._openDropdown: MethodTooLong \u2014 _openDropdown runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a4d295ee19e62ba50b9c620ebee1daa12800cb9e8a91668b3ac6a2b7f5d49f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MsdfFontAtlas: ClassTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 183 over it, 1.46\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/msdf_font_atlas.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0de814a7cf33cfa5d062f0100400280e1d0a84410d7e344671dba3754a21df1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaKitPlayerAdapter.attachPlatformVideoSurface: MethodTooLong \u2014 attachPlatformVideoSurface runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb436fdad38977473c7b3fe5485a21f777641715a1290f1bcba4a2731afb97c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FullBackupService._restoreMediaLibraries: MethodTooLong \u2014 _restoreMediaLibraries runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf9bba6db70ac75febb1d1617932729fb51a45a615a6cecea4b94ba81a46c2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NipaPlayAppState.build: MethodTooLong \u2014 build runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"452d739efbf9140de071d22c2e7f1e611231058af2732808a305ecb5b7a718ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: danmaku_next/nipaplay_next_old_engine.dart: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: NipaPlayNextOldEngine (25-1002). The bar is 500 significant lines; this is 219 over it, 1.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9afdb2befbfd954ec65097b6937f26c0592a6a9607a416918e133ecace73e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainPageState: 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/main.dart"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"321cc01d977f8fe6531029d20789204ca379d703241ba04964668fd8566b31e1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppearanceSettingsProvider: 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/providers/appearance_settings_provider.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea7d671613f22c3ba410cb320f2d18d4f40fba4ae30a53408a11aeda5be6d5d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AutoSyncService: 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/services/auto_sync_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fc2021c4ec80b07aec0e66846dbb839bd56e36a8f37d3db28887819a921e20"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _SubtitleSettingsMenuState: 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/themes/nipaplay/widgets/subtitle_settings_menu.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5400cb6ffe53b4039e1d164d4d5102202b70c49fcdb7404477d08ba7a1f52b04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/subtitle_tracks_menu.dart: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _SubtitleTracksMenuState (39-1090). The bar is 500 significant lines; this is 212 over it, 1.42\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/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac31e0bf12759b8118d658745fd716193e2f712286ea4e4252480de70723c7c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _PluginMarketDialogState: ClassTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 169 over it, 1.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/plugin_market_dialog.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf036eb47d2ebe9872937b2fd737ca9b97600b996b91e429e8e2e84c05bfecb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DfmPlusLayoutBridge.configure: MethodTooLong \u2014 configure runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"69df2172ae7634515d46a735790aaf91ac5931f7acdcdc9d2480eddc10b1d97f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/runtime.rs: FileTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 209 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f8344d089b7475e5675f93ad2f406026af9a433d8b3cbc9865463ca9d1d5b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CupertinoAnimeCard.build: MethodTooLong \u2014 build runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_anime_card.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ce1016a486c2eda2d52bde39877db3a6643cc9304c0d1d0443ea3bd924bf63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SyncSettingsDialogState.build: MethodTooLong \u2014 build runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"675b1fa0ec967ddc5ac8ca4c60180de6cbd74098f42de5bc2118b43484bbb9e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SMBConnectionFormState.build: MethodTooLong \u2014 build runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/smb_connection_dialog.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1f5285a1b57dd73e189b76a7365a8f3b061ab64a3f27e0ccbe74e7bfe0e2b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/media_server_service_base.dart: FileTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: MediaServerServiceBase (16-994). The bar is 500 significant lines; this is 202 over it, 1.40\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_service_base.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa1cd348ffb03aed46c4013a5445b48824a3ad495c46c66fa6a6234575ffa7b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _WatchHistoryPageState: ClassTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 161 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4d61d896ae3fd1c20da6fd8b4cb4d12cd5e9a2d38e30865d0d7ef0a14a3259"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _NipaplayLargeScreenAnimeDetailPageState: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"22167f4525c3c07783bf678e37fe1a649212c8e362d5395b24ede4b70fed6715"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SMBProxyService._handleStreamInternal: MethodTooLong \u2014 _handleStreamInternal runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4696abab83f788b8bd361313224a6dd0bd31e668a4348d03713329cc37b23a79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NipaplayLargeScreenScaffoldLayoutState._handleInputKeyEvent: MethodTooLong \u2014 _handleInputKeyEvent runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcc7bb87af5b14d1cfdd1eb23f4107e46cc821224f80526f0ff731dae376244"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/danmaku_container.dart: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _DanmakuContainerState (46-1134). The bar is 500 significant lines; this is 197 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56dfd572df0605a89f4f6a518d8f28aaaeb6933a0f7fcbf166a4edcdf27e229"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _NewSeriesPageState: ClassTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 156 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/pages/new_series_page.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b4f64f3721690bfe40cb82dba101f72e18db0462a596e05589c89dd27421b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/network_settings_content.dart: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _NetworkSettingsContentState (38-947). The bar is 500 significant lines; this is 195 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/network_settings_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6880364cb07d856de9d1095687049657bceb9afe0d33026d47453b0c59564c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player_menu/cupertino_danmaku_settings_pane.dart: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _CupertinoDanmakuSettingsPaneState (39-908). The bar is 500 significant lines; this is 195 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9ee1efee447daed33d7ed9e80b7a42a086555c167fd3c25ec54fcd78dc501f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/hotkey_service.dart: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: HotkeyService (27-1066). The bar is 500 significant lines; this is 195 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29482af47ac8fcb0a051faeb32842c8bac62b995bd209122873f9210fc26438c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MediaCaptureDialogContentState._buildImageTab: MethodTooLong \u2014 _buildImageTab runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb3bda343fbaf61e0c4ca2bc45fcfabeb3a563b9febed9835c9514d17b0050a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/torrent.rs: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 193 over it, 1.39\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":"rust/src/api/torrent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3062d752a9ee26a8de0d622eb833d3632d71815f610e5be93ea9d5ed8bd3839"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuSettingsContentState._buildSpoilerAiSettingsForm: MethodTooLong \u2014 _buildSpoilerAiSettingsForm runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/danmaku_settings_content.dart"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a745f964486df5bf4153ca00ed36dd2eed51e2b1cd4f056621749385fbb9f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalPlayerSettingsContent.build: MethodTooLong \u2014 build runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/external_player_settings_content.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65c34dfafc546ce80a2fba04fd6e4f3cdb9e73cda5b55171ea824094a6c798b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LargeScreenTorrentTaskCard.build: MethodTooLong \u2014 build runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/torrent_download_page.dart"},"region":{"startLine":2429}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac16eaf38082181cb39aef3e6980578d52d5676f4fac34afc7249e8643a3b142"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WebDAVBrowserPageState._buildFileItem: MethodTooLong \u2014 _buildFileItem runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ca46dbc2789067933ff7c346a378650ae0b9d08d58dbe28ee6cfb94d5dca9c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ManualDanmakuMatchDialogState: ClassTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 147 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/themes/nipaplay/widgets/manual_danmaku_dialog.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cef080a1f5cdc1965933f2dc32ba776591a07cd08fb78e3a3e9bea4874dd6d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalMediaManagementApi: 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/services/local_media_management_api.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"047a04c3f31a7d63227d203e706f3538d26cea261dbb5fecced3e1cde67a32ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _BatchDanmakuMatchDialogState: 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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7502d543e8ad058292d9b0071704aa83fbecdaa8346bdabddee13ce16ab3200e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Next2Renderer: TooManyFields \u2014 41 stored fields beside 19 methods. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"899f72b1a8e9431511e52a2107eeddde7ecc00666f5b20fc5e9fcd95cc2cd8d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaKitPlayerAdapter._updateMediaInfo: MethodTooLong \u2014 _updateMediaInfo runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"4643c08bd40d7c46aba4e6b958aabae9985f5dbc784753a784de813b7ff170c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/subtitle_list_menu.dart: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _SubtitleListMenuState (26-1011). The bar is 500 significant lines; this is 173 over it, 1.35\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9acbdcbfea9ee2e6e68ba0f9afdbab61bf2c96adea7ec07f19fa4150117f30"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MainPageState: ClassTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 137 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/main.dart"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda7f9cb03ea8e831b330d5b693e761c432574b0447121a24d926fb9d0bfd9b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NipaplayLargeScreenViewContainer.build: MethodTooLong \u2014 build runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_view_container.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed69062953fd65315933956f3a574905f4d5f960146b69cd7788680fc12f789"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/plugin_market_dialog.dart: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: _PluginMarketDialogState (82-885). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/plugin_market_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dedf881a47355605dd9a76a85720c7b5f0c05ee01b943a6236b1ab3b7ba77ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlaybackSourceService: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 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/services/playback_source_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2276fddb7aeb90c5ee27790c20a754e8a514b1449b6aa5963084e3597ab846ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _RemoteMediaLibrarySettingsContentState: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 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/settings/pages/remote_media_library_settings_content.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6317d3c711a775b62a5f9e1a1c57240979f5476a85307246507d2a16de37b383"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CupertinoPlaylistPaneState: ClassTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 132 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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"54aa4c82c1c67838aea9590291800de63d167baa9e1511465ef119e36f37c6e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/developer_options_settings_content.dart: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: DeveloperOptionsSettingsContent (30-893). The bar is 500 significant lines; this is 165 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d92ea872dea560ffd04dadb7ecc703473d5cbc6f900b4b1b259dd2261b1888"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CupertinoDanmakuListPaneState.build: MethodTooLong \u2014 build runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"416629343783e0eca9854bb2de575a0d54139f8bc115ae76e68815efd161ad8d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SubtitleTracksMenuState._loadRemoteSubtitle: MethodTooLong \u2014 _loadRemoteSubtitle runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3570e4fe3f953dfdff02f55f07a85884ef6556d886d09614dff839d9f203c8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _UnifiedAccountPageState: ClassTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 130 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/themes/nipaplay/pages/account/material_account_page.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c692022fce6731535dcbb7d6c23140f4b549775e5fe25c1e69bf9cecd4bdb311"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PluginMarketDialogState._buildPluginCard: MethodTooLong \u2014 _buildPluginCard runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/plugin_market_dialog.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dbd55a496fd35c6d7a944ef1a420abc2f60dc0973ec2199aa24a69ed3c43f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/bangumi_api_service.dart: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: BangumiApiService (19-1033). The bar is 500 significant lines; this is 152 over it, 1.30\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_api_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84c475c1b54503dc26b0a3dac1fa96334f0534613d88fa6c416113725972796"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/debug_log_viewer_page.dart: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _DebugLogViewerPageState (37-986). The bar is 500 significant lines; this is 152 over it, 1.30\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/debug_log_viewer_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c2eacb2b765b3b114b54b4982eae6df2ab505301821543c4a3a6d2132a35a5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilePickerService: ClassTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 121 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"223b3ea1dbc997d59cb3ab0e96a6d52036b7c288a7a99b534ecc12aa383cd110"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _GeneralSettingsContentState: ClassTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 121 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/general_settings_content.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"917fad6a280ed2cb8fcd7bdf727a6241d20ad08f38c7d0b484b350e3c316e1be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsProvider: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/settings_provider.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdd5c7889f7c5cf8afbc75fe6815405c25b2ee4d0773831d08b30d46d703892"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MediaLibrarySectionOrderEditorState.build: MethodTooLong \u2014 build runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_controls.dart"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f45f15ac82feb2cfedb738e734065109b8958bda04c207d01c7f6e0e3da76f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CupertinoDebugLogViewerSheetState: ClassTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 118 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc38b5a3571ca4597f2e96e2e72fc7aa25ad671b66f2928c2049d9cdb511c16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginService._injectPluginApi: MethodTooLong \u2014 _injectPluginApi runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f2d170f10aec4e0a39d5dfcd4156ffd233b32ba9d4a09945fa6e10895c47af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SharedRemoteHostSelectionSheet.build: MethodTooLong \u2014 build runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"622173b1f71c82e2d3b637d12dd05715b56fcac11bfb6ce715ae2831ca71817d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BangumiService: ClassTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 115 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafe53eb6ebece44444475130971864055e7b15be16f3463c1a4a926f7c09d9f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoSyncService._applyOperationsLocally: MethodTooLong \u2014 _applyOperationsLocally runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/auto_sync_service.dart"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"229c7b6703f4272ec8c2a0bdb4ad9d654be681f929d051c19f85706111de19fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AdaptiveMediaDetailActionButtonState.build: MethodTooLong \u2014 build runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/adaptive_media_detail_action.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71cebc957a0426741bba4b693a51b622e1ed3afc228a7c034f78226f86da533"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NipaplayLargeScreenSettingsPanelState.build: MethodTooLong \u2014 build runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_settings_panel.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77cef19c1a4cc9763eafa3398eae0c79099878bbd7d55f9478d73521099472d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DanmakuGroupWidget.build: MethodTooLong \u2014 build runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_group_widget.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed55a520fdf2872bdead85736b37fd8ff4bb2cc47e1de009dee9aedf4d73e8f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/danmaku_list_menu.dart: FileTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _DanmakuListMenuState (27-916). The bar is 500 significant lines; this is 136 over it, 1.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"314b29293ded67d7ec9818d0940ac7c0a11c9b2cfdae24e7f942423ced34595e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/immersive_anime_detail_scaffold.dart: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 135 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/immersive_anime_detail_scaffold.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f55bb1050b631a33b7d5aca6dbd0441c3e9d1781ffac2259946e941e538c05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RestoreSelectionDialogState.build: MethodTooLong \u2014 build runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae7ad3e0b271cb30a8a85087406b0555ab8b5b731d25cfdb99c3aa715356b85"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ImmersiveEpisodeCardState.build: MethodTooLong \u2014 build runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/immersive_episode_rail.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb97caf97adc93db13abaf598dd46ef0559a01e0d18b7ae6c225e88f35e2d8a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryManagementTabState._buildControlBarActionsLocal: MethodTooLong \u2014 _buildControlBarActionsLocal runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d58bb2fa5c8f061fbdb0a7502824d7932bfb3a94a2f2330e47118f52fa55d28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MediaCaptureDialogContentState._buildSettings: MethodTooLong \u2014 _buildSettings runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"c571777ac8ab38fa7f54cb8df11668aafd44dc93116bbf777a74a2ff5144b9b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _DashboardHomePageState: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f920408ec52a247188afd4701a5a86241905f4558124c983982b2157d4e651"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MdkPlayerAdapter: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. Most of these members implement player_abstraction.AbstractPlayer (30 of 32 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_unsupported.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"826b1c84b7729726d7b6bfc90dc41d3ae2f6739e87cbfe80d673f2a95ce4bfd6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TorrentDownloadService: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/torrent_download_service.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a7217839b3bfea434d21ec24dfdf59ed5f087441add9d2406081e74da38b5d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _DanmakuSettingsMenuState: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8ffd82273d99e862bc4e797bf95d1c756f55c78d503ef5d1167f7e98020eab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/watch_history_page.dart: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: _WatchHistoryPageState (40-835). 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/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4d4ac9185919a031d2ff8a553c110bc5ae795e60c109c5339d05678bddf80f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: danmaku_next/msdf_font_atlas.dart: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: MsdfFontAtlas (9-817). The bar is 500 significant lines; this is 126 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/msdf_font_atlas.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6fc9cbc42e39dda5712204589a6d00a79d1a2446ffa97a07cfd30bc33c7769"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AboutSettingsContentState: ClassTooLong \u2014 500 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 100 over it, 1.25\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/settings/pages/about_settings_content.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a709d2470d99b33ebb57800088cbdbfa10a78b7b6d9985a9a8452f366cf9038"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AboutSettingsContentState._buildAboutCanvas: MethodTooLong \u2014 _buildAboutCanvas runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/about_settings_content.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87ce1e9e884aeec922df49a8823915514658e5cf2448927705d791700538481"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/large_screen_player_menu_panel.dart: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: _NipaplayLargeScreenPlayerMenuPanelState (37-666). The bar is 500 significant lines; this is 123 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"079f11130c8abb2db454d4eddab25633ff371b0073ee417d024855ce3f16d34e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DfmPlusOverlayState: ClassTooLong \u2014 498 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 98 over it, 1.25\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/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64732c436ffbaccedb4115b81071e78eafc7e77adf14ea96ad6dbfad8ffebc7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebDAVQuickAccessProvider: ClassTooLong \u2014 494 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 94 over it, 1.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/webdav_quick_access_provider.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"845421102e917304ad6d5634e2c7658192c8132dc2a2e4237a6fcb9767b99456"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BlurLoginDialogState.build: MethodTooLong \u2014 build runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_login_dialog.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"615cb6018faea66a36564bf960c0a6c0618036118f112cd6e055ab6472a7c959"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryManagementTabState._buildManagementItems: MethodTooLong \u2014 _buildManagementItems runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2639}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2ae53e7f6e22bd05437c2e692e3110556133e9b588bee24da2e32a0c29cbef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AnimeMatchDialogState: ClassTooLong \u2014 488 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 88 over it, 1.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d7a057d000f7b7e92642f9363a6fa7bdcb95fdbda2312ebca127e15fa36c35"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WebDAVBrowserPageState.build: MethodTooLong \u2014 build runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1d643ce6aa12984fa02c2ead69d99d6fc0edf3d20b4f40f059908a4abafb5e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryManagementTabState._buildFileSystemNodes: MethodTooLong \u2014 _buildFileSystemNodes runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"8879f15523a79df47c1a6ca127ffe731a36db7251b6ccef9be50172ab922a55e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: nipaplay_dandanplay_gateway::proxy: FunctionTooLong \u2014 nipaplay_dandanplay_gateway::proxy runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/dandanplay-gateway/src/main.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5271283d94b72b6f426f04b66a56072c5db1f31712b4f21e6c1ebdcc31596f17"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JellyfinEpisodeMappingService: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 85 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_episode_mapping_service.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"201654e6fbfe0a0025ca0ea2e6f2504b054ed2c8ac81985069ef354d078b30f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NipaplayAnimeDetailLayout.build: MethodTooLong \u2014 build runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/anime_detail_shell.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b170c2a50ade58a64144c51f3f85748c08a2f5b07c70adf13691ef6966042a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _JellyfinQualityMenuState.build: MethodTooLong \u2014 build runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1695b4a988b55beaa06844e47e4ce5d68d140287f8d0e7b3256542d06475541"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryManagementTabState._pickAndScanDirectory: MethodTooLong \u2014 _pickAndScanDirectory runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05cbfe879cde3f9ff320d705280354a312e5f36fe8c15cf7a8ed84c0d2d6926"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _BangumiCollectionDialogState: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9153688f9e2cff68d545f15d3aae2b9330c05f2785760e291ac003013e237be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/emby_episode_mapping_service.dart: FileTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: EmbyEpisodeMappingService (11-958). The bar is 500 significant lines; this is 103 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_episode_mapping_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d5d21ba3bdae606d178cce8b7b1c02a3dff43876fa2f11f9080f5399f49aaa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WatchHistoryManager: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8394b38d1d1117bee36badba816e98c7021ca1f039097da4b953fcd16ce0e4b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractPlayer: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/abstract_player.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3286e10642dee00df4eed880cd72b2fbb752c6d48460509736fc7a57f1f141e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExternalPlayerConsoleService: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/external_player_console_service.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1666f92e5ff52bc0e5243b20d750f8a82da9413757d34217e1039e0e948743d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SystemResourceMonitor: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/system_resource_monitor.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d362b72216f09a1c669de9315df4a8fd65ba301f79bd5495397c2c78ed44e4f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _JellyfinQualityMenuState._applySelection: MethodTooLong \u2014 _applySelection runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda3c2571f94fbab2075ecee4f0f0e3200e82c481d4afd2aae353d0281fc103e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SendDanmakuDialogContentState.build: MethodTooLong \u2014 build runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/send_danmaku_dialog.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fff5b20b984b2973210c774e1b4834dada3f19f22db66e04dc246901523d38e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VideoSettingsMenuState: ClassTooLong \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 79 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_settings_menu.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7188499ada15fd464172f1fa154b56e08459c219eef4f0f405403d940b51138e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/smb2_native_service_ffi.dart: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 96 over it, 1.19\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/services/smb2_native_service_ffi.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30698b30dd4225490a3fb10bed1d7d7125bebf4eb74bd25857ffe57441a5abed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SharedRemoteHostSelectionSheet: ClassTooLong \u2014 476 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 76 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/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25caf5bc8cdf76e4d3c5abb4284411b793524d76c54357d0212bb2537e25109"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BangumiCommentsWidgetState._loadComments: MethodTooLong \u2014 _loadComments runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_comments_widget.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4286befa595fe5325b761dc7e4987cd010233451f29c797bc9637dd1d10b520"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _TorrentDownloadPageState: ClassTooLong \u2014 474 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 74 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/pages/torrent_download_page.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc33da409b4977239d7470304f607b47f2f473d080ceb28ae51c2d308d59336"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: external_player_session/mpv_session.dart: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 92 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cb8a037d5f513913f27e10b872be1248a3f3df25e6ae83fb3f471c4909f815"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _BackupRestorePageState: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 73 over it, 1.18\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec517a9320afa501f165e36827c20aae7fc445600dd975ffc913ab61114ffb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cupertino/cupertino_adaptive_platform_ui.dart: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 89 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/cupertino_adaptive_platform_ui.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54198bf543fd9d8f2547b35bfe7c40f6ac2e0d59a376aa7abae16e4ce53605c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/new_series_page.dart: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _NewSeriesPageState (36-833). The bar is 500 significant lines; this is 87 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/new_series_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19ad3421f1867cde47603b7d4c8eeb002012194b0e70d40c5679dca80ba5381"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _Step2DialogState.scanVideoFiles: MethodTooLong \u2014 scanVideoFiles 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/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"474cae96332e36cf2ed21bd356a9d3c4c3cc3d9390d194675d5d4c41c8b4c3e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SubtitleSettingsMenuState._buildFontSection: MethodTooLong \u2014 _buildFontSection 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/themes/nipaplay/widgets/subtitle_settings_menu.dart"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f27cd4a9266f8846ae93e0da8cacf9ee6203b273fb032455ffdd8deaec5086"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AnimeMatchDialogState: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 67 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d2167a804c429c6bbb074513db57f98cf3c27a0d705bc1a93dbbb861b8be82"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NipaPlayNextEngine: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68476cb884de8a9813919c0c906f186960e82ce6e258f02546fb5263871dcdf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MpvSession: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"989f2f81b0633f648f5b35980f3d05162b4723bd97fa7365fea9caa6ad667865"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _CupertinoSubtitleSettingsPaneState: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d02045282f0febbdd6aca623f128af634b2de1e6fa44c0467bf185d527c2ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _DandanplayRemoteLibraryViewState: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ae5f21154b7820e4f993f88e169bce6c6c64e5017e5e52776d7d20739095c5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubtitleParser: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f62ade7d2b9f5a70f6e695c5ca32184924c092ce58cd9ecdaf9214731c5aea8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player_abstraction/mdk_player_adapter_io.dart: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: MdkPlayerAdapter (212-800). The bar is 500 significant lines; this is 82 over it, 1.16\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/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f325c9e458a9b7aedca558d8aaf5ecf692a637c7541362d6a8c95977bb5b32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PlayVideoPageState._buildLargeScreenBottomControls: MethodTooLong \u2014 _buildLargeScreenBottomControls runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f03d64b2c0a0b094585c205e9567ab5b23526ea7d87cd9bb2d92815bea39449"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuContainerState.build: MethodTooLong \u2014 build runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"2744095fa575a02fe048e64ef25cdcaae6bd05800a0c7fbfba4d9ab10ec03d61"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Next2GlyphAtlas.upload_glyph: MethodTooLong \u2014 upload_glyph runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"48768b904385cac29da726e75f0d3d65714f12dcfbb9d94c8f6b10232ffb11d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/cupertino_debug_log_viewer_sheet.dart: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: _CupertinoDebugLogViewerSheetState (19-746). The bar is 500 significant lines; this is 78 over it, 1.16\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/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f16f11f51276b84068941be0c9f957d1619402c2712c078069cd5476c276c15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/cupertino_bottom_sheet.dart: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 77 over it, 1.15\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/themes/cupertino/widgets/cupertino_bottom_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"182678bddfb0ca5fbce0a499fb80a66f8c89363fdb48bfc7e6d6ffc5ff688637"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NipaPlayNextEngine._rebuildLayout: MethodTooLong \u2014 _rebuildLayout runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"6251c68d171d7c0d092eebd98953b3b41e59a54cfa56069dec629a0c09becda5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NipaPlayNextOldEngine._rebuildLayout: MethodTooLong \u2014 _rebuildLayout runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d10bc34c9651250e71ee32c22559b723937cc0916c994d1ac0cc7340c84db9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: danmaku_dfm/dfm_plus_overlay.dart: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: _DfmPlusOverlayState (90-932). The bar is 500 significant lines; this is 74 over it, 1.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b69c9b97fb36d3c7cf7b381e257fd55d4268cad9846981f84c783c51ea51ff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _BlurDropdownState: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 57 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"966a7127e0a976fa2287d77bc386459eeafea3404d1785855e1ff100300decf3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/manual_danmaku_dialog.dart: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: _ManualDanmakuMatchDialogState (34-819). The bar is 500 significant lines; this is 71 over it, 1.14\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/themes/nipaplay/widgets/manual_danmaku_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caf907d0b64edafc865980ec768eb41cdca9ccb545bd62270b582ff27616a4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _NipaplayLargeScreenPlayerMenuPanelState: ClassTooLong \u2014 456 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 56 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"370f5e0dcdf2875b08b5f064f6e2ea0ef675e4e29efcf376b08fdff4314febd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeDetailPageState._loadBangumiUserData: MethodTooLong \u2014 _loadBangumiUserData runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f144c940745b4a6c6159e796517d131308be63c2c95f8850ac886ba639f201d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShortcutsSettingsPageState._keyToText: MethodTooLong \u2014 _keyToText runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/shortcuts_settings_page.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"608d9d6739a1cfcf0798647b393afa0135e411e99906df03763be23f0dc79bb5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BangumiService: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8b8b70847aee8c0d11a488720cc972829f203080991991768e91e01872cd63"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _RemoteAccessReceiverSettingsSectionState: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/remote_access_receiver_settings_section.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a46907e06fcadbf984046e3813e4c1c3ca9dd20cd2f473eb8ed34471b988c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _NetworkMediaServerDialogState: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20609baa5d145b9e78a19efc22c371c423585e64c6e07d4fbd21919e639c1e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConcurrentVideoProcessor._processSingleVideoPath: MethodTooLong \u2014 _processSingleVideoPath runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/concurrent_video_processor.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f42823d661b4b584c5f9bbbae8aeda30d6dbe1bed83379ebcad092313dda089"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player_menu/cupertino_playlist_pane.dart: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _CupertinoPlaylistPaneState (40-753). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b988e167bd53bc5bc22474a6f14f3287cf934779d20ec36f5e182ed971210fb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: account/material_account_page.dart: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _UnifiedAccountPageState (38-768). The bar is 500 significant lines; this is 61 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/account/material_account_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cf32ef743f2c7b56cec10b2e0294ab53442bba2f7c99db74ae8238d175d766"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/bangumi_collection_dialog.dart: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: _BangumiCollectionDialogState (96-748). The bar is 500 significant lines; this is 61 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14916f7f1a47bc115ec0e222f3874302dbfb6e5f688a60f5e13d91076234a79d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PlayVideoPageState._buildLargeScreenMaterialControls: MethodTooLong \u2014 _buildLargeScreenMaterialControls runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13bb945b91e31ba92a9f6b39307925c2cfcfa31008b2b3499937ae30d8d0db3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdaptiveButton.build: MethodTooLong \u2014 build runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/cupertino_adaptive_platform_ui.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8793949dbd3ff97957bfa54f970dac40bde9b732b56f5b1f930db591ef5b5da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _JellyfinQualityMenuState: ClassTooLong \u2014 445 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 45 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"148c7fe3abfcbdaecbd83ea94b92be5656a12ca8b8cd17da16e946c6b5373134"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MediaServerDetailPageState._playEpisode: MethodTooLong \u2014 _playEpisode runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"385c7db7ec4d5e598e50f53da21a7e1c8f16e9d355556635bc57240e444e7c08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WebDAVBrowserPageState._playVideo: MethodTooLong \u2014 _playVideo runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf3d0261055351d5cbcaa96c1c63c744e5a17be5ca9dd0676cfcca6d98b8d7b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebApiService.handleUpdateHistoryProgressRequest: MethodTooLong \u2014 handleUpdateHistoryProgressRequest runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9d6b0c538ef4ec8e12ce13439e57834473e31b3ced0fd58f64d229a8dc62a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/webdav_quick_access_provider.dart: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: WebDAVQuickAccessProvider (108-851). The bar is 500 significant lines; this is 53 over it, 1.11\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/providers/webdav_quick_access_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"643ab725d2594ab1941582be938bc90a7339c23e8273bee4b3238697474355c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/general_settings_content.dart: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _GeneralSettingsContentState (40-742). The bar is 500 significant lines; this is 52 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/settings/pages/general_settings_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f909934d5ae7f2af1101ac596f3ec68189fa77406520d81527c524a53de34e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QuarterlyReviewCache: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 41 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/quarterly_review_cache.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e27847e65a27cf159c8aac8af7b228651fd98cef89f3bc5ba0eef5fac1db244"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalMediaShareService: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8023ddbdf1bfaae40ff87d9f291017c117610ef7fe106dfed55004b2c9a98d8a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NetworkSettings: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/network_settings.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aae6d86e71f1aefccf5ead6ff1944a457306421d4396cc3ae8eb856cf422625"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaKitPlayerAdapter.getDetailedMediaInfoAsync: MethodTooLong \u2014 getDetailedMediaInfoAsync runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3691}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f8490c40d2bb9c6847d70551d7b8851e94659829b8d09ab5d6f300b80bf277"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebDAVProxyService._handleStreamInternal: MethodTooLong \u2014 _handleStreamInternal runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_proxy_service.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"899d01e5e85fea7379a0c65b1df577d78995310bc9c3a2ef38a2f1cb9cafc45b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CustomScaffoldState.build: MethodTooLong \u2014 build runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_scaffold.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a81d67779deb4b4a7dc544c617efdda047578eecfafc24e4c6b2bd2772b6be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CupertinoAddTorrentView.build: MethodTooLong \u2014 build runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_torrent_download_controls.dart"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4f9c1f5059d457f7cab4e86e52412e4f181758e16baa4738709bfa7f76c0a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WebRemoteAccessGateState.build: MethodTooLong \u2014 build runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/web_remote_access_gate.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac6ee88a69fe35bac3b8a925f8e6d3e9624980b8decd889bee96b699eef99f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WebDAVBrowserPageState._buildSearchResults: MethodTooLong \u2014 _buildSearchResults runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca82ef7d3a752324ecaf79090af7d6ba64e35f79fc253f615e252f6f73d374c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _Step2Dialog.show: MethodTooLong \u2014 show runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c098d983307894c3851c32ca2fffe020f91372897080a5afcfd504d4f1e6c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HorizontalAnimeCard.build: MethodTooLong \u2014 build runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/horizontal_anime_card.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ba5ab49ec3cfcbdd80bf7b4fd23f592ec5421dd72fcea95a1f248f6999845c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/file_picker_service.dart: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: FilePickerService (17-902). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afb5d97d04d9e72c8cd6b26e64a2503a4d5050fbfdac7fc50af67b4b90f6076"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/dandanplay-gateway/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3621253db07f1a10a7ca713373a61e04aa39d8c7df4117d2cfceec9aeb340c53"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/emby_media_preference_store.dart: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\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/services/emby_media_preference_store.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f868ce763c87c85372505dad68ed40a54141c47d9cd2fa0b60683e2085cd75b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebServerService: ClassTooLong \u2014 428 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 28 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/services/web_server_service.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f7fb8e8f544a489bd3d0e7d5e34b58d69aa1ec15ac46004a10d312a6cdfeaa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TorrentTaskCard.build: MethodTooLong \u2014 build 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/pages/torrent_download_page.dart"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"945c5781a86cfbee6a95e6e9c207962f752038582e653298c4b5f778aef8fa26"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdaptiveSettingsTile: ClassTooLong \u2014 427 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 27 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/settings/adaptive_settings_widgets.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"431ba81c069fbf6eaa7062f63804de7c6c08e1b1e661d5640d2045caecd4d272"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _TorrentDownloadPageState: 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/pages/torrent_download_page.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cc3caf563a9c71ff28a9599cc50cf06e365eea89efac9e35b68662558047fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayerFactory: 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/player_abstraction/player_factory.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"337aaec835fe0ed456c477372a0444d6f425abd505ea8a3cee7fb7afc7a8a5ff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _ManualDanmakuMatchDialogState: 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/themes/nipaplay/widgets/manual_danmaku_dialog.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cfc4d062a934f9154f0d48241f428fdc2861e0b2e7e14a54193e86bd372479"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/bangumi_service.dart: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: BangumiService (13-847). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"256f8222aa0bb4a60193e5d25943a313bdcd8a5303cd2e1c6ab3e70d406b9b38"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TorrentDownloadService: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 25 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/torrent_download_service.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"568fc1a303b3c283e20b1048dacf04b5dbbb24ccb68e4da2aa6c2a8e32ae17aa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BangumiSyncService: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 25 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_sync_service.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e7e53d6dd8fe41041af6d355bfdb1fc3d872781ef2eeaced8134d81471fa4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CountdownSnackBar.show: MethodTooLong \u2014 show runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/countdown_snackbar.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc99a47650202ccb9dbac97db943206d6c2081f7a09c2c1f2cc31509863e35ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/unified_settings_entries.dart: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/unified_settings_entries.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e722c1247893c4d4e6f497fc443d5664a59662eaf0ccf6ffa00bc359d4d4124b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MdkPlayerAdapter: ClassTooLong \u2014 420 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 20 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8ca284ab0da83b8a0b4c73a4c09c5174fffbaa94bf238f6eb57d5b8798b1d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/about_settings_content.dart: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _AboutSettingsContentState (30-720). The bar is 500 significant lines; this is 25 over it, 1.05\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/settings/pages/about_settings_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e91e7d6d37f10458b935dff2a7ebeaceb48059cd1e247fe4fb1505c533dccd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainPageState.build: MethodTooLong \u2014 build runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"981079d9e7f2a48264c56adff5872527af0064ed74d1c527f23520113dccaa9c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaKitPlayerAdapter.getDetailedMediaInfo: MethodTooLong \u2014 getDetailedMediaInfo runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3545}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fd4c98b1df4acb7cd78a30e42cacbe916e4b62322f53e7138445d6b6c85365"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AnimeInfoWidgetState.build: MethodTooLong \u2014 build runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/anime_info_widget.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb463d6bb3484a8acfa2dd20817a0e35ab1690b16606c35c40cfcf9b4350829"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _EpisodeFileSelectionDialogState.build: MethodTooLong \u2014 build runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/episode_file_selection_dialog.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0188ef85b36a6e31071c914a9b55082d2ffaaf34ea289d5fa77bce5438ec5f96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/video_settings_menu.dart: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: VideoSettingsMenuState (50-684). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_settings_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26daad4e49ca0a6f850e125f31598cc11134c5d3265e02d913d9a0d2ea238950"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SeekStepMenuState: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 16 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/seek_step_menu.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"db46a240f1bf20fbf1e3c3b301d0c2fdcc04e513ee990ef16e82671d1d8819bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryManagementTabState._scanWebDAVFolder: MethodTooLong \u2014 _scanWebDAVFolder runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5990}}}],"partialFingerprints":{"codehealthFindingId/v1":"b722000ddce1d785a3e8ecb7be7ca3bee92a27640f2d9ad4a222077670b67a0f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryManagementTabState._scanSMBFolder: MethodTooLong \u2014 _scanSMBFolder runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":6226}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ae17dd012706e538f8ff9fbeaaca9a19d30365f05b44692b8cd9b5b95cf5df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/renderer_core.rs: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: Next2Renderer (1-675). 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":"rust/src/next2_engine/engine/renderer_core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7564c7e8c8b81e3a90e94e70f366e49d2e0a9ddfa7d589627c9b93402541ea7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NipaPlayNextOldEngine: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c1ec0ab77c12dd403ea74cf31e05db32dd6f2102d1ce3f702c62aa9b62fa70"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _WebDAVBrowserPageState: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"babb403ce0d9214215c1a28170f244ee5c621e637deb63cb8d03ae2d36bff0b7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebApiService: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"971ca1f3cd7464aea95849e6f54f5aa7a6d1a8bea6e1616b620c8a1470a57777"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebServerService: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_server_service.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27991a366758c569445067ab9648ac40b3e58210785f105884e3b1cceb7f5b9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _NetworkSettingsContentState: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/network_settings_content.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"709b81675527f3731dda05c2e9f4f43be0c8d88611468c48b5691b2791d19bf5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImageCacheManager: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de43e0cf1bcb1ce37f8e29c080555211ec23ec4ea02d5c1796e6afde6df21ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiSyncService.syncWatchHistoryToBangumi: MethodTooLong \u2014 syncWatchHistoryToBangumi runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_sync_service.dart"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b383ccc80642455bce9c3249c2eabae8136854d29c41f7f568dd84b4987f0dfd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PluginSettingsContentState._showInteractivePluginActionsCupertino: MethodTooLong \u2014 _showInteractivePluginActionsCupertino runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/plugin_settings_content.dart"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"e843727c0cee4328f4c63d4c1f1bf277b90d94c42aad9d563992687fbdc4f71b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CupertinoSeekStepPaneState.build: MethodTooLong \u2014 build runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_seek_step_pane.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2d9590057896dfed318b6157b03cd5ae8c2ff8f1acc03c642b22b9261c796b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Next2EmojiAtlas.upload_one: MethodTooLong \u2014 upload_one runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbe746e73955d3fbabc6cfcd56a27207265c147e4bbfae55a83feaebc7032aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/danmaku_ass_converter.dart: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/danmaku_ass_converter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb361ee9266504505a5b9338eca8226ca922d75c8c9d26ad1ac3c56279045a76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/nipaplay_window.dart: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: _NipaplayWindowScaffoldState (58-596). The bar is 500 significant lines; this is 13 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/nipaplay_window.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99277d40dd30c3d9f6a601c68136f7c381fa80a5e1c32c971d3f61983d0088e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/shared_remote_lan_scan_dialog.dart: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: _SharedRemoteLanScanDialogContentState (107-645). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e33911ba4abbeeda5ef8e582ce92d6656682b00c593f45b8daad0ad49ed666"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/tvos_remote_text_input_scope.dart: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 11 over it, 1.02\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/themes/nipaplay/widgets/tvos_remote_text_input_scope.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cdaadf63a1a6f20cdc93e39fbc99a42255ba7faee93daef78dae2353439d3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DatabaseDebugPrinter.printAnimeEpisodeRelations: MethodTooLong \u2014 printAnimeEpisodeRelations runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/database/database_debug.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd503687b406c15d93a653a8cd552db48e9e524de6265a0df73075fc899414d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RemoteMediaLibrarySettingsContentState.build: MethodTooLong \u2014 build runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/remote_media_library_settings_content.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ef0c1596aed96e237d950d1b3cd6e877134e0a29e1ff9452bd8a639d2bea08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CupertinoTorrentDownloadViewState._buildTaskCard: MethodTooLong \u2014 _buildTaskCard runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_torrent_download_controls.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"46378fd84148124ccb82a0ad25bded2a5f91fdef71e27aa13d8c86e9533ce50f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BangumiCollectionDialogState._buildEpisodeStatusSection: MethodTooLong \u2014 _buildEpisodeStatusSection runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2870d987f560cd4d5a322812d4bdd02a68452448119368c26d8bf06db38a672"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HorizontalAnimeSkeletonState.build: MethodTooLong \u2014 build runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/horizontal_anime_skeleton.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da060083b9efab2e0a2632eb2af8b9da36d2f338801755db35d53c82bd2510a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rust_lib_nipaplay::api::ass_converter::convert_danmaku_to_ass: FunctionTooLong \u2014 rust_lib_nipaplay::api::ass_converter::convert_danmaku_to_ass runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/ass_converter.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0214a5e60637b632bf01662979b6de8bcecf96327c9839246379bf2292a9416"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/blur_dropdown.dart: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: _BlurDropdownState (52-715). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"791473aab742f941e0f719fdddc30c47851926a0bc5e43b0566903e05d80a1ff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Player: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods. The bar is 400 significant lines; this is 7 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/player_abstraction/player_abstraction.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f83b67091506cf59db4c5e54f047732ef519a00401178193838f120a4c43f39"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/remote_text_input_service.dart: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\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/services/remote_text_input_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deffae7f538ebf9d8b288a125933a4d447cf94874b61a7a54affc1587117443b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EpisodeNavigationService._getNextEpisodeFromJellyfin: MethodTooLong \u2014 _getNextEpisodeFromJellyfin 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/services/episode_navigation_service.dart"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"447cb47fe507186abdf33b3eaaaaf60bed27e18056ab067eaf5c40feddb57325"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EpisodeNavigationService._getPreviousEpisodeFromEmby: MethodTooLong \u2014 _getPreviousEpisodeFromEmby 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/services/episode_navigation_service.dart"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"160b78a8b5bdca5ebb0c594e95d0eb0bb0c3be94fc195974acaa53ef068fd176"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EpisodeNavigationService._getNextEpisodeFromEmby: MethodTooLong \u2014 _getNextEpisodeFromEmby 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/services/episode_navigation_service.dart"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfff5f03fcfb869b21e26513ba82ea3b06cdc2e41bfa744b0e6a766dfb0c75f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NetworkSettingsContentState.build: MethodTooLong \u2014 build 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/settings/pages/network_settings_content.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e91200b547ed195ded486b11d82452bf1cd1ef47083bc116f175a77058eca04"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CupertinoNetworkServerConnectionDialog.show: MethodTooLong \u2014 show 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/themes/cupertino/widgets/cupertino_network_server_connection_dialog.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ad34ff11b6211615431f04732e04f1054c746c66755140a46f09ca247901ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CachedNetworkImageWidgetState.build: MethodTooLong \u2014 build 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/themes/nipaplay/widgets/cached_network_image_widget.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"134ca832506382a34f6b9c692675625703354467f37356e353c29f67d19bc53a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _NipaplayLargeScreenAnimeDetailPageState._buildEpisodeCard: MethodTooLong \u2014 _buildEpisodeCard 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/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"f024db52b64dea730e00591d77d2bc80b91652da5e0ec520001010da7162c42a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryManagementTabState._buildAdaptiveManagementView: MethodTooLong \u2014 _buildAdaptiveManagementView 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06680598439f2d1bac10925e908ca7ec67c2bd419471bf9b7dc890947066a83"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PlaybackInfoMenuState._getVideoInfo: MethodTooLong \u2014 _getVideoInfo 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/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"41949b1693c4d4858aed85ff957a70ad08971d33c5564003769e2a98583fe3ff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _Step2DialogState: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e822cfe53e1a6380e4ce2f4b090b511bee0e66ce0217aaec4a19ac14bcf7d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 45 shared lines): lib/services/remote_subtitle_service.dart:927-1039 | lib/services/remote_subtitle_service.dart:1049-1151 | lib/services/remote_subtitle_service.dart:1153-1269 | lib/services/remote_subtitle_service.dart:1271-1390 \u2014 These 4 members are variants of one another: a block of 45 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"9766228b8e61371464172a465ec2a8bd789783394173df6006b78c29f4ef7862"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 30 shared lines): lib/services/dandanplay_service_io.dart:1912-1979 | lib/services/dandanplay_service_io.dart:2394-2456 | lib/services/dandanplay_service_stub.dart:1343-1448 | lib/services/dandanplay_service_stub.dart:1738-1829 \u2014 These 4 members are variants of one another: a block of 30 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3aa7f1ffc87d4bb4e0769040d16075f0139979ddab4e6ef544252b2e7e2938"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 18 shared lines): lib/services/dandanplay_service_io.dart:2653-2731 | lib/services/dandanplay_service_stub.dart:1450-1542 | lib/services/dandanplay_service_stub.dart:1831-1918 | lib/services/dandanplay_service_stub.dart:2040-2136 \u2014 These 4 members are variants of one another: a block of 18 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2653}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fe588a9a27bdcefdb7854434d7717401a21909aa20b0d71bcb68ad19ad3e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (116 shared lines): lib/themes/nipaplay/widgets/library_management_tab.dart:5990-6131 | lib/themes/nipaplay/widgets/library_management_tab.dart:6226-6365 \u2014 These two members are variants of one another: 116 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5990}}}],"partialFingerprints":{"codehealthFindingId/v1":"41394d9460f02437361f903d742703741bf317121408bfd59a22e3c6bd86a7a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (79 shared lines): lib/themes/nipaplay/widgets/playback_rate_menu.dart:110-327 | lib/themes/nipaplay/widgets/seek_step_menu.dart:124-599 \u2014 These two members are variants of one another: 79 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/themes/nipaplay/widgets/playback_rate_menu.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"36053258d3c2857e53f93463816753d52b66b76a394ebe6168d45ebfbd2b30b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (75 shared lines): lib/pages/torrent_download_page.dart:1978-2118 | lib/pages/torrent_download_page.dart:2165-2299 \u2014 These two members are variants of one another: 75 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/pages/torrent_download_page.dart"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0a3c051f1c9cd8f5286e8720aebabea4076bff0aaae14dd02859819b35d411"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (68 shared lines): lib/services/dandanplay_service_io.dart:746-820 | lib/services/dandanplay_service_stub.dart:630-735 \u2014 These two members are variants of one another: 68 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/services/dandanplay_service_io.dart"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e59a851bebb6acb036cdb9236489e7fb2e6615383bd46fde0564388c790181"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): lib/services/dandanplay_service_io.dart:1235-1352 | lib/services/dandanplay_service_stub.dart:2138-2254 \u2014 These two members are variants of one another: 58 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/services/dandanplay_service_io.dart"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f596657c98422d5090edfea3cf01d4c762a3f9fc724f51542d55a7f50fcbfdcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): lib/danmaku_next/nipaplay_next_old_overlay.dart:116-194 | lib/danmaku_next/nipaplay_next_overlay.dart:134-230 \u2014 These two members are variants of one another: 52 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_overlay.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65fab64436f6696c7f285e6b7ce975896cad85aa9fef9de3da8332198ea0271"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:226-341 | lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart:270-383 \u2014 These two members are variants of one another: 48 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/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0993ea9caa531cef7c004a02ab9b1444f138323c8cc1ea07a2a64441f96cacd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (29 shared lines): rust/src/next2_engine/engine/rendering.rs:229-359 | rust/src/next2_engine/engine/rendering.rs:770-911 \u2014 These two members are variants of one another: 29 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":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe2516eb901fdf4605560ec48073ed90f0c2716f7a079af8e54caaa862789f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/services/local_media_management_api.dart:1220-1256 | lib/services/local_media_share_service.dart:363-407 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ba0a24a152fb3ffbe2128856d2c050ac1eeb55ff2ae178e62baa0f85eaff08"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): lib/providers/shared_remote_library_provider.dart:1061-1168 | lib/providers/shared_remote_library_provider.dart:1202-1304 | lib/providers/shared_remote_library_provider.dart:1306-1376 | lib/providers/shared_remote_library_provider.dart:1378-1447 | lib/providers/shared_remote_library_provider.dart:1481-1572 | lib/providers/shared_remote_library_provider.dart:1574-1629 | lib/providers/shared_remote_library_provider.dart:1631-1699 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2744fc8778449fd04ee5ce9e2bcecfb3fc1517720fcf1ac5d4f44ae2f926085"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/models/emby_model.dart:62-83 | lib/models/emby_model.dart:155-196 | lib/models/emby_model.dart:368-411 | lib/models/jellyfin_model.dart:85-106 | lib/models/jellyfin_model.dart:178-222 | lib/models/jellyfin_model.dart:393-436 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20a21476733bfa9007da2901438a730d5f129e71ee251ced8144a05e615a7a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/services/local_media_management_api.dart:746-829 | lib/services/local_media_management_api.dart:943-990 | lib/services/local_media_share_service.dart:409-468 | lib/services/local_media_share_service.dart:561-596 | lib/services/local_media_share_service.dart:781-851 | lib/services/local_media_share_service.dart:853-889 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8198fd9e814fd8119e9db58afc0a2e6aa482d52718a4d710e30391d07fd92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/themes/nipaplay/widgets/library_management_tab.dart:3766-3858 | lib/themes/nipaplay/widgets/library_management_tab.dart:4180-4247 | lib/themes/nipaplay/widgets/network_media_library_view.dart:705-741 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:516-552 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:554-591 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:927-1024 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3766}}}],"partialFingerprints":{"codehealthFindingId/v1":"4541774fde96b7d468efef3d2ba4bfa5360c41d44dc62e0d350b4fc7d7fe0378"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): rust/src/next2_engine/ffi.rs:61-84 | rust/src/next2_engine/ffi.rs:102-125 | rust/src/next2_engine/ffi.rs:140-159 | rust/src/next2_engine/ffi.rs:232-261 | rust/src/next2_engine/ffi.rs:325-385 | rust/src/next2_engine/ffi.rs:395-418 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/ffi.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"906f3f15b1996ae9565a13b05ae07ca4a9e716db27c6de6361358c555da18f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/models/watch_history_database.dart:196-289 | lib/models/watch_history_database.dart:430-488 | lib/models/watch_history_database.dart:751-764 | lib/services/full_backup_service.dart:353-382 | lib/services/web_api_service.dart:718-749 \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/models/watch_history_database.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4f84adc1e585ba05a3e27641c81a89edf2c3945288f699519481123cec8ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/providers/shared_remote_library_provider.dart:891-997 | lib/providers/shared_remote_library_provider.dart:999-1059 | lib/providers/shared_remote_library_provider.dart:1731-1815 | lib/providers/shared_remote_library_provider.dart:1817-1889 | lib/providers/shared_remote_library_provider.dart:1891-1944 \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/providers/shared_remote_library_provider.dart"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd7441923cd001ff9876032d6721fe84359e48b21c53636358de0e8501d9cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/services/dandanplay_service_stub.dart:630-735 | lib/services/dandanplay_service_stub.dart:1035-1125 | lib/services/dandanplay_service_stub.dart:1450-1542 | lib/services/dandanplay_service_stub.dart:1831-1918 | lib/services/dandanplay_service_stub.dart:2040-2136 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e1048f46142e1f37cfd8ac28dd9ab188ec2ec83ee00fa9f883cfee21842ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/services/emby_dandanplay_matcher.dart:1357-1790 | lib/services/jellyfin_dandanplay_matcher.dart:1405-1838 | lib/themes/nipaplay/widgets/custom_slider.dart:60-118 | lib/themes/nipaplay/widgets/history_all_modal.dart:258-371 | lib/themes/nipaplay/widgets/translation_button.dart:111-202 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"387e300e01d44404843b314e07dc1736d9c6a1f5c9da052ffc28f914388f5fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/services/emby_service.dart:1032-1063 | lib/services/jellyfin_service.dart:824-855 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:419-451 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:453-486 | lib/themes/nipaplay/widgets/playlist_menu.dart:616-678 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"2726fbec35dd02164932b3996dffd07ff5a13f5b7c67c7d5229a7f3ecd870697"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/services/local_media_share_api.dart:86-102 | lib/services/local_media_share_api.dart:104-124 | lib/services/local_media_share_api.dart:126-148 | lib/services/local_media_share_api.dart:192-214 | lib/services/local_media_share_api.dart:257-279 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_api.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e03e24d7edef7ce8ab82c2b744cb640f5d95b8d29453489c7eaa526bf16275"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:23-127 | lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_offset_pane.dart:61-186 | lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:304-713 | lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_tracks_pane.dart:72-166 | lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:262-385 \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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ff705dc90e441cc826809a86b2d15676946d0f60f89697a421c025cf1794bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/themes/nipaplay/widgets/library_management_tab.dart:1093-1260 | lib/themes/nipaplay/widgets/library_management_tab.dart:4920-5033 | lib/themes/nipaplay/widgets/library_management_tab.dart:5412-5615 | lib/themes/nipaplay/widgets/library_management_tab.dart:5617-5821 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:1397-1494 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f6939d89697972bf84d9949e6847da6e08fc0637f2178350e7df4073814691"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/danmaku_dfm/dfm_plus_layout_bridge.dart:485-520 | lib/danmaku_next/next2_layout_bridge.dart:161-205 | lib/danmaku_next/nipaplay_next_engine.dart:1028-1073 | lib/danmaku_next/nipaplay_next_old_engine.dart:871-907 \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/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9f90b218d909635ab2fe78afeb93cac474e81882ebea81f2e508cefa0c1252"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/models/emby_model.dart:100-112 | lib/models/emby_model.dart:414-427 | lib/models/jellyfin_model.dart:123-135 | lib/models/jellyfin_model.dart:439-452 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7114e38924b5d13984e9519e8c9dfa393e7c6e20b6b6b862af8d2764f8d6160c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/pages/media_server_detail_page.dart:1311-1436 | lib/pages/new_series_page.dart:495-598 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:208-308 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:723-829 \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/pages/media_server_detail_page.dart"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"115d7df87e0a7fae4d6945bb75aac7cb5b1db4ba855a01589b6ab5430bdf343b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/pages/new_series_page.dart:495-598 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:208-308 | lib/themes/nipaplay/widgets/network_media_library_view.dart:834-957 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:723-829 \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/pages/new_series_page.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d25283730e08154d3d3e5811426a975579fe8a3e2a6d3ffc39f3f2a9bc0293"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/pages/new_series_page.dart:613-643 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:386-407 | lib/themes/nipaplay/widgets/network_media_library_view.dart:985-1006 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:1094-1115 \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/pages/new_series_page.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f1cdc7f3d457a7bf4e64d6d278dd316a5c3980c6c9f5f6bfa40cfa8e3e2afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/player_abstraction/media_kit_player_adapter.dart:2580-2601 | lib/providers/shared_remote_library_provider.dart:658-678 | lib/services/shared_remote_playback_sync_service.dart:240-260 | lib/utils/remote_media_fetcher.dart:400-421 \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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e70aba2f382fa7230a53594f498dff4f7a6adf5f279b45f7fbc85a65920859"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/providers/shared_remote_library_provider.dart:699-736 | lib/services/certificate_trust_service.dart:131-163 | lib/services/webdav_service.dart:1798-1834 | lib/utils/remote_media_fetcher.dart:433-470 \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/providers/shared_remote_library_provider.dart"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e300a7f363ee126e1b93f2d879052b30d1e221db6b6663234f02316de7f56f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/services/emby_service.dart:712-819 | lib/services/jellyfin_service.dart:491-545 | lib/services/jellyfin_service.dart:548-594 | lib/services/jellyfin_service.dart:596-680 \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/services/emby_service.dart"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e2ff5b104235032b91ecd5f51fcb0a1704555c0ec82f89cbe0be18652b5f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/services/emby_service.dart:712-819 | lib/services/emby_service.dart:822-866 | lib/services/jellyfin_service.dart:596-680 | lib/services/jellyfin_service.dart:683-727 \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/services/emby_service.dart"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"420d49bf19dde7225b092bc9e6540456d58b1a79570f81c9c0e99565dfae183a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/services/local_media_management_api.dart:237-297 | lib/services/local_media_management_api.dart:404-467 | lib/services/local_media_management_api.dart:605-655 | lib/services/local_media_management_api.dart:1009-1041 \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/services/local_media_management_api.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2743193a11dcd19f2c14b1bf65ce8cf1f2a879475e8f4766871c68535221267"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/services/local_media_management_api.dart:682-736 | lib/services/local_media_management_api.dart:746-829 | lib/services/local_media_management_api.dart:831-933 | lib/services/local_media_management_api.dart:943-990 \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/services/local_media_management_api.dart"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"1665ecec46b9aa779863d08dfd0a92ea0394a2585e019691a41a615711e18107"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/settings/pages/developer_options_settings_content.dart:583-625 | lib/settings/pages/developer_options_settings_content.dart:627-717 | lib/settings/pages/developer_options_settings_content.dart:719-772 | lib/settings/pages/developer_options_settings_content.dart:774-876 \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/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfd597ce154d58510f400aabde5a52c8c939e4c9632a18477f0ef04b442d1b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:387-406 | lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:408-427 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:361-380 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:382-401 \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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d524d93c9485f9b87a77ffea0e090f384aa2c726a7ee61b2937816e0a965b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:82-110 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:112-158 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:118-146 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:148-194 \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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3e0fcfa396d4bc394501ea8a09dee7afff26923340c64fd6810a33adc2523f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:477-610 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1287-1353 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:327-378 | lib/themes/nipaplay/widgets/smb_connection_dialog.dart:313-367 \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/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"be801f8b83f548aecb067f944cb05ede97ff940890beb0a0c0a2ac9a51837309"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/themes/nipaplay/widgets/playlist_menu.dart:321-388 | lib/themes/nipaplay/widgets/playlist_menu.dart:390-457 | lib/themes/nipaplay/widgets/playlist_menu.dart:459-507 | lib/themes/nipaplay/widgets/playlist_menu.dart:509-559 \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/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"5710837fa8a2bfb839686b745bd14cc0df428d712a1230f0d19e19c04ef2cd55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (431 corresponding lines): lib/themes/nipaplay/widgets/danmaku_list_menu.dart:374-915 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:580-1010 \u2014 These two members are one piece of code written twice and then edited apart: 431 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"33211780aec7d46d4ad96d58904f36c56add3ed985ce2c1c947010f8cd222e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (139 corresponding lines): lib/player_abstraction/media_kit_player_adapter.dart:3545-3688 | lib/player_abstraction/media_kit_player_adapter.dart:3691-3829 \u2014 These two members are one piece of code written twice and then edited apart: 139 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3545}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab24303d5efe05d150d5db9edc73a003ced6d540fad431042b1b697858cf4026"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (139 corresponding lines): lib/themes/nipaplay/widgets/emby_library_card.dart:20-159 | lib/themes/nipaplay/widgets/jellyfin_library_card.dart:18-156 \u2014 These two members are one piece of code written twice and then edited apart: 139 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/emby_library_card.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"813c17e9dec957c1016c4f028ebacb982b8885d9434d7d630d96f7faeb23666b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (118 corresponding lines): lib/settings/pages/plugin_settings_content.dart:632-749 | lib/settings/pages/plugin_settings_content.dart:751-894 \u2014 These two members are one piece of code written twice and then edited apart: 118 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/plugin_settings_content.dart"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde299a669489ccb5d099a19b9e43b4d5362a47d4ed1df329e4dd68d59b9ced3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): rust/src/api/file_scan.rs:231-314 | rust/src/api/incremental_sync.rs:450-525 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/file_scan.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"247c768a0439af886157bc5884cbe474d69ba18a627d6bd5c9cedc8369ed9304"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:5224-5315 | lib/themes/nipaplay/widgets/library_management_tab.dart:5317-5410 \u2014 These two members are one piece of code written twice and then edited apart: 92 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5224}}}],"partialFingerprints":{"codehealthFindingId/v1":"43869f36e23340f4174e6544fd26319dcc06e31c22a33a1ff3fa2736e2bcbd02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): lib/services/local_media_management_api.dart:519-603 | lib/themes/nipaplay/widgets/library_management_tab.dart:5879-5987 \u2014 These two members are one piece of code written twice and then edited apart: 85 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d8df25f4208b8d9babe5d3d48297659bcd12845e2a7367afcf7810c82c1bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): lib/services/local_media_share_service.dart:470-559 | lib/services/local_media_share_service.dart:598-669 \u2014 These two members are one piece of code written twice and then edited apart: 72 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f3df08ed0b8b1cf5f246a90ef0525f88d4d45b1282b55f5214fed2359d98ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (96 corresponding lines): lib/services/emby_dandanplay_matcher.dart:1141-1236 | lib/services/jellyfin_dandanplay_matcher.dart:1215-1310 \u2014 These two members are one piece of code written twice and then edited apart: 96 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"728dbee7d0f35daeb6f1c37fe0f56a2b070c1d8beae43250099dd8d4954eeb72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): lib/services/emby_service.dart:1227-1310 | lib/services/jellyfin_service.dart:1083-1185 \u2014 These two members are one piece of code written twice and then edited apart: 84 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac7d668ce44f55affdd24f2c4770d8e8e1eba6e6cc2ed5b3321e21f1fb5adea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): lib/services/shared_remote_playback_sync_service.dart:20-85 | lib/services/shared_remote_playback_sync_service.dart:87-165 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/shared_remote_playback_sync_service.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbbdb683f71df9a6d076c76ad6d814e1493959cb891a8429add4e1fb1fca199"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): lib/themes/nipaplay/widgets/dashboard_home_page_trending.dart:1278-1352 | lib/themes/nipaplay/widgets/dashboard_home_page_trending.dart:1354-1424 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_trending.dart"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8037c978b425a9c376683d3a03bb1390cccd59887d88e6cc7b0e831d366f2b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): lib/themes/nipaplay/widgets/local_library_control_bar.dart:280-352 | lib/themes/nipaplay/widgets/network_media_library_view.dart:2264-2341 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/local_library_control_bar.dart"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f8062dcc8f9a700f65bb4d75ac64735b8d53ed38631b558586c6cc0a5859fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): rust/src/next2_engine/engine/renderer_draw.rs:755-825 | rust/src/next2_engine/engine/renderer_draw.rs:841-890 \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":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fafe149d370c36bf04a0c684454783e578a644687e071bfba26f1728ac3319"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): lib/services/episode_navigation_service.dart:1117-1172 | lib/services/episode_navigation_service.dart:1174-1229 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bc8dd4cb4fe7274e455388583121af44b6925e503349fe604cdabad655c9ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): lib/themes/nipaplay/widgets/modern_video_controls.dart:314-392 | lib/themes/nipaplay/widgets/modern_video_controls.dart:394-463 \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/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb45ef8c3b70f78ad1cfd1d248552159281da342e4eb7e5d40346cd654c8744"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): lib/services/local_media_share_api.dart:322-390 | lib/services/local_media_share_api.dart:392-470 \u2014 These two members are one piece of code written twice and then edited apart: 69 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_api.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"228a93eaefebffa559857fae6b3bcd3c5deb78e9f3c679ebbfcb47bc7e4bcc16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): lib/services/dandanplay_service_stub.dart:1127-1197 | lib/services/dandanplay_service_stub.dart:1920-1986 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1d7da13cae9bc5e35b852bb873bbb63b93118aa1c548c38b65022a052aae5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): lib/services/remote_control_client_service.dart:209-267 | lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart:245-330 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa0b2038958f7bdf19aa94aea2c5e3f894c34d824cd2c2eaded40670c96970b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): lib/services/remote_subtitle_service.dart:1392-1453 | lib/services/remote_subtitle_service.dart:1455-1513 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"218ce8df6b6c03b68be9cfe51c41d7f60110d5784fa5c8c96fdabff6082d6dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:3908-3972 | lib/themes/nipaplay/widgets/library_management_tab.dart:4044-4106 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3908}}}],"partialFingerprints":{"codehealthFindingId/v1":"2231fdfef5142366e03f6e75398dba5a4aa0ce50f0d724667049570ec311a583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:370-440 | lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:442-503 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d95503c7884dffed9225359db67001f400413f92d4e31fb2e56c2523020403"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): lib/services/dandanplay_service_io.dart:1784-1845 | lib/services/dandanplay_service_stub.dart:2532-2578 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ed9d66161cb3055cf915115b4b705bca163e5f9703e50084b1148e66b6e277"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): lib/services/smb_proxy_service.dart:51-107 | lib/services/webdav_proxy_service.dart:56-107 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b020d663e1165c0213077e33180aaec9eac17945aa87a1249031096802a9a84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): lib/services/playback_source_service.dart:495-544 | lib/services/playback_source_service.dart:546-589 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd240525f80582f1f75f506b4bd3fad5f712712e8f2e0981145bb9c27592895"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:198-250 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:312-366 \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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44ff9f8e93d5dbf29bb334d95c5aa21605577e45227c58f815ade080d9d4705"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:633-695 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:450-516 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"50191efed8841d97d5ed9d3b2d12c549788694462b07b89eb47bd479a0c9090d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:212-265 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:173-237 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da94e3beaad28e1f84aa7120d1b163e76de61a1b9fd6d160c79f7afe3813aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): lib/pages/dashboard_home_page.dart:767-827 | lib/pages/dashboard_home_page.dart:829-888 \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/pages/dashboard_home_page.dart"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da20cab92c8b3905784ffc8aea9a8176ed03b679d5e7f0795477e08e8cf7aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1242-1300 | lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1537-1594 \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/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9b1b8a61a0f4248ca74434c03e106af29006e814da8212ddf221da7bef8e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 50\u002B corresponding lines): lib/services/dandanplay_service_io.dart:1124-1177 | lib/services/dandanplay_service_io.dart:1982-2051 | lib/services/dandanplay_service_io.dart:2459-2522 | lib/services/dandanplay_service_io.dart:2525-2574 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 50 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/services/dandanplay_service_io.dart"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fde5ea52795972afef5c2bdb5de3a8aaa838e5fbf4a1f7c8d11ae08e0573d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:118-152 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:157-192 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd346224ddf1b11da35ecc9bb90c2bdea0682971c017e59ff7f804199c7e136"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 43\u002B corresponding lines): lib/themes/nipaplay/widgets/lock_controls_button.dart:54-97 | lib/themes/nipaplay/widgets/send_danmaku_button.dart:54-98 | lib/themes/nipaplay/widgets/skip_button.dart:53-95 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 43 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/lock_controls_button.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac099948b3b3742cdf19daebcd7fc393549b5f2947e60384d5865ac365125a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): lib/settings/pages/developer_options_settings_content.dart:341-409 | lib/settings/pages/remote_media_library_settings_content.dart:1457-1508 \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/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"541cc2a95ff6a987cc412078e5d59038577ed503779e4518af9aff2b2e0d36df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:4517-4560 | lib/themes/nipaplay/widgets/library_management_tab.dart:4604-4646 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4517}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd724512a4ded102eb8eac565b5c701b014723b141103f201926b70869b8948"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/services/playback_source_service.dart:618-665 | lib/services/playback_source_service.dart:712-752 \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/services/playback_source_service.dart"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c15c9344f6efb03bec2bc0e8567b9d6fd810806243d0eaeb66afdc90bb48d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): lib/themes/nipaplay/widgets/network_media_library_view.dart:2021-2083 | lib/themes/nipaplay/widgets/network_media_library_view.dart:2085-2141 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"b163ea955c99213172732a774eb468888a0a857f97addb2509a760ec07a7eb55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/services/emby_service.dart:572-614 | lib/services/jellyfin_service.dart:445-488 \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/services/emby_service.dart"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4f0e9c29f1487c4f52c90ab5293b721199fd42eadac1e921d279ffed785a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:4562-4602 | lib/themes/nipaplay/widgets/library_management_tab.dart:4648-4688 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4562}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bc0378ebfce4d41f539ef78d8efdf4de5705a438b46f8986c169d494fc6ca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): lib/utils/watch_history_auto_match_helper.dart:258-311 | lib/utils/watch_history_auto_match_helper.dart:313-365 \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/utils/watch_history_auto_match_helper.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c554313144efccab0ec39fe9fb982ec3ecc5c928764c9a305b22ea68b220ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/services/dandanplay_service_io.dart:439-478 | lib/services/dandanplay_service_stub.dart:335-372 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abb09d148e0ebdf458c4b1d5cee546d8782ce703d6af2de3158509cdd6224d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): lib/services/file_picker_service.dart:258-341 | lib/services/file_picker_service.dart:502-564 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9292e39e3bd393caf2b3ff610a15ab76525a1504cf0e172a63a5b53202da7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:5054-5101 | lib/themes/nipaplay/widgets/library_management_tab.dart:5103-5145 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5054}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dea430942ed68f7e53b10a351360501cf90a50b2e56336f25418f8bae54107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/services/local_media_management_api.dart:157-196 | lib/services/local_media_management_api.dart:340-379 \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/services/local_media_management_api.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae8de59032dbcb66916e6e1129a9292121121e9c3de319bfeb5472328d11b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:492-535 | lib/themes/nipaplay/widgets/library_management_tab.dart:6495-6549 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11ab48c941a487b2075def0f558c62166d58a70558b90e974ae4cd7f227adcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/pages/anime_detail_page.dart:1301-1329 | lib/pages/media_server_detail_page.dart:732-761 \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/pages/anime_detail_page.dart"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b539004a66b94b3363ce3a1b6a89ab35cf238c66411613409d094867a4756d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): lib/services/remote_subtitle_service.dart:1515-1552 | lib/services/remote_subtitle_service.dart:1554-1599 | lib/services/remote_subtitle_service.dart:1787-1826 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"141a121f8429b19d16737046d9beeafa7594b2f96cace0acb37772837aea7bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart:267-311 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:515-573 \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/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3342e14891b2aa721ee9e75a34a5285c087dee087efc8a143a1af0afc7c04c8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): lib/settings/pages/network_settings_content.dart:277-338 | lib/settings/pages/network_settings_content.dart:340-408 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/network_settings_content.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7779448d79a4d80f2a6fd376da9fd2a99f8d409b4ca0ddac2912ddb32107148"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:141-181 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:205-260 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf948038cf787b5b2823871d1386c895f4ddf542b1e40189f459b51f792f1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): lib/themes/nipaplay/widgets/playback_info_menu.dart:1000-1038 | lib/themes/nipaplay/widgets/playback_info_menu.dart:1041-1086 \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/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"62099f93fffa980d5f5150de860c7348dbd85f53ae676ad980ce6d11b59fa2b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): lib/services/dandanplay_service_io.dart:2334-2391 | lib/services/dandanplay_service_stub.dart:1689-1736 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eea07217321dbf1d2f9e8659a517e3ce7b47712854a7e157c9755d5102664f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/services/emby_dandanplay_matcher.dart:713-747 | lib/services/jellyfin_dandanplay_matcher.dart:748-786 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9c09c0331c556d115c0b9036d484ee9dac8b4eee9ebe388225602aac2a998f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/services/external_player_console_window_service.dart:33-73 | lib/services/external_player_console_window_service.dart:75-114 \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/services/external_player_console_window_service.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f6f7e77ff94d4cb36ad5600ead390be7aaee09bb8fa5d33baa5f30adcd6fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): lib/themes/cupertino/widgets/cupertino_player_menu.dart:58-99 | lib/themes/nipaplay/widgets/large_screen_player_menu_pane_host.dart:66-104 \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/themes/cupertino/widgets/cupertino_player_menu.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"704c4adb205b657cfe953a0cf51c7c66296b0aa04d02408f07d22f933c1a8f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:785-819 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1372-1408 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:391-425 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8043c8d01b73cf92ace986a4973755eb3df749fcfc1b34a15a58edd9f2f51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/models/watch_history_model.dart:228-282 | lib/models/watch_history_model.dart:285-324 \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/models/watch_history_model.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e188e51747ed386dd242abbd0b5a583c9a5cfe32202c08ef307186b4e04e4c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/services/emby_dandanplay_matcher.dart:906-945 | lib/services/jellyfin_dandanplay_matcher.dart:977-1022 \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/services/emby_dandanplay_matcher.dart"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"855421b08210f10538c98392aec68dbc586d2cb8aa10385588d34f9cc90d0f21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:134-180 | lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart:180-223 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"139bd1c2f86bfc6f939918172c8f1b47f2fe91f55a3ffcdfa98a2341f8e9df92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:733-777 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:811-857 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc5de83dcf2d113de119383f709e7f625193f75d7d2bde45d23875f169d41fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:5824-5870 | lib/themes/nipaplay/widgets/library_management_tab.dart:6180-6224 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5824}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd2fd71a75350f85dc634eb2e3a09818f151ef1fe779029ad6b5eff6375b0a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:6404-6436 | lib/themes/nipaplay/widgets/library_management_tab.dart:6552-6585 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":6404}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d50d96add872c3ddc15c8f650582790229bf99f20a1f0649e5424be817b893"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/models/external_player_session/mpv_session.dart:428-469 | lib/models/external_player_session/mpv_session.dart:471-513 \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/models/external_player_session/mpv_session.dart"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3b69f74ef13c2e8f28cb28612f35d5e65d366c91985dfaa2154b89b753dbcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 43\u002B corresponding lines): lib/models/watch_history_model.dart:735-777 | lib/models/watch_history_model.dart:940-982 | lib/models/watch_history_model.dart:1061-1111 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 43 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f88fef8a2c38ff4dcf316e8a5f099a2d1331b2f70a585a41ff4be7a50b30e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:342-378 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:380-417 \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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"da15f2c96225c37fa61735ed37c4baa6e883d8cd26a0cee6cc7291768ff7d939"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1441-1478 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1481-1517 \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/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7c3e7f754c70cf08b3564efcf07ab65dd1eda129d2a4e332c4994095cb84d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/services/emby_service.dart:957-994 | lib/services/emby_service.dart:1003-1030 \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/services/emby_service.dart"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f012ab1ba6f85d8b383b25e5fbb16015accbdb4074f20e929a21e9ab52afac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/themes/nipaplay/widgets/large_screen_mode_actions.dart:139-173 | lib/themes/nipaplay/widgets/large_screen_mode_actions.dart:359-389 \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/themes/nipaplay/widgets/large_screen_mode_actions.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2d408007c986623dbf1423abc453b2c860b7d9e0cd1fbc512bc418f93d8785"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart:21-50 | lib/danmaku_gpu/lib/gpu_top_danmaku_renderer.dart:20-49 \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/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9472f5a1ed3c8fe5292b1c825d77cc2bd8cce5d1f609a42377bfcd927577fd33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/services/file_picker_service.dart:458-499 | lib/services/file_picker_service.dart:801-843 \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/services/file_picker_service.dart"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"978be313e6be38d8a3d5ddecb784e1f31ee24bb40cecf26cb951b7a16d4e3ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:5148-5184 | lib/themes/nipaplay/widgets/library_management_tab.dart:5186-5221 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5148}}}],"partialFingerprints":{"codehealthFindingId/v1":"103a69c9908daf23c1de4f1358a043b56f284317e5b1113b241ea684f54842e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:3860-3906 | lib/themes/nipaplay/widgets/library_management_tab.dart:4009-4042 | lib/themes/nipaplay/widgets/library_management_tab.dart:4144-4178 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3860}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8961487575d3604d2670e6f62fe0fcf44490b139c1334d26e0b8f2652eca85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:809-846 | lib/themes/nipaplay/widgets/library_management_tab.dart:1628-1666 | lib/themes/nipaplay/widgets/library_management_tab.dart:4301-4335 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0f98b53a75311d0e3617020568b1b8b5593a25dbc051cb769f3c0630017e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:955-999 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:586-626 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:668-709 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb75cce57babd927efe2fb16604c92ba033620a306676777e1b545dfaf25ce12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 38\u002B corresponding lines): lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:252-289 | lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:291-330 | lib/themes/cupertino/widgets/cupertino_rating_sheet.dart:162-201 | lib/themes/cupertino/widgets/cupertino_rating_sheet.dart:203-245 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 38 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9793c9df6f718732cedc8036a2210c963aef324b3186f32cb3a2370c185cb054"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/models/watch_history_model.dart:387-429 | lib/models/watch_history_model.dart:432-464 \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/models/watch_history_model.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"733006ef6ab23374acf4c8dde51f09dbf18d351cab84f858331a64a294447b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/themes/nipaplay/widgets/plugin_market_dialog.dart:44-76 | lib/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart:30-63 \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/themes/nipaplay/widgets/plugin_market_dialog.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fec2f6092fd40726cba721dd7d0f63f2e06ed8d3c466db7a1c9ce4a0e7b6e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/themes/nipaplay/pages/settings/watch_history_page.dart:343-384 | lib/themes/nipaplay/widgets/history_all_modal.dart:373-402 \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/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"66851d3eed574401be8475fd09f680d0066098f6fa91b8c5df8136fbc9191b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/themes/nipaplay/widgets/playback_rate_menu.dart:67-100 | lib/themes/nipaplay/widgets/seek_step_menu.dart:68-105 \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/themes/nipaplay/widgets/playback_rate_menu.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e60aaec1b50ae75dc72b15322c7d3a58162d54f33191ee4ea80b9612fb44c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 42\u002B corresponding lines): lib/providers/dandanplay_remote_provider.dart:92-133 | lib/providers/emby_provider.dart:269-310 | lib/providers/jellyfin_provider.dart:302-343 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 42 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/providers/dandanplay_remote_provider.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a61a8ff3dbf7ad077fc8158f9b5655e17b1107b5df6e4a35c713ceffba3a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/services/local_media_management_api.dart:1178-1218 | lib/services/local_media_share_service.dart:1096-1133 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d5e7f03d54f6cbee7aafb1d8f950ac79498d5b9a5fe09af3f8d1a27edc04ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/plugins/plugin_service.dart:1452-1463 | lib/themes/nipaplay/widgets/plugin_market_dialog.dart:216-231 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0179744acc742364485b4c766c52116f55897c16780e1b1afabefff4acc11a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:1010-1043 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:992-1025 \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/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"37abea887f60cc2070aecea4f0d25d1ee952654db3f4f3dc450ae24fe41fca73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/widgets/emby_media_source_selector.dart:409-439 | lib/widgets/emby_media_source_selector.dart:441-479 \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/widgets/emby_media_source_selector.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef72183ab8ec0eeb831d2c3192563dd6e6383d07cafc1f550b6b75a748668bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/pages/torrent_download_page.dart:871-901 | lib/pages/torrent_download_page.dart:903-929 \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/pages/torrent_download_page.dart"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a93409dd92286048ae2b06f23ee9726c82981e0cae7dd7a863806f46398407"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): lib/services/local_media_share_api.dart:158-189 | lib/services/local_media_share_api.dart:224-255 | lib/services/local_media_share_api.dart:289-320 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_api.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbafe996417341c49fa17d4fe6699390533527a294fa03942d23abe0c0940beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:155-191 | lib/themes/cupertino/widgets/cupertino_rating_sheet.dart:89-133 \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/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5502cded8627f69baeac1df7e5adb3c0062aaf839e4e3271ea665123b8c2b4f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): lib/widgets/user_activity/desktop_user_activity.dart:226-268 | lib/widgets/user_activity/desktop_user_activity.dart:270-308 \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/widgets/user_activity/desktop_user_activity.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"89acb1b8bd235f3b951aebe062b794c9576a0d3a17ea02bb865645e9752b1ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/providers/shared_remote_library_provider.dart:758-783 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:822-848 \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/providers/shared_remote_library_provider.dart"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e85997bc44b9c38cfbdbfddfdbbabee4953dbdc7741a436b967b742f4b0f5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:906-943 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:945-980 \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/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac73dcc73785b7fea6f67a6c63ac01c0f94fcb276e8e3c5e716c850dcc3d5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/pages/anime_detail_page.dart:409-445 | lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:434-478 \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/pages/anime_detail_page.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9751f7af4a410e8b8c86ff0eb6936b712a0aab227bb7e54250efd439269faaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart:59-91 | lib/themes/cupertino/widgets/player_menu/cupertino_seek_step_pane.dart:73-105 \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/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1c5e8acbc83daa13baa3d3bc8bb50cdcb23e8901b142d629471fa30d8b48e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:276-296 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:392-412 \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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1bdcbaf91ca5f6631158ca74239d240a88f975eb766a08bc937d456d37107d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/providers/emby_provider.dart:155-175 | lib/providers/jellyfin_provider.dart:188-208 \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/providers/emby_provider.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b828f9b1112f3a445f0518b559497eab41583d40c4b248ea3e8068571266c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:219-251 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:255-290 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:537-560 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1897a79a1f9438812b2853b4d22dd1dd62db39f73c4c29402b3a8fe4dea4a903"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/themes/nipaplay/widgets/brightness_gesture_area.dart:60-83 | lib/themes/nipaplay/widgets/volume_gesture_area.dart:60-83 \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/themes/nipaplay/widgets/brightness_gesture_area.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75caf0766028c89690d61ffa6cc38b3b9ebfac374d7e9162091ddaafe373b97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:3974-4007 | lib/themes/nipaplay/widgets/library_management_tab.dart:4108-4142 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3974}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ccbb33cb3320ac167688e0ffe55b2ef8820e1c86116433e3c270da9e3774a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): lib/services/web_api_service.dart:516-550 | lib/services/web_api_service.dart:552-579 | lib/services/web_api_service.dart:581-609 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4c829e816dfecde2837d1f2aef3122a94b021b49fd6ed37f052f7b3f3f6944"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart:190-222 | lib/themes/nipaplay/widgets/danmaku_list_menu.dart:285-339 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3a89a1f4b0440e6f7d7e12b7cdb54d58e00238f26767021c83709f767be4ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/models/emby_model.dart:263-280 | lib/models/jellyfin_model.dart:289-306 \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/models/emby_model.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6ef8933c2f73e49ac7e0275cb733fc2bcffa7c43780529474b0ea706d1afe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 46\u002B corresponding lines): lib/services/smb2_native_service_ffi.dart:329-374 | lib/services/smb2_native_service_ffi.dart:376-424 | lib/services/smb2_native_service_ffi.dart:426-471 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 46 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb2_native_service_ffi.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c3f2c1321a94a5c1a1fd3e455d93d86d8c724f029c3d0284d1196127956ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): tool/ohos_mdk_reopen_smoke.dart:146-180 | tool/ohos_mdk_smoke.dart:196-240 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/ohos_mdk_reopen_smoke.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac94ff00bb686773263cbed0afae6540c65740ddc9f0323aef9a41823ed1fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/services/emby_dandanplay_matcher.dart:1103-1138 | lib/services/jellyfin_dandanplay_matcher.dart:1177-1212 \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/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"789c980f3bcdf5d5f45a4c16e72e7137918d9e7e64802e3495c185dc93b23262"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:567-590 | lib/themes/nipaplay/widgets/large_screen_settings_panel.dart:421-445 \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/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"b842d42c5b6e34b789a0d848c1db4ab5a80fb9b48008478c392e024ccf1199a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): lib/themes/nipaplay/widgets/network_media_server_dialog.dart:490-522 | lib/themes/nipaplay/widgets/network_media_server_dialog.dart:551-579 | lib/themes/nipaplay/widgets/network_media_server_dialog.dart:581-611 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf98bc70548f419cbd6ea2a613006937cca5a20fa6ded930b09cf064c374071"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 25\u002B corresponding lines): lib/models/watch_history_database.dart:928-953 | lib/models/watch_history_database.dart:1069-1093 | lib/models/watch_history_database.dart:1096-1127 | lib/models/watch_history_database.dart:1130-1161 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2580c57718653a2174cae2438a4ba2841564a8d8465163d47c8841170b7d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart:380-414 | lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart:747-776 \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/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7883263472d4ff1e9691907574cff5094522fa943c9df3819ff0fd09bbaf51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): lib/providers/shared_remote_library_provider.dart:563-585 | lib/providers/shared_remote_library_provider.dart:587-618 | lib/providers/shared_remote_library_provider.dart:620-645 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c2ba73118e50b6acfd4562a79496ae48d9cafd77432d0d823ceb6c5c435ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): lib/services/network_media_settings_api.dart:49-77 | lib/services/network_media_settings_api.dart:95-122 | lib/services/network_media_settings_api.dart:139-161 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/network_media_settings_api.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0c8e10ad5d8302ae004642b73f5adce5bbc5ce0eef5c15f7ea84131336d628"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/settings/pages/storage_settings_content.dart:283-312 | lib/settings/pages/storage_settings_content.dart:340-369 \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/settings/pages/storage_settings_content.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"603ce00296f70768b3d4778b4fff762ef0553239e9d6704f444a7ec5c9679ae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): lib/providers/emby_provider.dart:207-240 | lib/providers/emby_provider.dart:243-266 | lib/providers/jellyfin_provider.dart:241-273 | lib/providers/jellyfin_provider.dart:276-299 \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/providers/emby_provider.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"238eb00a437b794dd70a890ce9da238858b32e8a07bb1a9734d7bd4c9df65d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:3666-3703 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:627-659 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3666}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce17e9dd1db8026dd1572f7a3bdbad79533a08f4d2a7a4038ae7b2b4fa5208e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/services/dandanplay_service_io.dart:2847-2879 | lib/services/dandanplay_service_io.dart:2882-2910 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2847}}}],"partialFingerprints":{"codehealthFindingId/v1":"c497b8bc96095ea999b32b58dc096af0eba114c1be9ecd875bfdbcf6dd223da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/services/emby_service.dart:131-154 | lib/services/jellyfin_service.dart:114-137 \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/services/emby_service.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1267c57e39f7f8d719e5c42f2e4c2b038405c19f16e7de1aeffbc255aa94cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/settings/pages/general_settings_content.dart:411-445 | lib/settings/pages/general_settings_content.dart:471-499 \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/settings/pages/general_settings_content.dart"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"348159d4ca483f33ad4a425c29bb222688cf3b3d3749f96b10c35956766f16c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:3630-3664 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:593-625 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3630}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff1b6438700032081b24280b1ceb6b78b4ed6a23716b1c6de8871ed0de23078"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/providers/shared_remote_library_provider.dart:1170-1200 | lib/providers/shared_remote_library_provider.dart:1449-1479 \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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c711ccea4501c6ebbb07f7ce0394dcf0752ccb9b455b6ad4d34bf2baaa8e6bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:224-250 | lib/themes/cupertino/widgets/cupertino_rating_sheet.dart:135-160 \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/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"1306df60d2c4e22d70aa6891b64213eb8eb5d641cd142136034a52c2174f2b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:30-67 | lib/themes/nipaplay/widgets/glass_bottom_sheet.dart:25-59 | lib/themes/nipaplay/widgets/text_input_dialog.dart:87-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9aa6ceb6c9fe75aafe60578ed961c5d93c2a886526d5de4cabecd56ef25b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/services/remote_subtitle_service.dart:313-337 | lib/services/remote_subtitle_service.dart:359-381 \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/services/remote_subtitle_service.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"997337f342c0872ed5fdc426cc775b7e318d6d765e5205a27730f59978bfc172"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/danmaku_next/nipaplay_next_engine.dart:482-510 | lib/danmaku_next/nipaplay_next_old_engine.dart:358-387 \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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"587ded2da8cb4221004817e98f87612889a84cbf024a46e61f8d866a0485d943"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/services/torrent_download_service.dart:304-332 | lib/services/torrent_download_service.dart:334-360 \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/services/torrent_download_service.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"19acae8eed7c3a1fe56d2227e19eda3ee64b8bb743345dfd58e65ff01773b67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/settings/pages/plugin_settings_content.dart:302-325 | lib/settings/pages/remote_media_library_settings_content.dart:1432-1455 \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/settings/pages/plugin_settings_content.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff0f8fda45838d5cf111fefa2d51443b27c4ee43e9e92bd1012bb6a94704f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:752-783 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:961-990 \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/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"845472f6485a81c9cce99a99b7042ae359349390477994e7ff39fd271b6c4304"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/main.dart:1243-1272 | lib/utils/launch_file_handler.dart:8-39 \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/main.dart"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84700c98cc8eb5641e2a4fc27b2f57e7f615950dd106c174e84d2d618edc63e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/themes/cupertino/widgets/cupertino_bottom_sheet.dart:376-410 | lib/themes/cupertino/widgets/cupertino_bottom_sheet.dart:412-445 \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/themes/cupertino/widgets/cupertino_bottom_sheet.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e665183ebad54adbda81db1805023da9f41022396e78e6533934b87898e7c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart:59-79 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:69-89 | lib/themes/nipaplay/widgets/danmaku_list_menu.dart:82-113 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:90-126 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9447e5d05edc80f271fb9444860c01a0a386ef785e9ad11ac17116cf0c55c5be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:156-172 | lib/themes/nipaplay/widgets/playlist_menu.dart:235-259 \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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3e36562f49957444681fe6d5584e47bfd05f9260ccdfae2f39fc7f0efa9cbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:568-592 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:576-598 \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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d55044b87c5c1c9901c7388d1dff260630d8079cd46d9dba4e1fe238162de5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/services/web_api_service.dart:630-648 | lib/services/web_api_service.dart:695-716 \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/services/web_api_service.dart"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ade7babd4d7c8ef1a32ed852326f969d6c945c38fe29ac6cfc337fcae8f5cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:504-534 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:514-542 \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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceff7e54fae3de3a96c381cba51c08508765a137d7723299f561b57de8cc245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/models/watch_history_database.dart:1186-1209 | lib/models/watch_history_database.dart:1212-1237 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d374300b350d3880d1431b343649c8e3cd2387e05710e98bceb1aff58536d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): lib/utils/hotkey_service.dart:302-342 | lib/utils/hotkey_service.dart:915-953 \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/utils/hotkey_service.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44549886fd0304ae3b899fc112ce0defc4ab5e5d980bd4628e8377135432568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/utils/screen_orientation_manager.dart:139-178 | lib/utils/screen_orientation_manager.dart:181-206 \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/utils/screen_orientation_manager.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f351d86ad78c4dd5e8ba7669cea0266edb0e680dc4ba2c1d940aaa2451ddac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/services/backup_service.dart:53-60 | lib/services/full_backup_service.dart:95-106 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/backup_service.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bfce1e5293f4f210b9df7cb224eddd02ffd9f77fa448f9940697162ebe9742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/widgets/emby_media_source_selector.dart:560-568 | lib/widgets/emby_media_source_selector.dart:570-579 \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/widgets/emby_media_source_selector.dart"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf138cd0dd1b332a3b2d1b1ccc0eafb9a571550b2b9c851c65b9e481a8b211f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/services/local_media_management_api.dart:381-402 | lib/services/local_media_management_api.dart:657-680 \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/services/local_media_management_api.dart"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d160787c594f0ddb0f5dc7a34572ad620e79ca205b62ff2c6dca1256c35855"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/themes/nipaplay/pages/settings/watch_history_page.dart:806-823 | lib/themes/nipaplay/widgets/history_all_modal.dart:225-241 \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/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d504d7a87f77fc2869dfc5f0c9f0d47e27811ebc3c55634546dd3949e5aac201"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/services/local_media_management_api.dart:127-142 | lib/services/local_media_management_api.dart:301-325 \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/services/local_media_management_api.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3db7803aee447bcb32b44da02dd2b9ae80955a24bb0a09fcedf49655af03c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): lib/services/local_media_management_api.dart:476-496 | lib/services/local_media_management_api.dart:498-517 | lib/themes/nipaplay/widgets/library_management_tab.dart:6134-6163 | lib/themes/nipaplay/widgets/library_management_tab.dart:6367-6389 \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/services/local_media_management_api.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c54b68a6b197e4942066eb666efaf024a31fe3fb1f7d6ab69256d78253454e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/settings/pages/network_settings_content.dart:410-441 | lib/settings/pages/network_settings_content.dart:443-472 \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/settings/pages/network_settings_content.dart"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff883e23c74299d322769f1f9ae36ab5b719771acfbb1ab193d5bca2437ad34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:468-501 | lib/themes/nipaplay/widgets/large_screen_settings_panel.dart:483-507 \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/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f751bb729c996d9b647234e28ae048381a2b384d276864c7d16b6b943e60b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/plugins/plugin_service.dart:217-234 | lib/plugins/plugin_service.dart:236-250 \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/plugins/plugin_service.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf43982dec4fd75deb17e5ff0c98c47da4d643fc36b928763fc1352aad00113"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): lib/providers/emby_provider.dart:342-360 | lib/providers/emby_provider.dart:363-383 | lib/providers/jellyfin_provider.dart:375-393 | lib/providers/jellyfin_provider.dart:396-416 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3737b89ba29991a434bf9cc91111abf6e1ebc684e80dc9b60d72424230fe6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/danmaku_next/danmaku_atlas_painter.dart:1670-1685 | lib/danmaku_next/nipaplay_next_old_canvas_painter.dart:292-316 \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/danmaku_next/danmaku_atlas_painter.dart"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c22a0b14f7477565dfd8736d6a09cdfd5a2162f67c1fc95da1d508c6d2cc3a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/models/external_player_session/mpv_session.dart:545-565 | lib/models/external_player_session/vlc_session.dart:203-222 \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/models/external_player_session/mpv_session.dart"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"244c72ca9aa92370426e7cc89b737910bbeca858b7405f1e65ef5453a76d8285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/models/external_player_session/potplayer_session.dart:366-378 | lib/utils/subtitle_parser.dart:74-84 \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/models/external_player_session/potplayer_session.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"181b66add492ac0d6ebcd4724d6cac924ae8f1658b27f7c318795ed84e4122e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 26\u002B corresponding lines): lib/settings/adaptive_settings_widgets.dart:61-86 | lib/settings/adaptive_settings_widgets.dart:88-113 | lib/settings/adaptive_settings_widgets.dart:115-142 | lib/settings/adaptive_settings_widgets.dart:144-170 | lib/settings/adaptive_settings_widgets.dart:172-203 | lib/settings/adaptive_settings_widgets.dart:205-230 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/adaptive_settings_widgets.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6831e69c9868b512dac861f889343e5feffbebe45fd5ccf2788b9a64b08837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/services/smb_service.dart:709-731 | lib/services/webdav_service.dart:706-740 \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/services/smb_service.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"199a4c781b39312cf64147ae3644ae9998e36da12a704838723b6a7f59861997"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart:496-522 | lib/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart:524-549 \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/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"917b82075da8ceb6f08ed667250654dfd26d03b0e291294429aaac9e88d80391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/services/episode_navigation_service.dart:1103-1115 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:194-207 | lib/themes/nipaplay/widgets/playlist_menu.dart:285-311 \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/services/episode_navigation_service.dart"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fc8af1a854143c507621274d97a2b0ab4cf20e0838621fe3d3c127abce5853"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/themes/nipaplay/widgets/smb_connection_dialog.dart:9-26 | lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:9-28 \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/themes/nipaplay/widgets/smb_connection_dialog.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7d1e5f56a3769e18b5f01353347669beb2af1276caf59154bc5395cda1a2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/services/dandanplay_service_io.dart:481-495 | lib/services/dandanplay_service_stub.dart:374-388 \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/services/dandanplay_service_io.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"943984a28e8dc259718c3e301296951520d217d57446c9420788de522b7ab01a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/settings/pages/remote_access_receiver_settings_section.dart:757-780 | lib/settings/pages/remote_media_library_settings_content.dart:440-469 \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/settings/pages/remote_access_receiver_settings_section.dart"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11875d7b28450853add0930822471952be05ea17e1c7890e5c244f0c23aea53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/themes/nipaplay/widgets/network_media_library_view.dart:671-703 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:488-514 \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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d79adba1531101b8c65a314620337f54dc33756c5fcedc9e1dc4c974dcc52b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/pages/anime_detail_page.dart:3517-3540 | lib/pages/media_server_detail_page.dart:1771-1791 \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/pages/anime_detail_page.dart"},"region":{"startLine":3517}}}],"partialFingerprints":{"codehealthFindingId/v1":"5badcf7640f0e1600d9e315a1fbefee77961ab0c31f2e5d7871fa7be3e1b2339"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/plugins/plugin_service.dart:1634-1652 | lib/plugins/plugin_service.dart:1682-1701 \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/plugins/plugin_service.dart"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"7139a8c1680ea380361978055e4007d772b11f849f6974f963b56c3498af70ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/services/remote_control_auth_manager.dart:24-39 | lib/services/remote_control_auth_manager.dart:48-63 \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/services/remote_control_auth_manager.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63b907d17c471ccbda4c9bb8cad94b117833edde0155e2cf83975fb1a3231b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/providers/emby_provider.dart:123-153 | lib/providers/jellyfin_provider.dart:160-186 \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/providers/emby_provider.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ac82dad8cd22d88b096de3e94d97cc0ee875c2f2d0c8ad51a534c3dd3a67ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/themes/nipaplay/widgets/large_screen_page_scaffold.dart:507-527 | lib/themes/nipaplay/widgets/settings_item.dart:911-932 \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/themes/nipaplay/widgets/large_screen_page_scaffold.dart"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26038c7e98a51ce80992beefda716da38cd9998bb5e7787b5949d795b6119f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:66-82 | lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:187-203 \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/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdd3ecae66e04cbc4a2339f08c17513613556059b31b4e6975fa6cf04ddc309"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/danmaku_next/msdf_font_atlas.dart:46-65 | lib/danmaku_next/msdf_font_atlas.dart:67-89 \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/danmaku_next/msdf_font_atlas.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"595b276241d579af6fde4f2778c0b7228f25746a3018a5118860d3ba7cf3f98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/pages/media_server_detail_page.dart:1118-1144 | lib/themes/nipaplay/widgets/media_capture_dialog.dart:1117-1134 \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/pages/media_server_detail_page.dart"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a90e9631a6dda2ae937aeef1a568a01bad68d93d99f9a682417ee52ba68d570"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/services/emby_media_preference_store.dart:455-470 | lib/services/emby_media_preference_store.dart:507-522 \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/services/emby_media_preference_store.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c066b5d180052e9d5428578775e936645f0e9d7970c95038eaa0112a1d06fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/themes/nipaplay/widgets/modern_video_controls.dart:476-501 | lib/themes/nipaplay/widgets/video_player_ui.dart:655-675 \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/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f193ebc09ff11495dbe159d063c658737abdafee0b3f38217ef103b2ad1d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): rust/src/api/media_metadata.rs:106-120 | rust/src/api/media_metadata.rs:125-139 \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":"rust/src/api/media_metadata.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"384cc9c8fe6dadb84c13605a2a19e861034fb87f25e134dac362d5b2e940ab84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/models/watch_history_model.dart:843-858 | lib/models/watch_history_model.dart:860-875 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd11d459056a6284b13408eaa57f88af5cbc8f2cc77f2dc54a2e87d1455c8e5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/pages/anime_detail_page.dart:2684-2693 | lib/themes/cupertino/widgets/player_menu/cupertino_playback_info_pane.dart:83-94 \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/pages/anime_detail_page.dart"},"region":{"startLine":2684}}}],"partialFingerprints":{"codehealthFindingId/v1":"298aebf4c532d33058983808485600764e515bfe2f8f3f8966aa8faf8d765321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/models/watch_history_model.dart:920-937 | lib/models/watch_history_model.dart:985-1002 \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/models/watch_history_model.dart"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"8218080eb192fdaa11487493c389b8eb77689071f803c29b9d689bef3ac4dc4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/services/dandanplay_service_stub.dart:2721-2740 | lib/services/dandanplay_service_stub.dart:2742-2763 \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/services/dandanplay_service_stub.dart"},"region":{"startLine":2721}}}],"partialFingerprints":{"codehealthFindingId/v1":"495fde698b27329bdeb86bfe2dcd55343a6259e8d6f5fd7b36bc661e3180fa77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/themes/nipaplay/widgets/brightness_gesture_area.dart:27-40 | lib/themes/nipaplay/widgets/volume_gesture_area.dart:27-40 \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/themes/nipaplay/widgets/brightness_gesture_area.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a874a242e56ead9312be60071028566307fbe5ed906977991c72c8ec531fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/providers/emby_provider.dart:324-339 | lib/providers/jellyfin_provider.dart:357-372 \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/providers/emby_provider.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca8836c86f2661343b01ecafa05a98567f0158b7a275260e71fef1b07a099c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/services/playback_source_service.dart:178-194 | lib/services/playback_source_service.dart:790-809 \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/services/playback_source_service.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7309cf931979dc2838fbe203b4db528d16fd1e91fa7df82b35272099132e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/themes/nipaplay/widgets/large_screen_editable_slider.dart:56-74 | lib/themes/nipaplay/widgets/settings_item.dart:898-909 \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/themes/nipaplay/widgets/large_screen_editable_slider.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c2a57368726ddde5638977e365be68f54e863737c8de36202ba5afbc24517b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/themes/nipaplay/widgets/playback_info_menu.dart:972-982 | lib/utils/media_info_helper.dart:51-60 \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/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6ab04c73f96216f19279a3d5a0dcb7575ddecc0f45ea54b2cb544da477301d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lib/models/watch_history_model.dart:1166-1180 | lib/models/watch_history_model.dart:1183-1203 | lib/models/watch_history_model.dart:1206-1226 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1658e5069557d31c5d41110282043459aa68c68b10649fb602f2d7153d593e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lib/services/local_media_share_api.dart:44-63 | lib/services/web_api_service.dart:131-146 | lib/services/web_api_service.dart:611-628 \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/services/local_media_share_api.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82a0ffdd93a8c93fe7d230fa0c4da07c30746a92b370685fe4ace4ed504e5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/services/smb_service.dart:485-506 | lib/services/webdav_service.dart:610-629 \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/services/smb_service.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f193958c3920886e91f9816ac3411cf498ecb82599027ac58e1dd9bddc93cdec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:56-69 | lib/themes/nipaplay/widgets/smb_connection_dialog.dart:101-118 \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/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6301d94aad4baca572f998309a071a489c1def88205a4dbfa28f8ab93c1a7e5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart:160-179 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:436-457 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b176fb7ef89a36a79984c029154ac7d08646cd9ba5d53ed9df52b4c7b6ccd3de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/danmaku_next/next2_texture_bridge.dart:187-202 | lib/danmaku_next/next2_texture_bridge.dart:204-216 \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/danmaku_next/next2_texture_bridge.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ebca967dc47afd3143b8d450e20eb5b8d667540122d6ded69179bc33c4bb4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/models/emby_model.dart:283-300 | lib/models/jellyfin_model.dart:309-325 \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/models/emby_model.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c675d67b6813a2562650bf88dbf5eccbff8da6738870b80ad58b5ba08b29339"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart:651-672 | lib/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart:713-738 \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/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"7976b3936da07bd8cefd7ad4e8578b6681838ea9eb344ceaa624749214767395"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/themes/nipaplay/pages/settings/backup_restore_page.dart:810-820 | lib/utils/auto_sync_settings.dart:200-211 \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/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"7704b9e37393883a27c4bd9d6ee175531b85ee40a5f2d06477a9ed883c0c1b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart:157-179 | lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart:192-217 \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/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"039648f8c2ef387fdda531a3b93d082aa5749df0177fc9cdf86321d74700b3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/themes/nipaplay/widgets/blur_dropdown.dart:74-96 | lib/themes/nipaplay/widgets/network_check_dialog.dart:22-46 \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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e9e7c81fac0ff4544178945f86eef650a546ab309920097863a53190b135a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart:141-158 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:175-190 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6659a437c60d31fb4ec5ff34cf47bcda052cd83cb59c0ca901b9ef599e9c97d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:1091-1113 | lib/widgets/external_subtitle_overlay.dart:1013-1036 \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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"81701204c7497c2e6d51faf4ba70e0ff46042af1eff78586ccf6e35d45b05540"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/pages/shortcuts_settings_page.dart:135-163 | lib/utils/shortcut_tooltip_manager.dart:66-90 \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/pages/shortcuts_settings_page.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"187fc099a7fa3dcc020a41c5a33ec3390df4a810145bb5b64fdf9056d34dacfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): lib/services/emby_service.dart:912-932 | lib/services/jellyfin_service.dart:764-782 | lib/services/jellyfin_service.dart:858-876 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bff4970849dc857dd75347846e6e7a7c8eab3e5d46208a54d3c4c0b2408883b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/utils/hotkey_service.dart:878-895 | lib/utils/hotkey_service.dart:897-912 \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/utils/hotkey_service.dart"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc904db615235c90e8c7d0963b199d90c6eff789b180e2fb74860eced1800396"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/pages/media_server_detail_page.dart:192-204 | lib/pages/media_server_detail_page.dart:206-221 \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/pages/media_server_detail_page.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd665a182531871a1f9a526a7964ff3bf80d82ff4ee7b82cd5e6c1644ba83282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): lib/player_menu/player_menu_pane_controllers.dart:95-112 | lib/settings/pages/player_settings_content.dart:241-263 | lib/settings/pages/player_settings_content.dart:265-282 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_menu/player_menu_pane_controllers.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"71072720a00d199c0bd25280e9e084244c0f359be8cca00f7d7a92738f395b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/services/emby_playback_sync_service.dart:20-33 | lib/services/jellyfin_playback_sync_service.dart:20-39 \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/services/emby_playback_sync_service.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"154267f2d9307dd318aaf40ab384d51fdbe4acb761d5c20fd8e64b808ccfcdf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): lib/themes/nipaplay/widgets/tag_search_widget.dart:540-564 | lib/themes/nipaplay/widgets/tag_search_widget.dart:912-936 | lib/themes/nipaplay/widgets/tag_search_widget.dart:958-990 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/tag_search_widget.dart"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6f8c64375103d9e3bab2506f9ef00e4efe89403b477a6c9f6423478eb952b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/search/tag_search_controller.dart:276-288 | lib/search/tag_search_controller.dart:290-302 \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/search/tag_search_controller.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e38cda7e97e0a057df95778addac21f094d7f225ac2aeae416611f3c5da4a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/services/dandanplay_service_io.dart:175-194 | lib/services/dandanplay_service_stub.dart:180-199 \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/services/dandanplay_service_io.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c90d0a82c32c81701a1bab0e1425daf8a366e0ee582ec7dfdf52b603edf6108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:697-722 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:294-325 | lib/themes/nipaplay/widgets/network_media_server_dialog.dart:773-802 | lib/themes/nipaplay/widgets/text_input_dialog.dart:250-277 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c1997e1ddb77f62b91c34a64e76a071834780bc4f437554265889d948ae1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/player_abstraction/player_abstraction.dart:308-325 | lib/player_abstraction/player_abstraction.dart:327-344 \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/player_abstraction/player_abstraction.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2a53f7ccb5a106b3d176d5bee1203a328dba948dcb26e422141b4959005a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:521-537 | lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:612-626 \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/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb9697c612a80fb90603742e87cbd0ae118b7102837f037e91540d11b73c557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/services/local_media_management_api.dart:144-155 | lib/services/local_media_management_api.dart:327-338 \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/services/local_media_management_api.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56b476a3d30bec684b7215efc5fd168c434d1a4dcee6c5dce3f733f33fa31fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/pages/account/account_page_view_model.dart:59-88 | lib/pages/account/account_page_view_model.dart:229-252 \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/pages/account/account_page_view_model.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4efccfe949958b0b0611827fc004d4a4bac9ae930e4916d4eba8c4acc36cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/providers/shared_remote_library_provider.dart:801-810 | lib/providers/shared_remote_library_provider.dart:812-824 \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/providers/shared_remote_library_provider.dart"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"630eae5c6701fa5bb89f1c00684f1b1a193089dd872efbc519edc4fd88413346"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/services/dandanplay_service_io.dart:2577-2602 | lib/services/dandanplay_service_io.dart:2605-2624 \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/services/dandanplay_service_io.dart"},"region":{"startLine":2577}}}],"partialFingerprints":{"codehealthFindingId/v1":"d590636c2c43826e61e917744fe3ed29141b21537a3055e4d1c597f879c5cd53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/models/external_player_session/other_session.dart:153-171 | lib/models/external_player_session/vlc_session.dart:102-121 \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/models/external_player_session/other_session.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6370da2704099203afc1f5eb789b33576a761aa35e526ef1f8d0b9b47ec8756f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:333-354 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:460-485 \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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcb864f424a8e6e61f9fa19c5b7cd70b43369f163473013eb707e7d400c9db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 9\u002B corresponding lines): lib/providers/shared_remote_library_provider.dart:2128-2137 | lib/services/episode_navigation_service.dart:1083-1094 | lib/services/playback_source_service.dart:869-877 | lib/services/playback_source_service.dart:998-1007 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:143-154 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:174-185 | lib/themes/nipaplay/widgets/playlist_menu.dart:220-233 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0838c1d5223e0e65374aa4c0adfee5406c87e050cf3d2c00d06bc7b7374d3fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:9-26 | lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart:9-28 \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/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebaa7968652604f79a29a3027206518fe22df3e94deaf86837123cea772a246"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/themes/nipaplay/widgets/tag_search_widget.dart:816-836 | lib/themes/nipaplay/widgets/tag_search_widget.dart:838-858 \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/themes/nipaplay/widgets/tag_search_widget.dart"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af4193f605a498148e5d3353f7ff339d039b589fbc8714b0c2337a7080be3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): ios/Runner/AirPlayRoutePickerView.swift:66-73 | packages/adaptive_platform_ui/ios/Classes/iOS26ButtonView.swift:447-453 | packages/adaptive_platform_ui/ios/Classes/iOS26SegmentedControlView.swift:150-156 | packages/adaptive_platform_ui/ios/Classes/iOS26TabBarPlatformView.swift:572-578 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/AirPlayRoutePickerView.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c108172103147169023dd45d9d6383c22f71131bf1b1878cc1952acd17b793"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/services/remote_subtitle_service.dart:276-285 | lib/services/remote_subtitle_service.dart:287-297 \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/services/remote_subtitle_service.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bee30c6d9a3b4eb5e96e1feedd81c357cf85f33629086164e1dc44e7bd674a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/services/web_api_service.dart:393-409 | lib/services/web_api_service.dart:498-514 \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/services/web_api_service.dart"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b324f7382cfdbbbf15d358e8b01d230d1b8dbe7f8e20d15e02cfc2c442262f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/themes/nipaplay/widgets/anime_card.dart:206-226 | lib/themes/nipaplay/widgets/horizontal_anime_card.dart:112-136 \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/themes/nipaplay/widgets/anime_card.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a28e4358eafcbc8120f41683fc947f989174e9d830c0e2a7ec85c550f67c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/utils/app_theme.dart:102-117 | lib/utils/app_theme.dart:119-134 \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/utils/app_theme.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f4bd4b35177862a54f6846a178cff7f461f1c4a53816c3fb8f11c795297ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/services/media_server_service_base.dart:887-905 | lib/services/media_server_service_base.dart:952-971 \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/services/media_server_service_base.dart"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c57e4d38efbb70cf90b287edd9ad228eec1b608c93fc3978280b641dcd04f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart:156-174 | lib/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart:176-194 \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/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"73db74e2a2ba5ef222f0971d91e7a6d1ec3a58d0695aea29d9221ec3a3c445d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/widgets/danmaku_container.dart:1102-1115 | lib/widgets/danmaku_container.dart:1118-1131 \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/widgets/danmaku_container.dart"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f7ce24529ed2c6fa42937d650716ff434e37ca7a990bc28e1cf83bbbf94907"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/services/incremental_sync_repository.dart:48-57 | lib/services/incremental_sync_repository.dart:170-179 \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/services/incremental_sync_repository.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa2bec5e0ad69e2971dd7a6c1a64f666368a2ac59ed6ebaebeb5ea520eb79ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/services/smb_service.dart:397-405 | lib/services/webdav_service.dart:828-841 \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/services/smb_service.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"2520a7784981a302f5e9e63ad6569b2c745c1afc2bd5e967ab55dbcfced049e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/app/unified_app_view_presenter.dart:109-126 | lib/app/unified_app_view_presenter.dart:128-146 \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/app/unified_app_view_presenter.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e57e22248f3cdb01fea1e4a4e9a596329357eb98fd11bd12483ce1111c2233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:6166-6178 | lib/themes/nipaplay/widgets/library_management_tab.dart:6391-6402 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":6166}}}],"partialFingerprints":{"codehealthFindingId/v1":"705a95b5f8b61807281c7f76cd0c0f992729d72d44a24ce6dd6a563d116a8d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/services/remote_control_auth_manager.dart:147-155 | lib/services/remote_control_auth_manager.dart:183-191 \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/services/remote_control_auth_manager.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"379a5eee4236deac540c0f39df83a5378d0ac3d9085198471579defcac32c0ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/player_abstraction/player_abstraction.dart:394-417 | lib/player_abstraction/player_abstraction.dart:419-436 \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/player_abstraction/player_abstraction.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7979a3190aaa728c65bb38e1ca88d91af80661040665636d72f4435cfe3978d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): lib/pages/play_video_page.dart:285-294 | lib/themes/nipaplay/widgets/modern_video_controls.dart:122-127 | lib/themes/nipaplay/widgets/seek_indicator.dart:10-18 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a60721e28972b40a964bc7ec6ed64796eb579c96bd5af3a76b3329f56603a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/settings/pages/about_settings_content.dart:683-694 | lib/themes/cupertino/widgets/cupertino_dependency_versions_sheet.dart:37-55 \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/settings/pages/about_settings_content.dart"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0caadcc2bcf957a5ba818850694b118668fff57eed96a3ccc854284372dc966"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/themes/nipaplay/widgets/large_screen_top_status_overlay.dart:117-129 | lib/themes/nipaplay/widgets/mobile_playback_status.dart:103-119 \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/themes/nipaplay/widgets/large_screen_top_status_overlay.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"312ce9df15c15bbd0b72368790a786b8f41e4ad779c98cb07a6fba484f33518c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/providers/shared_remote_library_provider.dart:785-799 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:803-820 \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/providers/shared_remote_library_provider.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca1e4b13656f2f10d47e71c2c66ea93836b3b89c5f306a97580a14b8a86e4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/models/external_player_session/other_session.dart:192-207 | lib/models/external_player_session/vlc_session.dart:186-201 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/other_session.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcde42465d4877c9ee55b8125689d97d77406ead4df7a69a248aa1274e15ef89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/plugins/plugin_service.dart:182-190 | lib/plugins/plugin_service.dart:196-204 \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/plugins/plugin_service.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcbe455a2fe732382412b80944b57d05ad1e1827d5a2265dc9d8909cfaf62a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/services/smb_proxy_service.dart:388-411 | lib/utils/subtitle_parser.dart:986-1014 \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/services/smb_proxy_service.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"22183793226750c40ca6957a38e2153a98625eeb977077d185083e03256b9c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:136-146 | lib/utils/subtitle_manager.dart:451-459 \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/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"05027c8bf365698642af18ef9615198889f2957522f1d861edf429ca1352faa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lib/services/dandanplay_remote_service.dart:357-366 | lib/services/media_server_service_base.dart:201-211 | lib/utils/network_settings.dart:405-414 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_remote_service.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bf87f9cbc377aff4184e04c64a09654df270f0ac2388641ff5b5e45a61731a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/services/network_media_settings_api.dart:27-47 | lib/services/network_media_settings_api.dart:81-93 \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/services/network_media_settings_api.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fc206c781eebc24a6b10d7784c1778de1e131873b36c82f6937e3a45d9d4f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/themes/nipaplay/widgets/network_media_library_view.dart:317-329 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:59-70 \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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"368e56c5921c69cb850c798081ff522ab00defe10561e50cebd63a1ce4a3da97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): rust/src/next2_engine/engine/runtime.rs:292-307 | rust/src/next2_engine/engine/runtime.rs:310-323 | rust/src/next2_engine/engine/runtime.rs:326-339 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/runtime.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6b358d1b5cc160f699602f4525460f3a086fa8679f80208e65c0967465d9c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/danmaku_next/danmaku_atlas_painter.dart:1705-1719 | lib/danmaku_next/nipaplay_next_old_canvas_painter.dart:528-539 \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/danmaku_next/danmaku_atlas_painter.dart"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fa7d8edc3229b0170f6f0df78e079e99f2b934d6bd3c6c51fc80f019b0949a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/services/torrent_download_service.dart:144-156 | lib/services/torrent_download_service.dart:158-167 \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/services/torrent_download_service.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4500a5123f829cd559967bbad85c16a1c786140e1eb7188fe6d967da9b09f8b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/themes/nipaplay/widgets/large_screen_home_page.dart:20-32 | lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart:485-500 | lib/themes/nipaplay/widgets/large_screen_settings_panel.dart:466-481 \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/themes/nipaplay/widgets/large_screen_home_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"31edd9f8d2c6261e88ebfeb951de992da07017367e74277d6a983d40b83f0789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): rust/src/api/next2.rs:604-626 | rust/src/api/next2.rs:732-751 \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":"rust/src/api/next2.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcb4bde9e86cf17a4cc1d269c3a1553492e8526092275b9d296e8eb3da8bf9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/utils/chinese_converter.dart:14-25 | lib/utils/chinese_converter.dart:27-39 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/chinese_converter.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df6c762bb583536d412b272941bb9e3fdff83555163fc21dac8b792981cfea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): rust/src/api/torrent.rs:398-407 | rust/src/api/torrent.rs:409-418 | rust/src/api/torrent.rs:420-429 | rust/src/api/torrent.rs:431-440 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/torrent.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87ab01f87350c8fb2dfe9cc1d82070e364ed7b14e7a022f901b945c31e952de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/player_abstraction/media_kit_player_adapter.dart:1953-1968 | lib/player_abstraction/video_player_adapter.dart:100-115 \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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2f36d9f8cd31db6d88ad4a132e267fac956203a7f4d1bd4dd3e03c9ca248ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/services/desktop_player_window_service.dart:392-399 | lib/services/desktop_player_window_service.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/services/desktop_player_window_service.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23dd0fb3367209d69cf64b7c3d96031a04001acc34c5f49b898cd1e7f806884"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/danmaku_dfm/dfm_plus_layout_bridge.dart:438-446 | lib/danmaku_next/next2_layout_bridge.dart:131-139 \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/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f7c291476ced7d8b4c5a7eaa615a3110eac0c6042ebf7563c9066b5f83cf3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/providers/shared_remote_library_provider.dart:647-656 | lib/utils/remote_media_fetcher.dart:472-481 \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/providers/shared_remote_library_provider.dart"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea613cd79d594a232ee8f178f734b660ca5609ef2b0935d3966f5dc1bd027da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/themes/nipaplay/widgets/danmaku_list_menu.dart:54-72 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:63-80 \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/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2a7d76a48bfcd91a4781713127d0c1f9693f272aa3b5ed685071510a3db003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/themes/nipaplay/widgets/large_screen_top_status_overlay.dart:52-68 | lib/themes/nipaplay/widgets/mobile_playback_status.dart:54-71 \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/themes/nipaplay/widgets/large_screen_top_status_overlay.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb0e1ee0613f23b0ba78eb9898ee6265620d40b4909007ddd2ec384631a3136"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:1773-1781 | lib/themes/nipaplay/widgets/library_management_tab.dart:1783-1793 | lib/themes/nipaplay/widgets/library_management_tab.dart:1795-1803 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c066bfbaa31936afcc552ad11f599a120d9734c3c1b84cb4a650347aa334b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:486-502 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:499-512 \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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"928386691a3ecb34cf4300bde259539eda10a3ca4a217778f9f2f47c164cdf90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): macos/Runner/MainFlutterWindow.swift:249-267 | macos/Runner/MainFlutterWindow.swift:994-1011 \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":"macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cd91269a085342f20f7934e0428325ed8fb998d0d10ecc985f8f9a5ba25d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/models/emby_model.dart:217-226 | lib/models/jellyfin_model.dart:243-252 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e564a4834a3fc10002e540e6888b5171e203962517f0ac74b2acf950481c57c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/models/search_model.dart:59-65 | lib/models/search_model.dart:67-73 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/search_model.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc0415a48cb6bca2c4001145c4b0d7e7fcede5987528737531e61c361b4ed1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/models/watch_history_database.dart:1164-1183 | lib/models/watch_history_database.dart:1240-1255 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acecfc9b30d6db8b73aa4a8be40d560d81cac076f6dcc9f6636f64292d504fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/services/smb_service.dart:458-471 | lib/services/webdav_service.dart:583-596 \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/services/smb_service.dart"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d4e8b5fc7da4a34d8a56fb0effc72acd3fee0b2017f622d7a52d604fd98532"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/services/torrent_download_service.dart:189-198 | packages/media_kit/lib/src/player/native/core/native_library.dart:137-148 \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/services/torrent_download_service.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b189b156c62ab971e1325847aa0c43f523b4f2818629b0fb7d0568adeda13936"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): lib/themes/nipaplay/widgets/custom_refresh_indicator.dart:38-52 | lib/themes/nipaplay/widgets/custom_slider.dart:33-46 | lib/themes/nipaplay/widgets/horizontal_anime_skeleton.dart:18-28 \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/themes/nipaplay/widgets/custom_refresh_indicator.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ed36f0db0484b29c7f3b8e61da7073e584e7e9ad448d9d9ffa8ef9f6c92dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/providers/appearance_settings_provider.dart:271-283 | lib/providers/appearance_settings_provider.dart:363-375 \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/providers/appearance_settings_provider.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44bc0403e056100cdd3cd68f48a406aa5e565f77c8546074fff678289bb8b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/services/local_media_share_service.dart:80-87 | lib/services/web_api_service.dart:1153-1161 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6931da0ff475dd97b77dd3a8d4d426d0c7f695898471358f4582186341743729"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/themes/nipaplay/widgets/modern_video_controls.dart:503-512 | lib/themes/nipaplay/widgets/video_player_ui.dart:677-690 \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/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d7089a3b3c79244021431f06cfd8dcd926dc0e6c6ca12a69f675ee6b8b89bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): macos/Runner/MainFlutterWindow.swift:1080-1096 | macos/Runner/MainFlutterWindow.swift:1342-1360 \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":"macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cf6d645562b78180947d3fbbf66008aa324f98dbfbf99667268e8e9b5220e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): lib/providers/appearance_settings_provider.dart:256-268 | lib/providers/appearance_settings_provider.dart:286-298 | lib/providers/appearance_settings_provider.dart:377-389 | lib/providers/appearance_settings_provider.dart:407-419 \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/providers/appearance_settings_provider.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd183064a12b8277412aa1c44edbb894cc3691c8212bd4a15cadc95d243cb42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/services/database/database_anime_episode_repository.dart:150-161 | lib/services/database/database_anime_episode_repository.dart:205-216 \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/services/database/database_anime_episode_repository.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb95dd10c414fbad56da2ad433515649e5e3d888c1cccba08f079b7a224c14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:715-731 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:859-873 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"3968d334de2bd12a2b0b32cd4a5fd9e8c1fcfc83d6854fe75bf6879c3a8ad36a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:583-591 | lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:593-600 \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/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"994aaf17587a15431f336cbe3e2a137b5e89f7aff055ad39c0db773a1f5f7f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:656-665 | lib/themes/nipaplay/widgets/large_screen_settings_panel.dart:540-551 \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/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8de61dda8ff9b245f1a3e69892f89a0934dae2b615d3348e6ef2c0538517fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:123-133 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:135-145 \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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1eec6099432d7c86fe21e4b43926a30bed611b0df2f45eee69c7129f6aa7d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/pages/anime_detail_page.dart:335-352 | lib/pages/dashboard_home_page.dart:131-147 \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/pages/anime_detail_page.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c96815caf2fc66b21ade2c442dd6287a14004dcacb09d14644376ebbf76cd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): lib/plugins/plugin_service.dart:1566-1572 | lib/services/media_server_service_base.dart:779-789 | lib/themes/nipaplay/widgets/switchable_view.dart:139-145 \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/plugins/plugin_service.dart"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bfdfe58774b47cb39336237554688377f1ab374d1f533207c8e874266f3046"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lib/settings/pages/about_settings_content.dart:421-435 | lib/settings/unified_settings_entries.dart:669-683 | lib/themes/nipaplay/widgets/splash_screen.dart:20-35 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/about_settings_content.dart"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"955c1952d8ac4b37ce138f485bda01b99d98f9d51206562189072780044454e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/player_abstraction/video_player_adapter.dart:1114-1130 | lib/player_abstraction/video_player_adapter.dart:1132-1148 \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/player_abstraction/video_player_adapter.dart"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d0c33b15b7261c76ce697d76d1726882b644839cc520cda5b0fa484715f992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/danmaku_next/next2_emoji_pipeline.dart:390-400 | lib/utils/subtitle_parser.dart:708-714 \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/danmaku_next/next2_emoji_pipeline.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab9cb4e606bb47d41f61faed41ff41921f3dbf16032371890e766b64507affd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lib/player_abstraction/erika_player_adapter.dart:277-292 | lib/widgets/macos_native_video_view.dart:112-126 | lib/widgets/macos_native_video_view.dart:268-285 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5847e3ea4b6ddc3f2dafdc78af566345735b9c428f5e51f3379c14a6b3e046"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): lib/plugins/plugin_storage_impl_io.dart:13-25 | lib/services/file_log_service_io.dart:136-143 | lib/utils/subtitle_manager.dart:1370-1377 \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/plugins/plugin_storage_impl_io.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdb875b810b6bdaa0e8ab4f921f37083780cbd5e05ada761ba8273f5f16bd51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:418-429 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:709-720 \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/themes/nipaplay/widgets/subtitle_settings_menu.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f6a866531e8015bbb601d36dc689108fed0476f5b268f579aaae368a42d39c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): rust/src/api/performance.rs:83-98 | rust/src/api/performance.rs:100-115 | rust/src/api/performance.rs:117-132 \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":"rust/src/api/performance.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ff568bbd5af9ec7f1daff919bf79219c20baa6ad18161a338b2cdf500a1ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): rust/src/next2_engine/engine/runtime.rs:193-201 | rust/src/next2_engine/engine/runtime.rs:693-705 \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":"rust/src/next2_engine/engine/runtime.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4429c551121a057032fe4b4c37c5d71ca207da38206f7a76462b018db1a86ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): rust/src/next2_engine/ffi.rs:264-277 | rust/src/next2_engine/ffi.rs:280-297 | rust/src/next2_engine/ffi.rs:300-313 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/ffi.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bfe18390c5cf09ec727342cf6d2af61c6bed901a4271edb8d71f88bcfb99f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/settings/pages/network_settings_content.dart:516-527 | lib/settings/pages/network_settings_content.dart:529-538 \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/settings/pages/network_settings_content.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"785113d57951dab2cb71667b97977e4096fbb592c37c480da2948f7aa90ebd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/models/emby_model.dart:19-27 | lib/models/jellyfin_model.dart:19-27 \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/models/emby_model.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c5b810c9f8714baf6baee38d95a8dbc995bb85fda3bc1b0fbd5365267569f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/models/external_player_session/vlc_session.dart:129-136 | lib/models/external_player_session/potplayer_session.dart:149-156 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/vlc_session.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"873f33e43691bad08b123a27f55c6c819815fbdfcfd92818c429ae2020d1c296"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): lib/services/remote_control_auth_manager.dart:41-46 | lib/services/remote_control_auth_manager.dart:65-70 | lib/services/webdav_service.dart:364-373 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_auth_manager.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2519c1890f6482615a12adb3dec8cf4e401159b4e849cd30df8d65e5cce4c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/settings/pages/danmaku_settings_content.dart:300-311 | lib/settings/pages/danmaku_settings_content.dart:313-324 \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/settings/pages/danmaku_settings_content.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafe32fc13e1278d2a8f0774836832786fad4c5781b7d7d5d5ddd67e8df7ec59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): lib/themes/cupertino/pages/cupertino_main_page.dart:272-285 | lib/themes/cupertino/pages/cupertino_main_page.dart:287-300 | lib/themes/cupertino/pages/cupertino_main_page.dart:302-315 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/pages/cupertino_main_page.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"79175210e439e7854f5237d9e63322c724374e43edfdbbba6fdb86a6d5106349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart:107-118 | lib/themes/nipaplay/pages/settings/debug_log_viewer_page.dart:106-118 \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/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"865a8f4077de5f8c07f5c30df1c80d9b65d461225ef8d688b53d8eb9c4da20e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/main.dart:1347-1355 | lib/themes/cupertino/pages/cupertino_main_page.dart:241-249 \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/main.dart"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4d9042801d9e358cd09521c5b2128ba9e53d235e3a4bec3aca63d1e0f4cfe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/models/external_player_session/mpv_session.dart:364-375 | lib/models/external_player_session/vlc_session.dart:347-355 \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/models/external_player_session/mpv_session.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"103157270e602aea07127e3dd67e664b2a768bd6833cb146b26375ec3de12007"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/services/danmaku_cache_manager.dart:119-128 | lib/utils/storage_service.dart:316-323 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa76697bf7220f6d00f24410735bae3fd0f7baafd1e74e0c6710c8833609467"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/services/local_media_share_service.dart:1049-1061 | lib/utils/shared_remote_history_helper.dart:18-31 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e9aacc4b822050c50ec8c311d5b45dab6039c4d52a839061e490cd13a9d1b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:458-472 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1272-1285 \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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49d4229802f5e923c2015e7e6360fd61ea019c2e1f9f22477555ba32f644123"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/themes/nipaplay/widgets/plugin_market_dialog.dart:89-96 | lib/plugins/plugin_service.dart:390-396 \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/themes/nipaplay/widgets/plugin_market_dialog.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1277bcb892a03904b634681234afe51b298551f06ce11fc4e1dbe84a551133b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/themes/nipaplay/widgets/smb_connection_dialog.dart:120-131 | lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:71-81 \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/themes/nipaplay/widgets/smb_connection_dialog.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cc856deaa9f90c6900a980b851c5635dd48ee1b0205b23b40c8c8e734852d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/models/external_player_session/mpv_session.dart:302-316 | lib/models/external_player_session/vlc_session.dart:159-170 \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/models/external_player_session/mpv_session.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff3b1414fa6964a1d8314bcb656cc365356c317c9e5480951730adf2274e156"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/models/jellyfin_transcode_settings.dart:179-186 | lib/models/jellyfin_transcode_settings.dart:226-232 \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/models/jellyfin_transcode_settings.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c58661e737d8d7ddbff31b0cd0b02556d3d5b97f5538e48994407a1cb3671e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): lib/themes/nipaplay/widgets/bounce_hover_scale.dart:27-41 | lib/themes/nipaplay/widgets/loading_placeholder.dart:27-42 | packages/adaptive_platform_ui/lib/src/widgets/adaptive_scaffold.dart:848-859 | packages/adaptive_platform_ui/lib/src/widgets/adaptive_tooltip.dart:239-251 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bounce_hover_scale.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84d621300fea7d0b600615a72a8de74c2f69bec7b3a01d5c057c22b963f5bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lib/services/emby_transcode_manager.dart:36-47 | lib/services/emby_transcode_manager.dart:90-99 | lib/services/emby_transcode_manager.dart:101-113 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_transcode_manager.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae88cd58970053777824cf94a05af24a5193fc27036291b8c11153e6aab06bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart:134-139 | lib/themes/nipaplay/widgets/danmaku_list_menu.dart:368-372 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c6116841d007542a12763e62f0074b8e787eb73ef064a68fd1d3ee1171fe9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/themes/nipaplay/widgets/seek_step_menu.dart:30-41 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:46-62 \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/themes/nipaplay/widgets/seek_step_menu.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3d60285bd1200dee0565bc146ee7eaf99b4b43fdd33600a3daeafe926c0bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/utils/storage_service.dart:21-32 | lib/utils/storage_service.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/utils/storage_service.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadf34fc3933b48dd41302b5a8eec2c7c9970d93d7a66a3fb9b3cf36bf400c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): lib/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart:740-745 | lib/themes/nipaplay/widgets/large_screen_top_status_overlay.dart:100-104 | lib/themes/nipaplay/widgets/mobile_playback_status.dart:97-101 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_debug_log_viewer_sheet.dart"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"b418afe61f72811261c09ce0f095a0e050596298561b4fa27784dfa130e4ff15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/services/smb_service.dart:337-347 | lib/utils/video_player_state.dart:1106-1118 \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/services/smb_service.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd8f9792e01249576e0448a7891db6225d5ba362a099968b973a906dce176fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/providers/emby_provider.dart:409-418 | lib/providers/jellyfin_provider.dart:437-447 \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/providers/emby_provider.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9947d727f078b88ebd5b11aedd619a4da105ae92607a01aba0e52a052e420ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/providers/shared_remote_library_provider.dart:689-697 | lib/utils/remote_media_fetcher.dart:423-431 \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/providers/shared_remote_library_provider.dart"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4f72c0de596cbbd2d1e8a3bc49add788c3adbdfd999505722c925462deaa35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/themes/cupertino/widgets/emby_media_selection_sheet.dart:67-79 | lib/themes/nipaplay/widgets/emby_media_selection_dialog.dart:98-107 \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/themes/cupertino/widgets/emby_media_selection_sheet.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87226b05045dc038bae38b746cfdc46d249c6fc38b357749c66bd024769b77e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:767-783 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1355-1370 \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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"6773ed30af189d4fd917820cb69ecb9f0000613573d175b99ee27e181c84e477"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/pages/torrent_download_page.dart:82-93 | lib/themes/nipaplay/pages/account/material_account_page.dart:63-75 \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/pages/torrent_download_page.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2bce2f7e1113d81389e70b01ef842f9c34165ae0b43664efc9eb59a6dab459"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/themes/nipaplay/widgets/library_management_tab.dart:3014-3023 | lib/themes/nipaplay/widgets/library_management_tab.dart:3025-3038 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3014}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0fa81e19e6493d8524a748412a44f1df2df2098215a0353cd193fe81dce749"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:278-288 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:319-330 \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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"123e9e1d8f90d18a27d6f0c29c83c8e4eb0246fc28982044d717d9a907f84b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/themes/nipaplay/widgets/network_media_library_view.dart:332-339 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:73-80 \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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3de22efa0c1217675d08ac93dc871d50659e1f2054a65e03fd9a60dc3845f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): rust/src/api/next2.rs:834-848 | rust/src/dfm_core/model.rs:411-427 \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":"rust/src/api/next2.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31687d144069cf2869b56a9de618cc678166689345812c7c3af5a1af049db13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/danmaku_next/nipaplay_next_engine.dart:72-75 | lib/danmaku_next/nipaplay_next_old_engine.dart:63-66 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b18b53643a3553d365912ccf8277515617ffa97cbbc0d992789f8698908f8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/danmaku_next/nipaplay_next_old_canvas_painter.dart:386-392 | lib/models/media_identity.dart:101-109 \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/danmaku_next/nipaplay_next_old_canvas_painter.dart"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a08b462eb38be934e8525a83705fa130752f3ddaee4255d79393b81004aa7e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/player_abstraction/video_player_adapter.dart:538-547 | lib/player_abstraction/media_kit_player_adapter.dart:2624-2631 \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/player_abstraction/video_player_adapter.dart"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81b03ac9010cd1f678a563d4bf0f424e75bd2cd56d85dfae6e40a1ef52c6a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): lib/services/playback_source_service.dart:879-884 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:125-130 | lib/themes/nipaplay/widgets/playlist_menu.dart:194-201 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcac4411adab76ac112e2502f381dacc2c783acda1ee835cfb3e6657b28a832"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart:231-241 | lib/themes/nipaplay/widgets/playback_rate_menu.dart:341-351 \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/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3864120698cf6b11d719030e6b4d4e52e4ca60d465ba0bfd173a10eeea678ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/themes/cupertino/widgets/cupertino_media_source_sheet.dart:123-128 | lib/themes/nipaplay/widgets/media_server_selection_sheet.dart:188-197 \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/themes/cupertino/widgets/cupertino_media_source_sheet.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"370ed371857978f2d766faa3b143338c37235dd68ec6d99c35f5891adfa3d570"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/providers/emby_provider.dart:313-321 | lib/providers/jellyfin_provider.dart:346-354 \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/providers/emby_provider.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a098cc87d98e1e843ca37eb0e5f3a5ac523f839a8a8a08e616968073f9598d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/services/remote_control_api_service.dart:134-140 | lib/services/remote_text_input_service.dart:577-586 \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/services/remote_control_api_service.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"de177fda255d8c677a1b2f089b49745c5e36ab6c4e66200d90f2378d135ffe3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/pages/play_video_page.dart:122-128 | lib/themes/nipaplay/widgets/video_player_ui.dart:304-311 \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/pages/play_video_page.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"96310331b8f3cf95fda11ca797fb462ac87fb6a3df1d912bb0c94e858518d4cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/services/dandanplay_service_io.dart:2913-2928 | lib/services/dandanplay_service_stub.dart:2765-2777 \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/services/dandanplay_service_io.dart"},"region":{"startLine":2913}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1445ef34fdfaad1cdd1dd736d9793de61a6c96c71282eb1cf5e4ca8e55c2f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/player_abstraction/erika_player_adapter.dart:259-267 | lib/widgets/macos_native_video_view.dart:259-266 \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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de808b424cd6fac6e3b02df81651a6c2c59ee830bfe372978b3dc6da0bdcf66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/services/smb_service.dart:447-456 | lib/services/webdav_service.dart:851-860 \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/services/smb_service.dart"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff41a5284eb8c58921066cb76418c72a36a2e3ef066e571b5bcc85faae5c5110"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/themes/nipaplay/widgets/media_capture_dialog.dart:1023-1027 | packages/adaptive_platform_ui/example/lib/pages/info/info_page.dart:102-110 \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/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"761d3106f8daaa6faffe1c3edc566f72ad107a1252a24dd19564d3ac8fe120ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/services/local_media_share_service.dart:336-342 | lib/services/playback_source_service.dart:925-931 \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/services/local_media_share_service.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eed095696abb35b10422ada9876b40f285971957e58158f83da3b5b12d40a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/services/smb_service.dart:67-80 | lib/services/webdav_service.dart:43-53 \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/services/smb_service.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd52a82a6c9f41fe2cc0947ea7f4930e26fd575b40036e78719b6ba80bc67d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/themes/cupertino/widgets/cupertino_dependency_versions_sheet.dart:72-83 | lib/themes/nipaplay/pages/settings/dependency_versions_window.dart:57-68 \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/themes/cupertino/widgets/cupertino_dependency_versions_sheet.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a626e96436e8a5cb33883060b3bcffb986723c7038a9a8785db1c9d95ecc93ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:261-270 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:301-311 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29ed4f6cc15cb8becb8cd006382560c880ea34614845cb4568d57b984319081"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): rust/src/api/next2.rs:996-1002 | rust/src/next2_engine/engine/rendering.rs:968-973 \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":"rust/src/api/next2.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4edb22bec0bb979144b9684e9f57a5534d25abbef431793501d7dc74f53df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/models/trending_bangumi.dart:133-138 | lib/services/random_recommendation_service.dart:98-105 \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/models/trending_bangumi.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d9955b78a25bd5998471c9c232b756f7c6256c56642cd05b2b9823f4d75da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/pages/media_server_detail_page.dart:844-853 | lib/themes/nipaplay/pages/settings/watch_history_page.dart:729-738 \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/pages/media_server_detail_page.dart"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"60543177ba2e853737bb1acdcff459de945129862175c5dd9449e6b156916609"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/themes/cupertino/widgets/cupertino_media_source_sheet.dart:114-121 | lib/themes/nipaplay/widgets/media_server_selection_sheet.dart:179-186 \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/themes/cupertino/widgets/cupertino_media_source_sheet.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"66158b30a9f4b9ed8234ce55c6dcab92e5ded2c0955f16e107ae0b724d7bde93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/services/danmaku_spoiler_filter_service.dart:209-213 | lib/services/torrent_download_service.dart:610-613 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bd87c502a708867d5c28dd53fcf5170e54497d32659f9a7ddbaa2045a0dde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/services/smb_proxy_service.dart:381-386 | lib/services/webdav_service.dart:1902-1907 \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/services/smb_proxy_service.dart"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5318db405f2d6c9437fc9d0e6625b04d2ab0a8e80629a94b4ad0814127bc949"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:598-606 | lib/themes/nipaplay/widgets/large_screen_settings_panel.dart:509-516 \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/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a44c06a0159771fa6acfd92255cc6bef43c4ffbc4021ec3d89e44fa08c6a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/services/player_remote_control_bridge.dart:1341-1344 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:58-61 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:65-68 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ce050874cdaf076b219956afe2898bc1971617b557cd05ad97815fe986f533"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_seek_step_pane.dart:65-71 | lib/themes/nipaplay/widgets/seek_step_menu.dart:60-66 \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/themes/cupertino/widgets/player_menu/cupertino_seek_step_pane.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49d3a07e273cc72b74e5daaee62e24cc645ffacded2518a3715e6613b19f3b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:49-56 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:54-63 \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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b20324bfc3272a4815b2bef40ef90ce9a3074f6811175b3620703836154370"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/media_library/adaptive_media_library_primitives.dart:955-962 | lib/themes/nipaplay/widgets/loading_overlay.dart:64-73 \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/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea7ff482c85f820e213706f077d1715dcbcc62cf3ed1176ccd16caf4738f95e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/services/dandanplay_service_io.dart:430-436 | lib/services/dandanplay_service_stub.dart:328-333 \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/services/dandanplay_service_io.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"b859d6fdec59b31472bd30b6a20cabd022038d6affe57be564592d26ab594b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/models/torrent_task.dart:231-236 | lib/services/intro_skip/aniskip_service.dart:194-198 \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/models/torrent_task.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"443c90cdeef666c3397378ae108996ebbeeee1173b39244602c70c29440da35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/player_abstraction/mdk_player_adapter_io.dart:692-699 | lib/player_abstraction/video_player_adapter.dart:1164-1169 \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/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab79cd1a286b4103482d34cb2e4eff75d99550b13d46e6183997bd4c8be0f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/themes/nipaplay/widgets/danmaku_list_menu.dart:342-345 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:558-561 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea32e9d8795eb760a91693c4d858682802fe799fa6c3ed278a7cd8da9b725aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/services/dandanplay_service_io.dart:64-67 | lib/services/dandanplay_service_stub.dart:54-57 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a7b70547beffa92d30beb8eb2150cb0fb241f7a1a74ea2232afee09c8f9b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/services/desktop_picture_in_picture_preferences.dart:41-46 | lib/services/desktop_startup_window_preferences.dart:108-111 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_picture_in_picture_preferences.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b80d3df8e6c9d4404383a2ca0d2bc0f298603907654d64fd17a5bc57a7ddf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/themes/nipaplay/widgets/blur_dropdown.dart:479-485 | lib/themes/nipaplay/widgets/tooltip_bubble.dart:51-57 \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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ab2513ab0480efd231600a004608ba8665a4a8964419beb308c1f418fb4707"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/themes/nipaplay/widgets/large_screen_mode_preferences.dart:8-11 | lib/utils/settings_storage.dart:9-12 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_mode_preferences.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a168477bff32b60b4af7ee832c9a9644069f80111d7486c1cc143e63f980b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/providers/emby_provider.dart:69-76 | lib/providers/jellyfin_provider.dart:69-78 \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/providers/emby_provider.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b6506a50c2e979f545aff6806522453355158bceacb5eff52b6b2844200b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/services/dandanplay_service_io.dart:501-503 | lib/services/dandanplay_service_stub.dart:394-396 \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/services/dandanplay_service_io.dart"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"003bc2a8e075703e22db7ab3c5ef021692caf2dc87de01f7530d2f3ea19ca6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/danmaku_next/danmaku_atlas_painter.dart:1700-1703 | lib/danmaku_next/nipaplay_next_old_canvas_painter.dart:362-365 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/danmaku_atlas_painter.dart"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"84dd86abd91a4b7b750ed5832c0d433ac6a7618eae403bfc3c11bed98a6bf47f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/plugins/plugin_service.dart:1734-1737 | lib/utils/settings_storage.dart:25-28 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d461a893db34e7beeebe50d93371806277457e9a6b9c42c702658d0338cdeff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/services/dandanplay_service_io.dart:253-259 | lib/services/dandanplay_service_stub.dart:279-285 \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/services/dandanplay_service_io.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef47fa03dac45bcac0276ba46b6288362b397ac310101f6a8266ec77ad1fd12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:236-240 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:388-392 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd06f0673f6a8348ee447bff15840dab112f1b630e39722cdcde0710d2f69a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/themes/nipaplay/widgets/video_player_ui.dart:190-194 | lib/utils/hotkey_service.dart:344-350 \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/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd65b861cd584d7cf1dd156668fe185965b986f5ab3e1cc1fed1cd8b33c64e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/danmaku_next/nipaplay_next_engine.dart:1081-1083 | lib/danmaku_next/nipaplay_next_old_engine.dart:915-917 \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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a70f39b38dc706556f4607811052548c322ad25d2d7f9fa087c9d8de35c429b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/services/emby_playback_sync_service.dart:50-52 | lib/services/jellyfin_playback_sync_service.dart:56-59 \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/services/emby_playback_sync_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf86202b496e7e8f08955696cc36001759f14243bfb9cc97a1cf11fd77f7a202"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_seek_step_pane.dart:47-54 | lib/themes/nipaplay/widgets/seek_step_menu.dart:43-49 \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/themes/cupertino/widgets/player_menu/cupertino_seek_step_pane.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68f9591067759bed85295e4693c7491884a5810020fa4a42a5ef285f61a7a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:192-195 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:228-231 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abca82d89dd38e2d0694010ce6bc28b6211868852b9239bff73fb1196e12357"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:197-200 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:233-236 | lib/widgets/external_subtitle_overlay.dart:849-852 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"14450e84e16f4d61d1c27e61c40cdff527894d6911dc335c27df0309266fc2a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/plugins/models/plugin_permission.dart:25-32 | lib/settings/pages/general_settings_content.dart:551-558 \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/plugins/models/plugin_permission.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"da32f5515f5962ed9fcbdb9014873cd9cd9f170ac45bd7ff95954729e43650c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): lib/plugins/plugin_service.dart:83-86 | lib/services/remote_control_settings.dart:20-23 | lib/themes/nipaplay/widgets/large_screen_mode_preferences.dart:13-16 | lib/utils/settings_storage.dart:4-7 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 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/plugins/plugin_service.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0e8799e1b837c9f004e5259ac2f53b95d507296b76596f5fd0d9ffd9945c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/services/desktop_picture_in_picture_preferences.dart:36-39 | lib/services/desktop_startup_window_preferences.dart:103-106 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_picture_in_picture_preferences.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"859aa6b889d8525f59732c1b4d847af66cbe71d0b1899d964d4a9eee945ebf61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/services/playback_source_service.dart:894-897 | lib/services/webdav_service.dart:1943-1946 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebcc6d481e3a81485cee3ae5af3df33f36558d48fb92fc809ab6e3898975e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/cpp_native/bindings/example_calculator_io.dart:67-73 | lib/cpp_native/bindings/similarity_engine_io.dart:221-227 \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/cpp_native/bindings/example_calculator_io.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"35795fbc7eff3e3a2999796e1ee4a503fd73c3a6fc170c5edd1b86cccdd35ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/services/emby_playback_sync_service.dart:46-48 | lib/services/jellyfin_playback_sync_service.dart:52-54 \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/services/emby_playback_sync_service.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"281944e400d9d793ee669ea15cdf3af78059372769da228a91054f2eb703cf5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart:122-128 | packages/adaptive_platform_ui/example/lib/pages/demos/native_search_tab_demo_page.dart:21-28 \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/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc0fde36387b1c40ccbdc35b5f184333b1adbd87b7f378fb21ea20f08d56e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (434 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:1357-1790 | lib/services/jellyfin_dandanplay_matcher.dart:1405-1838 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:1357\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d15c885983b43b0360f14a60f2e56e69abab7811a6c4b2d6ffa3b59e1641cb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (200\u2013210 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_list_menu.dart:456-655 | lib/themes/nipaplay/widgets/danmaku_list_menu.dart:667-876 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/danmaku_list_menu.dart:456\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ce5ccfdc6bef4db584db6037f8ebb22e54d72d940d7533128e7d7b003084b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (154 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:678-831 | lib/danmaku_next/nipaplay_next_old_engine.dart:521-674 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad9213b6f265fbfaf891fe839352d4aaf7ce40704990a3027029e3aa3bee409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (116 lines \u00D7 2): lib/themes/nipaplay/widgets/emby_library_card.dart:44-159 | lib/themes/nipaplay/widgets/jellyfin_library_card.dart:41-156 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/emby_library_card.dart\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_library_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/emby_library_card.dart:44\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a 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/themes/nipaplay/widgets/emby_library_card.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b2a48f09b9354382351d6b77c87cfdcd05a3a0b351c6a22d7ec7f1fcf11fa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (101\u2013103 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1487-1589 | lib/services/dandanplay_service_stub.dart:2423-2523 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f7e9f004eecdae8a41ef9b0fa857bc0baf5bec274e03748a2e4e26f17a9e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (85\u201386 lines \u00D7 2): lib/themes/nipaplay/widgets/subtitle_list_menu.dart:657-741 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:822-907 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/subtitle_list_menu.dart:657\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac6e1e1ab33d5d2c51274e4531d5241cd36120d26551bdde5d3be5d9c4c3497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81\u201384 lines \u00D7 2): lib/themes/nipaplay/widgets/video_player_ui.dart:1251-1331 | lib/themes/nipaplay/widgets/video_player_ui.dart:1349-1432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/video_player_ui.dart:1251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"690f8ed24fc06ca81934c7aceb76fd96ab47c936f92aa77f9adacec75c645549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (84 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:919-1002 | lib/danmaku_next/nipaplay_next_old_engine.dart:762-845 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec41765eacd7dbd09b0c98fcb5c531f29cabcc175589925349de3a3d23fb007a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2): lib/services/emby_service.dart:1333-1406 | lib/services/jellyfin_service.dart:1208-1281 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"5730df6665427b96adde15e5557574a91b18ded183b8f26cd2c0c335a7093f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:148-217 | lib/danmaku_next/nipaplay_next_old_engine.dart:139-208 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc2cc201d9f79e7a9ead4cec0ef0cc2a9b6b366ddb0532988fd33cc37cff106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201365 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:36-99 | lib/services/jellyfin_dandanplay_matcher.dart:36-100 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:36\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23da93cc427189bbe36914b8b2aaadc0ab04dbfdce99f5fa4b76994f18e1114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63\u201364 lines \u00D7 2): lib/services/emby_service.dart:1247-1310 | lib/services/jellyfin_service.dart:1123-1185 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:1247\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2b71e4bae1691943d88126033e3a5d6354a9f62e1c6486610cc93e9e36568b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201362 lines \u00D7 2): lib/danmaku_dfm/dfm_plus_overlay.dart:704-765 | lib/danmaku_next/nipaplay_next2_overlay.dart:254-309 \u2014 before extracting anything, compare \u0060lib/danmaku_dfm/dfm_plus_overlay.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next2_overlay.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_dfm/dfm_plus_overlay.dart:704\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e520be2f44a2d7b8e3c808b0d6848aab28c821144d71d5884b100d74e82635f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59\u201361 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:1176-1236 | lib/services/jellyfin_dandanplay_matcher.dart:1252-1310 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:1176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d115690b49ceba53cae9376e28524db4da997aea79c8f11f42c1ea02f2b62c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201360 lines \u00D7 2): lib/settings/pages/developer_options_settings_content.dart:660-717 | lib/settings/pages/developer_options_settings_content.dart:817-876 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/settings/pages/developer_options_settings_content.dart:660\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/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84243c7e5260423a5372d3ceb14ab3b9e16a51717b3ee3205aa2ccaa9289821"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): lib/services/remote_subtitle_service.dart:1181-1237 | lib/services/remote_subtitle_service.dart:1299-1355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/remote_subtitle_service.dart:1181\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbd2edd5e7e5e99ad13ad7ac4f7349d7f83cf86e85665732ece43f25e6c1765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:546-601 | lib/danmaku_next/nipaplay_next_old_engine.dart:389-444 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcab95cee94ae4de9b7a6f8a0a952911c41f5eed984de504e680eb23aebca635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): lib/services/dandanplay_service_io.dart:835-888 | lib/services/dandanplay_service_stub.dart:778-831 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:835\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/services/dandanplay_service_io.dart"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0e706bdd5a2ca28695f4ec67ac2dad90e97d4d29de5a67316f8365cfa6cb04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): lib/pages/play_video_page.dart:330-381 | lib/themes/nipaplay/widgets/video_player_ui.dart:889-940 \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/pages/play_video_page.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6cab5506523051b48ccaaf79ef26087d865cb967a7c0ea918b75972b0c80db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): lib/player_abstraction/media_kit_player_adapter.dart:3626-3677 | lib/player_abstraction/media_kit_player_adapter.dart:3775-3826 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/media_kit_player_adapter.dart:3626\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3626}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1093515fb51ac7ca4f2c1d9ba4b90c93b7caf9f99aa349a82b5b837f5bb38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1249-1300 | lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1543-1594 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1249\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/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f967b2a08330ecf3616f3e37ddf74c1ea2f0ee0984634f9074a3c624a4b5a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_list_menu.dart:859-909 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:956-1006 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/danmaku_list_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_list_menu.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/danmaku_list_menu.dart:859\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/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"925d582ea6b71ec68665e816e3f5a58f318dbf27ccdbe9aac96888fce6d0500d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201350 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:5535-5584 | lib/themes/nipaplay/widgets/library_management_tab.dart:5746-5793 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:5535\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5535}}}],"partialFingerprints":{"codehealthFindingId/v1":"094ffc6a227e4fa4f0921758fc00f6332b18ed658c5c68d997a4033481a35aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): lib/player_abstraction/video_player_adapter.dart:620-668 | lib/player_abstraction/video_player_adapter.dart:720-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/video_player_adapter.dart:620\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c46e8c3841664d0301ebe99dea221502e25a3138c99725f0ece291b4580e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201348 lines \u00D7 2): lib/services/remote_subtitle_service.dart:1406-1453 | lib/services/remote_subtitle_service.dart:1471-1513 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/remote_subtitle_service.dart:1471\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/services/remote_subtitle_service.dart"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"241e81f3f9b5cc80a0d3332ee15404aefabeb8385064a778d500e4edbdaaefcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (118 lines \u00D7 2): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:300-417 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:272-389 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a2bdc5e6a77fb1082d2ab9e7e65a1a1966158ff43c355647178f7ac3ba1666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:112-158 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:148-194 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6aeed26921b89b776948ac71ce48f8d9b92819db78e8f92a9ec160544cefb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 4): lib/themes/nipaplay/widgets/audio_tracks_menu.dart:227-272 | lib/themes/nipaplay/widgets/audio_tracks_menu.dart:386-431 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:840-885 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:1006-1051 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart:227\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:838\u0060 calls \u0060_saveExternalSubtitles\u0060 and \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart:226\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/themes/nipaplay/widgets/audio_tracks_menu.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d80dee9254f9edba94f11124c9f50603195af48b2e5448b7e0ea19234b254ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): lib/services/dandanplay_remote_service.dart:398-443 | lib/services/episode_navigation_service.dart:582-627 \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/services/dandanplay_remote_service.dart:398\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_remote_service.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8426bc614eeb8a015881791e79b86ab82434efefd1dc0551aefaa61cfc1c1fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201346 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:5992-6037 | lib/themes/nipaplay/widgets/library_management_tab.dart:6228-6272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:5992\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5992}}}],"partialFingerprints":{"codehealthFindingId/v1":"68009c6749ff275474ad520319d54f9bd25e8475e651536a34ae0ca656125b97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1935-1979 | lib/services/dandanplay_service_io.dart:2412-2456 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1935\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/services/dandanplay_service_io.dart"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"489220b449a5e79608a0365c19f9d9df904dcf1abd8ac74387c0adda2c98cbd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:137-181 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1122-1166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:137\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b3727daa9f983141d17af3d5350bbfe77647d5bf5315b53b82fc55980ebf08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:6087-6131 | lib/themes/nipaplay/widgets/library_management_tab.dart:6321-6365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:6087\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":6087}}}],"partialFingerprints":{"codehealthFindingId/v1":"9095f61fedaf96279be6dd2badca68efd3f95f3573fa830d2559c09f6f9333a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): lib/services/dandanplay_service_io.dart:556-599 | lib/services/dandanplay_service_stub.dart:448-491 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:556\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca2195030d0475a0234f353eee3090e9b7df89cc43a65d04310dcaac65fef8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201344 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1866-1909 | lib/services/dandanplay_service_stub.dart:2256-2289 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1866\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a8f7a624c10fb064c3304edec7a821398651bb0317387a9052c6518632722e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): lib/services/smb_proxy_service.dart:64-107 | lib/services/webdav_proxy_service.dart:64-107 \u2014 before extracting anything, compare \u0060lib/services/smb_proxy_service.dart\u0060 and \u0060lib/services/webdav_proxy_service.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/smb_proxy_service.dart:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f4889580accf5580281ee1694a4e888fcb653427227604b13e13fcf835bc70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:182-224 | lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart:225-268 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a 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/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f704d549289902d5af28294222f92589d0d53a05a3472b16187bcde858250928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:635-678 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:391-434 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbd4a92273042eb0da6a730fd40a1b4738688b67617975386df5edb66783cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1380-1421 | lib/services/dandanplay_service_stub.dart:2317-2357 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"df368a4b6de76dfca0a57bd4165c2b81411b471344c18da6c9ccf3326b332c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2074-2114 | lib/services/dandanplay_service_stub.dart:1564-1604 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"6424bfd5bf633ba41c1b091ca5e419e57fd78f2d1af046996f3a021fffb2b770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): lib/utils/anime4k_shader_manager.dart:98-138 | lib/utils/crt_shader_manager.dart:66-106 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/anime4k_shader_manager.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5041407afd1097a83b4149bb7eaaecddbe67781f888b889cac689456f1af1208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): lib/widgets/danmaku_container.dart:598-637 | lib/widgets/danmaku_container.dart:713-752 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/danmaku_container.dart:598\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bab135882d4c3cc15e686e4b61eb13ad7a4b42ac10883d934a52eba8fb8337e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 13): lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:247-285 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:291-329 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:335-373 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:379-417 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:424-462 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:468-506 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:512-550 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:556-594 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:600-638 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:644-682 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:688-726 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:732-770 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:776-814 \u2014 all 13 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/themes/nipaplay/widgets/custom_media_info_dialog.dart:247\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec030c383fc20cd525bbd4b269e663eda37b51b252e4fd734da74021a305b95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/services/dandanplay_service_io.dart:512-550 | lib/services/dandanplay_service_stub.dart:405-443 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:512\u0060 it does not close everything it opens, so those exact 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/services/dandanplay_service_io.dart:551\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:444\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/services/dandanplay_service_io.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc869be1679ea990bf6e629629ac988260ec4f8398d166df4978f5789e741b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/services/dandanplay_service_io.dart:605-643 | lib/services/dandanplay_service_stub.dart:495-533 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4af9e0229213792bc49ea20953061c51ace49adbc11ce8325f697971f91742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:1408-1446 | lib/services/dandanplay_service_stub.dart:1789-1827 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1408\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eaa7a9b58d1d88f07f406ea62ea07d0e7eb608b4d4c88e85831b6ed5525fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:680-718 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:436-474 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca57739993f223f2b8d4f6f884e1ee82a959eebf40a7edd753ea9c9f042bf7d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:1045-1083 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:1027-1065 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db81d850157b6d0a028265996a0b6a9311486e16ee8a44275df91aca2d9a7b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): lib/themes/nipaplay/widgets/subtitle_list_menu.dart:773-810 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:935-973 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/subtitle_list_menu.dart:773\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"413a054be818124c3274120bf22747460332b995101b25e26c777b0fa308d555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): lib/services/episode_navigation_service.dart:1118-1155 | lib/services/episode_navigation_service.dart:1175-1212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/episode_navigation_service.dart:1118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c923a2c9d57f27edb2e0507a5058241eecb883faecbc27a41adccc1fb2ae9baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): lib/themes/nipaplay/widgets/emby_library_card.dart:162-198 | lib/themes/nipaplay/widgets/jellyfin_library_card.dart:159-196 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/emby_library_card.dart\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_library_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/emby_library_card.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6c0c3efab7f8bcb30ca66939d91c0cacd62211b68cf5fa65e6e5b5eabc32aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1423-1459 | lib/services/dandanplay_service_stub.dart:2359-2395 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"53305fdf6d035675eab2444fd5d34d80d8c8cd7b86c5259c138d598237e92ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:102-138 | lib/services/jellyfin_dandanplay_matcher.dart:103-139 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b044ab85c55956e556b2bdca66b64f588539a65c5965eea92861a872ca9c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): lib/services/remote_subtitle_service.dart:950-985 | lib/services/remote_subtitle_service.dart:1073-1108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/remote_subtitle_service.dart:950\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9b1469dc61970bbc33849f908700c1c7661af46dcba0b1174f278ac56d6ae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 2): lib/themes/nipaplay/widgets/bangumi_comments_widget.dart:413-445 | lib/themes/nipaplay/widgets/bangumi_comments_widget.dart:482-516 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/bangumi_comments_widget.dart:413\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/bangumi_comments_widget.dart"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45c106274f31063bffef86c08bdd3cf45a645252acc9892841b2974b2e97648"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/services/dandanplay_service_io.dart:916-949 | lib/services/dandanplay_service_stub.dart:982-1015 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:916\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"403e450aabc4f740d9ecbc445a5975667b19d93abed9c0ebba9f2ef1a0767bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/themes/nipaplay/widgets/media_capture_dialog.dart:703-736 | lib/themes/nipaplay/widgets/media_capture_dialog.dart:754-787 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/media_capture_dialog.dart:703\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ada4f59762d53efd82c417a3193746a0f9998f7688550ee425016c197528b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): lib/services/local_media_management_api.dart:793-825 | lib/services/local_media_share_service.dart:436-468 | lib/services/local_media_share_service.dart:819-851 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/services/local_media_share_service.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:793\u0060 it begins part-way through the construct above it, so those exact 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/services/local_media_management_api.dart"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"9291230d0faab0366594d6876bc7f93c6fc4ca825d13be35a8cd56814fdff3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): lib/services/local_media_management_api.dart:874-906 | lib/services/local_media_share_service.dart:507-538 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/services/local_media_share_service.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:874\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/local_media_management_api.dart:870\u0060 calls \u0060normalize\u0060 and \u0060lib/services/local_media_share_service.dart:505\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"38052993bbadc124dbc28c1fec093c514bc48335fc6372ec6152e18fadb34ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:1141-1172 | lib/services/jellyfin_dandanplay_matcher.dart:1215-1246 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:1141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcbd942783eee28b01ea84837455f2a67ffb9ade1d0acd570ca33cf4166d61d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1209-1240 | lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1504-1535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b032be5bdcbb1c71274c45f527bcaece78aa6165cde7ce3b5beb1f37921560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/widgets/danmaku_container.dart:642-673 | lib/widgets/danmaku_container.dart:757-788 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/danmaku_container.dart:642\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ae02ef3090227217012e222a3905cab1ace3c448865980e111cc343fb96573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:1085-1115 | lib/danmaku_next/nipaplay_next_old_engine.dart:919-949 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a702c0b76c78cac07956cd0d51be4979ab21d7290be185af511eeaaf8e7650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:260-289 | lib/themes/cupertino/widgets/cupertino_rating_sheet.dart:171-201 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_rating_sheet.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:260\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/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4461ad79cc5f80d4cc04e33b04af302334473184ad701008d9e3815fe750f1a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:268-298 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:240-270 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3c44ac2c3390c7f4305a7b60f0f793c42175697aa7de77e134cda624d4d63d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:833-862 | lib/danmaku_next/nipaplay_next_old_engine.dart:676-705 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6fe3166e8e4fc0c8485c14a02887a46f07bd2662230443738c2be36318de5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): lib/services/dandanplay_service_io.dart:760-789 | lib/services/dandanplay_service_stub.dart:676-704 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:760\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"733401636f7bbafe1181960cf6c9ad77f93dc9016c81a34178c5f24e56210718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/services/dandanplay_service_io.dart:791-820 | lib/services/dandanplay_service_stub.dart:706-735 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:791\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/services/dandanplay_service_io.dart"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41c3df38bed50ec534a830037a320ecf807b849920fdf978181a67958a09e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): lib/themes/nipaplay/widgets/bangumi_comments_widget.dart:447-475 | lib/themes/nipaplay/widgets/bangumi_comments_widget.dart:518-547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/bangumi_comments_widget.dart:447\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/themes/nipaplay/widgets/bangumi_comments_widget.dart"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"7905a39452a4c3c274fe4c5cfb19f681559209482d6221c6c9a3aa7c86d6e724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:4531-4560 | lib/themes/nipaplay/widgets/library_management_tab.dart:4618-4646 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:4531\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4531}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb65104fbae064898789ace51765319260eb77da0c30cc0082cb52ed69f0abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/themes/nipaplay/widgets/playlist_menu.dart:770-799 | lib/themes/nipaplay/widgets/playlist_menu.dart:872-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playlist_menu.dart:770\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd532796d52f4ac53f4b518ee707e2d96ef148146936c8722d6bfe878d945ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:1327-1355 | lib/services/jellyfin_dandanplay_matcher.dart:1375-1403 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:1327\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"59597070689abf8cdb0e75efc4823dab1b2b9bc06ddf840ea593e9a6e9b63ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:82-110 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:118-146 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ecafb813ff0a656588fff0f43dc957de19bc2e95923d6e9d90ab7babc6e55b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:1242-1270 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:944-972 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"230a1152b0ea688bfccc2d472ae9373b872c2718e1918349a9e780eede4f7e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:4564-4592 | lib/themes/nipaplay/widgets/library_management_tab.dart:4650-4678 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:4564\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4564}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7daa19ecb7cc56480dbe8d5e63866c68ac530d2b6053bc48d3accd062ee90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): lib/themes/nipaplay/widgets/nipaplay_window.dart:356-383 | lib/themes/nipaplay/widgets/nipaplay_window.dart:487-515 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/nipaplay_window.dart:356\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/nipaplay_window.dart"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cccbca20d94a43f4df4f65a8084f1aa296093198adf0ff18da2de48693902d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/themes/nipaplay/widgets/playlist_menu.dart:740-768 | lib/themes/nipaplay/widgets/playlist_menu.dart:842-870 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playlist_menu.dart:740\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99664680596300f7fb15bcce79efbb23fb9f54f0154fc9d8f626e132eb6b1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 5): lib/themes/nipaplay/widgets/audio_tracks_menu.dart:228-255 | lib/themes/nipaplay/widgets/audio_tracks_menu.dart:387-414 | lib/themes/nipaplay/widgets/danmaku_tracks_menu.dart:203-230 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:841-868 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:1007-1034 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart:228\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/subtitle_tracks_menu.dart:838\u0060 calls \u0060_saveExternalSubtitles\u0060 and \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart:226\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/themes/nipaplay/widgets/audio_tracks_menu.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3998f33294bf29edff0380f93c583fbb4b70582b3b47c3543a9ae2eb5fd7d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 4): lib/themes/nipaplay/widgets/danmaku_list_menu.dart:635-662 | lib/themes/nipaplay/widgets/danmaku_list_menu.dart:856-882 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:790-817 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:953-979 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/danmaku_list_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_list_menu.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/danmaku_list_menu.dart:635\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/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"7765f732051f24463f0ed5eb636fd134c6143597ea1101c752f6cf1ea36771a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/pages/dashboard_home_page.dart:791-818 | lib/pages/dashboard_home_page.dart:852-879 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/dashboard_home_page.dart:791\u0060 it begins part-way through the construct above it, so those exact 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/pages/dashboard_home_page.dart"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3de816d205e19c50eb2d27c7575004c77e5fd3dafbe0f9ed877c9d03d313fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68\u201369 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:1379-1447 | lib/providers/shared_remote_library_provider.dart:1632-1699 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/shared_remote_library_provider.dart:1379\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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"1333bc8c616ec5d362861db4690b149af250d50a6d53ca6fe5e0cc70d068bda7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:1979-2006 | lib/providers/shared_remote_library_provider.dart:2041-2068 \u2014 both copies are in the same file, so extract the block 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d24d54e9897b62c90c3428e28dea82975eae400bfeb41759091cd516942e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:2009-2036 | lib/providers/shared_remote_library_provider.dart:2071-2098 \u2014 both copies are in the same file, so extract the block 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df9f4007b21c98064bc0481abb2395ff0e7c9e464beed68a417bee08cf8f738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2352-2379 | lib/services/dandanplay_service_stub.dart:1697-1724 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/services/dandanplay_service_io.dart:2381\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:1726\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2352}}}],"partialFingerprints":{"codehealthFindingId/v1":"712938abe998a2b4655c2228b6f105ce84786b9003b4eb22a61d0eb0c9b2a864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_comment_dialog.dart:341-368 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:476-503 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_comment_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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/themes/cupertino/widgets/cupertino_comment_dialog.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"030086eb21211b691f72f0695e1f067af7628e9a9b358bdea99f220b7d650dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:203-229 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:288-315 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:203\u0060 it begins part-way through the construct above it, so those exact 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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5412afc70dccff2dd72f6ebff65028483df9472e429d6ef2ae8be2f4158b2f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:1213-1240 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:914-941 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:1213\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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9fc3dcd83fa74c08ff1302be3b1c1887bc3fc8e7350ab285cfc21306f04a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): lib/themes/nipaplay/widgets/history_all_modal.dart:100-125 | lib/themes/nipaplay/widgets/rating_dialog.dart:115-142 \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/themes/nipaplay/widgets/history_all_modal.dart:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/history_all_modal.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4afb44d782c0bae8767f3109f3a126a8d9e3e25160777320b48093b566df07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:793-819 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1382-1408 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:399-425 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:793\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"5642fd75ade6d777bcbc68e067c6a4951c404a5de98b0a8ea452619b3dce20ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:864-890 | lib/danmaku_next/nipaplay_next_old_engine.dart:707-733 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d190ae0576bc2314abf91244138204d179244bcd54d75e4ad2d23455472d6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/services/emby_service.dart:735-761 | lib/services/jellyfin_service.dart:618-644 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:735\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fc1695bec41e7046e41a71d9c7a73031fba67a216ef1a246e3308b50d8fcb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/services/local_media_management_api.dart:1222-1248 | lib/services/local_media_share_service.dart:365-391 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/services/local_media_share_service.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:1222\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4fa80b0589fbfd9241e8ce637ed75c60e5e0865977122a404115600b329839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/themes/nipaplay/widgets/dashboard_home_page_trending.dart:1323-1349 | lib/themes/nipaplay/widgets/dashboard_home_page_trending.dart:1396-1422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/dashboard_home_page_trending.dart:1323\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/themes/nipaplay/widgets/dashboard_home_page_trending.dart"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e088990d18c73cfe04542981e57bf6271038f29477ff5fce8aca9d6f715813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:1006-1032 | lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:1040-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/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:1006\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e81fea6272b2dbe729a19e340e5ede5b08cf0416a1970962fc12c70e8fbbc8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 4): lib/themes/nipaplay/widgets/settings_item.dart:633-657 | lib/themes/nipaplay/widgets/settings_item.dart:669-693 | lib/themes/nipaplay/widgets/settings_item.dart:717-742 | lib/themes/nipaplay/widgets/settings_item.dart:800-824 \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/themes/nipaplay/widgets/settings_item.dart:717\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/settings_item.dart"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b901ef385a083bce67c0e6f810ca7ad614df001c7cea323bde38413cdab549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): lib/main.dart:1244-1269 | lib/utils/launch_file_handler.dart:12-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/main.dart:1244\u0060 it does not close everything it opens, so those exact 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/main.dart"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d618ccc4c3256a232423d1758af052fb45661ede6a2ea5094f08945132b29c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/services/local_media_management_api.dart:551-576 | lib/themes/nipaplay/widgets/library_management_tab.dart:5925-5950 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/themes/nipaplay/widgets/library_management_tab.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/services/local_media_management_api.dart:551\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d487ea7c71139e01535fe0a1d87e815acf547fdb69077e817be63d52a4e093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/services/local_media_share_api.dart:335-360 | lib/services/web_api_service.dart:765-790 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_share_api.dart:335\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_api.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feb38518d6112eacbe640685796969032c36e2afea37ab424a4faf8629c6764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_network_server_connection_dialog.dart:30-55 | lib/themes/cupertino/widgets/cupertino_network_server_connection_dialog.dart:59-84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_network_server_connection_dialog.dart:30\u0060 it begins part-way through the construct above it, so those exact 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/themes/cupertino/widgets/cupertino_network_server_connection_dialog.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"495fbbd1a70493e28cc8cd99c27206ac05317b245f17bccc66baac5d5a816ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:300-325 | lib/themes/nipaplay/widgets/audio_tracks_menu.dart:67-92 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6489c3ca274df55fdb8d95cc1cc0447c96c3a7a6a08586a72395dc03f46fc3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:456-481 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:576-601 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:456\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcf14d0ffadf58835b6b3a8c6b05180ab46701f54f402e696abdd9e8110fbee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:5235-5260 | lib/themes/nipaplay/widgets/library_management_tab.dart:5329-5354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060connection\u0060 to \u0060WebDAVConnection\u0060 in one and \u0060SMBConnection\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5235}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e3df8cee0812373f57c62ad203a245502082f92b7b9da16c32fa0fe70d8902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:6039-6064 | lib/themes/nipaplay/widgets/library_management_tab.dart:6274-6299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:6039\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":6039}}}],"partialFingerprints":{"codehealthFindingId/v1":"1007520d786063666f6ec1238de8ee7eabe108544c57fd379327d6817f2a541e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 4): lib/services/remote_subtitle_service.dart:936-960 | lib/services/remote_subtitle_service.dart:1059-1083 | lib/services/remote_subtitle_service.dart:1169-1191 | lib/services/remote_subtitle_service.dart:1287-1309 \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/services/remote_subtitle_service.dart:936\u0060 it begins part-way through the construct above it, so those exact 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/services/remote_subtitle_service.dart:1193\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/remote_subtitle_service.dart:961\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0d23bfdb505b09480539077a3fc76617dcdc548750d1aa70764a7d90b033af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 3): lib/services/dandanplay_service_stub.dart:1504-1528 | lib/services/dandanplay_service_stub.dart:1881-1904 | lib/services/dandanplay_service_stub.dart:2087-2111 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1504\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bfdb577054b9c83b33ff962c613c0143c799786ba0c8b19137b60db5b5b3fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:138-162 | lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:204-228 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060track\u0060 to \u0060PlayerAudioStreamInfo\u0060 in one and \u0060_ServerAudioTrack\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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f964f020c4117c9e2d21e6dd49da217579f965c9f5a0cb85b6c98b8ccf03ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:1019-1043 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:1001-1025 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:1019\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/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b26873ddc74f01d6e30f4e49081021d1015c6904b9739b3a32f6efd3927e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): lib/utils/chinese_converter.dart:91-113 | lib/utils/chinese_converter.dart:225-249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/utils/chinese_converter.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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/chinese_converter.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df46868ff65a0214c2574e4c94183715c2541981a8e8b8461ae093922b15db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 7): lib/providers/shared_remote_library_provider.dart:1100-1123 | lib/providers/shared_remote_library_provider.dart:1219-1241 | lib/providers/shared_remote_library_provider.dart:1336-1358 | lib/providers/shared_remote_library_provider.dart:1401-1423 | lib/providers/shared_remote_library_provider.dart:1497-1519 | lib/providers/shared_remote_library_provider.dart:1591-1613 | lib/providers/shared_remote_library_provider.dart:1653-1675 \u2014 all 7 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aedb40583c156674792654265b7b321b6fc685a351858b2161150e00cdf4a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): lib/themes/nipaplay/widgets/library_management_tab.dart:2018-2041 | lib/themes/nipaplay/widgets/library_management_tab.dart:2049-2072 | lib/themes/nipaplay/widgets/library_management_tab.dart:2081-2104 \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/themes/nipaplay/widgets/library_management_tab.dart:2018\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"7538ad68c1300e76b26d9ea2b9b066b59ef7ba7a9f25ade6f76362a5c842b382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): lib/themes/nipaplay/widgets/playlist_menu.dart:785-808 | lib/themes/nipaplay/widgets/playlist_menu.dart:887-910 | lib/themes/nipaplay/widgets/playlist_menu.dart:948-970 \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/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf2323aff21521f8691e6021aaa354ca2bf6296dc83c96b2c1e53d087f34ec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): lib/pages/anime_detail_page.dart:2995-3018 | lib/themes/nipaplay/widgets/immersive_episode_rail.dart:309-331 \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/pages/anime_detail_page.dart:2995\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/pages/anime_detail_page.dart"},"region":{"startLine":2995}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c81d746c874baf958d090adcca10e2d18d8c8952f63eb67031025537675c257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1311-1334 | lib/services/dandanplay_service_stub.dart:2216-2239 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1311\u0060 it begins part-way through the construct above it, so those exact 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/services/dandanplay_service_io.dart:1336\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:2241\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/services/dandanplay_service_io.dart"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccf2975afa63560cd660e587cc955a4cdfe1c1ead628e1666495a757f2605a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2801-2824 | lib/services/dandanplay_service_stub.dart:2596-2619 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2801}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf839e0ecc25f1f81c60eed82c533af8f456ceac84e0c27baa9deb81937a847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): lib/services/network_media_settings_api.dart:54-77 | lib/services/network_media_settings_api.dart:100-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/network_media_settings_api.dart:54\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/network_media_settings_api.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edc85948f7e4e6d7fa2df4c28c63765f52b2f6f48317b68c68ffaf65dea57ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/services/webdav_service.dart:1579-1602 | lib/services/webdav_service.dart:1603-1626 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"a350f1c868023fea164e88836ab811bc90a2c176550d5b8efac182fb49aa6ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:744-767 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:823-845 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:744\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:846\u0060 calls \u0060clamp\u0060 and \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:768\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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec96179ab49d2ea95685af442596ba291b5608cc2bcb950347b91c46c26f86e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:169-192 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:258-281 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. 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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f925378330f45312d762f23e5d4e149cda0c2b75263b548b5843c1d229b48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:381-404 | lib/themes/nipaplay/widgets/playlist_menu.dart:511-534 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 124 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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"003dcf073c3f73e4f35bb5ead7f5d8c35d1f5cafb2852b3255996eadfa807988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:212-235 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:173-196 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:212\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b64f92add7b90321f86f4d0809a7ab669eeaddde875ce678dc9d596200d6ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:478-501 | lib/themes/nipaplay/widgets/large_screen_settings_panel.dart:487-507 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart\u0060 and \u0060lib/themes/nipaplay/widgets/large_screen_settings_panel.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:478\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/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69610d2352e93ed34dd8336d5e21de221d14220c845f670ed0c815abc397956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:1924-1947 | lib/themes/nipaplay/widgets/library_management_tab.dart:1957-1980 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:1924\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fa39d6621436a61193bf5700671ea0a6a023e0c6bf74d113484078443a1931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): lib/utils/watch_history_auto_match_helper.dart:265-287 | lib/utils/watch_history_auto_match_helper.dart:320-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/utils/watch_history_auto_match_helper.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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/watch_history_auto_match_helper.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce0e35b2658830ce0d4b40bb28b14c81f2e83d6e5e7a596cfa12f788a158e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): tool/ohos_erika_smoke.dart:175-197 | tool/ohos_mdk_smoke.dart:217-240 \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 \u0060tool/ohos_erika_smoke.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":"tool/ohos_erika_smoke.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cc43b8e82256c26e367eaee863d87e81dad2e7f649b367a181fe351a79068e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): lib/themes/nipaplay/widgets/audio_tracks_menu.dart:249-271 | lib/themes/nipaplay/widgets/audio_tracks_menu.dart:408-430 | lib/themes/nipaplay/widgets/seek_step_menu.dart:297-319 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:862-884 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:1028-1050 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart:249\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/audio_tracks_menu.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b4a7ddb06c088ed28ae4f448d1fc3a2729e0419933c21d1f09c921c703e57c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 3): lib/providers/shared_remote_library_provider.dart:928-950 | lib/providers/shared_remote_library_provider.dart:1780-1800 | lib/providers/shared_remote_library_provider.dart:1856-1876 \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/providers/shared_remote_library_provider.dart"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff1c8907d3035ca0cf9dfe1a95275756ff36741c1720ee06388b8c3f6a16ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:1004-1026 | lib/danmaku_next/nipaplay_next_old_engine.dart:847-869 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"4089e8c453e82037cb0c2d909f86c0f4a1c84769c276a5052a695401512dd86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/models/watch_history_database.dart:1105-1127 | lib/models/watch_history_database.dart:1139-1161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/models/watch_history_database.dart:1105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2564df31803109ab07a330b23ff58439320c5bce20ff28cbaf4dfe23b4f7243a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/providers/emby_provider.dart:269-291 | lib/providers/jellyfin_provider.dart:302-324 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/emby_provider.dart:269\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"594572749614719985ef6156142e494daa06d262e4dd40e9734b92f4edb15ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1987-2009 | lib/services/dandanplay_service_stub.dart:1483-1505 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1987\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"1758bf7f2bc6b8ffab772741792ce039cca8c3574cdec9fb744700357733da4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/services/emby_service.dart:53-75 | lib/services/jellyfin_service.dart:28-50 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a290f949cd9a97a65191341fcdf6f411858204c1ab1abaf086cc369c42a48f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_library_management_overview.dart:152-173 | lib/themes/cupertino/widgets/cupertino_library_management_overview.dart:240-262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_library_management_overview.dart:152\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/themes/cupertino/widgets/cupertino_library_management_overview.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"527849095ee93bbf1cf918c2f6b163a68d1b9b1af3bac0c2293a100bf21c0786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): lib/themes/nipaplay/widgets/history_all_modal.dart:154-176 | lib/themes/nipaplay/widgets/history_all_modal.dart:182-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/history_all_modal.dart:154\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/history_all_modal.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbe481c95f377a7a3fa281dad2bf241699284ace83e34d69f344fa31845ee91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/models/jellyfin_model.dart:180-201 | lib/models/jellyfin_model.dart:395-416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/jellyfin_model.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"03472b261edfebcec32eebe870d3a08563a04d4314e6629ffbc44df6ae186686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/pages/torrent_download_page.dart:2006-2027 | lib/pages/torrent_download_page.dart:2198-2219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/torrent_download_page.dart:2006\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/pages/torrent_download_page.dart"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ceb31ce25b98d80fb48c3eb748fae71a1cd0c2e6ee847754ccc1005f3d6bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/providers/emby_provider.dart:219-240 | lib/providers/jellyfin_provider.dart:252-273 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/emby_provider.dart:219\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/providers/emby_provider.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b2fa2309aa2d0055c6385736eedd8c737a8daab7fc03b97bda8a8adfec18af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2501-2522 | lib/services/dandanplay_service_io.dart:2553-2574 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2501\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/dandanplay_service_io.dart:2500\u0060 calls \u0060encode\u0060 and \u0060lib/services/dandanplay_service_io.dart:2552\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/services/dandanplay_service_io.dart"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e647ca37daa060803bfc92845208905a6bc08b45ab569aa9e8b4454e8c02b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/services/danmaku_spoiler_filter_service.dart:66-87 | lib/services/danmaku_spoiler_filter_service.dart:126-147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/danmaku_spoiler_filter_service.dart:66\u0060 it begins part-way through the construct above it, so those exact 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/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ba592b3d92aa0bd80592771b0fad18385c2d7fb2f3bad7718ecbbd3e0a0b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/services/emby_service.dart:1417-1438 | lib/services/jellyfin_service.dart:1292-1313 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c876f4fbfd8a61526789960a7af46a14d266191a3d861038355e55b97c7e389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/services/smb2_native_service_ffi.dart:170-191 | lib/services/smb2_native_service_ffi.dart:199-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/smb2_native_service_ffi.dart:170\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb2_native_service_ffi.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae44145833f7b4beabdcd2b3f62b30f0ce12f24370b58bf9d0b83345e74dcaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/services/smb_proxy_service.dart:184-205 | lib/services/smb_proxy_service.dart:280-301 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/smb_proxy_service.dart:184\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2cf03f834e85f0576634fd56c88da018fe9c7a1b6ccd2ad3fdc03e10df8439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): lib/settings/pages/developer_options_settings_content.dart:604-625 | lib/settings/pages/developer_options_settings_content.dart:752-772 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/settings/pages/developer_options_settings_content.dart:604\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c0790a4ff60fdd8115d0445247719ed90b91a90d603ae5770f99596722778f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart:327-348 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:500-521 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart:327\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"92aadf9cf88914a555ddfc8f22a3491939bb70734e7c6451e1c56e4c2f96c73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:164-185 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:129-150 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b1ede05769210bfaf5df2b73d31fe3ddc784d00a19a616570b3c7d0d9fd17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:1864-1885 | lib/themes/nipaplay/widgets/library_management_tab.dart:2035-2056 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:1864\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d0ce6e7d7089ddb9bbb96258f65a4258c494d891ab55a63e1ba7551f211787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:5427-5448 | lib/themes/nipaplay/widgets/library_management_tab.dart:5632-5652 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:5427\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5427}}}],"partialFingerprints":{"codehealthFindingId/v1":"db413770d9e9ddbc6bcfc6641a07581ff5c575324cfb5a50ba75a0c30e9e4685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/themes/nipaplay/widgets/network_media_library_view.dart:2062-2083 | lib/themes/nipaplay/widgets/network_media_library_view.dart:2120-2141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/network_media_library_view.dart:2062\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"7084e494cc14e70734c99cfdf859f86375c6c66eaab5c8944ee9ba139bdf6cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/themes/nipaplay/widgets/playback_rate_menu.dart:160-181 | lib/themes/nipaplay/widgets/seek_step_menu.dart:173-194 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/seek_step_menu.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart:160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_rate_menu.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd200a3319c7f1fea417052c93161b7c468977715d33c6fc61cdb70f55240ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/themes/nipaplay/widgets/seek_step_menu.dart:282-303 | lib/themes/nipaplay/widgets/seek_step_menu.dart:388-409 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/seek_step_menu.dart:282\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/seek_step_menu.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12c8ab0a1b9695ddb1644c5aa2fd3c9e2ce412e5b476eac4de8707e42a97afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/utils/subtitle_parser.dart:557-578 | lib/utils/subtitle_parser.dart:582-603 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/utils/subtitle_parser.dart:557\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5d976a16a860d93c20c52edbcb3734b2860ebb20af44a5b88a4e8430becf88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/widgets/context_menu/src/context_menu_styles.dart:61-82 | lib/widgets/context_menu/src/context_menu_styles.dart:146-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/context_menu/src/context_menu_styles.dart:61\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/context_menu/src/context_menu_styles.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fc2f524d28f60cbd4ffe19c8f0004d51c67dcfe51f2a14230c67334dd4435b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 4): lib/services/dandanplay_service_io.dart:1942-1960 | lib/services/dandanplay_service_io.dart:2419-2437 | lib/services/dandanplay_service_stub.dart:1411-1431 | lib/services/dandanplay_service_stub.dart:1792-1812 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1411\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"248823117c073c1d2f9cd75d94cea7071252364aa0c41062a91c9578913f5b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): lib/providers/shared_remote_library_provider.dart:700-720 | lib/services/webdav_service.dart:1800-1820 | lib/utils/remote_media_fetcher.dart:434-454 \u2014 before extracting anything, compare \u0060lib/providers/shared_remote_library_provider.dart\u0060 and \u0060lib/utils/remote_media_fetcher.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/shared_remote_library_provider.dart:700\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cc01fb7ec7b9e3750d07adc69cce85a88c5ff8ffcf02ecf824cb3d5e1ad200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): lib/services/dandanplay_service_io.dart:2016-2036 | lib/services/dandanplay_service_io.dart:2487-2507 | lib/services/dandanplay_service_io.dart:2682-2702 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2016\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"2086b3723fb916c6821026e043971a1d1fe126d0affd2cddd75668ec114f077d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:387-407 | lib/themes/nipaplay/widgets/network_media_library_view.dart:986-1006 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:1095-1115 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060 and \u0060lib/themes/nipaplay/widgets/network_media_library_view.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"073ccc24fd87dbd6d49b979ba5456ce5ebf16ad39924810b997495a0523f8a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:1028-1061 | lib/danmaku_next/nipaplay_next_old_engine.dart:871-904 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_next/nipaplay_next_engine.dart:1028\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"e547ada0da66479f9887b3007823f149d490b6f8d359d207f2dfc98743ba908c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/danmaku_next/nipaplay_next_old_overlay.dart:116-136 | lib/danmaku_next/nipaplay_next_overlay.dart:134-154 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_old_overlay.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_overlay.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_next/nipaplay_next_old_overlay.dart:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_overlay.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0525b35658f5a882efc15455a73f07b29c14b587937b5604ccd8e91ac9716f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lib/pages/desktop_player_window.dart:36-55 | lib/pages/external_player_console_window.dart:37-57 \u2014 before extracting anything, compare \u0060lib/pages/desktop_player_window.dart\u0060 and \u0060lib/pages/external_player_console_window.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/external_player_console_window.dart:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/desktop_player_window.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"98700cca695d7367eba45ad760e34fd05252655a2e1a60ea6643240141f81da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): lib/pages/torrent_download_page.dart:2028-2045 | lib/pages/torrent_download_page.dart:2227-2247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/torrent_download_page.dart:2028\u0060 it begins part-way through the construct above it, so those exact 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/pages/torrent_download_page.dart"},"region":{"startLine":2028}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8decd99173741f7db45eba97793f432d3abf6246008be585d27259c294c5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/providers/emby_provider.dart:517-537 | lib/providers/jellyfin_provider.dart:93-113 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b92b1e7f1f07fd6096c4b38346954ba3e5ce8c51d76d5392fc9d4dbfe1d4a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1784-1820 | lib/services/dandanplay_service_stub.dart:2532-2568 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1784\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e038ff3c7d86806404a164b3090fa5f59d1c32fd8b2b42dd35365b69b082b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2582-2602 | lib/services/dandanplay_service_stub.dart:1989-2009 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2582\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/services/dandanplay_service_io.dart"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3f104e436f651b2c4b063bbfc18bcb0ef29cef57a25db3ca2bebb3678a1068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): lib/services/emby_service.dart:523-543 | lib/services/jellyfin_service.dart:400-418 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:523\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"301bbf4b6ce832ccaf009de7db3b90cba2a8474560700afb1c55f3eb90ba7f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lib/services/local_media_management_api.dart:278-297 | lib/services/local_media_management_api.dart:447-467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:278\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/local_media_management_api.dart:277\u0060 calls \u0060getFileUrl\u0060 and \u0060lib/services/local_media_management_api.dart:447\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db8988150ef8eefc2363a65c650008c049b942188f2d9692b8f7a2fa8eff321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lib/services/local_media_management_api.dart:531-550 | lib/themes/nipaplay/widgets/library_management_tab.dart:5892-5912 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/themes/nipaplay/widgets/library_management_tab.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/services/local_media_management_api.dart:531\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d3558e3f19e9365a301c2fe44be0116135562cde641856a86a09e93955b034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/services/local_media_share_service.dart:379-399 | lib/utils/subtitle_parser.dart:988-1008 \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/services/local_media_share_service.dart:379\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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/services/local_media_share_service.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a9a5361f6e5531eb7933d45110fd83a7f81274d25a4322b9bf76e5b96ca08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/services/playback_source_service.dart:524-544 | lib/services/playback_source_service.dart:569-589 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/playback_source_service.dart:524\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1a8ce77df6387d955dd0c57c61b5fcaa5143b0119749c8c00b155785bd6d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): lib/services/remote_control_client_service.dart:238-255 | lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart:285-305 \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/services/remote_control_client_service.dart:238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6832cc03bc79053d3f79a1d3c4bd6a3296a5d378eecf96493d7e082bf22930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:60-80 | lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:97-116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d17b418548b928c4378ed9fa78590862f195470579245dc27388841d976b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:254-274 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:370-390 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_list_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e8455d39a48428b6dd1e317e1a708c5426182ea1761498b70367eadc6008cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201321 lines \u00D7 3): lib/themes/nipaplay/widgets/dashboard_home_page_models.dart:101-104 | lib/themes/nipaplay/widgets/hover_scale_text_button.dart:82-102 | lib/themes/nipaplay/widgets/search_bar_action_button.dart:62-82 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/hover_scale_text_button.dart\u0060 and \u0060lib/themes/nipaplay/widgets/search_bar_action_button.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/dashboard_home_page_models.dart:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_models.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"48759b9d121d12fcf5c0d0393bc1ad4dbeefbca14db5e9fda7c331a57b5145f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:3423-3443 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:412-431 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/library_management_tab.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:3423\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3423}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d66c6a6cd973158ccae08a5ae8a3bede868a0dc02700d784c554d10aa7a919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): lib/themes/nipaplay/widgets/network_media_library_view.dart:1232-1249 | lib/themes/nipaplay/widgets/network_media_library_view.dart:1376-1396 \u2014 both copies are in the same file, so extract the block 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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b2035bb471600107c20a72b7d2e1e06bf06fefb556f6c70ad4354f8d739f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/themes/nipaplay/widgets/playback_rate_menu.dart:184-204 | lib/themes/nipaplay/widgets/seek_step_menu.dart:197-217 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/seek_step_menu.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_rate_menu.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f04efedd8503f7276f6386cc7d8096c449ef430a7d3495e553f4fad37b8139"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/themes/nipaplay/widgets/playlist_menu.dart:594-614 | lib/themes/nipaplay/widgets/playlist_menu.dart:658-678 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playlist_menu.dart:594\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae23d572c1ab37b98c7897c220f6a610c0dfd009da1cd298ac5c645fd316adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/themes/nipaplay/widgets/tag_search_widget.dart:1001-1021 | lib/themes/nipaplay/widgets/tag_search_widget.dart:1510-1530 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/tag_search_widget.dart:1510\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/tag_search_widget.dart"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be3308eec0c3a8b7935361cfb3d5860acb1ce72b40dfcd54190c00f92517282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lib/themes/nipaplay/widgets/video_upload_ui.dart:385-404 | lib/themes/nipaplay/widgets/video_upload_ui.dart:434-454 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/video_upload_ui.dart:434\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_upload_ui.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4eea83f534085016f87b5a1c11e7df2fde56d563901361f94195f5431ba15c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/utils/video_player_state.dart:2162-2182 | lib/utils/video_player_state.dart:2186-2206 \u2014 both copies are in the same file, so extract the block 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/utils/video_player_state.dart"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d4c122d2627d02a41f65499f9de838001919c9f6bb28e0ea3a8232a47691fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): lib/themes/nipaplay/widgets/library_management_tab.dart:816-834 | lib/themes/nipaplay/widgets/library_management_tab.dart:1639-1658 | lib/themes/nipaplay/widgets/library_management_tab.dart:4815-4833 \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/themes/nipaplay/widgets/library_management_tab.dart:816\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c52ffcdc22ec747e50cef80999fde786e568796cbbcef77b7515ba1fcfd43c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): lib/danmaku_dfm/dfm_plus_layout_bridge.dart:485-517 | lib/danmaku_next/next2_layout_bridge.dart:161-193 \u2014 before extracting anything, compare \u0060lib/danmaku_dfm/dfm_plus_layout_bridge.dart\u0060 and \u0060lib/danmaku_next/next2_layout_bridge.dart\u0060 as WHOLE FILES: this scan already matched 5 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/danmaku_dfm/dfm_plus_layout_bridge.dart:485\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"a732de4ce7ce106f46b24f20be4b6f29ee10ae5e0c4d2a393fa3291ef0f248e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): lib/pages/webdav_browser_page.dart:904-920 | lib/pages/webdav_browser_page.dart:1391-1410 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/webdav_browser_page.dart:904\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d56833af4f70e02d4a0e59fbe6eaff6f2193f340805a08279606430b11a90ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:1736-1754 | lib/providers/shared_remote_library_provider.dart:1818-1837 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/shared_remote_library_provider.dart:1736\u0060 it does not close everything it opens, so those exact 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d02af2be120a5c5e616289e997b67f6c4fe713c5549c44bd2478ce10a768e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/services/dandanplay_service_io.dart:453-472 | lib/services/dandanplay_service_stub.dart:346-365 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b770b565e8810ee6e6d08574d9904fd4d4051f972a2f53ec60d8a9188cc6ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:1119-1138 | lib/services/jellyfin_dandanplay_matcher.dart:1193-1212 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:1119\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/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"18087c20cb6503467725929b98c7df348cc91432efb7b35bdf2c802fd68e1acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/services/emby_service.dart:135-154 | lib/services/jellyfin_service.dart:118-137 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:135\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/services/emby_service.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f4e466e3beb15fde2f7d546ab839bc90edb2672c9b8997efb924027afd5c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): lib/services/local_media_management_api.dart:1258-1277 | lib/services/local_media_share_service.dart:891-909 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/services/local_media_share_service.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b01cb1b0f7c4678a094d915ef75d0d926096a7c9563e9f749c9296b80b5a5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/services/shared_remote_playback_sync_service.dart:54-73 | lib/services/shared_remote_playback_sync_service.dart:134-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/services/shared_remote_playback_sync_service.dart:54\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/shared_remote_playback_sync_service.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcf5329c4f11f7167cf89789c47231c48d61a79739b6b67755de8f9a7a6cc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/settings/pages/network_settings_content.dart:576-595 | lib/settings/pages/network_settings_content.dart:714-733 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/settings/pages/network_settings_content.dart:576\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/network_settings_content.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa7c19c747e49980560a4c3c7a53247204627338b780aeff007731f5de280c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:91-110 | lib/themes/cupertino/widgets/cupertino_rating_sheet.dart:45-64 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_rating_sheet.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f6e5fde6b692343d8c34a0574963ad593ecca2e261795ce02365e366005a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_build_info_sheet.dart:51-70 | lib/themes/cupertino/widgets/cupertino_dependency_versions_sheet.dart:105-124 \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/themes/cupertino/widgets/cupertino_build_info_sheet.dart:51\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_build_info_sheet.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6c3d5c40344630660c6b4c06c649577a5b9934fecbe006c3757fae32e7286e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_player_menu.dart:175-194 | lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:759-777 \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/themes/cupertino/widgets/cupertino_player_menu.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d6ccdf496279472034af8177bdfc4d9165e43c8ed2e9f76649e340aabfcbd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:303-322 | lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart:329-348 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:303\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13b2807b1f57590963f1dfb4110330f9d7dd5c353c329eee846eec0c2d02acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:343-362 | lib/themes/nipaplay/widgets/playlist_menu.dart:461-480 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 124 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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48048e19fdf65f01e9e7ae621642d9762d57c08cc31d5b583f54648f4086bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): lib/themes/nipaplay/pages/settings/backup_restore_page.dart:313-332 | lib/themes/nipaplay/pages/settings/backup_restore_page.dart:489-506 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/pages/settings/backup_restore_page.dart:313\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef3ef2e80c088209dd1883e489baefcec7ae0ceb9007405d4e4f06cb6881d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): lib/themes/nipaplay/pages/settings/backup_restore_page.dart:383-402 | lib/themes/nipaplay/pages/settings/backup_restore_page.dart:535-552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7894e6b8b4a86ed01407a71bd22b6eb68d7148be7d5eba7b1ac610e33a5d1ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/themes/nipaplay/widgets/emby_library_card.dart:23-42 | lib/themes/nipaplay/widgets/jellyfin_library_card.dart:21-40 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/emby_library_card.dart\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_library_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/emby_library_card.dart:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/emby_library_card.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f1b6236472e42ef3835ed9304ae9576b22adcac91aeaa803b05f3b95289c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/themes/nipaplay/widgets/horizontal_anime_skeleton.dart:120-139 | lib/themes/nipaplay/widgets/horizontal_anime_skeleton.dart:150-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/horizontal_anime_skeleton.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3947ae5be13d540233bea9a3e283cdd3528cb0276f2ccc5941f04e0f564e4450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/themes/nipaplay/widgets/network_media_library_view.dart:1830-1849 | lib/themes/nipaplay/widgets/network_media_library_view.dart:1896-1915 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/network_media_library_view.dart:1830\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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8b0a430f071f4888a51be69d55edcfe9139edeb5dd1c58060f9854d864e245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/themes/nipaplay/widgets/seek_step_menu.dart:337-356 | lib/themes/nipaplay/widgets/seek_step_menu.dart:426-445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/seek_step_menu.dart:337\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/seek_step_menu.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac758b6f6894d522697eb9b92bd143ea5de612c60a7f2d6222e621024993a144"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): lib/themes/nipaplay/widgets/send_danmaku_button.dart:54-73 | lib/themes/nipaplay/widgets/skip_button.dart:53-70 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/send_danmaku_button.dart\u0060 and \u0060lib/themes/nipaplay/widgets/skip_button.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/send_danmaku_button.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/themes/nipaplay/widgets/send_danmaku_button.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd62f15e89d5c3a6a374c5ccda908b74bdecd257a83baaf18bd6debc8352cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:388-406 | lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:409-427 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:362-380 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:383-401 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed0e250ab606d0c785d0262508b6697cd46cc4700522adca8d3cf60c051f99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): lib/themes/nipaplay/widgets/playlist_menu.dart:370-388 | lib/themes/nipaplay/widgets/playlist_menu.dart:439-457 | lib/themes/nipaplay/widgets/playlist_menu.dart:489-507 | lib/themes/nipaplay/widgets/playlist_menu.dart:541-559 \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/themes/nipaplay/widgets/playlist_menu.dart:370\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd258309a567219754e5aeb8b0a302e277a3bbf1765ed30fd4e2843927d23969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): lib/services/emby_service.dart:1313-1331 | lib/services/jellyfin_service.dart:1188-1206 | lib/services/media_server_playback_client.dart:16-34 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f958ca5a51e2484d625a39a376c8964feb0260ac3fdd7a3e9af1fbee8e6670e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): lib/services/local_media_management_api.dart:1221-1239 | lib/services/local_media_share_service.dart:364-382 | lib/services/smb_proxy_service.dart:389-407 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/services/local_media_share_service.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:1221\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1eca1a401fe1c0a8cdd5f0d61133a359b7202696466fb2bf9af91954517aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): lib/services/local_media_share_api.dart:159-177 | lib/services/local_media_share_api.dart:225-243 | lib/services/local_media_share_api.dart:290-308 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_share_api.dart:159\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_api.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dfa60e985fc855539d891aad242ffbd49ecbd477e06546ff60c4ddfdb0e3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:338-355 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:310-327 | lib/themes/nipaplay/widgets/rating_dialog.dart:204-222 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:338\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cae92aa5e630b05b9ff89bd145fcdbf71d510cab25f982b7eb4f12c3159afbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): lib/themes/nipaplay/widgets/lock_controls_button.dart:29-46 | lib/themes/nipaplay/widgets/send_danmaku_button.dart:28-46 | lib/themes/nipaplay/widgets/skip_button.dart:28-45 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/send_danmaku_button.dart\u0060 and \u0060lib/themes/nipaplay/widgets/skip_button.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/lock_controls_button.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb4bd52eeec537f045117035ab48ab99559458d7e5746b4cff442353da6645a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/models/watch_history_database.dart:232-250 | lib/models/watch_history_database.dart:443-460 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/models/watch_history_database.dart:232\u0060 it begins part-way through the construct above it, so those exact 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/models/watch_history_database.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"50611648716e91e5a073667d48aa953b1a438dbfe312a1dbd15ae14c331d1746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/pages/new_series_page.dart:559-577 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:790-808 \u2014 before extracting anything, compare \u0060lib/pages/new_series_page.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 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/pages/new_series_page.dart:559\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/new_series_page.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"011f9b1a96a25fbe044cafc280d3737e9420ed98e269ab32d6ccd6fd8785a57c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/player_abstraction/video_player_adapter.dart:336-354 | lib/player_abstraction/video_player_adapter.dart:493-511 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/video_player_adapter.dart:336\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1357c02efd5be90e8e011fddc438ec99c218bb7e5123ae2b3d0fd9716e31c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:1150-1168 | lib/providers/shared_remote_library_provider.dart:1286-1304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/shared_remote_library_provider.dart:1150\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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"31141b76c4b6a735626081c091f55d7303ce818482b6958e036582d4bca18d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:1171-1189 | lib/providers/shared_remote_library_provider.dart:1450-1468 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/shared_remote_library_provider.dart:1171\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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc08f70cdae015465bd347821e5de4686bc98036515f0e7d9e96da300bf46d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1467-1485 | lib/services/dandanplay_service_stub.dart:2403-2421 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d7480936d7e3d94dea4f608aa2a4213a5cb21a6d79521e72a5881849ec694c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:931-949 | lib/services/dandanplay_service_stub.dart:961-979 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:931\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31cb9a89113a551f8c215a6a5aa63090727188cd0b8c8df3955e422d162aeea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:1380-1398 | lib/services/dandanplay_service_stub.dart:1764-1782 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1380\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e756e8b0f5bcbcf78db8b396bda2d00ef22a1a6ef830c7ad6cc793cae691c338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/services/database/database_debug.dart:49-67 | lib/services/database/database_debug.dart:78-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/services/database/database_debug.dart:49\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/database/database_debug.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50529def10555444c79ebc27533aebffdd0e092fdb0d9bcd9ae25ca3a226c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:729-747 | lib/services/jellyfin_dandanplay_matcher.dart:768-786 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:729\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/jellyfin_dandanplay_matcher.dart:765\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/emby_dandanplay_matcher.dart:727\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a277a82d25d3c17fc1d982c517021c531c78dd1dc58f35905ce995b4a6fa18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/services/emby_service.dart:1227-1245 | lib/services/jellyfin_service.dart:1083-1101 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:1227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdde8ac0218248a99e9a26aeaaf4361f9fd504c567d04ee911a4ab6998b3b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/services/file_picker_service.dart:125-143 | lib/services/file_picker_service.dart:155-173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/file_picker_service.dart:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ab459e93d81ac34f42b74cb9da29a55f0691ee931ba31fa4b785e84f4dc308"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/services/file_picker_service.dart:481-499 | lib/services/file_picker_service.dart:825-843 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"6476d0aa504060d5966da2904b422404d16546a9baaf8bf37a65084631a456a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/services/local_media_share_service.dart:573-591 | lib/services/local_media_share_service.dart:866-884 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_share_service.dart:573\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e643e468e55d8caade9c9a538e08fa4b1d486177ee05a3c9023bb718ba81a62d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:429-447 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:464-482 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:429\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"13058152388dcaf73ed7ae8e53a2d342bace3581952fa58a669d8b4b7f8ef446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:144-162 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:109-127 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d512b5259f71b78fa14c3feea8cfc97c0464313b43d58f7c5d3043108bbaab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:271-289 | lib/themes/nipaplay/widgets/network_media_library_view.dart:917-935 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060 and \u0060lib/themes/nipaplay/widgets/network_media_library_view.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:271\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/network_media_library_view.dart:937\u0060 calls \u0060trim\u0060 and \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:290\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/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8ace493c0f683bd3c887129460087caf4cfbbbbf56908b4051141d997ad686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:88-106 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:120-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/themes/nipaplay/widgets/jellyfin_quality_menu.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c3242d7431823ea0afaf24c4eb6d39cc570a8a3c5529042c7ce9069b077b17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/themes/nipaplay/widgets/seek_step_menu.dart:472-490 | lib/themes/nipaplay/widgets/seek_step_menu.dart:563-581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/seek_step_menu.dart:472\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/seek_step_menu.dart"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e0aa56b6673511dc458d711f225ccc08d565082c3a5f3783025c06c3fba6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/themes/nipaplay/widgets/tag_search_widget.dart:667-685 | lib/themes/nipaplay/widgets/tag_search_widget.dart:1164-1181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/tag_search_widget.dart:667\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/tag_search_widget.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"63431868c5d3fe71da7b577da5167951bc586d196b4717c4c9e1a195b37729e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/utils/screen_orientation_manager.dart:95-113 | lib/utils/screen_orientation_manager.dart:117-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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/utils/screen_orientation_manager.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88a683f7bd799280f6e0064ab7e3bbbce2ea591fac5ce59c2e5646dd0ead7a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): lib/pages/new_series_page.dart:507-524 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:221-238 | lib/themes/nipaplay/widgets/network_media_library_view.dart:849-866 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:737-754 \u2014 before extracting anything, compare \u0060lib/pages/new_series_page.dart\u0060 and \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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/pages/new_series_page.dart:507\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/new_series_page.dart"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9498e0396350d338382eb4830fcbf6873716ae84a5f01d746b676778fe94e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): lib/player_abstraction/media_kit_player_adapter.dart:2580-2597 | lib/providers/shared_remote_library_provider.dart:658-675 | lib/services/shared_remote_playback_sync_service.dart:240-257 | lib/utils/remote_media_fetcher.dart:401-417 \u2014 before extracting anything, compare \u0060lib/providers/shared_remote_library_provider.dart\u0060 and \u0060lib/utils/remote_media_fetcher.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/media_kit_player_adapter.dart:2580\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a515bfdf956ce8ee4f2e06d003262723d31436ca16e7f42ac5fa093119d929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/pages/new_series_page.dart:530-547 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:244-261 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:760-777 \u2014 before extracting anything, compare \u0060lib/pages/new_series_page.dart\u0060 and \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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/pages/new_series_page.dart:530\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/new_series_page.dart"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f5c7975b1ee9ebcffba69632825f98fffc54e9a0517f30aa08f0792f7454cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): lib/services/local_media_management_api.dart:897-914 | lib/services/local_media_share_service.dart:529-546 | lib/services/local_media_share_service.dart:648-664 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/services/local_media_share_service.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:897\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"facff5424b2b09bb6a531e93eefa23472aa2898dad551621d574ecaca378e67b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/services/local_media_share_service.dart:471-488 | lib/services/local_media_share_service.dart:599-616 | lib/services/local_media_share_service.dart:672-689 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_share_service.dart:471\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4a8688f47b7b65bc620748d2a60ae4bed6d922c942b998ec932986df7e2716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/themes/cupertino/widgets/cupertino_comment_dialog.dart:237-254 | lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:393-410 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:365-382 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_comment_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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/themes/cupertino/widgets/cupertino_comment_dialog.dart:237\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/themes/cupertino/widgets/cupertino_comment_dialog.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e1d1522ed98c8ab37d5064507774d13c443f2cdf6d3b6080a63d09860e5d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): lib/themes/nipaplay/widgets/library_management_tab.dart:3785-3801 | lib/themes/nipaplay/widgets/library_management_tab.dart:4196-4212 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:944-961 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/library_management_tab.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:3785\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3785}}}],"partialFingerprints":{"codehealthFindingId/v1":"7139905e1e570f9a000e14008fab5264813c21f2f4003d015a2ac669a3e3106f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/themes/nipaplay/widgets/lock_controls_button.dart:67-84 | lib/themes/nipaplay/widgets/send_danmaku_button.dart:68-85 | lib/themes/nipaplay/widgets/skip_button.dart:65-82 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/send_danmaku_button.dart\u0060 and \u0060lib/themes/nipaplay/widgets/skip_button.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/lock_controls_button.dart:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/lock_controls_button.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"23854c4aac08c6acec611412c204d4a1d6d534e73a68627146ef5cced8677eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/danmaku_dfm/dfm_plus_overlay.dart:369-386 | lib/danmaku_next/nipaplay_next2_overlay.dart:115-132 \u2014 before extracting anything, compare \u0060lib/danmaku_dfm/dfm_plus_overlay.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next2_overlay.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_dfm/dfm_plus_overlay.dart:369\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"782412df56abd9c1af8afb8d1892e335bd50055e82104debf33390cb0a98ad4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart:33-50 | lib/danmaku_gpu/lib/gpu_top_danmaku_renderer.dart:32-49 \u2014 before extracting anything, compare \u0060lib/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart\u0060 and \u0060lib/danmaku_gpu/lib/gpu_top_danmaku_renderer.dart\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart:33\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/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1dcd321ccff39a23425c4ad06adebf64953bc4c49acd4ccfae3ecf3dea2a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:1117-1134 | lib/danmaku_next/nipaplay_next_old_engine.dart:951-968 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cd1891d3628cd1d30095850d5a47a7de0a4b7c18a0b3f5393a1677303575ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/danmaku_next/nipaplay_next_old_overlay.dart:140-157 | lib/danmaku_next/nipaplay_next_overlay.dart:166-183 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_old_overlay.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_overlay.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_next/nipaplay_next_old_overlay.dart:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_overlay.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1b1ace267242399ac243216b0e6abc2bf5edd6c06a3d6eab0bd0e32fc43d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/media_library/adaptive_media_library_primitives.dart:320-337 | lib/media_library/adaptive_media_library_primitives.dart:424-441 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/media_library/adaptive_media_library_primitives.dart:320\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e814c3dd838095b4fa819fa5f36a475e4bd5a42664a16a91937e951dab99d546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/pages/torrent_download_page.dart:2059-2076 | lib/pages/torrent_download_page.dart:2264-2281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/torrent_download_page.dart:2059\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/torrent_download_page.dart"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"235168658d8e6f5c0bd384fb3602af9982d2f5709a2152bc5057c9de159b8759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/pages/webdav_browser_page.dart:1746-1763 | lib/pages/webdav_browser_page.dart:1828-1844 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/webdav_browser_page.dart:1746\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"edff875ffd2e9bb5e629b7fa35b2560438da957d78892e7cc91996250478b900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/services/dandanplay_service_io.dart:225-242 | lib/services/dandanplay_service_stub.dart:1295-1312 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d7af8075190a2a9919645816fccd5738537959d81172330d09bbbecd6c476e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1140-1157 | lib/services/dandanplay_service_stub.dart:1163-1180 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1140\u0060 it begins part-way through the construct above it, so those exact 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/services/dandanplay_service_io.dart:1159\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:1182\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/services/dandanplay_service_io.dart"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"bada09f28e355ad5ecd19244058e819348cab5d5c908ed4d3545cadf0f5fc0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2119-2136 | lib/services/dandanplay_service_stub.dart:1638-1654 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"123466dc9a0046b60e9a43436144918c053ff4f4404e99c13fa3212c8d570fba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:580-596 | lib/services/dandanplay_service_stub.dart:1156-1173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:580\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d81e0a094089378fb960d509bda4f35e0595b2a9830026f6070d1b71ccb7c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): lib/services/emby_service.dart:631-645 | lib/services/jellyfin_service.dart:492-509 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:631\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d835aa81a31440b386aa1d3278806350d6552ee6a5b496e5ec8d28b58427ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/settings/pages/general_settings_content.dart:612-629 | lib/settings/pages/general_settings_content.dart:631-648 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/general_settings_content.dart"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19757ddb187d7f13879fbb5b4364771cbbce2079437c6f714270fcf4a9fa810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_library_management_overview.dart:133-150 | lib/themes/cupertino/widgets/cupertino_library_management_overview.dart:222-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_library_management_overview.dart:133\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_library_management_overview.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4a302e4efda433a44e3b098dc64b9e4d987daefea378b4e6f292c82b8513b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:136-153 | lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart:182-199 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bbd93b0037a8801805c2d64b6b01caa7a3b124797f2922c6bdcb358a4d4901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:260-277 | lib/themes/nipaplay/widgets/playlist_menu.dart:323-339 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 124 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. 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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f2f3bdb5a74eb688e55b8eb88b576f75797e0d0bb051feba48b99504ceadec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart:192-209 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:413-430 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fa41d436bf62edf0234335b1e0a81dbb9b97d01f061b0f42e05e28e413e377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/pages/account/material_account_page.dart:632-649 | lib/themes/nipaplay/pages/account/material_account_page.dart:653-670 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/pages/account/material_account_page.dart:632\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/themes/nipaplay/pages/account/material_account_page.dart"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8e54a3bf964fc35f7f52e8de0521ac08a18e1dd3d1dbcb24bb434e8e18baf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1131-1148 | lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1425-1442 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1131\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75c4d9c1a7a20ec7ec5adeda78aee40b8c2597197f963d77d70ecd1c4d8936d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:822-839 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1411-1428 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc8e823ba6da8380fdaabdcb806684d3f17d666500dd4e5fa290294def10037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:191-208 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:219-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:191\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"969a4b5e4ffc899136269b536dd6d787e48a4a968e341b4bcc08a136781c24d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:318-335 | lib/themes/nipaplay/widgets/seek_step_menu.dart:510-527 \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/themes/nipaplay/widgets/danmaku_offset_menu.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3521e0fc999fd886bc0da1f55370b376a92981224fb1d20249b96ed772cf38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:574-590 | lib/themes/nipaplay/widgets/large_screen_settings_panel.dart:428-445 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart\u0060 and \u0060lib/themes/nipaplay/widgets/large_screen_settings_panel.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:574\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"924a261538512aa2db29bb7438b2feab5f3d7a81cfd012f4215a5d92218fc737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:5590-5607 | lib/themes/nipaplay/widgets/library_management_tab.dart:5796-5813 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:5590\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5590}}}],"partialFingerprints":{"codehealthFindingId/v1":"5972c5d12a7f3574a15b922f3d604fe7b4c60c91b20d358fb4345dc85e8bbb57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/widgets/media_library_sort_dialog.dart:287-304 | lib/themes/nipaplay/widgets/media_library_sort_dialog.dart:374-391 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/media_library_sort_dialog.dart:287\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/media_library_sort_dialog.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e297d30f9ba8b5c8d2482d29b037b4a18528ea456a290caeed49c7f725f3e643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/widgets/network_media_library_view.dart:724-741 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:574-591 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/network_media_library_view.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/network_media_library_view.dart:724\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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbc0f22c14a92d7d462bc136481da756bd2fb2bd60e413e13e905958af5c99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/themes/nipaplay/widgets/playback_info_menu.dart:1001-1017 | lib/themes/nipaplay/widgets/playback_info_menu.dart:1042-1059 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playback_info_menu.dart:1001\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7e043a05454eab464a9708e1aa55caada4800710e6c436b6c0c7c8f30e20a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/widgets/playback_rate_menu.dart:118-135 | lib/themes/nipaplay/widgets/seek_step_menu.dart:133-150 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/seek_step_menu.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart:118\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_rate_menu.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b580c7542afe5e177b8eca1f1faf726a9230ff9e028aaabaf56b4c67679a857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/widgets/seek_step_menu.dart:158-175 | lib/themes/nipaplay/widgets/seek_step_menu.dart:360-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/seek_step_menu.dart:158\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/themes/nipaplay/widgets/seek_step_menu.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5bcb0a04ece6b474bc96c0aad5c77645ea3b632d67d77a57ef03ffdc08e0c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/themes/nipaplay/widgets/smb_connection_dialog.dart:181-198 | lib/themes/nipaplay/widgets/smb_connection_dialog.dart:214-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/themes/nipaplay/widgets/smb_connection_dialog.dart:181\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/themes/nipaplay/widgets/smb_connection_dialog.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"93361a58d3b2271a6e6f4a4845e785b648e5d9bb5c27f0381c8ad52f379dbaf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/widgets/danmaku_container.dart:675-691 | lib/widgets/danmaku_container.dart:790-807 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/danmaku_container.dart:675\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c95df6db626f0c3e924d05531c1dcd4051f4bc1e0de8f6249a1774c4dc36ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/widgets/user_activity/desktop_user_activity.dart:246-263 | lib/widgets/user_activity/desktop_user_activity.dart:287-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/user_activity/desktop_user_activity.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 that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/user_activity/desktop_user_activity.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ba211c575fd1af8625be928473212fb1300e9ff40fac7868dd994b834f79c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): lib/services/dandanplay_service_io.dart:843-859 | lib/services/dandanplay_service_stub.dart:786-802 | lib/services/dandanplay_service_stub.dart:1955-1971 | lib/services/dandanplay_service_stub.dart:2692-2708 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:843\u0060 it begins part-way through the construct above it, so those exact 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/services/dandanplay_service_stub.dart:1973\u0060 calls \u0060_clearBangumiDetailsCache\u0060 and \u0060lib/services/dandanplay_service_stub.dart:2709\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cefeff279c84e37b45e45bb1e06b92feae78490a81a4fd37bbfedb12fbb5b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:190-206 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:218-234 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1715-1731 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1742-1758 \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/themes/nipaplay/widgets/custom_media_info_dialog.dart:190\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/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"012c7b159b46bf4f3c896659b84921602c064f29d239e0262e5decc16ed00f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): lib/themes/nipaplay/widgets/playback_rate_menu.dart:123-139 | lib/themes/nipaplay/widgets/seek_step_menu.dart:138-154 | lib/themes/nipaplay/widgets/seek_step_menu.dart:340-356 | lib/themes/nipaplay/widgets/seek_step_menu.dart:429-445 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/seek_step_menu.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_rate_menu.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2861e6de3a263e4e325ab0afb3a62d7133361c09a640540d3f4e4c468b04bbb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): lib/themes/nipaplay/widgets/playlist_menu.dart:784-800 | lib/themes/nipaplay/widgets/playlist_menu.dart:886-902 | lib/themes/nipaplay/widgets/playlist_menu.dart:947-962 | lib/themes/nipaplay/widgets/playlist_menu.dart:983-998 \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/themes/nipaplay/widgets/playlist_menu.dart:784\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b982a0ed2b845a8ac4e1fd81e5be222dd8ccd67cf1beb40c576ae83082fc5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 3): lib/services/local_media_management_api.dart:775-791 | lib/services/local_media_share_service.dart:422-435 | lib/services/local_media_share_service.dart:805-818 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/services/local_media_share_service.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:775\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"513325b521c5f44c15a6c5a494980d68940c7ea1c6c9f4dc69e8e85395e78bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:267-283 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:239-255 | lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:697-713 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:267\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec409fe1ceb283808387b395e3eeadb1adc93dcf7052aa718030c8ccb7d624c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:375-390 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:347-362 | lib/themes/nipaplay/widgets/rating_dialog.dart:253-269 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:375\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc3cb321e62178bdecb2046129d4a562537a30718cb455f5505b743e9bd182a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:1409-1425 | lib/themes/nipaplay/widgets/nipaplay_window.dart:365-381 | lib/themes/nipaplay/widgets/nipaplay_window.dart:497-513 \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/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:1409\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b451cdda866b997370cf2c171fda855a65a8814649d8023ea6f91deff212940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): lib/themes/nipaplay/widgets/network_media_library_view.dart:716-731 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:524-540 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:566-581 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/network_media_library_view.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/network_media_library_view.dart:716\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbf97e742fc15e890b8f6bb5dd667a2f5af562eca36daa9d6d969caa149443d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/themes/nipaplay/widgets/seek_step_menu.dart:156-172 | lib/themes/nipaplay/widgets/seek_step_menu.dart:358-374 | lib/themes/nipaplay/widgets/seek_step_menu.dart:447-463 \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/themes/nipaplay/widgets/seek_step_menu.dart:156\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/seek_step_menu.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"22904241baba5778a1519c2f59b9a7e59ab7a48a71e22d485b524c6debe44e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): lib/widgets/danmaku_container.dart:589-604 | lib/widgets/danmaku_container.dart:632-648 | lib/widgets/danmaku_container.dart:666-681 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/danmaku_container.dart:589\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3b832691ffe9a274be5bd987e3a46e8c7ad530690311b2a8bc5052b75f9025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): lib/widgets/danmaku_container.dart:704-719 | lib/widgets/danmaku_container.dart:747-763 | lib/widgets/danmaku_container.dart:781-796 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/danmaku_container.dart:704\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b3823dd5057dfbeb8600a27bcc891fd040018600337b5de9fc2a7ff673a91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/media_library/adaptive_media_library_primitives.dart:766-782 | lib/media_library/adaptive_media_library_primitives.dart:836-852 \u2014 both copies are in the same file, so extract the block 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/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3fab3203ae458fc3eb3fb1d08fe779e7f837895b7273a91975c72c9c4f3264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/pages/media_server_detail_page.dart:643-659 | lib/pages/media_server_detail_page.dart:665-681 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/media_server_detail_page.dart:643\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b58c091e70579b74a51ab608b3b68798ea8d209ee3833fb56fc056a8466afc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/pages/torrent_download_page.dart:1988-2004 | lib/pages/torrent_download_page.dart:2180-2196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/torrent_download_page.dart:1988\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/torrent_download_page.dart"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"70313320caaaa7e603c34350ad5c863a65592535eecff7a88b44425d1fddbbb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/playback/adaptive_playback_entry_view.dart:246-262 | lib/playback/adaptive_playback_entry_view.dart:324-340 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/playback/adaptive_playback_entry_view.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/playback/adaptive_playback_entry_view.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74585ea3da7e0834afc3052c03e41b2d9d5817743a725a342b2b92870ca71c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/providers/emby_provider.dart:250-266 | lib/providers/jellyfin_provider.dart:283-299 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/emby_provider.dart:250\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/providers/emby_provider.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dc87ee7683e0348c3e5008ef31fdd3314628284f2cd30e75f65ce8431c335d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:1244-1260 | lib/providers/shared_remote_library_provider.dart:1522-1538 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/shared_remote_library_provider.dart:1244\u0060 it begins part-way through the construct above it, so those exact 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"30df7001a4cd7d8eaadf0e128fc09f95bc2645000fedef2611256ab5deae8d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/services/dandanplay_service_io.dart:951-967 | lib/services/dandanplay_service_stub.dart:1017-1033 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:951\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/services/dandanplay_service_io.dart"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35df773e7f6efd22d9528b6710af990d583cc5a58403619c0e87dd601dc2a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1917-1933 | lib/services/dandanplay_service_stub.dart:1391-1406 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1917\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcc33ffa29aae238b279112fcd134d3676da5dbab990f58b95ba0d4902ca738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/services/emby_service.dart:598-614 | lib/services/jellyfin_service.dart:472-488 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:598\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"e703c52ba89042c95c30f83e9702d5968690fe522c7b684e80ede7ddf914f5a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/services/jellyfin_service.dart:516-532 | lib/services/jellyfin_service.dart:561-577 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/jellyfin_service.dart:559\u0060 calls \u0060_makeAuthenticatedRequest\u0060 and \u0060lib/services/jellyfin_service.dart:515\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b60efae9194b8862893c293b02e28cefe3b2a69cf910a94195a94efec944ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:160-176 | lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart:203-219 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:160\u0060 it begins part-way through the construct above it, so those exact 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/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33114e274b37284472fb1d7c1bff85ff668a1ae722ea2d0baa5c1422af8a80c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/themes/nipaplay/pages/settings/backup_restore_page.dart:848-863 | lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1121-1137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/pages/settings/backup_restore_page.dart:848\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"5978ddd78c5644c098b0b8d3925ddab4de90f3ecd9eb2dbc7f596a930e42e5aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:837-853 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:851-867 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:837\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/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b0a348be1b1c97685fe1626ce7797a5537c782d814fe5e09168e67e246f6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:5482-5498 | lib/themes/nipaplay/widgets/library_management_tab.dart:5693-5709 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:5482\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5482}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f47f8173738342f4f60d606084a764215249f457323021a003977ea8c93c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/themes/nipaplay/widgets/media_library_sort_dialog.dart:259-275 | lib/themes/nipaplay/widgets/media_library_sort_dialog.dart:351-367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/media_library_sort_dialog.dart:259\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/media_library_sort_dialog.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdef276d4c4bbc23afe70ad302eed92b8c0f3c14179b789992753cf8e3b4ee8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/themes/nipaplay/widgets/modern_video_controls.dart:485-501 | lib/themes/nipaplay/widgets/video_player_ui.dart:660-675 \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/themes/nipaplay/widgets/modern_video_controls.dart:485\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/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cb825b092015ae3e06281e4d56a78ae577cc103d0c66c2b104d25c14034183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/themes/nipaplay/widgets/playback_info_menu.dart:380-396 | lib/themes/nipaplay/widgets/playback_info_menu.dart:658-674 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playback_info_menu.dart:380\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"23969729bef6d68f86e892d5337c50f48f757c9c1532f1958daeb84a40fe8a2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/themes/nipaplay/widgets/tag_search_widget.dart:914-930 | lib/themes/nipaplay/widgets/tag_search_widget.dart:961-977 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/tag_search_widget.dart:914\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/tag_search_widget.dart"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"399c653b9b5ed2b52a723184661ab6e9c4dd64b766899080fee7cfcf8814ae70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 8): lib/services/webdav_service.dart:1536-1551 | lib/services/webdav_service.dart:1571-1586 | lib/services/webdav_service.dart:1595-1610 | lib/services/webdav_service.dart:1619-1634 | lib/services/webdav_service.dart:1650-1665 | lib/services/webdav_service.dart:1670-1685 | lib/services/webdav_service.dart:1691-1706 | lib/services/webdav_service.dart:1714-1729 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1dd1f2643af1fbf08a2887247290302aac0d5c10190211cd496393fc696438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): lib/services/dandanplay_service_io.dart:2015-2030 | lib/services/dandanplay_service_io.dart:2486-2501 | lib/services/dandanplay_service_io.dart:2681-2696 | lib/services/dandanplay_service_stub.dart:1509-1524 | lib/services/dandanplay_service_stub.dart:1885-1900 | lib/services/dandanplay_service_stub.dart:2092-2107 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2015\u0060 it begins part-way through the construct above it, so those exact 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/services/dandanplay_service_io.dart:2032\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:1526\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/services/dandanplay_service_io.dart"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"491a9d3c422ec8eff15afbe2ef6b9e3dee0aed80e4e6995eb98ff0323a10757d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): lib/services/remote_subtitle_service.dart:965-980 | lib/services/remote_subtitle_service.dart:1088-1103 | lib/services/remote_subtitle_service.dart:1202-1217 | lib/services/remote_subtitle_service.dart:1320-1335 \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/services/remote_subtitle_service.dart:965\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b55efab3374cbdd508be285f4579d0c308302e1f8b2e579575f40e7d90e926e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): lib/pages/anime_detail_page.dart:2997-3012 | lib/themes/nipaplay/widgets/immersive_episode_rail.dart:311-326 | lib/themes/nipaplay/widgets/immersive_episode_rail.dart:419-433 \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/pages/anime_detail_page.dart"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39468b090353e03461deec2f4e90a79a7d95f1a8a92d2478b103a532b193be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/services/dandanplay_service_io.dart:1138-1153 | lib/services/dandanplay_service_io.dart:2013-2028 | lib/services/dandanplay_service_io.dart:2484-2499 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a92daa53f713d9388292d4217b7a1ab91ad720f926f5c484add37aad6b316d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 3): lib/themes/nipaplay/widgets/custom_slider.dart:87-99 | lib/themes/nipaplay/widgets/history_all_modal.dart:276-291 | lib/themes/nipaplay/widgets/translation_button.dart:120-132 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/custom_slider.dart:87\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_slider.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f8e8d8fcd9d232f7a17dfa492558e82f8ac9c934c34134f9091f4db0fa3aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/themes/nipaplay/widgets/history_all_modal.dart:110-125 | lib/themes/nipaplay/widgets/rating_dialog.dart:127-142 | lib/widgets/context_menu/src/context_menu_styles.dart:123-138 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/history_all_modal.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"61122efdb488a64f3aad7993183a27f2e7124069a430f66f8cf663f9f1a9dcfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/themes/nipaplay/widgets/library_management_tab.dart:1855-1870 | lib/themes/nipaplay/widgets/library_management_tab.dart:1879-1894 | lib/themes/nipaplay/widgets/library_management_tab.dart:1993-2008 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6bda1e538b005b409d72ed5d4880796c12aa7f4653cdc41568ea7634d02568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/themes/nipaplay/widgets/network_media_server_dialog.dart:499-514 | lib/themes/nipaplay/widgets/network_media_server_dialog.dart:560-575 | lib/themes/nipaplay/widgets/network_media_server_dialog.dart:592-607 \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/themes/nipaplay/widgets/network_media_server_dialog.dart:499\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb0c471bfa1d639e3b32f57394b315001cd95a5515536f2cb96c911c382a3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): lib/widgets/danmaku_container.dart:564-577 | lib/widgets/danmaku_container.dart:639-654 | lib/widgets/danmaku_container.dart:673-686 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/danmaku_container.dart:639\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"b723b522ad7e672539adad5debabc62d844a5d6b0f0597c8c1788dfd5fc87d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:902-917 | lib/danmaku_next/nipaplay_next_old_engine.dart:745-760 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe6d6214e4c2aaae785140d3714aeb14c059bffefa1b215b3c53c9ec7459fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/pages/dashboard_home_page.dart:1136-1150 | lib/pages/dashboard_home_page.dart:1184-1199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/dashboard_home_page.dart:1136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebeb3845e2228c0f1adb053522e456e2cd13d6fad6974ca16eeb1b77b0691d5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2465-2480 | lib/services/dandanplay_service_stub.dart:1866-1881 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2465\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2465}}}],"partialFingerprints":{"codehealthFindingId/v1":"008d5175e4105b932517ef29e0b090ece146c9f46f427b4bf429632eb6725dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2540-2555 | lib/services/dandanplay_service_io.dart:2751-2766 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2540\u0060 it begins part-way through the construct above it, so those exact 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/services/dandanplay_service_io.dart:2767\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_io.dart:2557\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7efd6f989dcc7a21b0780620070930c90ea9448cd448691db8e0e86653831b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:1849-1864 | lib/services/dandanplay_service_stub.dart:1926-1941 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1849\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f341cf450ab4d7fb962cecdddde91bf947de483272e19db9cb3c67055eb866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:1253-1266 | lib/services/jellyfin_dandanplay_matcher.dart:1319-1334 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:1253\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f6f2d1e25af8898140afa0e720dbe54d248df0352a2ca915c91e4dd079e7cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:1301-1316 | lib/services/jellyfin_dandanplay_matcher.dart:1349-1364 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:1301\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9b42e36008ada555590ebf8ec53a69ed748de02ef52e33a01ae7bab13953aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/services/local_media_management_api.dart:815-829 | lib/services/local_media_management_api.dart:975-990 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:815\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd33719a108ad193983fdb99aedb8e4c0ec2cf51f6b104ac73bd6ebd264ee80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/services/local_media_share_api.dart:375-390 | lib/services/web_api_service.dart:878-893 \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/services/local_media_share_api.dart:375\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_api.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0c6a99c95146b2ffc8fd7b2f95187ecf58d9dd145f8af4d2980149238877fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/services/playback_source_service.dart:643-658 | lib/services/playback_source_service.dart:731-745 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/playback_source_service.dart:643\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04f8b59059600da405bd4ca5977d5bf4107b8c223060ec478cdff38935463d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/services/shared_remote_playback_sync_service.dart:38-53 | lib/services/web_remote_history_sync_service.dart:37-52 \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/services/shared_remote_playback_sync_service.dart:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/shared_remote_playback_sync_service.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea90459937c138bef8cd6db00c61729cf227268b78e7079ab9db06e22f93dd62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): lib/services/web_api_service.dart:290-302 | lib/services/web_api_service.dart:318-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/web_api_service.dart:290\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/services/web_api_service.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f024118f96f62a422d86ea15181da4f8ca1c9deef630b0fdc1b5f97f59ddc69b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:299-313 | lib/themes/cupertino/widgets/cupertino_rating_sheet.dart:212-227 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_rating_sheet.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:299\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4b66f145fba6926f652dce84dd9eb24e05a131e488ef217efb26e8b73ade55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_library_management_overview.dart:87-102 | lib/themes/cupertino/widgets/cupertino_library_management_overview.dart:184-199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_library_management_overview.dart:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_library_management_overview.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4f3c83a0df7394c7fb96c0f585ef05defe6914ba38dd20b8850e3f173ac5d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201316 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:120-129 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:1219-1234 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f681a72bbf3ea674101762855bccb59382d54818fa98c3baf1512f314c9361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:305-320 | lib/themes/nipaplay/widgets/playlist_menu.dart:394-409 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 124 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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5474a67622dfd9b7569c17da5678e9d9c16927ca0b7ee2b396815aa7ea990c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/themes/nipaplay/pages/settings/watch_history_page.dart:542-557 | lib/themes/nipaplay/pages/settings/watch_history_page.dart:563-578 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/pages/settings/watch_history_page.dart:542\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"36425594a30db4558b80019f10bfb8272720069fb5507020a68c063135064769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:537-552 | lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:616-631 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:537\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"db115a3d9ebf5b67a073f22713f6ab4a2f6d297aeddbffdce5a2ce6f7a0b16f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:956-970 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:587-602 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:956\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"c862722539754aadc33dc4b8a3369bd360f9be4c3cd8fd7aac871362bc8e5757"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/themes/nipaplay/widgets/emby_library_card.dart:200-215 | lib/themes/nipaplay/widgets/jellyfin_library_card.dart:198-213 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/emby_library_card.dart\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_library_card.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/emby_library_card.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e0cc1a7767f5afc20b17813f51d1903ad36dd3acedfca3442a2a6d634b2024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/themes/nipaplay/widgets/hover_scale_text_button.dart:139-154 | lib/themes/nipaplay/widgets/hover_scale_text_button.dart:161-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/hover_scale_text_button.dart:139\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/themes/nipaplay/widgets/hover_scale_text_button.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35cae8e09660b3cb1253ddfaa38e604bbf778eaf3b355bf57f7d3090f2c9588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/themes/nipaplay/widgets/nipaplay_window.dart:335-350 | lib/themes/nipaplay/widgets/nipaplay_window.dart:469-483 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/nipaplay_window.dart:335\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/themes/nipaplay/widgets/nipaplay_window.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3102dc19dc8cc58c7d023e6233e953b5c83ee15b62849e9a933696b3768335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/widgets/danmaku_overlay.dart:207-222 | lib/widgets/danmaku_overlay.dart:229-244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_overlay.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f549c818c9842e29ee063e6717ddf840e1ff74eff5e4b782da4db1920428ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): lib/services/dandanplay_service_io.dart:2680-2694 | lib/services/dandanplay_service_stub.dart:1162-1176 | lib/services/dandanplay_service_stub.dart:1508-1522 | lib/services/dandanplay_service_stub.dart:1884-1898 | lib/services/dandanplay_service_stub.dart:2091-2105 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/services/dandanplay_service_io.dart:2698\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:1902\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2680}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb7ec43d6f8ac02e3d0240f46f452690742d9dd410e8b7c56b8d12733c13e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): lib/pages/media_server_detail_page.dart:1360-1375 | lib/pages/new_series_page.dart:530-544 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:244-258 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:760-774 \u2014 before extracting anything, compare \u0060lib/pages/new_series_page.dart\u0060 and \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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/pages/media_server_detail_page.dart:1360\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"9601780122f57691b2ef4e13159a6b35cf7c43b2668b6155fddefde680b28615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:96-109 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:127-141 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:132-145 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:163-177 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6840e4c48bf9117476e3b446cdcdce2c4e4c35029ad9b75568575ae580a17caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): lib/themes/nipaplay/widgets/floating_action_glass_button.dart:54-68 | lib/themes/nipaplay/widgets/hover_scale_text_button.dart:73-87 | lib/themes/nipaplay/widgets/search_bar_action_button.dart:53-67 | lib/themes/nipaplay/widgets/shadow_action_button.dart:59-73 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/hover_scale_text_button.dart\u0060 and \u0060lib/themes/nipaplay/widgets/search_bar_action_button.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/floating_action_glass_button.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/themes/nipaplay/widgets/floating_action_glass_button.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3750556de9eca92ad042271046002dd153c66c4eae30710ec37f1eb08105612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201315 lines \u00D7 3): lib/services/full_backup_service.dart:776-790 | lib/services/full_backup_service.dart:859-867 | lib/services/full_backup_service.dart:1051-1058 \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/services/full_backup_service.dart"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94aff3655c945a76fcc83f9a341bdc517b55e2ea6afe161820a4d022ddb1e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): lib/services/local_media_management_api.dart:973-986 | lib/services/local_media_share_service.dart:582-596 | lib/services/local_media_share_service.dart:875-889 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/services/local_media_share_service.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_share_service.dart:582\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"511ea85eca982ff56e0f0dd1ad85f56c09462bec61bbc2342bf31d13b8230437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/themes/nipaplay/pages/settings/backup_restore_page.dart:846-860 | lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1119-1133 | lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1382-1396 \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/themes/nipaplay/pages/settings/backup_restore_page.dart:846\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/pages/settings/backup_restore_page.dart:844\u0060 calls \u0060SizedBox\u0060 and \u0060lib/themes/nipaplay/pages/settings/backup_restore_page.dart:1118\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/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2af5395c16ad7ca44301ec89e5d25a3ae94e381a62b473ecdcbf98305677c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:97-111 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:1056-1070 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:1038-1052 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:97\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_offset_menu.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"654388b59801fb3b768c7e917c31ea25ac0a2ad226305141f4cc3cf0ebc12d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:987-1001 | lib/themes/nipaplay/widgets/library_management_tab.dart:3816-3830 | lib/themes/nipaplay/widgets/library_management_tab.dart:4229-4242 \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/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:987\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/library_management_tab.dart:4227\u0060 calls \u0060SizedBox\u0060, \u0060_buildLargeScreenConnectionBadge\u0060 and \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:3816\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/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"2626fc8b5e0e6d0fb32d62b40743f38b907477309de6ad8fc4348879712f50dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/widgets/context_menu/src/context_menu_styles.dart:61-75 | lib/widgets/context_menu/src/context_menu_styles.dart:101-115 | lib/widgets/context_menu/src/context_menu_styles.dart:146-160 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/context_menu/src/context_menu_styles.dart:61\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/context_menu/src/context_menu_styles.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea593374590ed4c7b16f1e823541df989b4bb184248ab5688922f4f7e00e0999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/danmaku_next/msdf_font_atlas.dart:457-471 | lib/danmaku_next/msdf_font_atlas.dart:478-492 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_next/msdf_font_atlas.dart:457\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a 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/danmaku_next/msdf_font_atlas.dart"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2755e187fe0484fdc2310b644e50fa61a198ef9b527484c81f41414dfe5e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/media_library/adaptive_media_collection_view.dart:141-155 | lib/media_library/adaptive_media_collection_view.dart:338-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/media_library/adaptive_media_collection_view.dart:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_collection_view.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad0c9302b312ded106c5aa92fb506abb9bb72c0ebb508cf8d94f21476beaf6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): lib/models/watch_history_model.dart:406-420 | lib/models/watch_history_model.dart:447-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/models/watch_history_model.dart:406\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"707c737a2daf597eadd5aed09b9437da8e90863b3057a23906197f0cbb6e2ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/models/watch_history_model.dart:675-689 | lib/models/watch_history_model.dart:704-718 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/models/watch_history_model.dart:675\u0060 it begins part-way through the construct above it, so those exact 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/models/watch_history_model.dart:700\u0060 calls \u0060getAllHistory\u0060 and \u0060lib/models/watch_history_model.dart:671\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8467eaf59edf49a39140a78cd1f31515b788040dffbc69678708d98a7fe3481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/pages/external_player_console_page.dart:292-306 | lib/pages/external_player_console_page.dart:375-389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/external_player_console_page.dart:292\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/external_player_console_page.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8959ed20e1d0ebdea7ea30a014365753395b51747ff0f2ea9ed90ca5faa3b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/pages/play_video_page.dart:131-145 | lib/themes/nipaplay/widgets/custom_scaffold.dart:66-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. 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/pages/play_video_page.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b2c2f7b99f6b94686c26400517565ac42487b3a57344e7764d6d0d0247a662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): lib/player_abstraction/media_kit_player_adapter.dart:492-504 | lib/player_abstraction/media_kit_player_adapter.dart:516-530 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/media_kit_player_adapter.dart:492\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b15b7a6e5563ee01d8691104fad78ba7b372ed29bb04035f46eab2667c14978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/player_abstraction/media_kit_player_adapter.dart:1898-1912 | lib/player_abstraction/media_kit_player_adapter.dart:2050-2063 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/media_kit_player_adapter.dart:1898\u0060 it does not close everything it opens, so those exact 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/player_abstraction/media_kit_player_adapter.dart:2065\u0060 calls \u0060setSubtitleTrack\u0060, \u0060no\u0060 and \u0060lib/player_abstraction/media_kit_player_adapter.dart:1914\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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"58656eb8d0d4e59e27b4ce1abb34be9968f432208a554eb22f3d81043092a88a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/player_abstraction/player_abstraction.dart:309-323 | lib/player_abstraction/player_abstraction.dart:328-342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a 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/player_abstraction/player_abstraction.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bff411ee065eebbd1b53a31211f8fc705f2213e7913dc888116964380b9ab9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/plugins/plugin_service.dart:369-383 | lib/themes/nipaplay/widgets/plugin_market_dialog.dart:149-163 \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/plugins/plugin_service.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccc999ca337a76d236ef53c22d1b78fdba237cd40062a84a1563fb243160ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): lib/plugins/plugin_service.dart:577-591 | lib/plugins/plugin_service.dart:593-605 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a 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/plugins/plugin_service.dart"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6804cf890f89d41ba37882c6f6a9e1a3f58aef96c048a7d2d397e90dbc2215c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:565-577 | lib/providers/shared_remote_library_provider.dart:623-637 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/shared_remote_library_provider.dart:565\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bfd38533755600b94890f7715bbfa84d4d69bc0e1048ddb200a13c64bcb90a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:1062-1076 | lib/providers/shared_remote_library_provider.dart:1575-1588 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/shared_remote_library_provider.dart:1062\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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"607ce6e0ea219bd722a0e25adc766f6b6b2dd882c869d695fed03f811f4a8023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2610-2624 | lib/services/dandanplay_service_stub.dart:2012-2026 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2610\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/services/dandanplay_service_io.dart"},"region":{"startLine":2610}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c49cdae49f38d95389c0192b1de66e491d70f28551df57b31a431cfec8407b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2661-2675 | lib/services/dandanplay_service_stub.dart:2074-2088 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2661\u0060 it begins part-way through the construct above it, so those exact 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/services/dandanplay_service_io.dart:2677\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:2090\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/services/dandanplay_service_io.dart"},"region":{"startLine":2661}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8aa0074ae59fefbe14bc0f80b0c962712cd7c8ecc7bed8bfdbddc1850db2920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2706-2719 | lib/services/dandanplay_service_stub.dart:2112-2126 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:2112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/dandanplay_service_io.dart:2703\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:2111\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/services/dandanplay_service_io.dart"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"a447fd8a57f62800ab1f8359606487f3344ff6ac046583c580929f04560ce44e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2785-2799 | lib/services/dandanplay_service_stub.dart:2580-2594 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2785}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e4d3dac2a7f1feb68601b8471a7085b77530619c41553e76185be55e001d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:1900-1914 | lib/services/dandanplay_service_stub.dart:1968-1982 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1900\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/dandanplay_service_stub.dart:1899\u0060 calls \u0060encode\u0060 and \u0060lib/services/dandanplay_service_stub.dart:1967\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/services/dandanplay_service_stub.dart"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0104fa91729a691581783055e72ec289b97e345bc5e795cca218d8227950668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:713-727 | lib/services/jellyfin_dandanplay_matcher.dart:748-762 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:713\u0060 it does not close everything it opens, so those exact 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/services/jellyfin_dandanplay_matcher.dart:765\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/emby_dandanplay_matcher.dart:729\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"d513b1acd6a234054c67c832b0fa76fc375846c8926293307a371f491f3b27b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/services/emby_service.dart:1049-1063 | lib/services/jellyfin_service.dart:841-855 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:1049\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/services/emby_service.dart"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"e303d4efed7296844fc743d1b8347c1386c04fdf8e25b7e38a5ab289fe73c933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/services/local_media_management_api.dart:241-255 | lib/services/local_media_management_api.dart:408-421 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"273c76a1c6ac8dfe478098a41bef978612e88855c27bdc3d16e50e3f27e8637f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/settings/pages/remote_access_receiver_settings_section.dart:488-502 | lib/themes/nipaplay/pages/settings/debug_log_viewer_page.dart:656-670 \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/settings/pages/remote_access_receiver_settings_section.dart:488\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/remote_access_receiver_settings_section.dart"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c75e0ed93f0e434eaa4634ee9dfc47bdb6aba124224c35803f179f5c5853c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:229-243 | lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart:273-287 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:229\u0060 it does not close everything it opens, so those exact 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/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c048e26dadb269170873cb4ad3c3a0554d039ebaac1455bd85cd468a4c0344"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:322-336 | lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_tracks_pane.dart:79-93 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_tracks_pane.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:322\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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad515c1952abeb71f09bf1cfea80efccd59adb512ab98c72ea77cb84e82ac9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart:177-191 | lib/themes/cupertino/widgets/player_menu/cupertino_seek_step_pane.dart:168-182 \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/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart:177\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/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a594b5aced938801c5a00219260f7bd7e066ba2ba29a49ef7bdf3f43f37beea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/themes/nipaplay/widgets/anime_detail_shell.dart:116-130 | lib/themes/nipaplay/widgets/anime_detail_shell.dart:131-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/anime_detail_shell.dart:116\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/themes/nipaplay/widgets/anime_detail_shell.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"158c0d2a3ebf3ab92b0e9949f891ea93691f49f67b86a4eb52b374249df47c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/themes/nipaplay/widgets/brightness_gesture_area.dart:69-83 | lib/themes/nipaplay/widgets/volume_gesture_area.dart:69-83 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/brightness_gesture_area.dart\u0060 and \u0060lib/themes/nipaplay/widgets/volume_gesture_area.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/brightness_gesture_area.dart:69\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/brightness_gesture_area.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbae85e7cf0ffebe6bb6e243d2a71710d1f86f7da658019d47d270f610514cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:748-762 | lib/themes/nipaplay/widgets/library_management_tab.dart:784-798 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:748\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060child\u0060 to \u0060const Text(\u0022\u6253\u5F00\u8BBE\u7F6E\u0022, locale: Locale(\u0022zh-Hans\u0022, \u0022zh\u0022), style: TextStyle(color: Colors.lightBlueAccent))\u0060 in one and \u0060const Text(\u0022\u77E5\u9053\u4E86\u0022, locale: Locale(\u0022zh-Hans\u0022, \u0022zh\u0022), style: TextStyle(color: Colors.lightBlueAccent))\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc5ee01a5944e162341a78ce105597cab9bc13e0c4f66f18b6fe74799ae4c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:1888-1902 | lib/themes/nipaplay/widgets/library_management_tab.dart:2066-2080 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:1888\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:1904\u0060 calls \u0060_buildSortDropdown\u0060 and \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:2082\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"02acaffc0c7a3b6328a0046264619e8ea224900d4c3c7ecee47bae646ab14fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:3822-3835 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:986-1000 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/library_management_tab.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:3822\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3822}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e6fdfdf7a71518d7142dbb46f065c5d1a131b4ae873a4c89894c69ccb08c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/themes/nipaplay/widgets/modern_video_controls.dart:353-366 | lib/themes/nipaplay/widgets/modern_video_controls.dart:418-432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/modern_video_controls.dart:353\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf1f7c452961775064d34aca85ae1e20cda23d7a79ab338c94556d4ddb79bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/themes/nipaplay/widgets/playback_info_menu.dart:437-451 | lib/themes/nipaplay/widgets/playback_info_menu.dart:714-728 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playback_info_menu.dart:437\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0bd0f1ae95aae99aab8c03f7ca5a9b8069a4f4dfe559b65466fe2045725c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/themes/nipaplay/widgets/shared_remote_library_view.dart:669-683 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:841-855 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart:669\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/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2ebb9c3fab5dbdf62cdb8bb08082b8257539938ce5f30339b762a0db8f642c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:785-799 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:919-933 \u2014 both copies are in the same file, so extract the block 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/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82af80f621796fb5c54235899c52ca814ea6e89fe1c7fb6cd37bd7992e2f2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/danmaku_overlay.dart:166-180 | lib/widgets/danmaku_overlay.dart:185-199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_overlay.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d5ec4e2964b007489a247c6768ac1785e3bdbb3952c0767b660f971ed40d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 8): lib/providers/shared_remote_library_provider.dart:1080-1093 | lib/providers/shared_remote_library_provider.dart:1101-1114 | lib/providers/shared_remote_library_provider.dart:1220-1232 | lib/providers/shared_remote_library_provider.dart:1337-1349 | lib/providers/shared_remote_library_provider.dart:1402-1414 | lib/providers/shared_remote_library_provider.dart:1498-1510 | lib/providers/shared_remote_library_provider.dart:1592-1604 | lib/providers/shared_remote_library_provider.dart:1654-1666 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"46214d8a3bcfe099c8c6140db57c49b72eee6a0a2874f09f481a02e3b714d68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): lib/services/dandanplay_service_io.dart:1140-1153 | lib/services/dandanplay_service_io.dart:2015-2028 | lib/services/dandanplay_service_io.dart:2486-2499 | lib/services/dandanplay_service_io.dart:2681-2694 | lib/services/dandanplay_service_stub.dart:1163-1176 | lib/services/dandanplay_service_stub.dart:1509-1522 | lib/services/dandanplay_service_stub.dart:1885-1898 | lib/services/dandanplay_service_stub.dart:2092-2105 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/services/dandanplay_service_io.dart:2032\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:1526\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9787db3e159c39264ee16c0565f3bea4010ebd11238ee16e6251a2c53d410f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): lib/services/dandanplay_service_io.dart:2679-2692 | lib/services/dandanplay_service_stub.dart:584-597 | lib/services/dandanplay_service_stub.dart:1161-1174 | lib/services/dandanplay_service_stub.dart:1507-1520 | lib/services/dandanplay_service_stub.dart:1883-1896 | lib/services/dandanplay_service_stub.dart:2090-2103 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2679\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/dandanplay_service_io.dart:2677\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:1505\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/services/dandanplay_service_io.dart"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"077186f1e0c9c98b1c97703241e04cd9500c9a772aa53d317f758b2cda363ea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): lib/themes/nipaplay/widgets/settings_item.dart:601-613 | lib/themes/nipaplay/widgets/settings_item.dart:633-646 | lib/themes/nipaplay/widgets/settings_item.dart:669-682 | lib/themes/nipaplay/widgets/settings_item.dart:718-731 | lib/themes/nipaplay/widgets/settings_item.dart:800-813 \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. 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/themes/nipaplay/widgets/settings_item.dart"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca5e15373173c88512023a579e3c2916559c8aedf76c0d0703adce88b59a7bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): lib/services/emby_service.dart:799-811 | lib/services/emby_service.dart:853-866 | lib/services/jellyfin_service.dart:667-680 | lib/services/jellyfin_service.dart:714-727 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:853\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"12676f7b9208f5ca3c5aa709a713f959ba433c726e2169b4f499fa05a72acfd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:182-195 | lib/themes/nipaplay/widgets/network_media_library_view.dart:503-515 | lib/themes/nipaplay/widgets/network_media_library_view.dart:813-825 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060 and \u0060lib/themes/nipaplay/widgets/network_media_library_view.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:182\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"35903a8f4dcad489c63e0eb0d91cd1d701cb60d084a9a910de095011aa89500e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:484-497 | lib/danmaku_next/nipaplay_next_old_engine.dart:361-374 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_next/nipaplay_next_engine.dart:484\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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f93503e94a358d285e310bb63608b995272b094011bf472ccee42f82a69d614"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/danmaku_next/nipaplay_next_old_overlay.dart:88-101 | lib/danmaku_next/nipaplay_next_overlay.dart:94-107 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_old_overlay.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_overlay.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_next/nipaplay_next_old_overlay.dart:88\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060oldWidget\u0060 to \u0060covariant NipaPlayNextOldOverlay\u0060 in one and \u0060covariant NipaPlayNextOverlay\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/danmaku_next/nipaplay_next_overlay.dart:110\u0060 calls \u0060requestPrebuild\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_overlay.dart:102\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/danmaku_next/nipaplay_next_old_overlay.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24c84677a9abca7ca173a64a666294d1be5f96d3b6c57e2d615c75d8f245279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): lib/models/watch_history_model.dart:576-586 | lib/models/watch_history_model.dart:620-633 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/models/watch_history_model.dart:636\u0060 calls \u0060toJson\u0060, \u0060toList\u0060, \u0060encode\u0060 and \u0060lib/models/watch_history_model.dart:587\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2b1922c1698f614fb279a5e24526463c9e273cfd095322e300f9eba9b4c494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/pages/anime_detail_page.dart:1423-1435 | lib/pages/media_server_detail_page.dart:1623-1636 \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/pages/anime_detail_page.dart:1423\u0060 it does not close everything it opens, so those exact 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/pages/anime_detail_page.dart"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"897190ab525b5848d95dd295c07b872640ea30e3c114084477ddebb766ae92f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/player_abstraction/erika_player_adapter.dart:1993-2006 | lib/utils/subtitle_manager.dart:2367-2380 \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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fca8a857203a8e4a1a4319cc26aeac94dd09e95586b16cb9a720222b88a20a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/player_abstraction/media_kit_player_adapter.dart:3725-3738 | lib/player_abstraction/media_kit_player_adapter.dart:3740-3753 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3725}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ca90bf53e380ceb3de37d5a10d77e339b9c96e06e7f6aa6b4bc553c618727f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:1761-1774 | lib/providers/shared_remote_library_provider.dart:1910-1923 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/shared_remote_library_provider.dart:1761\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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7046306a5306bdcfff5432286b08c81aab4cabedeb0d1261e4f3090f5168cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/dandanplay_service_io.dart:367-380 | lib/services/dandanplay_service_io.dart:901-914 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/dandanplay_service_io.dart:366\u0060 calls \u0060getAccountApiBaseUrl\u0060 and \u0060lib/services/dandanplay_service_io.dart:900\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/services/dandanplay_service_io.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"23eccab1ec2716f3b3b24e3b5d15d68b9cde4ad07cdcf63c34f94d9fa3cf2197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1338-1351 | lib/services/dandanplay_service_stub.dart:2241-2254 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1338\u0060 it begins part-way through the construct above it, so those exact 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/dandanplay_service_io.dart:1336\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/dandanplay_service_stub.dart:2239\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"80710da01daa2cf4032109576eecbc6c1b123aa93ae747d5e3e5bb326d2e7c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1354-1367 | lib/services/dandanplay_service_stub.dart:2291-2304 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd89306ea7944353a7f549519039ec26d1820cdbd8ff878380b20cffee41f61c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/danmaku_spoiler_filter_service.dart:236-249 | lib/services/danmaku_spoiler_filter_service.dart:279-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/services/danmaku_spoiler_filter_service.dart:250\u0060 calls \u0060toString\u0060, \u0060trim\u0060 and \u0060lib/services/danmaku_spoiler_filter_service.dart:293\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4256c7cb81c8f0de041f331c88f3a20291f86aa4a92da794406fee7544149872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:1103-1116 | lib/services/jellyfin_dandanplay_matcher.dart:1177-1190 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:1103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3cc7edd9ec32ede6aedd49d56616d3f13ff2424d0bf44aec2da24afb48fdbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/emby_service.dart:1763-1776 | lib/services/jellyfin_service.dart:923-936 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:1763\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"0690641715443d74fb6201259433d55f96efe3a4598f59d3e81edc5790db03d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/external_player_console_window_service.dart:43-56 | lib/services/external_player_console_window_service.dart:85-98 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/external_player_console_window_service.dart:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/external_player_console_window_service.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ab8c8e89254d170d0eec0f3fccc340f27e22fa79d676026ede58e22e69aa63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): lib/services/file_picker_service.dart:865-878 | lib/services/file_picker_service.dart:887-897 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/file_picker_service.dart:865\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/file_picker_service.dart"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c36784f871f7d39e3c7ea548df3dc55a47fbffd7e3f64bdf394af0b4d72d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/local_media_share_api.dart:323-336 | lib/services/local_media_share_api.dart:393-406 \u2014 both copies are in the same file, so extract the block 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/services/local_media_share_api.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5a19193717623b19607acbf502e46db77b6727a526a59fa5f97f4b29cb7c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/remote_subtitle_service.dart:1026-1039 | lib/services/remote_subtitle_service.dart:1138-1151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/remote_subtitle_service.dart:1026\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/services/remote_subtitle_service.dart"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e16401db9216046b7f48250e9a694e917ce1cb866ab424f8a4cc2d42e24863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/smb_proxy_service.dart:36-49 | lib/services/webdav_proxy_service.dart:41-54 \u2014 before extracting anything, compare \u0060lib/services/smb_proxy_service.dart\u0060 and \u0060lib/services/webdav_proxy_service.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea72e9ee3fbba27c17099f5cbc7422ffb51a51b6b184653d1de12caec21114e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lib/services/smb_proxy_service.dart:149-160 | lib/services/webdav_proxy_service.dart:160-173 \u2014 before extracting anything, compare \u0060lib/services/smb_proxy_service.dart\u0060 and \u0060lib/services/webdav_proxy_service.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/smb_proxy_service.dart:149\u0060 it does not close everything it opens, so those exact 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/services/smb_proxy_service.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8bfdbe2b534317548f76386d0796abc2d2931ecd02b876f32fd16e539c3552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/services/web_api_service.dart:339-352 | lib/services/web_api_service.dart:426-438 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/web_api_service.dart:339\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34646f400ea28443f52ccffd0f003c80b341a2611a669887805b2dcd5faa31d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/web_api_service.dart:537-550 | lib/services/web_api_service.dart:596-609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/web_api_service.dart:537\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/services/web_api_service.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6476bf9cd891130e96b41deb01af7f59947b186dc7b8fbf755af778755ce6bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart:466-479 | lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart:804-817 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart:466\u0060 it does not close everything it opens, so those exact 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/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a5b4fc0f1e4d6ca01b87439901810aec28cb3fd0b8fe443e12b6fde0cf616f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart:1203-1216 | lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart:1236-1249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a 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/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27e83f8fa53215cd753680aa2e90282302d7de778e8f3357c8e6aa63dde781b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_comment_dialog.dart:199-212 | lib/themes/cupertino/widgets/cupertino_comment_dialog.dart:229-242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_comment_dialog.dart:199\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_comment_dialog.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda667644cee547bd4df60ea3817ca24a2f58bb0ff76615dd989a54adb806f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:88-98 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:1187-1200 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:88\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"975a919a3af12184381dc175871a60a4f6b490f901e23978f4f1f2ae973a647c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart:61-74 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:221-234 \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/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2180e66f31f54fd535106f37ed07d2cc7ba65ce1ba3bdf12e1cfa0eb26390080"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:592-605 | lib/themes/nipaplay/widgets/playlist_menu.dart:1087-1100 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 124 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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4cfa935d2c3ef47776e3ef3b654e87971a4754460f0ee158e8f745597ebc1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:205-218 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:317-330 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_list_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:205\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e93f7fb879e347aad01f49b960b9798d325207483478a59c809e7d2046dabc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/nipaplay/pages/settings/dependency_versions_window.dart:148-161 | lib/themes/nipaplay/pages/settings/nipaplay_ui_preview_window.dart:53-66 \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/themes/nipaplay/pages/settings/dependency_versions_window.dart:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/dependency_versions_window.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"205226df69e4488d72d89a427d953495c1e12f639e4dcbbe608e47495538d62b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/nipaplay/pages/settings/watch_history_page.dart:389-402 | lib/themes/nipaplay/pages/settings/watch_history_page.dart:415-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/pages/settings/watch_history_page.dart:389\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd81cc7511f0d7e5bab9532d31d17e2a876273fc2eb1c526c25f22623c1ffe5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:132-145 | lib/themes/nipaplay/widgets/playback_rate_menu.dart:115-127 \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/themes/nipaplay/widgets/danmaku_offset_menu.dart:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_offset_menu.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebadf8a98faae7222a0d33c1801367e99bd5eef9d810ae855294f7c9fdf1246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:217-230 | lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:249-262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:217\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/danmaku_offset_menu.dart:247\u0060 calls \u0060SizedBox\u0060, \u0060_buildOffsetButton\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:217\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/themes/nipaplay/widgets/danmaku_offset_menu.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2099e5da8af9a88cf40067437374d53450914f21810244c366fa16892a77dd87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:540-553 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:715-728 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:540\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee9774df5cd38c957df0b0baa6e4d3fbde8a2f016a38a46754cc5c1d4bc6256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:1976-1990 | lib/themes/nipaplay/widgets/library_management_tab.dart:4351-4364 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:1976\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a7c03654cb21c1d607c6ae7113b693bdbf05ab01b3d60490bfb1565fe48fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:4313-4326 | lib/themes/nipaplay/widgets/library_management_tab.dart:4342-4355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:4313\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f520086de41be9a785a779711ff31bafb83cbc9abf703cc71cfa71f9e7c87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/nipaplay/widgets/playback_rate_menu.dart:206-219 | lib/themes/nipaplay/widgets/seek_step_menu.dart:219-232 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/seek_step_menu.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart:206\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/themes/nipaplay/widgets/playback_rate_menu.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fd9da85f2f57958efd74afd8c02292151737e5a9834b76cc3fee1f9acf3109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): lib/themes/nipaplay/widgets/playback_rate_menu.dart:215-228 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:494-504 \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/themes/nipaplay/widgets/playback_rate_menu.dart:215\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_rate_menu.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baf9eb0c7169fa60fa1013977e078ba8408135ebccde2ba3c5b89748d7ab412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:208-221 | lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:239-252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:208\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"743caec72c10218a545d49f1dad004a725714bec6376091d3e6f911c55cd92cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): lib/services/dandanplay_service_stub.dart:1436-1448 | lib/services/dandanplay_service_stub.dart:1530-1542 | lib/services/dandanplay_service_stub.dart:1817-1829 | lib/services/dandanplay_service_stub.dart:1906-1918 | lib/services/dandanplay_service_stub.dart:1974-1986 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1436\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/services/dandanplay_service_stub.dart:1529\u0060 calls \u0060_clearBangumiDetailsCache\u0060 and \u0060lib/services/dandanplay_service_stub.dart:1435\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/services/dandanplay_service_stub.dart"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba77e48e88416c22f39de2fad99c294db07e2d200db76b4e1d011ada46995288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 5): lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:62-74 | lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:99-110 | lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:320-331 | lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_tracks_pane.dart:77-88 | lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:267-278 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_tracks_pane.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b332fe79a3afd8dbef4f04e66396cd72a78a85d3c27799c0c126415e19b73f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/services/dandanplay_service_stub.dart:1860-1872 | lib/services/dandanplay_service_stub.dart:1937-1949 | lib/services/dandanplay_service_stub.dart:2067-2079 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1860\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81199fd3d5b6b13de05fb454a690e604c45a47ddb088b0a12dfd57187619a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/services/file_picker_service.dart:127-139 | lib/services/file_picker_service.dart:157-169 | lib/services/file_picker_service.dart:178-190 \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/services/file_picker_service.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5a0e18de75e8c5f35f5c9a83974e8c2c1bcda53c1e958227cd8be2d7b86235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:1141-1153 | lib/danmaku_next/nipaplay_next_old_engine.dart:975-987 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2798281a7f72eaa6cb1d572ec716bbb7057dfa7f1ccf4d7e420ce4c715e3a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:1155-1167 | lib/danmaku_next/nipaplay_next_old_engine.dart:989-1001 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee7ef8c1df005be6139c2cf0dcd00186381a4aba096888e9547ef53ccf10537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/danmaku_next/nipaplay_next_old_overlay.dart:159-171 | lib/danmaku_next/nipaplay_next_overlay.dart:185-197 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_old_overlay.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_overlay.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_next/nipaplay_next_old_overlay.dart:159\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_overlay.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3df3edd97d585e3970f4471b1e1b25267d04149866745d6e7a8ec1fddbd271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/models/emby_model.dart:415-427 | lib/models/jellyfin_model.dart:440-452 \u2014 before extracting anything, compare \u0060lib/models/emby_model.dart\u0060 and \u0060lib/models/jellyfin_model.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"26735c2f7f6370daef4f84d645392ff794b320ffce4fc233fcd923ca98b72d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/models/external_player_session/mpv_session.dart:599-611 | lib/models/external_player_session/other_session.dart:212-224 \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/models/external_player_session/mpv_session.dart"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdabe8a8ac17695f5e3fd34aec1ac115814c2928630e005312654ab29d1f6be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/models/watch_history_database.dart:355-367 | lib/models/watch_history_database.dart:381-392 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/models/watch_history_database.dart:355\u0060 it begins part-way through the construct above it, so those exact 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/models/watch_history_database.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef366a01ff56cd19f4fc771521322a8e240863dfa335aa02af2736bdac5632ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/pages/anime_detail_page.dart:2115-2127 | lib/pages/anime_detail_page.dart:2154-2165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/anime_detail_page.dart:2115\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c47eb36c8db6bc11bfe51bceeb8dcb0d4e36c6efeba21311487f3a40e15436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/player_abstraction/player_factory.dart:128-140 | lib/player_abstraction/player_factory.dart:199-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/player_abstraction/player_factory.dart:125\u0060 calls \u0060_clampPrecacheBufferSizeMb\u0060 and \u0060lib/player_abstraction/player_factory.dart:198\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/player_abstraction/player_factory.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cabbfc6265c0cfda5e7aad05498b721a4b39f679c2d27401c4c0acb6795048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/player_menu/player_menu_pane_controllers.dart:99-110 | lib/settings/pages/player_settings_content.dart:248-260 \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/settings/pages/player_settings_content.dart:248\u0060 it begins part-way through the construct above it, so those exact 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/settings/pages/player_settings_content.dart:261\u0060 calls \u0060sort\u0060 and \u0060lib/player_menu/player_menu_pane_controllers.dart:111\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/player_menu/player_menu_pane_controllers.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9920163caf83bd935909f971f7b3b936e94c7c1e174b3a216b1788d614a84da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/services/dandanplay_remote_service.dart:162-174 | lib/services/dandanplay_remote_service.dart:258-269 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_remote_service.dart:162\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_remote_service.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5ed96418a71c1f4b4159a8ceb30ea671839735d9bcb8c49cc921aba4ee24e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2059-2071 | lib/services/dandanplay_service_stub.dart:1550-1562 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f723f1a8caa65354c8c46ed7eb8b95574f4f1ac1da2946e9ab692acdedca1c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2398-2410 | lib/services/dandanplay_service_stub.dart:1775-1787 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2398\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"989aa85bc46c6b3e37ff23ffe3a572958084dae6b5bc645b4cd5e89ae7bda81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:122-134 | lib/services/web_remote_access_service.dart:116-126 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2101e7305ecb5d1f979dbf63bc02d6a618c52ef0f394348628b3cac837e723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:935-945 | lib/services/jellyfin_dandanplay_matcher.dart:1010-1022 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:935\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/services/emby_dandanplay_matcher.dart"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"1476e0122cdfc4f7f1a87a95baa1bc80e2117110f8bb1385a714242e770a9c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/emby_service.dart:462-474 | lib/services/jellyfin_service.dart:1949-1961 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"f825c15e89f97a1fdb85155720863a625175cc66be7e60a8db9b9e6d6354c9f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/emby_service.dart:749-761 | lib/services/jellyfin_service.dart:565-577 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"787069f30706548fee11511514acfaab7e3f12ba619e4ed15443fb3370c0517d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/full_backup_service.dart:970-982 | lib/services/full_backup_service.dart:1022-1034 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/full_backup_service.dart:970\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/services/full_backup_service.dart"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"0823fc324541005ba6e0cff970d3ecaeeb72454ec5a99f85684810444c81e2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/local_media_share_service.dart:918-930 | lib/services/local_media_share_service.dart:982-994 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbda7e2f19b617c299db5d90e7fe58bcd721312a7117041fc246550b62d1c958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/services/remote_subtitle_service.dart:996-1014 | lib/services/remote_subtitle_service.dart:1111-1129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/remote_subtitle_service.dart:996\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"832938502a4526a9631cf0e012f62066de3954568f72014b5245b52c1c31ac69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/settings/pages/player_settings_content.dart:584-596 | lib/settings/pages/player_settings_content.dart:986-998 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/settings/pages/player_settings_content.dart:584\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/settings/pages/player_settings_content.dart"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e2cf1ed582b646b988dc6c1901baa3a8575b83437958a7734a2058c3561641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/settings/pages/remote_access_receiver_settings_section.dart:103-115 | lib/themes/nipaplay/widgets/library_management_tab.dart:5113-5124 \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/settings/pages/remote_access_receiver_settings_section.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. 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/settings/pages/remote_access_receiver_settings_section.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e1bdf089a356dd4559f966a8ce09a8c617e507127078f6bba121539200bdbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lib/settings/pages/remote_media_library_settings_content.dart:1079-1091 | lib/settings/pages/remote_media_library_settings_content.dart:1110-1120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/settings/pages/remote_media_library_settings_content.dart:1079\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/remote_media_library_settings_content.dart"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"515086f382afd73614c161cc45e5bc764769dfe1138f855b9c17784213fb3d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:163-175 | lib/themes/cupertino/widgets/cupertino_rating_sheet.dart:98-110 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_rating_sheet.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/themes/cupertino/widgets/cupertino_rating_sheet.dart:111\u0060 calls \u0060of\u0060, \u0060copyWith\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:176\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/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2777cd0e02b6466a9b83fbfd09e7ded23db93ebe9264c647e529c1bb5a3c8234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:245-257 | lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart:289-301 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 127 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:245\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/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dad77b5f2a71d18fbc29be65e72ac2ba1801d8c9004c1c14ceba335e79b9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:151-163 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:222-234 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7101e49bdf03ca3c336a3d5b612a10150d92b483556b94b1568ce8ba8903f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:276-289 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:392-405 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_list_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:276\u0060 it does not close everything it opens, so those exact 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"277ddd9dc2a91afbe522c9d1ab80ad8e8d499736c5fe7a65c0c252b31e29a9cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:300-312 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:418-430 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_list_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc5b1c03ac67cc97dd61ebb30dd4e230b973806a05cab16b699d82f412f2bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:910-922 | lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:1029-1041 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:910\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4676812c7319d03a282e88c686203f6646617856353737946ee1e5bfe3a1eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/themes/nipaplay/widgets/blur_dropdown.dart:390-402 | lib/themes/nipaplay/widgets/blur_dropdown.dart:424-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/blur_dropdown.dart:390\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/blur_dropdown.dart:422\u0060 calls \u0060_handleMenuKeyEvent\u0060 and \u0060lib/themes/nipaplay/widgets/blur_dropdown.dart:388\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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3e95df973d36d92f66a0a758d82a075b3a5846ccb287676907825c6df21d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_list_menu.dart:86-98 | lib/themes/nipaplay/widgets/subtitle_list_menu.dart:99-111 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/danmaku_list_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_list_menu.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/danmaku_list_menu.dart:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2ada4354f4d3daa45a295a65113db99da41c67975c17109cd2a9f6868140e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:143-155 | lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:206-218 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_offset_menu.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dc51e407c0c42d77840a4535a4c0c2a917986bb1302899002cd2788cf0ffa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:616-628 | lib/themes/nipaplay/widgets/large_screen_settings_panel.dart:526-538 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart\u0060 and \u0060lib/themes/nipaplay/widgets/large_screen_settings_panel.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"5008b575d2ad86b7980271ce4167e94410a72823a52dbb0b2aa97b53df8d8eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart:329-341 | lib/themes/nipaplay/widgets/video_player_ui.dart:226-238 \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/themes/nipaplay/widgets/large_screen_scaffold_layout.dart:329\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb8036ab147a8b83c88c76fadbaa4070528901f9ac0a039c3701f02eeb5e65b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/widgets/danmaku_container.dart:584-596 | lib/widgets/danmaku_container.dart:699-711 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/danmaku_container.dart:584\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"697b1fc4739a06b96d64f88cd2c41235fa10a92a348972a1725464f26d162483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 6): lib/services/dandanplay_service_io.dart:1250-1259 | lib/services/dandanplay_service_io.dart:1280-1289 | lib/services/dandanplay_service_io.dart:1316-1327 | lib/services/dandanplay_service_stub.dart:2149-2158 | lib/services/dandanplay_service_stub.dart:2182-2191 | lib/services/dandanplay_service_stub.dart:2221-2232 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1250\u0060 it begins part-way through the construct above it, so those exact 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/services/dandanplay_service_io.dart:1261\u0060 calls \u0060_ensureVideoInfoTitles\u0060 and \u0060lib/services/dandanplay_service_io.dart:1329\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"476a109cd01ab798dfbdd183c6a0dbc2adf37332c1fc171721b9bf8b71a427f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): lib/providers/shared_remote_library_provider.dart:1063-1074 | lib/providers/shared_remote_library_provider.dart:1382-1393 | lib/providers/shared_remote_library_provider.dart:1575-1586 | lib/providers/shared_remote_library_provider.dart:1635-1645 \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/providers/shared_remote_library_provider.dart:1063\u0060 it does not close everything it opens, so those exact 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc88b74a4abf1f8badf0dd0249efb00a1f4c2da6f333ed54d6f4216d4fb2795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): lib/services/dandanplay_service_io.dart:1916-1927 | lib/services/dandanplay_service_io.dart:2397-2407 | lib/services/dandanplay_service_stub.dart:1390-1400 | lib/services/dandanplay_service_stub.dart:1774-1784 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1916\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/dandanplay_service_io.dart:2394\u0060 calls \u0060getUserFavorites\u0060 and \u0060lib/services/dandanplay_service_stub.dart:1388\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"7863dfd908cbfb4d08c7840313887faeccb986b8d0877618e6e20025fa4929f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): lib/services/dandanplay_service_stub.dart:1474-1485 | lib/services/dandanplay_service_stub.dart:1857-1868 | lib/services/dandanplay_service_stub.dart:1934-1945 | lib/services/dandanplay_service_stub.dart:2064-2075 \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/services/dandanplay_service_stub.dart:1474\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb7066a5e67cf392213c3e4fe069cf04e7671ffd3dc652cdb1b315bfd00fef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): lib/settings/pages/developer_options_settings_content.dart:604-615 | lib/settings/pages/developer_options_settings_content.dart:674-685 | lib/settings/pages/developer_options_settings_content.dart:752-763 | lib/settings/pages/developer_options_settings_content.dart:833-844 \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/settings/pages/developer_options_settings_content.dart:604\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5da8d1fdbc327924372be70aff74cfc9653a85015db07087a6afcaa308026c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/media_library/adaptive_media_library_primitives.dart:767-778 | lib/media_library/adaptive_media_library_primitives.dart:837-848 | lib/media_library/adaptive_media_library_primitives.dart:898-909 \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/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"462039d775f23fb9cbaa126b3d8636bf65417e6db8171d6c286c264eec422d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/services/dandanplay_service_stub.dart:1040-1051 | lib/services/dandanplay_service_stub.dart:1836-1847 | lib/services/dandanplay_service_stub.dart:2046-2057 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1040\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5e43e11e00fc4371586bf0d7442e6ac1d788694dff30d011a298734ed8ebd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/services/emby_dandanplay_matcher.dart:1753-1764 | lib/services/jellyfin_dandanplay_matcher.dart:1801-1812 | lib/themes/nipaplay/widgets/translation_button.dart:114-124 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:1753\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c70c3fdc8145bb071563514491595f6c3bc171d7b1bbba013a886dc076377f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/services/remote_subtitle_service.dart:1529-1540 | lib/services/remote_subtitle_service.dart:1576-1587 | lib/services/remote_subtitle_service.dart:1803-1814 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/remote_subtitle_service.dart:1529\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"020d0d2777dbd457ae350b7e857e431307067f9dd1f4666d25ccc5b593f2f588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/danmaku_next/next2_emoji_pipeline.dart:130-141 | lib/danmaku_next/next2_texture_bridge.dart:264-275 \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/danmaku_next/next2_emoji_pipeline.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74bf2485801fd950846f6f001e10415556b70238aedd0a8bb15af363428bbbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/models/emby_model.dart:101-112 | lib/models/jellyfin_model.dart:124-135 \u2014 before extracting anything, compare \u0060lib/models/emby_model.dart\u0060 and \u0060lib/models/jellyfin_model.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"27030ecdd41095787f7d62896215d9fb22ad6a4d158f524128dabd8a7329367c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/models/watch_history_model.dart:392-403 | lib/models/watch_history_model.dart:434-445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/models/watch_history_model.dart:392\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bbb67be3faf1dbcd41113f3a4dc3f13a9ed2a9efff94e426e2bae518872ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/player_abstraction/media_kit_player_adapter.dart:3546-3557 | lib/player_abstraction/media_kit_player_adapter.dart:3692-3703 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/media_kit_player_adapter.dart:3546\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf4971d7aaef10a67f82e69e7ea9a7a0213803c2fda7a4f4731ca314f21a951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/concurrent_video_processor.dart:178-189 | lib/services/concurrent_video_processor.dart:193-204 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/concurrent_video_processor.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64d0581d7422e84f5679b5f610ea75f91f9aefcd13eeb4aa2d068065fe0e41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:852-862 | lib/services/dandanplay_service_stub.dart:947-958 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:852\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef119131239e47c4c792bd20876d341c666b1abbbb215c57571cd960fa1000c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:1208-1219 | lib/services/dandanplay_service_stub.dart:2060-2071 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1208\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"228ce8c2af85292d21d86b27fa61144e7de700f60cfd2e60ddf245a08859fe5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 2): lib/services/episode_navigation_service.dart:1072-1079 | lib/services/remote_subtitle_service.dart:1983-1994 \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/services/episode_navigation_service.dart"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"8899552171ff4de8568473d4e30c26caead77fbd8932eaa992926797d4724a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/local_media_management_api.dart:1181-1192 | lib/services/local_media_share_service.dart:1100-1111 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/services/local_media_share_service.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:1181\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"365491251dd5532fdf95217ffff66fbdea83af9418ab9d3314f9f787abbabe2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): lib/services/local_media_share_api.dart:88-97 | lib/services/local_media_share_api.dart:106-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/services/local_media_share_api.dart:88\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_api.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb7dfd484bb9189c8a20ddfc73f69bd3ade4006d90b3ec62afef1f4be537eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/player_remote_control_bridge.dart:488-499 | lib/services/player_remote_control_bridge.dart:548-559 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/player_remote_control_bridge.dart:488\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b81bc392c7a6de1687399e2f21ab166dec78d78dfa8ac2cfcf6005e0b1b5cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/remote_subtitle_service.dart:1256-1267 | lib/services/remote_subtitle_service.dart:1374-1385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/remote_subtitle_service.dart:1256\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/services/remote_subtitle_service.dart:1387\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/remote_subtitle_service.dart:1268\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e1c415155aca4a1f2ef7d57103fbbf55a435c623684decf4fe697e13592e35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/settings/adaptive_settings_widgets.dart:116-127 | lib/settings/adaptive_settings_widgets.dart:145-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/settings/adaptive_settings_widgets.dart:116\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/settings/adaptive_settings_widgets.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daee0107920fbb0cc38f4e703af77db8f4fe46732b1d0c9200fa2430a595db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/settings/adaptive_settings_widgets.dart:391-402 | lib/settings/adaptive_settings_widgets.dart:649-660 \u2014 both copies are in the same file, so extract the block 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/settings/adaptive_settings_widgets.dart"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aabf9e64f367eb06d797a8caaca915c2b3aabff631726e6d1be5543dcbca1a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/settings/pages/about_settings_content.dart:564-575 | lib/themes/nipaplay/widgets/startup_notification_controller.dart:106-117 \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/settings/pages/about_settings_content.dart:564\u0060 it does not close everything it opens, so those exact 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/settings/pages/about_settings_content.dart"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"5827d61713902f8741bf3a70ccd1097ee0d0c7737fd76ff417532124af1f1ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/settings/pages/developer_options_settings_content.dart:634-645 | lib/settings/pages/developer_options_settings_content.dart:791-802 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/settings/pages/developer_options_settings_content.dart:634\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"936f41386ecbcb58ea81379fb3c6c80307e79135e36c1635c9475347c2d8ec9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:183-194 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:262-273 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d34aff38dc22911d7f998be947d1acc8ef1313f0286b81294a618615f4fc142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:286-297 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:429-440 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c541fdbe2f07c0db00e080491e90cb726b3321d9fe1414502e09a05e35fc1e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:89-98 | lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:104-115 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"135441e33adb7baa902401a2858d1e63a3c4bf90bb5a5fa14ecbd09be1f8c2c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:129-140 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:169-180 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"30917f01088b7b91306104aa1c1b9df96e0729204834584caf937b4465d1c5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:488-499 | lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:573-584 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:488\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7a2b5f2142de70172ae5c7f1414353e48b9d2ee0cf8227c21bbc23c6591048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/themes/nipaplay/widgets/danmaku_offset_menu.dart:128-139 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:1121-1132 \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/themes/nipaplay/widgets/danmaku_offset_menu.dart:128\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/danmaku_offset_menu.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"472c963d2860ec1ce0a46594a896aa278ecbfae885e7c934a59351e04919032f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:3195-3206 | lib/themes/nipaplay/widgets/library_management_tab.dart:3254-3265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:3195\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a80bf56e2f16172e48be313f007b4dc66dd2cf5c08d30d98a37c9f86c937c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/themes/nipaplay/widgets/nipaplay_window.dart:189-200 | lib/themes/nipaplay/widgets/nipaplay_window.dart:225-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/nipaplay_window.dart:189\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a 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/themes/nipaplay/widgets/nipaplay_window.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2709b3a1035746f3c7fe7531b5a1fe070c8d91177f30bd73865c25ff612478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/themes/nipaplay/widgets/playlist_menu.dart:725-736 | lib/themes/nipaplay/widgets/playlist_menu.dart:827-838 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playlist_menu.dart:725\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"955cde11058a39b985444537703837936d6bac02b6d357be8b1d299c6d35f518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:385-395 | lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:454-465 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:454\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"a492d43f1a1eee37f0715723975623afe8b1b6853cf246efbba29bd71833f448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 6): lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:60-69 | lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:97-105 | lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_offset_pane.dart:66-76 | lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:318-326 | lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_tracks_pane.dart:75-83 | lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:265-273 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_tracks_pane.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:60\u0060 it does not close everything it opens, so those exact 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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b3d33dfc568ebdc432b9b5fc84bd318f14bbdfff047f5e9785e4717272833c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): lib/providers/shared_remote_library_provider.dart:916-926 | lib/providers/shared_remote_library_provider.dart:1019-1029 | lib/providers/shared_remote_library_provider.dart:1768-1778 | lib/providers/shared_remote_library_provider.dart:1844-1854 | lib/providers/shared_remote_library_provider.dart:1917-1927 \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/providers/shared_remote_library_provider.dart:916\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdf4bd659a9bf56fb9331c2dfbdd2dca4dde3038797e0196ea32083ae4a91c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): lib/services/local_media_share_api.dart:87-97 | lib/services/local_media_share_api.dart:105-115 | lib/services/local_media_share_api.dart:127-137 | lib/services/local_media_share_api.dart:193-203 | lib/services/local_media_share_api.dart:258-268 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_share_api.dart:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_api.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"939e51da0e2c4efc80aa4f06c78be0913efebe078fa1111d05161926b04a5a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): lib/services/dandanplay_service_stub.dart:1040-1050 | lib/services/dandanplay_service_stub.dart:1454-1464 | lib/services/dandanplay_service_stub.dart:1836-1846 | lib/services/dandanplay_service_stub.dart:2046-2056 \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/services/dandanplay_service_stub.dart:1040\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab0edf35d365142eb25602f5cd6f863ea94381d140f0519cf9bfeda12aee432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): lib/services/emby_dandanplay_matcher.dart:1367-1377 | lib/services/jellyfin_dandanplay_matcher.dart:1415-1425 | lib/themes/nipaplay/widgets/custom_slider.dart:85-95 | lib/themes/nipaplay/widgets/translation_button.dart:118-128 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_dandanplay_matcher.dart:1367\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdf3a08f4c6cbba0ca8ba99934ef57ffbbb72b51295cdb456f2424560268164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:544-553 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1334-1344 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:351-360 | lib/themes/nipaplay/widgets/smb_connection_dialog.dart:349-358 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:544\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f432a40125005991a3f129ef4de65854b198c08ab34facf175e38810bf1e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/models/watch_history_database.dart:235-245 | lib/models/watch_history_database.dart:446-456 | lib/models/watch_history_database.dart:752-762 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f894aa2a4039c77787acddfe819679c9c14613c8a5d0b3e4f2ce181b5f1615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/pages/anime_detail_page.dart:1694-1704 | lib/pages/anime_detail_page.dart:2117-2127 | lib/pages/anime_detail_page.dart:2155-2165 \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/pages/anime_detail_page.dart:1694\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"4923c03d54ad473cefdd36e4f98efe7e7dd3980c8d17d70bf83a4647f706117f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/providers/dandanplay_remote_provider.dart:94-104 | lib/providers/emby_provider.dart:275-285 | lib/providers/jellyfin_provider.dart:308-318 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/dandanplay_remote_provider.dart:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/dandanplay_remote_provider.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a189a139dbfc118c333c599c1f16c2c9f99598f99fce9cee78dcd54535dffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/providers/shared_remote_library_provider.dart:1805-1815 | lib/providers/shared_remote_library_provider.dart:1879-1889 | lib/providers/shared_remote_library_provider.dart:1934-1944 \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/providers/shared_remote_library_provider.dart:1805\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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"2007bb3f3e324a1533ea4821ca3fdc233340a02d7b8e85ec3f4743c89ffdda80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/settings/pages/remote_access_receiver_settings_section.dart:490-501 | lib/settings/pages/remote_access_receiver_settings_section.dart:965-975 | lib/themes/nipaplay/pages/settings/debug_log_viewer_page.dart:658-669 \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/settings/pages/remote_access_receiver_settings_section.dart:490\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/remote_access_receiver_settings_section.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4184a735c5655975b296a284f79ccbcd6af403ceae3a96904473961cf697068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:145-155 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:110-120 | lib/themes/nipaplay/widgets/smb_connection_dialog.dart:73-83 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:145\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a 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/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"441aea52365691d7e498c79e503f7160fb1b42db8070d653d0ef1ac7e7339b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/danmaku_dfm/dfm_plus_layout_bridge.dart:120-130 | lib/danmaku_next/next2_layout_bridge.dart:52-62 \u2014 before extracting anything, compare \u0060lib/danmaku_dfm/dfm_plus_layout_bridge.dart\u0060 and \u0060lib/danmaku_next/next2_layout_bridge.dart\u0060 as WHOLE FILES: this scan already matched 5 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/danmaku_dfm/dfm_plus_layout_bridge.dart:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d89e2be7c6b5edc52a3ebbd52a9193efd82461d9f9a5227a90bd1387d80912c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/models/emby_model.dart:186-196 | lib/models/jellyfin_model.dart:212-222 \u2014 before extracting anything, compare \u0060lib/models/emby_model.dart\u0060 and \u0060lib/models/jellyfin_model.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/models/emby_model.dart:186\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b624cf6fc45bd0fd91826d7e3a4177764a5ee551e06790b7a0243fcc0b17cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/models/emby_model.dart:267-277 | lib/models/jellyfin_model.dart:293-303 \u2014 before extracting anything, compare \u0060lib/models/emby_model.dart\u0060 and \u0060lib/models/jellyfin_model.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad20c69e49e80fe61930d73a70eaff9f1f53628da5ffda7478d6cf5632cf104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/pages/webdav_browser_page.dart:280-290 | lib/pages/webdav_browser_page.dart:354-364 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/webdav_browser_page.dart:280\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f382b56107772bfbb467e465fee7f575ea828958869293c4f5fa9aeb113acd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/providers/emby_provider.dart:324-334 | lib/providers/jellyfin_provider.dart:357-367 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/emby_provider.dart:324\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fc8ea0b142310e60d78e9dee024dd36e2ac6a51f88c419cc9eb460bcaa0893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/providers/emby_provider.dart:396-406 | lib/providers/jellyfin_provider.dart:424-434 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d9404aa66f605027c5f90e582011aa877d33a5bc9fc0c93c84e6f54402d2d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): lib/services/dandanplay_service_io.dart:485-495 | lib/services/dandanplay_service_stub.dart:379-386 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/services/dandanplay_service_stub.dart:386\u0060 calls \u0060setString\u0060, \u0060encode\u0060 and \u0060lib/services/dandanplay_service_io.dart:495\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/services/dandanplay_service_io.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9808d0c0400838b3df1bed5650b58e035603ab854a3302bc55aceea4bb88707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1128-1138 | lib/services/dandanplay_service_stub.dart:1151-1161 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7d0b1c109c077689e4cb6a1705663409fed4a67da5afc4c351ad637265c2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/services/danmaku_spoiler_filter_service.dart:250-260 | lib/services/danmaku_spoiler_filter_service.dart:269-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/danmaku_spoiler_filter_service.dart:250\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fe82017886c19101d1a340349f81e37d19b679f066dd7c50b2b1eae89dbd4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/services/emby_service.dart:1033-1043 | lib/services/jellyfin_service.dart:825-835 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:1033\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b7149e17976b3621d652f1b63332fee529ee4c44653b4aa71f8004a21e831b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/services/episode_navigation_service.dart:1162-1172 | lib/services/episode_navigation_service.dart:1219-1229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/episode_navigation_service.dart:1162\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/services/episode_navigation_service.dart"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e3f82ea93f8973594b5cb9e3792577974f51ff11d76c2660ccc40e72408f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/services/remote_control_client_service.dart:30-40 | lib/services/web_remote_access_service.dart:95-105 \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/services/remote_control_client_service.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb9e1a581be7b9eac8f0a222272027b904d346254689fc44b2b4ce10a5f2e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/services/shared_remote_playback_sync_service.dart:75-85 | lib/services/shared_remote_playback_sync_service.dart:155-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/shared_remote_playback_sync_service.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/shared_remote_playback_sync_service.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8225f3d32158df319a1302eed19cdd1f4cc114c6edfa7a92d95450b57d6c4e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/services/web_api_service.dart:638-648 | lib/services/web_api_service.dart:707-716 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/web_api_service.dart:638\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe896e15d063edb38be5aa1f4fefb63f233950af80a362d1db109d4159e6d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/services/web_api_service.dart:920-930 | lib/services/web_api_service.dart:934-944 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc04b16df4d6a135a83291b3cb766b613dfa38ba7785f4cad43af81cfff2b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/settings/pages/remote_access_receiver_settings_section.dart:765-775 | lib/settings/pages/remote_media_library_settings_content.dart:454-464 \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/settings/pages/remote_access_receiver_settings_section.dart:765\u0060 it does not close everything it opens, so those exact 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/settings/pages/remote_access_receiver_settings_section.dart"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb4cc9ab0fd8bb5ffd9b85b5529a44fdd8695a4264c78e62a8798f82e7c036c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:224-234 | lib/themes/cupertino/widgets/cupertino_rating_sheet.dart:135-145 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart\u0060 and \u0060lib/themes/cupertino/widgets/cupertino_rating_sheet.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart:224\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_bangumi_collection_sheet.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6249f398c141186b4f108bc43f3ba2ff3c25449dd7b509ebd546a37f629518b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:252-262 | lib/themes/nipaplay/widgets/audio_tracks_menu.dart:118-127 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:252\u0060 it begins part-way through the construct above it, so those exact 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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de9d11a5c3c858954089fd14c9d4b070616cb0670d7bede8ed032b8c44f36f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart:139-149 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:294-305 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"504d81ad86c150e71739bae4b653510e3b03a13e67c06e1a304efc630ed00fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart:272-282 | lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:523-534 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart:272\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6126b264224a71095077258dabdabaa2da5f7a26fbe832b9aa483be32c6845f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/themes/nipaplay/widgets/blur_dialog.dart:118-128 | lib/themes/nipaplay/widgets/blur_dialog.dart:144-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/themes/nipaplay/widgets/blur_dialog.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/themes/nipaplay/widgets/blur_dialog.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeb30e380130a2d8d5f07c865a2c0e7237dcef52fa4de0bf3cc2c27739dd397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/themes/nipaplay/widgets/blur_login_dialog.dart:172-182 | lib/themes/nipaplay/widgets/web_remote_access_gate.dart:175-185 \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/themes/nipaplay/widgets/blur_login_dialog.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"877db777419ddfa4f21bb97fd2d291db2702ce869c62f688c8cc4d98cb663fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:687-697 | lib/themes/nipaplay/widgets/library_management_tab.dart:1709-1719 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:687\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61e9f1fa88d9b50f9f168f806a8fa8660cff773317666af0ffcebb1ed2f73fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:933-943 | lib/themes/nipaplay/widgets/library_management_tab.dart:946-956 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:933\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"6639b79809bee2b8d891547dada764a310300766eb004a0d1b7c54c0a34e352e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): lib/themes/nipaplay/widgets/library_management_tab.dart:951-961 | lib/themes/nipaplay/widgets/library_management_tab.dart:964-974 | lib/themes/nipaplay/widgets/library_management_tab.dart:976-985 \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/themes/nipaplay/widgets/library_management_tab.dart:951\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:964\u0060 calls \u0060compareTo\u0060 and \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:976\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"2314a1cab7b163c1e26607e081d28dcfb349cf47487e91e2d925206bbf62cd2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:4372-4382 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:1133-1143 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/library_management_tab.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":4372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa487e3a22959240c7c4249a6f0612a43fdfb5618119a801729b53782a08831b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/themes/nipaplay/widgets/playlist_menu.dart:1041-1051 | lib/themes/nipaplay/widgets/playlist_menu.dart:1059-1069 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/playlist_menu.dart:1041\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/themes/nipaplay/widgets/playlist_menu.dart:1056\u0060 calls \u0060split\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart:1039\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/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"c464ca812f0ed6b102499a185217f398188f022723f962bebbb424faeca9c9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/themes/nipaplay/widgets/rating_dialog.dart:212-222 | lib/themes/nipaplay/widgets/rating_dialog.dart:259-269 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/rating_dialog.dart:212\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/rating_dialog.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"94098d9e013bd9b9b55c2702146d468818216156eb6871759372559a54e86bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): lib/utils/chinese_converter.dart:50-58 | lib/utils/chinese_converter.dart:173-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/chinese_converter.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f47b429dc34d046a7b1fcb3e0939d59149bc3f0ae66794ee1cbb07b6444aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/danmaku_overlay.dart:90-100 | lib/widgets/danmaku_overlay.dart:258-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_overlay.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e130e2c0a853df119403bdd4f9993904987856beed754f5f1d46bcf1850e2ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): lib/themes/nipaplay/widgets/library_management_tab.dart:3787-3796 | lib/themes/nipaplay/widgets/library_management_tab.dart:4198-4207 | lib/themes/nipaplay/widgets/network_media_library_view.dart:719-728 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:527-536 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:569-578 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:946-955 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/library_management_tab.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3787}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bedaca81f0de893b3899303900ee844926cdc607448a9675912b1c2b695e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): lib/models/emby_model.dart:100-109 | lib/models/emby_model.dart:414-423 | lib/models/jellyfin_model.dart:123-132 | lib/models/jellyfin_model.dart:439-448 \u2014 before extracting anything, compare \u0060lib/models/emby_model.dart\u0060 and \u0060lib/models/jellyfin_model.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/models/emby_model.dart:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3307550e4023be48407e3b9d9aca4b01537b7a9b3c06dd30d59c881c9ca69f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/models/external_player_session/mpv_session.dart:443-452 | lib/models/external_player_session/mpv_session.dart:491-500 | lib/models/external_player_session/mpv_session.dart:640-649 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/models/external_player_session/mpv_session.dart:443\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/models/external_player_session/mpv_session.dart:439\u0060 calls \u0060_connectToIpc\u0060 and \u0060lib/models/external_player_session/mpv_session.dart:487\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3f7ad1b2af8fde9a8166b30416205dedfcb153170f532b961fa7fd3bdc2c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): lib/player_abstraction/media_kit_player_adapter.dart:3730-3738 | lib/player_abstraction/media_kit_player_adapter.dart:3745-3754 | lib/player_abstraction/media_kit_player_adapter.dart:3762-3771 \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/player_abstraction/media_kit_player_adapter.dart:3745\u0060 it does not close everything it opens, so those exact 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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3730}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f8f3c1999d7eda157bb45789a114dda8b6d0b07d957f4c5dc25fe090930138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/services/dandanplay_service_io.dart:1915-1924 | lib/services/dandanplay_service_io.dart:2396-2405 | lib/services/dandanplay_service_io.dart:2464-2473 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:1915\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"434227d27719f41d24a2533d87023b78870a9d31db5232c5d2cd504cb806cc3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/services/local_media_management_api.dart:239-248 | lib/services/local_media_management_api.dart:406-415 | lib/services/local_media_management_api.dart:607-616 \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/services/local_media_management_api.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf0b6ce894389f1fa51e011057f7d5efcc910288bb28fac4a2c7b300f5cd395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/services/local_media_management_api.dart:684-693 | lib/services/local_media_management_api.dart:833-842 | lib/services/local_media_management_api.dart:953-962 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/local_media_management_api.dart:684\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f4195a3e4671a478f7b48b10bdc19676e6353b91d683e0cef79ec001db87cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): lib/themes/nipaplay/widgets/playlist_menu.dart:693-701 | lib/themes/nipaplay/widgets/playlist_menu.dart:754-763 | lib/themes/nipaplay/widgets/playlist_menu.dart:856-865 \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/themes/nipaplay/widgets/playlist_menu.dart:693\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc1d2cd122bec78be6341c1b10149346ec7584706ff1ed0080b3a652975e9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart:21-30 | lib/danmaku_gpu/lib/gpu_top_danmaku_renderer.dart:20-29 \u2014 before extracting anything, compare \u0060lib/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart\u0060 and \u0060lib/danmaku_gpu/lib/gpu_top_danmaku_renderer.dart\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart:21\u0060 it does not close everything it opens, so those exact 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/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ce895c1a1b5fd60490a31f31885b0aa28b0791f15aeed8ce2cb07ecf1f8d81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:290-298 | lib/danmaku_next/nipaplay_next_engine.dart:309-318 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_next/nipaplay_next_engine.dart:309\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. 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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edea524b365318c4199d8e1d0764fe21943b1fb1e97ea102b606d03def187ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/models/emby_model.dart:402-411 | lib/models/jellyfin_model.dart:427-436 \u2014 before extracting anything, compare \u0060lib/models/emby_model.dart\u0060 and \u0060lib/models/jellyfin_model.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/models/emby_model.dart:402\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"d454051553f694e388e35feaf82d368584e49fc655ad050a61b647bd4f33212e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/pages/anime_detail_page.dart:1971-1980 | lib/pages/anime_detail_page.dart:2009-2018 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/anime_detail_page.dart:1971\u0060 it does not close everything it opens, so those exact 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/pages/anime_detail_page.dart"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e893cf004ab061dc4e7badf808ead8425efe3c466bba5f89d42b959b497938f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/pages/torrent_download_page.dart:892-901 | lib/pages/torrent_download_page.dart:920-929 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/torrent_download_page.dart:892\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/pages/torrent_download_page.dart"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d9566ac6519be2ffc172fff22a9a9bb9aab84601823c713229801c943bcfa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/player_abstraction/video_player_adapter.dart:561-570 | lib/player_abstraction/video_player_adapter.dart:574-582 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/video_player_adapter.dart:561\u0060 it begins part-way through the construct above it, so those exact 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/player_abstraction/video_player_adapter.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"91210ba9601f660bacef2c5b73dcd9f03c8c03c5133db20566d503e74db1af9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/player_abstraction/video_player_adapter.dart:669-677 | lib/player_abstraction/video_player_adapter.dart:770-779 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/video_player_adapter.dart:669\u0060 it begins part-way through the construct above it, so those exact 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/player_abstraction/video_player_adapter.dart"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae8a964b39742a5983ec30eb7e15f5d6bd8266bf7ecaa66a2b0301e68f18747"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/providers/emby_provider.dart:505-514 | lib/providers/jellyfin_provider.dart:81-90 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"9059374ab6e05b9193665ffce5fd49327e43cda1771f3fa6914aa35d911d9ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/providers/watch_history_provider.dart:414-423 | lib/providers/watch_history_provider.dart:446-455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/watch_history_provider.dart:414\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/watch_history_provider.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff26beff41953bdaec4febec749ff314b75520d1b158c6bb096b8c67e365b6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/anime_info/anime_info_service_impl.dart:334-343 | lib/services/anime_info/anime_info_service_impl.dart:357-366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/anime_info/anime_info_service_impl.dart:334\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/anime_info/anime_info_service_impl.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf95ce207ca5757ac7dbfc79d3aac9909fd10d596498286c5da5e7cb696dd2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:1364-1373 | lib/services/dandanplay_service_stub.dart:1750-1758 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1364\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9606505c9d9c7587925f00d37805124956a2a2328b9fef2a42823953e0ca9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/danmaku_cache_manager.dart:184-193 | lib/services/danmaku_cache_manager.dart:206-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7656014e731e0afe8d6885f0dd4af89c17a555972e3696d0b298abc8cf25363c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:989-998 | lib/services/jellyfin_dandanplay_matcher.dart:1075-1084 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc6ce2064d182268f5f5a81ed62bfb99f4319c13bfbe4d1b61634711d22bf31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/emby_service.dart:913-922 | lib/services/jellyfin_service.dart:765-774 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:913\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb061e0020a65e3dee533a929e8aa5a4e147c2a2cdafdd11e657bb203986766c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/emby_service.dart:935-944 | lib/services/emby_service.dart:1004-1013 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:935\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"965337ef6e0bb1b78a3ece9fd3a8aa09ba6d617e25c143557cfd09f600b16771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/smb_proxy_service.dart:370-379 | lib/services/smb_service.dart:697-707 \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/services/smb_proxy_service.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b987323b5a3228dcc655c931a62017bdb9fac5eff5dfd3905d25981b2df4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/webdav_service.dart:1324-1333 | lib/services/webdav_service.dart:1388-1397 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/webdav_service.dart:1324\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45f32368a4966f5124935023d44bf439c5843b050f82d76825fbd95f14f8e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/settings/pages/network_settings_content.dart:611-620 | lib/settings/widgets/media_server_connection_user_agent_setting.dart:161-170 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/settings/pages/network_settings_content.dart:611\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/network_settings_content.dart"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f57464976c72dc30fb73f251da1f8676776141751e0915dd2783398e9dbc317"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:797-806 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:719-728 \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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:797\u0060 it does not close everything it opens, so those exact 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"062f7c0f86ad60908500e65123f1ca70fdc99586d1ab50acf0b6e877466e1f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:143-152 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:183-192 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e631be9c49d10a7d5485817410bba26a1612578a1475f0ac050953d9ac14ec0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1455-1464 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1494-1503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1455\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2fb3dd6da05c2ce4803c7684b9cfa9ce5d57c62dea0c3a87b5093b5eb35a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:1101-1110 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:1429-1437 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/library_management_tab.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:1101\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8813a0cbb98add094e5d006df999e9a884a705890f9489b7a4c8bfeb68d700db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:3307-3316 | lib/themes/nipaplay/widgets/library_management_tab.dart:3332-3341 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:3307\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":3307}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc56a4ac5ae57270c8f3f229ab963e5342e27ca0a81cc2dfc1025460b4ff33ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:5263-5272 | lib/themes/nipaplay/widgets/library_management_tab.dart:5357-5367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:5263\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":5263}}}],"partialFingerprints":{"codehealthFindingId/v1":"858c7ae0c0a09b2532bdeb750bf03f3bda3e2b4ab2f58b5fadddc0ea96fc5f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/nipaplay/widgets/local_library_control_bar.dart:298-307 | lib/themes/nipaplay/widgets/network_media_library_view.dart:2283-2292 \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/themes/nipaplay/widgets/local_library_control_bar.dart:298\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/local_library_control_bar.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"29672cfda213150b57958f45cc99d1e5cb28afe1128b64a6b83ecdb0245276de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/themes/nipaplay/widgets/smb_connection_dialog.dart:84-92 | lib/themes/nipaplay/widgets/smb_connection_dialog.dart:264-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/smb_connection_dialog.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc08a3b7e6b444c9861ea34abdb7f6f337b0e87a0ee49d7ba0e850a69914ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:108-116 | lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:310-319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9813eb6071fea4677fa6d5d6e6a66b080e048852c588b244f3b979ec0bbf19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): lib/services/emby_service.dart:1049-1057 | lib/services/jellyfin_service.dart:841-849 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:432-440 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:467-475 | lib/themes/nipaplay/widgets/playlist_menu.dart:643-651 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06cbbc229db78bb1fbbb5068caaa818ae7a9d0e58f69fcd794ee3632a6bdee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): lib/services/episode_navigation_service.dart:1086-1094 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:146-154 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:177-185 | lib/themes/nipaplay/widgets/playlist_menu.dart:225-233 | lib/themes/nipaplay/widgets/playlist_menu.dart:266-274 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 124 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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/themes/nipaplay/widgets/playlist_menu.dart:265\u0060 calls \u0060replaceAll\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart:224\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/services/episode_navigation_service.dart"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef2e61e50c14587c1b9e23273016b9a5bc828fe53adecf9e75063e64cc9b24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): lib/themes/nipaplay/widgets/floating_action_glass_button.dart:59-67 | lib/themes/nipaplay/widgets/hover_scale_text_button.dart:78-86 | lib/themes/nipaplay/widgets/search_bar_action_button.dart:58-66 | lib/themes/nipaplay/widgets/shadow_action_button.dart:64-72 | lib/themes/nipaplay/widgets/tvos_remote_text_input_scope.dart:143-151 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/hover_scale_text_button.dart\u0060 and \u0060lib/themes/nipaplay/widgets/search_bar_action_button.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/floating_action_glass_button.dart:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/floating_action_glass_button.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa815d75205c33df5513fccbfa0c557297f2bf9eed688e1ae49863153ff899e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/danmaku_dfm/dfm_plus_layout_bridge.dart:491-499 | lib/danmaku_next/next2_layout_bridge.dart:167-175 | lib/danmaku_next/nipaplay_next_engine.dart:1035-1043 | lib/danmaku_next/nipaplay_next_old_engine.dart:878-886 \u2014 before extracting anything, compare \u0060lib/danmaku_dfm/dfm_plus_layout_bridge.dart\u0060 and \u0060lib/danmaku_next/next2_layout_bridge.dart\u0060 as WHOLE FILES: this scan already matched 5 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/danmaku_dfm/dfm_plus_layout_bridge.dart:491\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec57497c9cc6121e2b6286186823ae6f80de1a5b8ca52efc4187d31d3d8b30a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/models/emby_model.dart:184-192 | lib/models/emby_model.dart:400-408 | lib/models/jellyfin_model.dart:210-218 | lib/models/jellyfin_model.dart:425-433 \u2014 before extracting anything, compare \u0060lib/models/emby_model.dart\u0060 and \u0060lib/models/jellyfin_model.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33e88ffdaa096d2e4a17734a7fa1b417d6c1e90b03755b4f902a076f5ad7973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/models/watch_history_database.dart:238-246 | lib/models/watch_history_database.dart:449-457 | lib/models/watch_history_database.dart:470-478 | lib/models/watch_history_database.dart:755-763 \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/models/watch_history_database.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e20b691104759044591cd437ecb0bea9fdf7635078b82200bdbdec8f26ccf7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/models/watch_history_database.dart:237-245 | lib/models/watch_history_database.dart:448-456 | lib/models/watch_history_database.dart:754-762 | lib/services/web_api_service.dart:728-736 \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/models/watch_history_database.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa49ae70e0c1e865e5e587d74de695082c5eec4cff637cb0b08131b7ca16bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/services/dandanplay_service_io.dart:1127-1136 | lib/services/dandanplay_service_io.dart:1916-1924 | lib/services/dandanplay_service_io.dart:2397-2405 | lib/services/dandanplay_service_io.dart:2465-2473 \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/services/dandanplay_service_io.dart:1127\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da25ef2006950116c36c1c4dacc1051abad333397ff76c7bb558d24265c056e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/services/local_media_management_api.dart:238-246 | lib/services/local_media_management_api.dart:405-413 | lib/services/local_media_management_api.dart:606-614 | lib/services/local_media_management_api.dart:1010-1018 \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/services/local_media_management_api.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4226926bb80ab9a2b510a4350b6fdfcc57880e80464d59d138bf5a425d54b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/services/local_media_management_api.dart:683-691 | lib/services/local_media_management_api.dart:750-758 | lib/services/local_media_management_api.dart:832-840 | lib/services/local_media_management_api.dart:952-960 \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/services/local_media_management_api.dart"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5e72740686674697832b584cca3dfdd38cdab9bcb48b93c4b94a9f6477d7a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/services/dandanplay_service_io.dart:2660-2668 | lib/services/dandanplay_service_stub.dart:1943-1951 | lib/services/dandanplay_service_stub.dart:2073-2081 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2660\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2660}}}],"partialFingerprints":{"codehealthFindingId/v1":"32311178d638fd32c130d4b660d5741575ac41419499f8b96dc5ea820f347723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/services/dandanplay_service_stub.dart:1390-1398 | lib/services/dandanplay_service_stub.dart:1774-1782 | lib/services/dandanplay_service_stub.dart:1866-1874 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1390\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce1c9a2dfc27718389010da321b721a15356b25ed69fb3a469154ec8d338c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/themes/nipaplay/widgets/blur_dropdown.dart:389-397 | lib/themes/nipaplay/widgets/blur_dropdown.dart:423-431 | lib/themes/nipaplay/widgets/large_screen_editable_slider.dart:77-85 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/themes/nipaplay/widgets/blur_dropdown.dart:422\u0060 calls \u0060_handleMenuKeyEvent\u0060 and \u0060lib/themes/nipaplay/widgets/blur_dropdown.dart:388\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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"619d5ef70e44d9ecbecccd81836cc5f2dce9d2fb275f1edfa33f250aa0126eb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/danmaku_dfm/dfm_plus_overlay.dart:264-272 | lib/danmaku_next/nipaplay_next2_overlay.dart:93-101 \u2014 before extracting anything, compare \u0060lib/danmaku_dfm/dfm_plus_overlay.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next2_overlay.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060oldWidget\u0060 to \u0060covariant DfmPlusOverlay\u0060 in one and \u0060covariant NipaPlayNext2Overlay\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/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af1ab11c45b2c7aa50c6d27bf992d878ff383edae64c6446507c45ceac8c805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:219-227 | lib/danmaku_next/nipaplay_next_old_engine.dart:210-218 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/danmaku_next/nipaplay_next_engine.dart:219\u0060 it does not close everything it opens, so those exact 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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaea6019025c7268b7071f131e9d33c7d2f4d7c75ab45969e2749c259359c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/pages/torrent_download_page.dart:2685-2693 | lib/pages/webdav_browser_page.dart:2219-2227 \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/pages/torrent_download_page.dart:2685\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/torrent_download_page.dart"},"region":{"startLine":2685}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3b316cbae19f1be2aa4e52f9db99c20a84e271ed1510fb31167e681aff40c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/player_abstraction/media_kit_player_adapter.dart:1813-1822 | lib/player_abstraction/media_kit_player_adapter.dart:2097-2105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/media_kit_player_adapter.dart:1813\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a055c8da741422a6d885aa1b926a33b2559d00522fb6ef08c1fafb3a967155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/services/auto_next_episode_service.dart:52-59 | lib/services/auto_next_episode_service.dart:247-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/auto_next_episode_service.dart:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/auto_next_episode_service.dart:50\u0060 calls \u0060debugPrint\u0060 and \u0060lib/services/auto_next_episode_service.dart:246\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/auto_next_episode_service.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"598fb8216db49ae6aa0803ccb12ccba3b23f5436f1fde1f3ad6405fd33885fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/bangumi_service.dart:618-626 | lib/services/bangumi_service.dart:722-730 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/bangumi_service.dart:618\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b071769854498e810f2815f66677de5e6877ee219e314e90271803fde09c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/dandanplay_service_io.dart:736-744 | lib/services/dandanplay_service_stub.dart:620-628 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"a871a4d7985a5f9b80a2e6c1f479c2d0c1f5d44e99b923c05f7363f123b73c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/dandanplay_service_io.dart:750-758 | lib/services/dandanplay_service_stub.dart:666-674 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:750\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6f924d1e6c77348c02eb35666111901056e369f685077ea27878e291b8b45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/dandanplay_service_io.dart:825-833 | lib/services/dandanplay_service_stub.dart:768-776 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:825\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/dandanplay_service_io.dart:822\u0060 calls \u0060getBangumiOAuthLoginUrl\u0060 and \u0060lib/services/dandanplay_service_stub.dart:766\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5ded52105fd46eaa69c951051f203a62e1ef439f605b2662f7af130d6e3cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2526-2534 | lib/services/dandanplay_service_io.dart:2660-2668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:2526\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9530405452127c68c9b9b6a7b03c5d3c066348eadea906691b8e33861931575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/dandanplay_service_stub.dart:1067-1075 | lib/services/dandanplay_service_stub.dart:1632-1640 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:1067\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/dandanplay_service_stub.dart:1630\u0060 calls \u0060Exception\u0060 and \u0060lib/services/dandanplay_service_stub.dart:1066\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2c20a171a15b36c3c5b5dbf3828f31b9ab14735747b677068714dcacd56e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/episode_navigation_service.dart:1244-1252 | lib/services/playback_source_service.dart:621-629 \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/services/episode_navigation_service.dart"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6d113449ddf603a080118a44ae3f558c3237b3bf649ab86d58bc1b15a9076e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/full_backup_service.dart:358-366 | lib/services/web_api_service.dart:727-735 \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/services/full_backup_service.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a009e00fd52096f1e147bf78235277c1b10598f15c6750275921a188749863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/services/full_backup_service.dart:1046-1054 | lib/services/full_backup_service.dart:1091-1098 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/full_backup_service.dart:1046\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fc74fd67c3e035a882ed7be0fdd50f891f3d01703d2f83af5f2a8c04500861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/playback_source_service.dart:500-508 | lib/services/playback_source_service.dart:550-558 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/playback_source_service.dart:549\u0060 calls \u0060split\u0060 and \u0060lib/services/playback_source_service.dart:499\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6a84830fd5a1e6421817a377bf1c8e1b9f8db5376b492fec7666f0a0b42160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/remote_subtitle_service.dart:1630-1638 | lib/services/remote_subtitle_service.dart:1734-1742 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fef69793f3cfab5aa45b390cf340078f0ecb2010f2f115d4576ffa472ea109d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/settings/pages/developer_options_settings_content.dart:363-371 | lib/settings/pages/remote_media_library_settings_content.dart:1473-1480 \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/settings/pages/developer_options_settings_content.dart:363\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/developer_options_settings_content.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ab9c243593845f409770434f39f8b7379aa0eba72e3fc002879416a50e26ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/settings/pages/plugin_settings_content.dart:640-648 | lib/settings/pages/plugin_settings_content.dart:759-767 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/settings/pages/plugin_settings_content.dart:640\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/plugin_settings_content.dart"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e825137858055d0225506f6e8f0c87c978618df4a966b1bfd64b5889cfb6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:196-204 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:275-283 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22a751a54a20163d8350f5a0e01ee60021eec5a47cc1d2c52b5cf55e65c7db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:55-63 | lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:56-64 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart:64\u0060 calls \u0060_loadServerSubtitles\u0060 and \u0060lib/themes/nipaplay/widgets/jellyfin_quality_menu.dart:65\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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6f850cb2310b9172ad436acc49cb1705528741468407dbcfe44cc31718bc1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/themes/nipaplay/pages/settings/backup_restore_page.dart:812-820 | lib/utils/auto_sync_settings.dart:203-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/pages/settings/backup_restore_page.dart:812\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/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"7525d7f54b108ff18878fe694c46225a0e29a2edd07816aad782126814855249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:111-118 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1110-1118 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:118\u0060 calls \u0060withOpacity\u0060 and \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1118\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/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"03236f14f417c73618409a8936d55acb24880afa42f57f9a2f622346bb20bebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:1019-1027 | lib/themes/nipaplay/widgets/library_management_tab.dart:1031-1039 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:1019\u0060 it begins part-way through the construct above it, so those exact 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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"3438b687866eb3bb2e6f58c785e83d7ea4871e053b58bd5c130101e6dc68104a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:6169-6178 | lib/themes/nipaplay/widgets/library_management_tab.dart:6394-6402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:6169\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060file\u0060 to \u0060WebDAVFile\u0060 in one and \u0060SMBFileEntry\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":6169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0409d59c83dbcb6424997adfa405cde098666beaec8bb5c468cf84729e8c6d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_tab.dart:6405-6413 | lib/themes/nipaplay/widgets/library_management_tab.dart:6553-6561 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:6405\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":6405}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cda7de699fb4dc695aded43f37252de28090a01ed421fd5e91e4bd41e6bea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/themes/nipaplay/widgets/modern_video_controls.dart:343-351 | lib/themes/nipaplay/widgets/modern_video_controls.dart:408-416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/modern_video_controls.dart:343\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a1928b305eb25b7f4f4b49980f30652d609c61b896c1293f41c80d825657f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/themes/nipaplay/widgets/plugin_market_dialog.dart:44-52 | lib/themes/nipaplay/widgets/shared_remote_host_selection_sheet.dart:30-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/plugin_market_dialog.dart:44\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/plugin_market_dialog.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"527918bac692daf7f36560bbc4fd277e5a6f14056254464f1185d86b423d551d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/pages/new_series_page.dart:614-621 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:387-394 | lib/themes/nipaplay/widgets/network_media_library_view.dart:986-993 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:1095-1102 \u2014 before extracting anything, compare \u0060lib/pages/new_series_page.dart\u0060 and \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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/pages/new_series_page.dart:614\u0060 it does not close everything it opens, so those exact 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/pages/new_series_page.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcd940cb1366324444c1ed31c9adc7d7c39c323b522d88470a7c0a342e212da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 4): lib/player_abstraction/mdk_player_adapter_io.dart:606-611 | lib/player_abstraction/video_player_adapter.dart:560-566 | lib/player_abstraction/video_player_adapter.dart:573-578 | lib/player_abstraction/video_player_adapter.dart:785-792 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/player_abstraction/mdk_player_adapter_io.dart:606\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca51ffbe542ff1ac311863e661a5870065e5de19a62af3ef85d44662497373f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/themes/nipaplay/widgets/library_management_tab.dart:2025-2034 | lib/themes/nipaplay/widgets/library_management_tab.dart:2056-2065 | lib/themes/nipaplay/widgets/library_management_tab.dart:2088-2097 | lib/themes/nipaplay/widgets/library_management_tab.dart:4371-4378 \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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"0433ec25c7e7098a15186cd568a0e062e690ad63f7b65cbd3b9d5cddb25eaba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/providers/dandanplay_remote_provider.dart:61-68 | lib/providers/emby_provider.dart:155-162 | lib/providers/jellyfin_provider.dart:188-195 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/dandanplay_remote_provider.dart:61\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/dandanplay_remote_provider.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2b891283c4ef64cfb3b892db2748b99199311f8179e9ff013bf8641119c3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/services/emby_service.dart:948-955 | lib/services/emby_service.dart:987-994 | lib/services/emby_service.dart:1023-1030 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:948\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/services/emby_service.dart"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4230694fca1a64dc6f3c0656309a8d9e9c41c63fd2a7ef9371fd0f14f594975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/services/smb_proxy_service.dart:370-377 | lib/services/smb_service.dart:697-705 | lib/themes/nipaplay/widgets/playlist_menu.dart:262-269 \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/services/smb_proxy_service.dart:370\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/themes/nipaplay/widgets/playlist_menu.dart:270\u0060 calls \u0060endsWith\u0060, \u0060substring\u0060 and \u0060lib/services/smb_proxy_service.dart:378\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"14528d42f1f01fafced3bb701f6743ff3b548e61af0f785fa083fecb1f12f063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:369-376 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1564-1570 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1679-1685 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:369\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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f138ec049a6a1fd88cfab0d90d27c40dc405aea7c6c6609908b3e34847f64d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/models/watch_history_database.dart:344-351 | lib/models/watch_history_database.dart:370-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/models/watch_history_database.dart:344\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8be0fbd7368a6e5cd5a769a8809ec08be4d63ee882dee67bbafc32327e50e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/models/watch_history_database.dart:961-968 | lib/models/watch_history_model.dart:851-858 \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/models/watch_history_database.dart:961\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ac79ab4ee5a1294d64d53e2312ad53302e05eac2438bbe03ca1c7b3da9cc74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/pages/media_server_detail_page.dart:1147-1154 | lib/pages/media_server_detail_page.dart:1547-1554 \u2014 both copies are in the same file, so extract the block 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/pages/media_server_detail_page.dart"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f46e99d746c8475f558ab04ba42c2fafbf2174d9b19c50a94c6f73177a7882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/pages/torrent_download_page.dart:1582-1589 | lib/pages/torrent_download_page.dart:1685-1692 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/torrent_download_page.dart:1582\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/torrent_download_page.dart"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2c130add6b8ac677c554da316339a5d7c58fa0f32afd80f1908111b5f1d424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/pages/webdav_browser_page.dart:270-277 | lib/pages/webdav_browser_page.dart:318-325 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/webdav_browser_page.dart:270\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e68a7a5757e4cd64e5c30d6b156fe632f56576f991f22e54cf3c7d230c58d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/dandanplay_remote_service.dart:359-366 | lib/services/media_server_service_base.dart:203-211 \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/services/media_server_service_base.dart:203\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_remote_service.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"159fd1ba926e881524c915a60040f1f7d3017851a99ad17742ea8d6b9a29a408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/dandanplay_service_io.dart:109-116 | lib/services/dandanplay_service_stub.dart:105-112 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b143cf03e207517561c1afbb1134d2359ffa7a1b8d63f753026a5d11f0158d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/dandanplay_service_io.dart:175-182 | lib/services/dandanplay_service_stub.dart:180-187 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0e3ce0459b91f5563509020cc73915cc9262ba3c37ba8e1b75d2f299b77d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/desktop_exit_handler.dart:272-279 | lib/services/desktop_exit_handler.dart:288-295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/desktop_exit_handler.dart:272\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"113d054e5102c89dead44a2655d2efa83c98aab4331110c7127cbf5b7893397b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/services/remote_subtitle_service.dart:1617-1623 | lib/services/webdav_service.dart:786-793 \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/services/remote_subtitle_service.dart"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c805ee26b7a978bdcc12f8a8f316fc0ce3a19665335fc13836cab835033bb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/settings/pages/remote_media_library_settings_content.dart:114-122 | lib/settings/pages/remote_media_library_settings_content.dart:136-143 \u2014 both copies are in the same file, so extract the block 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/settings/pages/remote_media_library_settings_content.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a7689fe475291c0feee4eb672886a0aa1b3bdfd8bc897ec25e6965961c59fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_build_info_sheet.dart:35-42 | lib/themes/cupertino/widgets/cupertino_dependency_versions_sheet.dart:89-96 \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/themes/cupertino/widgets/cupertino_build_info_sheet.dart:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_build_info_sheet.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cf63863d1a5887dd1a7c917c7da70890c3179461d478216193a45330610d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_dependency_versions_sheet.dart:141-148 | lib/themes/nipaplay/pages/settings/dependency_versions_window.dart:72-79 \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/themes/cupertino/widgets/cupertino_dependency_versions_sheet.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c746cbafa93874bd9fc5bd4c0ff526eecf5c8c189301eae39bbaf1cdf790e4a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:61-68 | lib/themes/nipaplay/widgets/smb_connection_dialog.dart:107-113 \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/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c84bfc3dc2d32ad30d8bcc0fa3368e281d90e5a2d61e8c0a5dd543cfa3bb87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/cupertino/widgets/emby_media_selection_sheet.dart:58-65 | lib/themes/nipaplay/widgets/emby_media_selection_dialog.dart:89-96 \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/themes/cupertino/widgets/emby_media_selection_sheet.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"286414dd8ec895fa33cf250b46635d4609e4af3bad594a5fdb23d94ff8155ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:48-54 | lib/themes/nipaplay/widgets/audio_tracks_menu.dart:178-185 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc176b349b47f4d2d54247a5da8c6008aa0afde5efa31ee48bd24bd5cff589a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:380-387 | lib/themes/nipaplay/widgets/audio_tracks_menu.dart:322-329 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/audio_tracks_menu.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart:380\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3252fc868387268416c8028284603cc7901ac36412de8ff6021c3d895809d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playback_info_pane.dart:19-28 | lib/themes/nipaplay/widgets/playback_info_menu.dart:803-810 \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/themes/cupertino/widgets/player_menu/cupertino_playback_info_pane.dart:19\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_playback_info_pane.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cba62aa7b17a73762e818e9294a37f52d8e0bdf72dac69f346a8e01eac7dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:486-493 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1293-1300 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:486\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:484\u0060 calls \u0060withOpacity\u0060 and \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1291\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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc76e068f79fc4af46a0af68857caa63fb371621349f23d72ca50d7564140a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:139-146 | lib/utils/subtitle_manager.dart:452-459 \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/themes/nipaplay/widgets/subtitle_tracks_menu.dart:139\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart:137\u0060 calls \u0060basename\u0060 and \u0060lib/utils/subtitle_manager.dart:451\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/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7577c3be22b0344e1b991a1abbfd2648058d98c674113c0169ddb07614091209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:401-408 | lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:467-474 \u2014 both copies are in the same file, so extract the block 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/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e21e5bbc6b9b034997834fa6f10e73aba7c7aebd1db40e75162adc73086be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): lib/models/emby_model.dart:69-78 | lib/models/emby_model.dart:178-187 | lib/models/emby_model.dart:394-403 | lib/models/jellyfin_model.dart:92-101 | lib/models/jellyfin_model.dart:204-213 | lib/models/jellyfin_model.dart:419-428 \u2014 before extracting anything, compare \u0060lib/models/emby_model.dart\u0060 and \u0060lib/models/jellyfin_model.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdab153620e1f43bbe96c6ddd05dbcc724abf8eb5fe02c31e7c7a38e83624ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): lib/services/dandanplay_service_stub.dart:633-639 | lib/services/dandanplay_service_stub.dart:1041-1048 | lib/services/dandanplay_service_stub.dart:1455-1462 | lib/services/dandanplay_service_stub.dart:1837-1844 | lib/services/dandanplay_service_stub.dart:2047-2054 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_stub.dart:633\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbff59454c271832359427d5096f51e63f0a423964cf20f82e6dba1bd6987e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/media_library/adaptive_media_collection_view.dart:123-129 | lib/media_library/adaptive_media_collection_view.dart:139-145 | lib/media_library/adaptive_media_collection_view.dart:336-342 \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/media_library/adaptive_media_collection_view.dart:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_collection_view.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81b7acd38e42f07cd743e8d2b34878ecc684a7b52a5ba542c158492b4978c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:821-827 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1410-1416 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:427-435 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:821\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"833cf0e9e0f7b5c465af3a2187ad0821eede3e041e7a103a298363207a6c59b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/danmaku_dfm/dfm_plus_layout_bridge.dart:440-446 | lib/danmaku_next/next2_layout_bridge.dart:133-139 \u2014 before extracting anything, compare \u0060lib/danmaku_dfm/dfm_plus_layout_bridge.dart\u0060 and \u0060lib/danmaku_next/next2_layout_bridge.dart\u0060 as WHOLE FILES: this scan already matched 5 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/danmaku_dfm/dfm_plus_layout_bridge.dart:440\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/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"783e5bccb8171f4aaefe7c97a994cb1ba64b0f79291593f134207801d2d9fffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/models/emby_model.dart:370-376 | lib/models/emby_model.dart:379-385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c58df26005a352c1eb0ae962f2d3473fb248f1f564432a56a381f1f3bf79a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/models/external_player_session/mpv_session.dart:575-583 | lib/models/external_player_session/other_session.dart:226-234 \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/models/external_player_session/mpv_session.dart:575\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcfef20f54621fa2819b4f65d1ee3f6082f235813d06cdfcedf8ce4c10c19c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/plugins/plugin_service.dart:1457-1463 | lib/themes/nipaplay/widgets/plugin_market_dialog.dart:225-231 \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/plugins/plugin_service.dart:1457\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/plugins/plugin_service.dart"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d87638aa6153338353376dd61e96a755fcb56a00236b96cb3d9b15e3fcc7f7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/dandanplay_remote_service.dart:343-350 | lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart:352-358 \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/services/dandanplay_remote_service.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd840e67b75a2df8fc4cab24c5a2adddc8d16cc1382abc212e8c38312130364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/danmaku_spoiler_filter_service.dart:230-236 | lib/services/danmaku_spoiler_filter_service.dart:257-263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/danmaku_spoiler_filter_service.dart:230\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fce52fa41c42868563194f003e0aea35013186c5fbaf678d3440439ae2d8ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/desktop_player_window_service.dart:393-399 | lib/services/desktop_player_window_service.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/services/desktop_player_window_service.dart"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9d79e5418f6d5a11b241835367c3bb506184a28ecfb7ae1320c548f6d9172d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/emby_service.dart:832-838 | lib/services/jellyfin_service.dart:693-699 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/emby_service.dart:832\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cc9547f546a2edfc1486ff728e64be80258c5a485e6cc8c6f7528c74375940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/remote_control_client_service.dart:29-35 | lib/utils/network_settings.dart:406-412 \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/services/remote_control_client_service.dart:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/services/remote_control_client_service.dart:36\u0060 calls \u0060endsWith\u0060, \u0060substring\u0060 and \u0060lib/utils/network_settings.dart:413\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc8d594917d8b55fda3155074cfb461af5a5c26c9c67443d210c271f39ebe49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/remote_subtitle_service.dart:277-283 | lib/services/remote_subtitle_service.dart:492-498 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2371adf41c5ed839e01013210e1251e80c515e520c0f612db04d9b39d871d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:326-332 | lib/themes/nipaplay/widgets/playlist_menu.dart:420-426 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 124 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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:326\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb01408a687158d50dfa10049c8582fb75a2d7573d3949760645f1cd3a746e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:63-69 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:70-76 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be884141cd0f95bc977f8dc5bc17f8c61944520bf58677e3c83ad00d65216a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/nipaplay/widgets/background_with_blur.dart:50-56 | lib/themes/nipaplay/widgets/background_with_blur.dart:58-64 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/background_with_blur.dart:50\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/themes/nipaplay/widgets/background_with_blur.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f198b54414d99ba06398fc45b286af05f637955cd249b24169159063ff599e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/nipaplay/widgets/large_screen_mode_actions.dart:271-277 | lib/themes/nipaplay/widgets/large_screen_mode_actions.dart:359-365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/large_screen_mode_actions.dart:271\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_mode_actions.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ae988ea8aabade02dc3d99ce758c339cd40e7d9603912c5487498ee8331370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/nipaplay/widgets/smb_connection_dialog.dart:14-20 | lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:15-21 \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/themes/nipaplay/widgets/smb_connection_dialog.dart:14\u0060 it does not close everything it opens, so those exact 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/themes/nipaplay/widgets/smb_connection_dialog.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a76a6f0a05e24aaad35c1288d470075a0d32c038414413815ba39f91ce47088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): lib/providers/shared_remote_library_provider.dart:713-718 | lib/services/certificate_trust_service.dart:145-150 | lib/services/webdav_service.dart:1813-1818 | lib/utils/remote_media_fetcher.dart:447-452 \u2014 before extracting anything, compare \u0060lib/providers/shared_remote_library_provider.dart\u0060 and \u0060lib/utils/remote_media_fetcher.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"4986360a9d4edcfda344858efca7ebb00fe8dea28ab9a9a09ecf3d4eaf5e94e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/providers/shared_remote_library_provider.dart:2131-2137 | lib/services/playback_source_service.dart:871-877 | lib/services/playback_source_service.dart:1001-1007 \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/services/playback_source_service.dart:1001\u0060 it begins part-way through the construct above it, so those exact 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afef4666a7e2c3d459e056933d96eaa98667f900321ad0bcf01a0c5e8c57468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/services/dandanplay_service_io.dart:147-152 | lib/services/dandanplay_service_stub.dart:852-857 | lib/services/dandanplay_service_stub.dart:947-952 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/dandanplay_service_io.dart:147\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f2ec0ed3abd4c90b2ac5c3ad6add5bc9d6fe6328c0d455101e891e945ab291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): lib/services/remote_subtitle_service.dart:1615-1621 | lib/services/webdav_service.dart:784-791 | lib/utils/media_source_utils.dart:120-126 \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/services/remote_subtitle_service.dart:1615\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c48367abce94f595fdc2c08264ad5a4d6eaf9253f08a81e266ddf2b2138c59d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/themes/nipaplay/widgets/blur_login_dialog.dart:173-178 | lib/themes/nipaplay/widgets/web_remote_access_gate.dart:176-181 | lib/themes/nipaplay/widgets/webdav_connection_dialog.dart:88-93 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/blur_login_dialog.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/themes/nipaplay/widgets/blur_login_dialog.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c945b7071d2d9193fa6833ce9d97992e4fc020ccb3bebbd29848a05340da9924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 5): lib/themes/nipaplay/widgets/library_management_tab.dart:1095-1098 | lib/themes/nipaplay/widgets/library_management_tab.dart:4921-4924 | lib/themes/nipaplay/widgets/library_management_tab.dart:5414-5419 | lib/themes/nipaplay/widgets/library_management_tab.dart:5619-5624 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:1400-1405 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/library_management_tab.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/themes/nipaplay/widgets/library_management_tab.dart:5414\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e464f9d5041517468ecbb37bdf93ff2cb72f0bd52204c418d319fa1dd46e2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/models/search_model.dart:60-65 | lib/models/search_model.dart:68-73 \u2014 both copies are in the same file, so extract the block 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/models/search_model.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f0b20e6e49897a9a9f7c3ce4686c7269042bd0c61a7a7219c3f17abb109c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/models/watch_history_model.dart:972-977 | lib/models/watch_history_model.dart:1096-1101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30dc0c2747b329177de92fb0ad2ae1ab88f4560f93ee43f5e944b11c3dc9245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/providers/shared_remote_library_provider.dart:1270-1275 | lib/providers/shared_remote_library_provider.dart:1541-1546 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/providers/shared_remote_library_provider.dart:1270\u0060 it does not close everything it opens, so those exact 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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adea3c92c769c1d6284dcd876784d3e4f2e679cd07e50ecf9d90a220c49cdc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/local_media_management_api.dart:158-164 | lib/services/local_media_management_api.dart:341-347 \u2014 both copies are in the same file, so extract the block 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/services/local_media_management_api.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"046b7e0836a34d6c816e4f45cc96171d91bb08e9a52033d0754b8f59e1b3213a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/utils/hotkey_service.dart:611-617 | lib/utils/hotkey_service.dart:670-676 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/utils/hotkey_service.dart:611\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde5274b91f58ddfe859afb25c8632f81c7d99f5ffccd3bca40b7cc03f4eb1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/utils/network_address_utils.dart:84-92 | lib/utils/remote_access_address_utils.dart:74-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/network_address_utils.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c7b353ad58aa454877dd68c87dcba84493e24ee571b300b2f0967950bbcdd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): lib/services/remote_subtitle_service.dart:1005-1010 | lib/services/remote_subtitle_service.dart:1120-1125 | lib/services/remote_subtitle_service.dart:1240-1245 | lib/services/remote_subtitle_service.dart:1358-1363 \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/services/remote_subtitle_service.dart:1005\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/services/remote_subtitle_service.dart:1127\u0060 calls \u0060isVobSubPairCompleteInNames\u0060 and \u0060lib/services/remote_subtitle_service.dart:1248\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/services/remote_subtitle_service.dart"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2e3caa1cb8eb72cda8ea54c177b91fb4d97432d6e668d9e6cca3f7afb65129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/pages/new_series_page.dart:356-361 | lib/pages/new_series_page.dart:677-682 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/new_series_page.dart:356\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a 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/pages/new_series_page.dart"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90a09a68deece648102bdc820423146e70259a1a6a96457db4fbc42fc49fedd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/services/dandanplay_service_io.dart:103-107 | lib/services/dandanplay_service_stub.dart:99-103 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"026a99a627c8b60b5c2f4fda5efea60fd2a7dcf5c42ca3fb410da3077f6330d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/services/episode_navigation_service.dart:1103-1108 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:194-198 \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/services/episode_navigation_service.dart:1103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"240a14dd36b12881ede076fa7293133d72b8cddbffcb829abb722b1c9216db67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/themes/nipaplay/widgets/library_management_layout.dart:33-37 | lib/themes/nipaplay/widgets/menu_button.dart:110-115 \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/themes/nipaplay/widgets/library_management_layout.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e94184f5b54b46fc16e94188b3332561d1bed9034b350b840601b9aa7315b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/cpp_native/types/native_result_io.dart:16-31 | lib/cpp_native/types/native_result_web.dart:22-37 \u2014 before extracting anything, compare \u0060lib/cpp_native/types/native_result_io.dart\u0060 and \u0060lib/cpp_native/types/native_result_web.dart\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/cpp_native/types/native_result_io.dart:16\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/cpp_native/types/native_result_io.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ce2c2d489c4d0ecc1698c44a748f562bf6dfe4efc6ff03d760f94fa642cec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): lib/danmaku_dfm/dfm_plus_layout_bridge.dart:471-475 | lib/danmaku_next/next2_layout_bridge.dart:141-145 | lib/danmaku_next/nipaplay_next_engine.dart:1075-1079 | lib/danmaku_next/nipaplay_next_old_engine.dart:909-913 \u2014 before extracting anything, compare \u0060lib/danmaku_dfm/dfm_plus_layout_bridge.dart\u0060 and \u0060lib/danmaku_next/next2_layout_bridge.dart\u0060 as WHOLE FILES: this scan already matched 5 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/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe35e5ce4cc2a4adb790df9a3fe467c09cc26fdc30bf8894b5ffd6f312c0e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/danmaku_dfm/dfm_plus_overlay.dart:485-492 | lib/danmaku_next/nipaplay_next2_overlay.dart:183-190 \u2014 before extracting anything, compare \u0060lib/danmaku_dfm/dfm_plus_overlay.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next2_overlay.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0dbac8ef1642ed1d05875f7e0d74fcbfb46ead25ed0adaa071542621b5acb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/danmaku_next/nipaplay_next_engine.dart:892-896 | lib/danmaku_next/nipaplay_next_old_engine.dart:735-739 \u2014 before extracting anything, compare \u0060lib/danmaku_next/nipaplay_next_engine.dart\u0060 and \u0060lib/danmaku_next/nipaplay_next_old_engine.dart\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 611 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"1969321810802b58878ae2fe8a5c1b5af56fbac8c7352764b165fff8deafc447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/models/emby_model.dart:85-97 | lib/models/jellyfin_model.dart:108-120 \u2014 before extracting anything, compare \u0060lib/models/emby_model.dart\u0060 and \u0060lib/models/jellyfin_model.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a678366ca4694f269899b6287f03fe32dc7dbc0203f6b0f2bd5ee3f7c95457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/models/external_player_session/mpv_session.dart:685-691 | lib/models/external_player_session/other_session.dart:243-249 | lib/models/external_player_session/vlc_session.dart:365-371 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/models/external_player_session/vlc_session.dart:361\u0060 calls \u0060_deleteRcSocket\u0060 and \u0060lib/models/external_player_session/other_session.dart:239\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1baaea492464a82559453dfca565699734b8b560a97f57017336d18b3799af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/models/external_player_session/other_session.dart:57-61 | lib/models/external_player_session/potplayer_session.dart:92-96 | lib/models/external_player_session/vlc_session.dart:56-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/models/external_player_session/vlc_session.dart:52\u0060 calls \u0060value\u0060 and \u0060lib/models/external_player_session/other_session.dart:53\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/other_session.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb5e029ab4db085c298cacb03feb12049eb2f891ca1bcbe4ce1fc6f2b3b1a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/models/external_player_session/other_session.dart:183-190 | lib/models/external_player_session/vlc_session.dart:177-184 \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/models/external_player_session/other_session.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f1069a271bbb348dc5bfdf90746a132c64fb5b3442f422e47bde7cd908a521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/pages/desktop_player_window.dart:113-117 | lib/pages/external_player_console_window.dart:99-103 \u2014 before extracting anything, compare \u0060lib/pages/desktop_player_window.dart\u0060 and \u0060lib/pages/external_player_console_window.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/desktop_player_window.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3211fa460c002c77041abc628a042b121ecadf3fdb1e898ba81ea2d7b338434b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/pages/desktop_player_window.dart:124-128 | lib/pages/external_player_console_window.dart:110-114 \u2014 before extracting anything, compare \u0060lib/pages/desktop_player_window.dart\u0060 and \u0060lib/pages/external_player_console_window.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/desktop_player_window.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a9c36313657f990d8a0f25962b6da5e9a979046f6d04aa0f0ed10835b631e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/pages/desktop_player_window.dart:130-143 | lib/pages/external_player_console_window.dart:116-129 \u2014 before extracting anything, compare \u0060lib/pages/desktop_player_window.dart\u0060 and \u0060lib/pages/external_player_console_window.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/desktop_player_window.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e724dc24f094732706af520c4596db28b60b4dbedb8468c45504815231e0fa6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/player_abstraction/erika_player_adapter.dart:345-353 | lib/widgets/macos_native_video_view.dart:332-340 \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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cff5c394d8ca8d7cc3a53589eb196154327b66a1da47bae92dec9d2f05688d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/player_abstraction/mdk_player_adapter_io.dart:579-584 | lib/player_abstraction/media_kit_player_adapter.dart:2635-2640 \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/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e5dcc1aa338efe1aec8defaaa0cb84a24766d0231c57d1d24c977c127a38ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/providers/emby_provider.dart:60-66 | lib/providers/jellyfin_provider.dart:60-66 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2d7ddf93991da0f5b59eca60f88d5f54f874305f1a4f7dc395028c94a5bb20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/providers/emby_provider.dart:79-86 | lib/providers/jellyfin_provider.dart:116-123 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4744948149b1a3822deba6af07d448fae86dc2acdef76cd6526fc3acb968c9f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/providers/emby_provider.dart:103-107 | lib/providers/jellyfin_provider.dart:140-144 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86e5a3042e69899f33b8039b4c94cf736f750f3d18138f525aa671e987d6d09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/providers/emby_provider.dart:113-120 | lib/providers/jellyfin_provider.dart:150-157 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"646f287f5017e891d6aeec97d6c33efd9976b9a8cd8d4c6fff9d38b6532e357f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/services/dandanplay_service_io.dart:70-74 | lib/services/dandanplay_service_stub.dart:60-64 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c72551b9bc5a48a98739ec0fd5349acdc7a4896068f3fad29dc56ee1bb3e62b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/services/dandanplay_service_io.dart:505-510 | lib/services/dandanplay_service_stub.dart:398-403 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42c30bbf9964ae8e7e0aa556340db6bf050d80b14138e9f16ea39cdd1ed0d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/dandanplay_service_io.dart:650-659 | lib/services/dandanplay_service_stub.dart:539-548 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"917f5b20f4a274812c1043815590f1a46089b5392fc1d295ea0fdba488678a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1373-1378 | lib/services/dandanplay_service_stub.dart:2310-2315 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"522ab9fd02db401b2a3811bcbde8cb5da85d4c16bf7de3ce34b4688c94d92f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/services/dandanplay_service_io.dart:1695-1700 | lib/services/dandanplay_service_stub.dart:2525-2530 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cf4322fd65dd4c67339073772267d9e0d6068e38d31fccc14c1b50d5c712af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/services/dandanplay_service_io.dart:2839-2844 | lib/services/dandanplay_service_stub.dart:2639-2644 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2839}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4474b60e2eb2596f9cbdaa2f3ff8b2aa4327dacd5710671f3e17b869aaa79e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:947-951 | lib/services/jellyfin_dandanplay_matcher.dart:1024-1028 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"940a98e1fbe589cda77923f3eb3f79560cb728fd30c9a42aea0590fae4fd30c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:971-978 | lib/services/jellyfin_dandanplay_matcher.dart:1057-1064 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e1a2219689261aa483f87603b1dea60378d1cfb0f1736fdbcbb6ed425b31bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:980-987 | lib/services/jellyfin_dandanplay_matcher.dart:1066-1073 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fca5d87653b6a035118d1b0c70483196db1795864044b0a94fe33ec2479597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/emby_dandanplay_matcher.dart:1085-1094 | lib/services/jellyfin_dandanplay_matcher.dart:1159-1168 \u2014 before extracting anything, compare \u0060lib/services/emby_dandanplay_matcher.dart\u0060 and \u0060lib/services/jellyfin_dandanplay_matcher.dart\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 835 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51f8a2eca82d3ab9cb7d21f67122ba2cd107044c49b1a39aa3716b5cfcf8ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/services/emby_playback_sync_service.dart:290-295 | lib/services/jellyfin_playback_sync_service.dart:286-291 \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/services/emby_playback_sync_service.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"52afa6dd4e12a10e287414b1eaf24bd76643e0e5b518a8efe77a14c7e7c94e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/emby_service.dart:2011-2017 | lib/services/jellyfin_service.dart:1908-1914 \u2014 before extracting anything, compare \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"30938055b21ce4013c8121affe98dcddda90768989fe38124270059bcba38d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/services/episode_navigation_service.dart:1096-1101 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:187-192 \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/services/episode_navigation_service.dart"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21c20cdd8753ba050a4e7f63840fd1a6646ab0e51853fe83c541fcbb03d032e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/services/local_media_management_api.dart:469-474 | lib/themes/nipaplay/widgets/library_management_tab.dart:5872-5877 \u2014 before extracting anything, compare \u0060lib/services/local_media_management_api.dart\u0060 and \u0060lib/themes/nipaplay/widgets/library_management_tab.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/services/local_media_management_api.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c1bd9b6f90ace2bafb01c9cbee7dc5aa4e40f793351a00f14268bbf77f2ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/services/local_media_management_api.dart:1063-1068 | lib/services/network_media_settings_api.dart:171-176 \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/services/local_media_management_api.dart"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c10c94068ae85148bfa86a662c348df3d64db71553c99f2ca7172ca76bf4b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/local_media_management_api.dart:1070-1076 | lib/services/network_media_settings_api.dart:178-184 \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/services/local_media_management_api.dart"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b44626c807efb76c07f88572d87a69695f3452ca114a4d9f599c2e59eaaf9d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/services/playback_source_service.dart:991-996 | lib/utils/media_source_utils.dart:141-146 \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/services/playback_source_service.dart"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e148f0a1aa5d55ba5f8d5af6e96ab23256d7aca97497ea647944c4cfaf3424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/services/remote_subtitle_service.dart:1680-1685 | lib/services/webdav_service.dart:1765-1770 | lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:136-141 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc54a9ac6e27d20d1c814fb8f10ed68f6d29231d2de3fbbf6ef2f82486c52b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/services/smb_proxy_service.dart:109-117 | lib/services/webdav_proxy_service.dart:109-117 \u2014 before extracting anything, compare \u0060lib/services/smb_proxy_service.dart\u0060 and \u0060lib/services/webdav_proxy_service.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec7f4fb219404228be9bc4a215022385e74317e394a83827aced8ee68e4f007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/smb_service.dart:559-566 | lib/services/webdav_service.dart:697-704 \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/services/smb_service.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"178d75f263c2584a49179fae824a8e0061610409af2feacd97adfc1c049aa81f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): lib/settings/pages/appearance_settings_content.dart:922-936 | lib/settings/pages/developer_options_settings_content.dart:878-892 | lib/settings/pages/general_settings_content.dart:727-741 | lib/settings/pages/network_settings_content.dart:932-946 | lib/settings/pages/plugin_settings_content.dart:1276-1290 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 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/settings/pages/appearance_settings_content.dart"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"605a26bdae28b413cdb54d52c5d2ab317478d2b484996453a88413bd93921b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/settings/pages/downloader_settings_content.dart:94-108 | lib/settings/pages/labs_settings_content.dart:46-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a 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/settings/pages/downloader_settings_content.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3df7371b7db1e82a9903f607b7ed9a52fe8f7da9719ed4868cfb8b938077fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/settings/pages/player_settings_content.dart:1130-1140 | lib/settings/pages/remote_media_library_settings_content.dart:1667-1677 | lib/settings/widgets/media_server_connection_user_agent_setting.dart:191-201 \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. The matched lines also transfer control out of the body holding them, which cannot survive a 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/settings/pages/player_settings_content.dart"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3470765f0399c613ed6e064e7c6f18133bd6f723a775c5ed866dde11b771a0b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_comment_dialog.dart:80-86 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:152-158 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_comment_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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/themes/cupertino/widgets/cupertino_comment_dialog.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be2bd6c12184461004cfd2f3f8b5a3d4cb97563f6d6d7321b356e38ae689c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/themes/cupertino/widgets/cupertino_comment_dialog.dart:94-99 | lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart:628-633 | lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart:166-171 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/cupertino_comment_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/bangumi_comment_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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/themes/cupertino/widgets/cupertino_comment_dialog.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da550a7230427b0759b7db61ebf7a2ed094c2fb9645c30d46cf8ec0d11b29da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_remote_text_input_sheet.dart:49-58 | lib/themes/nipaplay/widgets/blur_login_dialog.dart:107-117 \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/themes/cupertino/widgets/cupertino_remote_text_input_sheet.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccef6b3473ef7ae5c90e62ed2d9621d0c513fbff0d0ff2bb840bcc952a351d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart:74-82 | lib/themes/nipaplay/widgets/webdav_connection_dialog.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08fd6daa248d9db4d052ea0cc78c79dccadbf347758924490ca4ad38b74fa2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:242-253 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:394-405 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa54b17e818ed93c0a8f3c253fc05344837048497e15a3f5aa8fe3ea5e73d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:255-264 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:407-416 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e810bece4e7997c75c542dcf14c1d14d9392c1bc61a9fe78540792949a3d2946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:266-275 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:418-427 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"42adf1a00dfbcc4aca8983d58676cfec5e6c99ac802bf42f4e2ff0337ff0cf7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:894-898 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:448-452 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"3290284c8d4ee0be24ef7a5c4307899adeefe0ec62f90d71de6d7e6ef42a17c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart:900-907 | lib/themes/nipaplay/widgets/danmaku_settings_menu.dart:455-462 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/danmaku_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 121 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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b1f1c59d8ed0403b25f79e82920f1cd7acf54d87b90bce50a87c82434451d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): lib/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart:31-36 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:185-190 | lib/themes/nipaplay/widgets/playback_rate_menu.dart:39-44 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:221-226 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e4449fe2b497dcbdb4cd61000c83096e8dec40bdd784ff5d88de1007eae8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): lib/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart:42-49 | lib/themes/cupertino/widgets/player_menu/cupertino_seek_step_pane.dart:56-63 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:202-209 | lib/themes/nipaplay/widgets/playback_rate_menu.dart:50-57 | lib/themes/nipaplay/widgets/seek_step_menu.dart:51-58 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:238-245 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac2871f38dd7f4d143fc95fe486590c57244bec160be2e88341a1361ff4cd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart:51-57 | lib/themes/nipaplay/widgets/playback_rate_menu.dart:59-65 \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/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4b45832c9c326718dfbbc1521fbd106e5cc424603204f66198c1e384b41017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart:209-215 | lib/themes/nipaplay/widgets/playlist_menu.dart:313-319 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 124 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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b6da10db4dc16f5c9477682fb40ea2f5ea748e6ac9264237d3b1e32dd6502d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:71-80 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:78-87 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7047e2b8537d274a2798cd19a75000f21afe5bc73b94ffb50d7409fbd52feaea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:164-174 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:201-211 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9305046525cec9f82063efeb03f6bc4148f8367caeb980b7b701e27313fdebd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:176-183 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:213-219 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c21e8970ca8f6798ad877972cda456b36cfb63d52723d7fc98364a1547d08a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart:211-217 | lib/themes/nipaplay/widgets/subtitle_settings_menu.dart:247-253 \u2014 before extracting anything, compare \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dc98de4fb77dcbb707226f7f6db28098504a772c8ed95decad554045996887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:174-185 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:96-107 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd30137150e234f67873c6ba622f63b09e972053409304a7e69353d362b31b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:187-193 | lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart:109-116 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/manual_danmaku_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4294e7b0739ba864812ecea8f15e479fc415aed6ad4085e1a5fdff4221d61f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart:450-456 | lib/themes/nipaplay/widgets/custom_media_info_dialog.dart:1264-1270 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart\u0060 and \u0060lib/themes/nipaplay/widgets/custom_media_info_dialog.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d671f39fe639e1060a060c707f52ad24a2b10362dc4a23a0e350f3ff44c22d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:53-59 | lib/themes/nipaplay/widgets/local_library_control_bar.dart:93-99 \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 after the matched lines, \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:63\u0060 calls \u0060cancel\u0060 and \u0060lib/themes/nipaplay/widgets/local_library_control_bar.dart:103\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/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"409dbb74fce62dfc5339052ac2ffe6452e46cd332ca4e8df0e3505dc58ca46af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/nipaplay/widgets/large_screen_editable_slider.dart:48-54 | lib/themes/nipaplay/widgets/settings_item.dart:890-896 \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/themes/nipaplay/widgets/large_screen_editable_slider.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bb435f0b3ff48ea18ee12f96c869235f0ad29da4a172216b6a8794ae58cb3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart:608-614 | lib/themes/nipaplay/widgets/large_screen_settings_panel.dart:518-524 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart\u0060 and \u0060lib/themes/nipaplay/widgets/large_screen_settings_panel.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d91920088da75534793bb06e2d44286899b71ffd35030a8407953ad8031c0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/themes/nipaplay/widgets/video_player_ui.dart:183-188 | lib/utils/hotkey_service.dart:365-370 \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/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d7094f07a0d3589b470a487a2165a36b35eb89cd30075a83299d2f9d568404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/widgets/embedded_subtitle_overlay.dart:147-156 | lib/widgets/external_subtitle_overlay.dart:858-867 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/embedded_subtitle_overlay.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c994a1da97c240a65e0330b24d55c0678da043295502e801588f2deceb9b928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/widgets/embedded_subtitle_overlay.dart:158-167 | lib/widgets/external_subtitle_overlay.dart:869-878 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/embedded_subtitle_overlay.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ad63a4d31b35552d65a1a64d562f469be653ab1bc98b3edeb21d39b4f46ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tool/ohos_erika_smoke.dart:57-63 | tool/ohos_mdk_smoke.dart:34-40 \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":"tool/ohos_erika_smoke.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaef185eefd7f93fcebe8ac5887c4f8a95703735ee8a3ab885b83eb568f7a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/models/emby_model.dart:443-450 | lib/models/jellyfin_model.dart:43-50 \u2014 before extracting anything, compare \u0060lib/models/emby_model.dart\u0060 and \u0060lib/models/jellyfin_model.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_model.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"8877e5e529c0c69abfb6e77f228ab59e8b05c13beed0818f9c74e1242256c794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/pages/media_server_detail_page.dart:790-801 | lib/themes/nipaplay/pages/settings/watch_history_page.dart:665-676 \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/pages/media_server_detail_page.dart"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0c23da4dd4c018358c9104cee4defc2acc5af37bd3f96f1138ad511af4daca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/pages/new_series_page.dart:600-611 | lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart:373-384 | lib/themes/nipaplay/widgets/shared_remote_library_view.dart:1081-1092 \u2014 before extracting anything, compare \u0060lib/pages/new_series_page.dart\u0060 and \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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/pages/new_series_page.dart"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4fe093bac5fc92da1a136c76954aa982a16d950a0d7045f97caf6fce3b60ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/providers/emby_provider.dart:426-434 | lib/providers/jellyfin_provider.dart:460-468 \u2014 before extracting anything, compare \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdc97e1f3522aa56904c666e7ffd3c5324d6836915d1f53264ddbde9eb42725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/anime_deletion_tombstones.dart:125-134 | lib/services/incremental_sync_webdav_connections.dart:29-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/anime_deletion_tombstones.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f44eaef3d0f09472f373e97159f8f3062c2acac7c831acdf890871dbaafaa67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/smb_service.dart:439-445 | lib/services/webdav_service.dart:843-849 \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/services/smb_service.dart"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"432b125f530424b75c03ec07d6e6c837c89176c5845cffb87d38d2e12823fe40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/services/smb_service.dart:473-483 | lib/services/webdav_service.dart:598-608 \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/services/smb_service.dart"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b0582f95dca951b3d66c98b6d92ad41efeb9741815c73c4e0b74f6b122be42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart:42-50 | lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:52-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart:49\u0060 calls \u0060GlobalKey\u0060 and \u0060lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart:40\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/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"317f4664c2dcfa5e685a8271b369a6e8d468b4d8e04e6e18e477117be373fbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/nipaplay/widgets/brightness_gesture_area.dart:42-49 | lib/themes/nipaplay/widgets/volume_gesture_area.dart:42-49 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/brightness_gesture_area.dart\u0060 and \u0060lib/themes/nipaplay/widgets/volume_gesture_area.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/brightness_gesture_area.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93202e04cecd174a52e853f5078d745b6ddb58a6adeba41f7100299a05ac646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/themes/nipaplay/widgets/brightness_gesture_area.dart:51-58 | lib/themes/nipaplay/widgets/volume_gesture_area.dart:51-58 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/brightness_gesture_area.dart\u0060 and \u0060lib/themes/nipaplay/widgets/volume_gesture_area.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/brightness_gesture_area.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a97ddb73543f3c27ba770b1f85656f162924525844aaeb35c7c231cc574422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/themes/nipaplay/widgets/large_screen_settings_panel.dart:587-596 | lib/themes/nipaplay/widgets/large_screen_tab_panel.dart:336-345 \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/themes/nipaplay/widgets/large_screen_settings_panel.dart"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"831d80edae77a9261e08f5b9ae7ece6c63ce8b39823ae8f85c120a1604eb9d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/themes/nipaplay/widgets/playback_rate_menu.dart:102-108 | lib/themes/nipaplay/widgets/seek_step_menu.dart:107-113 \u2014 before extracting anything, compare \u0060lib/themes/nipaplay/widgets/playback_rate_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/seek_step_menu.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_rate_menu.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"562839c1ac48432d1d1f46af57407c1c5cef8241f03759729f55c3c959fc2f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/models/watch_history_database.dart:1274-1279 | lib/models/watch_history_model.dart:80-85 \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/models/watch_history_database.dart"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cb8e7bc43ea4712e00b542f1b18db193389c893dc79fc013d18a2a41e46fb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/plugins/models/plugin_danmaku_renderer.dart:99-103 | lib/plugins/models/plugin_manifest.dart:31-35 \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/plugins/models/plugin_danmaku_renderer.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d794731a1c00a37eb469a5718e62369a5a387cb9b08afc90acc148026de22d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/services/backup_service.dart:54-58 | lib/services/full_backup_service.dart:99-103 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/backup_service.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da6cc4d21d503d55c01d9956d8558c374ad4fa6331cfd19391fc8f97fbd3df6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/services/dandanplay_service_io.dart:97-101 | lib/services/dandanplay_service_stub.dart:93-97 \u2014 before extracting anything, compare \u0060lib/services/dandanplay_service_io.dart\u0060 and \u0060lib/services/dandanplay_service_stub.dart\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 1201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/dandanplay_service_stub.dart:89\u0060 calls \u0060ValueNotifier\u0060, \u0060handleTokenRefused\u0060 and \u0060lib/services/dandanplay_service_io.dart:95\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ae11f5c658933145f907e78af444173572227bd60404f51c123f51deb7a3e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/themes/nipaplay/widgets/arrow_menu_container.dart:253-257 | lib/themes/nipaplay/widgets/arrow_menu_container.dart:265-269 \u2014 both copies are in the same file, so extract the block 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/themes/nipaplay/widgets/arrow_menu_container.dart:270\u0060 calls \u0060lineTo\u0060 and \u0060lib/themes/nipaplay/widgets/arrow_menu_container.dart:258\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/themes/nipaplay/widgets/arrow_menu_container.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e55e58f065d805ffb22a7647206de245f8eda7b53d13812cca960c734c39f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): rust_builder/android/src/main/java/com/flutter_rust_bridge/rust_lib_nipaplay/RustLibNipaplayPlugin.java:159-169 | rust_builder/android/src/main/java/com/flutter_rust_bridge/rust_lib_nipaplay/RustLibNipaplayPlugin.java:237-247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust_builder/android/src/main/java/com/flutter_rust_bridge/rust_lib_nipaplay/RustLibNipaplayPlugin.java:159\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/android/src/main/java/com/flutter_rust_bridge/rust_lib_nipaplay/RustLibNipaplayPlugin.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7aadbf8bd84002fd864566936b06f849434b71c979b33e834fbd68253a19fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tool/generate_tvos_icons.py:26-30 | tool/generate_tvos_icons.py:38-42 \u2014 both copies are in the same file, so extract the block 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":"tool/generate_tvos_icons.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4c6f856bc68ddc377d57e86fb0b3d15e33659a31235444496a49986690708f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): assets/php/log_viewer.php:16-20 | docs/nipaplay.php:17-21 \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":"assets/php/log_viewer.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7ba34e30287770244e071227eca28a5beb2cb2414d7e0ff4d4d87cddbb50ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (203 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:246-448 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:259-461 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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 \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:246\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf1bdd9ab6345c53c514e8777e7c3cca14ad1540ad633c09b6937c961d8f608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:55-80 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:49-74 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"478b13dddcd3ab51d2b927422d689d613503456bc6b1f2a276a2cd60bbd89e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:183-206 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:197-220 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7f52e6e7114c7176f24de158ea8cf5f63695b3cbc8334a7e05aa57b2f8fb16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:512-534 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:520-542 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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 \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:512\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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad629c8d048d0b3b650c9a08e50bde8239b5fbcf5f98f34252225baa86de93b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): ios/Runner/AppDelegate.swift:151-172 | macos/Runner/SystemSharePlugin.swift:15-36 \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 \u0060ios/Runner/AppDelegate.swift:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/AppDelegate.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7d95ab06f83f985e150f87a6f22c62009fcf68694d65734d9ef56c54aafb2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ios/Runner/AppDelegate.swift:183-203 | macos/Runner/SystemSharePlugin.swift:37-57 \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 \u0060ios/Runner/AppDelegate.swift:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/AppDelegate.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef147c745d93603bd57d12ba2ab4b0aad9fcf816ff6d4cc19f6b9ac8f98e7efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:569-589 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:577-596 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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 \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:569\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:590\u0060 calls \u0060next2_engine_display_tick\u0060, \u0060CACurrentMediaTime\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:597\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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c72e20a706cbb00dae0b6725f1360ec63656458058225e02c4fb8bf4b422787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:450-484 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:463-497 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fce4c746896a1c7912d7243f98f2e0d3216c5acda8613a93d7589f5fe07ac91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:166-181 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:180-195 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"91efbc0a48265be31945800395b8906ef62f3b6b39f106fba1394f0ffa9148c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:223-237 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:237-251 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4cc7a6038f957552ec37e0b343f0e2fdac912c6162527bc9b5a79c4199ea20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:536-550 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:544-558 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"7004061e8f84eec8a9f2e301e1fceb8070b9697b4a480b414d3e84954f69998b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:208-221 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:222-235 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a760e46eb124677fce1a468dd1c2ca08c97c36a2a360734db20f6641ccd095ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): rust_builder/ios/Classes/RustLibNipaplayPlugin.swift:99-110 | rust_builder/macos/Classes/RustLibNipaplayPlugin.swift:93-104 \u2014 before extracting anything, compare \u0060rust_builder/ios/Classes/RustLibNipaplayPlugin.swift\u0060 and \u0060rust_builder/macos/Classes/RustLibNipaplayPlugin.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 404 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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b493952738f6dc07d215175eb5a5bbe7130a3626cca2e643ac89bb8da69a9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Runner/MainFlutterWindow.swift:61-65 | macos/Runner/SystemSharePlugin.swift:5-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":"macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9af46c9794bab3a0d0965af1280c12c0faf7dd3ec3963ccc4f33c3d0247665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ios/Runner/AirPlayRoutePickerView.swift:68-73 | packages/adaptive_platform_ui/ios/Classes/iOS26SegmentedControlView.swift:151-156 | packages/adaptive_platform_ui/ios/Classes/iOS26TabBarPlatformView.swift:573-578 \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 \u0060ios/Runner/AirPlayRoutePickerView.swift:68\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":"ios/Runner/AirPlayRoutePickerView.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeeb7589e6c0d6d84346babb7f61c8e0772594a7b0fe956ea3fc527d8a7046f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): rust/src/api/next2.rs:168-184 | rust/src/api/next2.rs:185-201 \u2014 both copies are in the same file, so extract the block 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":"rust/src/api/next2.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a88798368f2cf60b91a67eba791d6955ff085108675dac71022cee403cdf7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): rust/src/next2_engine/engine/renderer_draw.rs:545-561 | rust/src/next2_engine/engine/renderer_draw.rs:611-627 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/renderer_draw.rs:545\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49af2ac4f0a9decd1103831ee89269567ede8ba63d77b0422e75028c61884f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): rust/src/next2_engine/engine/rendering.rs:291-304 | rust/src/next2_engine/engine/rendering.rs:864-877 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/rendering.rs:291\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08c36d5fc8016e7c8cd14a0df6a8ab32e5ffe597c7c56bfd2458ce7354e71a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): rust/src/dfm_core/retainer.rs:155-167 | rust/src/dfm_core/retainer.rs:173-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/dfm_core/retainer.rs:155\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":"rust/src/dfm_core/retainer.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea661840abbb44e13279a5bec0c5b51f7a967e6c41bba7077edd79d6e1d8ca8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): rust/src/api/file_scan.rs:281-301 | rust/src/api/incremental_sync.rs:500-519 \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":"rust/src/api/file_scan.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"054a96adbd16a2a0ce3ead521612e3c0ef48f4b0320e49e1549f63f518b7f34a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): rust/src/next2_engine/engine/renderer_draw.rs:75-85 | rust/src/next2_engine/engine/renderer_draw.rs:344-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/renderer_draw.rs:75\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":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f93ee26aa49081f1ae3453f1889f6831e2f069996d9ff3510e9c039450df2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): rust/src/next2_engine/engine/renderer_draw.rs:148-158 | rust/src/next2_engine/engine/renderer_draw.rs:349-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/renderer_draw.rs:148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcf0ceccef1cb145e9c9ff8ca980a41deb19c45a8d3a54016c3ea5bed496a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): rust/src/next2_engine/engine/renderer_draw.rs:143-153 | rust/src/next2_engine/engine/renderer_draw.rs:379-389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/renderer_draw.rs:143\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":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f115a4d6a587d72940463c4defb82c3b33c28405a3f43b6e2396721a57064b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): rust/src/next2_engine/engine/rendering.rs:1057-1066 | rust/src/next2_engine/engine/rendering.rs:1072-1082 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/rendering.rs:1072\u0060 it begins part-way through the construct above it, so those exact 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":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92beee3efe61c102dce0747b3cd7832eeff1eefc7cce8f68ffd7db0ad11848d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rust/src/dfm_core/model.rs:376-385 | rust/src/dfm_core/types.rs:88-97 \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 \u0060rust/src/dfm_core/model.rs:376\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/dfm_core/model.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cc127256cdee9582b41afaf996c10446640d92e6aa1c08b7f17065abd6a6d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rust/src/next2_engine/engine/rendering.rs:143-152 | rust/src/next2_engine/engine/rendering.rs:519-528 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/rendering.rs:143\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":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f8d2e1306178909a3c14750a060a96e5fa5f5e2cf54c5e367220fe51850103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rust/src/next2_engine/engine/rendering.rs:332-341 | rust/src/next2_engine/engine/rendering.rs:881-890 \u2014 both copies are in the same file, so extract the block 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":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"5491b77a2e5c3f9eefd44d7be374338b1562d286b0de86152cf9c5faa22dd79d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rust/src/next2_engine/engine/rendering.rs:804-813 | rust/src/next2_engine/engine/rendering.rs:816-825 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/rendering.rs:804\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":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dddc319a0080b6dcb66ca1d6633345dc5292d987daa7e5d0fcbf761b60ea25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rust/src/next2_engine/present.rs:299-308 | rust/src/next2_engine/present.rs:413-422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/present.rs:299\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":"rust/src/next2_engine/present.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1698c7a695fe71f39ec0801085375a11a9b697e05c357171cd7c142fe04731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): rust/src/next2_engine/ffi.rs:71-79 | rust/src/next2_engine/ffi.rs:112-120 | rust/src/next2_engine/ffi.rs:372-380 | rust/src/next2_engine/ffi.rs:405-413 \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 \u0060rust/src/next2_engine/ffi.rs:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/ffi.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d8b4517cae53d2f2c06b0991d2f8cb243fe316286a686671a15abe7a1a4951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): rust/src/api/next2.rs:324-332 | rust/src/api/next2.rs:342-350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/api/next2.rs:324\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/next2.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"420075e8e8a4e80d3a01eb3fcbe173a51f3dce423c4758f1a58b31e5347bb6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): rust/src/next2_engine/engine/renderer_draw.rs:786-794 | rust/src/next2_engine/engine/renderer_draw.rs:852-860 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/renderer_draw.rs:786\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6330aafbfb00a4f30787d8983df88648b1d6bab2a45e3699b280f239adb0f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): rust/src/api/dfm_plus.rs:422-429 | rust/src/api/next2.rs:302-309 \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 \u0060rust/src/api/dfm_plus.rs:422\u0060 it does not close everything it opens, so those exact 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 \u0060layout\u0060 to \u0060\u0026DfmPlusPreparedLayout\u0060 in one and \u0060\u0026RustNext2PreparedLayout\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":"rust/src/api/dfm_plus.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18a3e2a2064c0870c0086e3a0a06a6b7f1c6cf357e8fc7f56d2a36037c98dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): rust/src/next2_engine/ffi.rs:74-79 | rust/src/next2_engine/ffi.rs:115-120 | rust/src/next2_engine/ffi.rs:149-154 | rust/src/next2_engine/ffi.rs:251-256 | rust/src/next2_engine/ffi.rs:375-380 | rust/src/next2_engine/ffi.rs:408-413 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/ffi.rs:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/ffi.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"199ef70f55839c491d78fb1a08582798c3e50b3a6f870ada6867a6f486ce4e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): rust/src/api/file_scan.rs:266-270 | rust/src/api/incremental_sync.rs:491-497 \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 \u0060rust/src/api/file_scan.rs:266\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/file_scan.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cb49cefe0faa4317f84313dbc782af9bdbaa3ff334e30be1f5a22a7652fc08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): rust/src/next2_engine/engine/rendering.rs:267-271 | rust/src/next2_engine/engine/rendering.rs:847-851 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/rendering.rs:267\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f19cbcb65e73ec6264aa89ce39ffb34d6fa2b5143e86946372431ea69c54f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): rust/src/next2_engine/engine/renderer_draw.rs:212-230 | rust/src/next2_engine/engine/renderer_draw.rs:328-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/renderer_draw.rs:212\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":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"42af26a67b6948174579e656d14529c37e0a188421f9f1b01499bee9f84ac9aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rust/src/next2_engine/engine/rendering.rs:138-147 | rust/src/next2_engine/engine/rendering.rs:154-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/rendering.rs:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f97d9b36450476a7d5a39767334d2befbaad998cc86f4592f84dfbbf1c9110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): rust/src/next2_engine/engine/rendering.rs:165-179 | rust/src/next2_engine/engine/rendering.rs:525-538 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rust/src/next2_engine/engine/rendering.rs:165\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8977cb696d127e05c6185adbeb6aab275c65884dfe1bfb14771fb5139b460fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): rust/src/next2_engine/engine/renderer_draw.rs:71-77 | rust/src/next2_engine/engine/renderer_draw.rs:134-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 \u0060rust/src/next2_engine/engine/renderer_draw.rs:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e1d5e90e1421f5648e1b46c6e9efa3b43ddeed8a403e3a5c3b4ce03361d1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/macos_flicker_probe.swift:291-299 | tools/macos_flicker_probe.swift:350-358 \u2014 both copies are in the same file, so extract the block 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":"tools/macos_flicker_probe.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c28f2387ae28598c9665b8e06e5432bea9be2177f7e57be24ef47eb3f205b11"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VideoPlayerState (LCOM4 49): VideoPlayerState\u0027s methods fall into 49 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 49 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6809a02466d1bcd193ff7ffa1e162b8fb9a329479c00193716b3f846b5a445"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WebApiService (LCOM4 25): WebApiService\u0027s methods fall into 25 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 25 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_api_service.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cd89b3897a7b6563ee030171902fc892c40b946c04dbc7ab1a1ea95f63aee6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EmbyService (LCOM4 18): EmbyService\u0027s methods fall into 18 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 18 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0d1a48d4961a000b6457515369bef9620bb4b46d96f1db0cad5f45ba1131f2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JellyfinService (LCOM4 17): JellyfinService\u0027s methods fall into 17 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 17 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b51052d7933d3f7666c1a6ef08b84b22093e018c9571e87320d434dd5175cf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Directory (LCOM4 17): Directory\u0027s methods fall into 17 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 17 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/mock_path_provider.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8fe0fb96dd217f0c48b5b87c4dcb1b71c96cbc204588cbe8d4a21f5732efb0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ErikaPlayerAdapter (LCOM4 11): ErikaPlayerAdapter\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67e3304236c2d23618bc7bc27bac626b77c104fa9dddfa8e49c2b9699701ebb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VideoPlayerAdapter (LCOM4 11): VideoPlayerAdapter\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"906a0a1af53a2a67504472b52cf9628c3f07e7388f3396ed78e976faee00a5ab"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WindowController (LCOM4 9): WindowController\u0027s methods fall into 9 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 9 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":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f549991db95f930ee8df061f2bcecaf420de35d2ea814b87a1f6605f651c29ee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NipaplayLargeScreenWindowPageRoute (LCOM4 8): NipaplayLargeScreenWindowPageRoute\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/themes/nipaplay/widgets/large_screen_window_page.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"65da8e9d8f2a3a8b8e969a67013ff774554c4c76550b5a0652072fa04ec910a5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OtherSession (LCOM4 7): OtherSession\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/models/external_player_session/other_session.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a3a5b44c6e7e2f8057666d993bec88b9639caef95387831b63e6dcb5d3504a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _CupertinoCommentDialogState (LCOM4 7): _CupertinoCommentDialogState\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/themes/cupertino/widgets/cupertino_comment_dialog.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86220eb06cc4031166d3b1135dec69e8a20a349548a6a2049262e71f2ac19d1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _CupertinoDanmakuSettingsPaneState (LCOM4 7): _CupertinoDanmakuSettingsPaneState\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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d6d8bbd8972e5a7d28a53d386ef3b7b40a5435db49941d4a6ebbb5e7a64732"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _BatchDanmakuMatchDialogState (LCOM4 7): _BatchDanmakuMatchDialogState\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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"250db3a93ec91b269b8ac0596175cfc6d509d472f6f42b2f76c4280e92c07927"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _NetworkMediaLibraryViewState (LCOM4 7): _NetworkMediaLibraryViewState\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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee1959a7c907964a6a8448c196ff8202935c5068bc3fa1d8b7790fe5095f45b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TransparentPageRoute (LCOM4 7): TransparentPageRoute\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/themes/nipaplay/widgets/transparent_page_route.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dff32de108da89d283b356b9b7f624bcc02be1ea11db56fc0e6face71ea76a7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _MediaServerDetailPageState (LCOM4 6): _MediaServerDetailPageState\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/pages/media_server_detail_page.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc84815d21a1b23dd81bf1dd330ef46369982c3407ac8ac34de9755e84ee9a66"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _PlayVideoPageState (LCOM4 6): _PlayVideoPageState\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/pages/play_video_page.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fca9f28edda5511d1b20ee5fd85173f6c4e2570826cc024cfc52f3f1d23bec"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MdkPlayerAdapter (LCOM4 6): MdkPlayerAdapter\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/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34cdf57a5fa1cf8ad51fa3b6ab0a077534d5fa0698ea214a85baa1952b712ff"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TorrentDownloadService (LCOM4 6): TorrentDownloadService\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/services/torrent_download_service.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5a18543fa5b7ebf9cc21c59d534cf6214527a7c2f9b244f3b2f57ebb5eb9be"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _Step2DialogState (LCOM4 6): _Step2DialogState\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/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dafca30bd87916e753f37c71e400bd14149de2f9beebc4a2bbbd1a2c2ed315"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _DanmakuSettingsMenuState (LCOM4 6): _DanmakuSettingsMenuState\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/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaf32956d32bdcbf3ecafe4d54887be448009e10c65ca610cc2be9871958213"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _LibraryManagementTabState (LCOM4 6): _LibraryManagementTabState\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/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e42e6e3e2e445c832928972416d38ab14ee5666d87e2ae058fbdc43cc45c30"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ManualDanmakuMatchDialogState (LCOM4 6): _ManualDanmakuMatchDialogState\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/themes/nipaplay/widgets/manual_danmaku_dialog.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6fe100aa4385afe5a466e71351915fb7ea24a845d6386cef5afa64f0fa0ffe"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _NetworkMediaServerDialogState (LCOM4 6): _NetworkMediaServerDialogState\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/themes/nipaplay/widgets/network_media_server_dialog.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51bae541dc432afceda0dd934b2350d3c2682fdd3c226ddacbd108f302b61ec"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SystemResourceMonitor (LCOM4 6): SystemResourceMonitor\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/utils/system_resource_monitor.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1169e7532c0aae52114c3edb6fddbf2c8a4b1fb6642735b43ba6a79892049ff"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ThemeNotifier (LCOM4 6): ThemeNotifier\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/utils/theme_notifier.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0a32e54e0edfcc95406540884161f8b56c6d788bb2b3e9b6871ada0eecf1ef"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _NipaPlayAppState (LCOM4 5): _NipaPlayAppState\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/main.dart"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"3459b71f83ffcc7e50dafc6ea90ae40bb275e8ee3f82eba3eba2f2f6023c3d54"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WatchHistoryDatabase (LCOM4 5): WatchHistoryDatabase\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/models/watch_history_database.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eeb1a94141034355b3fe704c01748560dda3cc1c39946eadaceda687c5ca787"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BangumiAccountViewModel (LCOM4 5): BangumiAccountViewModel\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/pages/account/account_page_view_model.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0eb474ef7269c071b65e36ca9daf7c2b0984c368ef0cd88788a8e970f05e1f5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _DashboardHomePageState (LCOM4 5): _DashboardHomePageState\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/pages/dashboard_home_page.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"02310f58af52b811a8c310d0a00b75761073de432975cc22a73a88524eb2f327"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MediaKitPlayerAdapter (LCOM4 5): MediaKitPlayerAdapter\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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1080b0e5b2be833423471ccc4b596853b3275565ca08933b99a2427b1ab6679f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MediaServerServiceBase (LCOM4 5): MediaServerServiceBase\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/services/media_server_service_base.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1b21038c48270bf30ffac385a31a4fc5d3ead9e6eb20e33a3dbf82b823d758"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _Smb2Native (LCOM4 5): _Smb2Native\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/services/smb2_native_service_ffi.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a60543c5d63ea3826855f4047b48efb591afe3f0e198360dd4bec51b582ec3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UnifiedSettingEntry (LCOM4 5): UnifiedSettingEntry\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/settings/unified_settings_entries.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6412cba495fedece9882ee320582edeb048821794cbd2e0d4ecd053548c272a9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _BangumiCollectionDialogState (LCOM4 5): _BangumiCollectionDialogState\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/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad1a5241e6bfa4ca928f6e660c7d620c3d080c3ef0ea37e6422ca385800e44a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _CustomScaffoldState (LCOM4 5): _CustomScaffoldState\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/themes/nipaplay/widgets/custom_scaffold.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9870ce761a2d388eb4c9fb893659c5adc8bb91939d56154d7232915c3fedaf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _VideoPlayerUIState (LCOM4 5): _VideoPlayerUIState\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/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"751e2d2165fde06c3bbd546a34b255ee41909abc4240863aa3432b61364874d0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MainPageState (LCOM4 4): MainPageState\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/main.dart"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"772b276cf25f0bfca70ccf613c9b393d8e6059a729f30be6f7a0b5bbc1a950ea"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NipaplaySmb2Bindings (LCOM4 4): NipaplaySmb2Bindings\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":"packages/nipaplay_smb2/lib/nipaplay_smb2_bindings_generated.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e971eef3929f641430eea184fb11334552215970431a5919b86cd049304d0000"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GPUDanmakuBaseRenderer (LCOM4 4): GPUDanmakuBaseRenderer\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/danmaku_gpu/lib/gpu_danmaku_base_renderer.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"529dade05bb160de0616dd324f0c3b61e03ca8366e3c7736327a3edaf2c2318a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AdaptiveMediaTextFieldState (LCOM4 4): _AdaptiveMediaTextFieldState\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/media_library/adaptive_media_library_primitives.dart"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2777c640c1af5e2631293ab75c3107f144a7ec17c756a90c086c4415cc28d8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PluginDanmakuRenderer (LCOM4 4): PluginDanmakuRenderer\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/plugins/models/plugin_danmaku_renderer.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"86437cd34f226c81d905e29778605e0dd20b9eb008d033bee34b0e02f06894df"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UIThemeProvider (LCOM4 4): UIThemeProvider\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/providers/ui_theme_provider.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ab5ba7868ebda4feba316d4573903e0edbe73073d99e67faa024dbe9df4d7c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RemoteSubtitleService (LCOM4 4): RemoteSubtitleService\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/services/remote_subtitle_service.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a647b36ace1dbd080f65c8c0d869563ffe7889bdd0add84562ee32380e2ab5b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _UnifiedAccountPageState (LCOM4 4): _UnifiedAccountPageState\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/themes/nipaplay/pages/account/material_account_page.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66419a9a8bd22645ca39c3795abd93efad74eb126219ed2f2b48588b385a344"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _BangumiCommentDialogState (LCOM4 4): _BangumiCommentDialogState\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/themes/nipaplay/widgets/bangumi_comment_dialog.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3347b38c3ff99a43163f69246fe5e7e2ef9e27ea40b286be4f1812b57b2ab9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _NipaplayLargeScreenEditableSliderState (LCOM4 4): _NipaplayLargeScreenEditableSliderState\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/themes/nipaplay/widgets/large_screen_editable_slider.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b332ed121e9e379cada58167975beb2ea70be28ca564605aa8bfba1ed7ba175d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JellyfinMediaItemAdapter (LCOM4 4): JellyfinMediaItemAdapter\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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6106f73917decd5396b6adf0a7cad790450e23aa568a1c6e85c7f70a6bc953e3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EmbyMediaItemAdapter (LCOM4 4): EmbyMediaItemAdapter\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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9c6fd088bb915f7b157979668675cdceea8ed2e9f4327564bd937b0b643550"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _TextInputDialogState (LCOM4 4): _TextInputDialogState\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/themes/nipaplay/widgets/text_input_dialog.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c34f7d23f525e234b77efda14ffd4b0430bd4a54a974d4cb3c3d93a73e6c2b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _DanmakuContainerState (LCOM4 4): _DanmakuContainerState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_container.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"139189fcdff99f82d500e7673f965493f95d1c17a5a857c9ce84038ff0c78f3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/utils/subtitle_manager.dart: lib/utils/subtitle_manager.dart changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in SubtitleManager.autoDetectAndLoadSubtitle at line 1434. 14 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/utils/subtitle_manager.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"632606d0dcca353be1097b759293c6c9326c31e7548a5e442449d7d64def3a6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/pages/anime_detail_page.dart: lib/pages/anime_detail_page.dart changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in _AnimeDetailPageState._buildEpisodesListView at line 1942. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/pages/anime_detail_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8c0d87e491210a9831a8c1d444cffb3ad62ac9e04bb17bbe0ae55610160359"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/pages/play_video_page.dart: lib/pages/play_video_page.dart changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in _PlayVideoPageState._buildMaterialControls at line 995. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/pages/play_video_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4eb18d676296495b1b238cf99a84d5d85b6937b90a5c976775c0b0daa591a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/video_player_ui.dart: lib/themes/nipaplay/widgets/video_player_ui.dart changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in _VideoPlayerUIState.build at line 1151. 9 of those changes were fix/bug commits, and the other 11 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/video_player_ui.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/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2595797a2a269ead44f59e372ec810af3ef35d1cf5fb46395995dc4f2e9ce53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/player_abstraction/erika_player_adapter.dart: lib/player_abstraction/erika_player_adapter.dart changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in ErikaPlayerAdapter._handleEvent at line 1702. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/player_abstraction/erika_player_adapter.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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bbadf4e986d1de78bf0d975bad11868b94f38e81bf27012c25f96f6f91a6e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: rust/src/next2_engine/engine/runtime.rs: rust/src/next2_engine/engine/runtime.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in rust_lib_nipaplay::next2_engine::engine::runtime::run_engine_loop at line 707. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- rust/src/next2_engine/engine/runtime.rs\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":"rust/src/next2_engine/engine/runtime.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ad5b50bed54344d48a2bc7ee50ba93c29eecde5c8ff5e8409e061b76149ca9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/settings/pages/player_settings_content.dart: lib/settings/pages/player_settings_content.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in _PlayerSettingsContentState.build at line 291. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/settings/pages/player_settings_content.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/settings/pages/player_settings_content.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"7566074bae6960b9afc94d6e2fb9e6d5776fc162b1acdf389fc3ed653a8b5ad4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/playlist_menu.dart: lib/themes/nipaplay/widgets/playlist_menu.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in _PlaylistMenuState._playEpisode at line 680. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/playlist_menu.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/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6b182caaf40af630e92c46d15063d36121bd827bf88dd0d3fccf558c0b9cf4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/danmaku_dfm/dfm_plus_overlay.dart: lib/danmaku_dfm/dfm_plus_overlay.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in _DfmPlusOverlayState._tryUpdateTexture at line 667. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/danmaku_dfm/dfm_plus_overlay.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/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5b57a44bb2f01002b952857760395ced8a5be0176ef54e15c7e35f44c8761c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/library_management_tab.dart: lib/themes/nipaplay/widgets/library_management_tab.dart changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in _LibraryManagementTabState._pickAndScanDirectory at line 609. 7 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/library_management_tab.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/library_management_tab.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3893d1723581870a66a7bd487ce26f6a0571875662abf786f1ae0d196b895f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart: lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in _NipaplayLargeScreenScaffoldLayoutState._dispatchInputCommand at line 866. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/large_screen_scaffold_layout.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/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc950178b6d1a92f77e37d8bfa7f28181251c496902f3c4a219446feac94b8d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/webdav_service.dart: lib/services/webdav_service.dart changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in WebDAVService._searchBreadthFirst at line 2082. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/webdav_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/services/webdav_service.dart"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"b080bfa9dfdf2dd6682d491a2328e8526f25e9b898aa65555eec7c94e7bdcc61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/external_subtitle_overlay.dart: lib/widgets/external_subtitle_overlay.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in _ExternalSubtitleOverlayState._buildPathBlock at line 163. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/widgets/external_subtitle_overlay.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/external_subtitle_overlay.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e2d77c3d9ad635c8cd71bd8f325662ed43da0d9145d1a3bfa21da70e4801f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/player_abstraction/media_kit_player_adapter.dart: lib/player_abstraction/media_kit_player_adapter.dart changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in MediaKitPlayerAdapter._addEventListeners at line 1002. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/player_abstraction/media_kit_player_adapter.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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac15f303e445a5999c661afa99d0987d00e53a407123ac8cbc9bf8ad367ad360"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/modern_video_controls.dart: lib/themes/nipaplay/widgets/modern_video_controls.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in _ModernVideoControlsState.build at line 660. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/modern_video_controls.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/modern_video_controls.dart"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1e2e3a7e620160963136794483d4d13df96b476a9eb72e0a6b8f728c03f8ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/media_library/adaptive_media_collection_view.dart: lib/media_library/adaptive_media_collection_view.dart changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in LibraryNewContentTracker.load at line 113. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/media_library/adaptive_media_collection_view.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_collection_view.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"756786f598dc40decdcb8073297c3bdef098620a89f49b2a095cc94b630afb30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/pages/media_server_detail_page.dart: lib/pages/media_server_detail_page.dart changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in _MediaServerDetailPageState._playEpisode at line 1870. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/pages/media_server_detail_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee10acab5bf93ce77f8e4c15981326e90e02f701f1aa19e7e0e02d973911bb7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/shared_remote_library_view.dart: lib/themes/nipaplay/widgets/shared_remote_library_view.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in _SharedRemoteLibraryViewState.build at line 148. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"395ad0c561957623c47e178940c9a21f75e1a6e2a5522c06048a832ab3576dfe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/settings/pages/danmaku_settings_content.dart: lib/settings/pages/danmaku_settings_content.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in _DanmakuSettingsContentState.build at line 773. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/settings/pages/danmaku_settings_content.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/settings/pages/danmaku_settings_content.dart"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab747d1f0e451a1f206ea03a5054200d606224c57c05b4debd6251027f58d4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/media_capture_dialog.dart: lib/themes/nipaplay/widgets/media_capture_dialog.dart changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _MediaCaptureDialogContentState._buildImageTab at line 559. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/media_capture_dialog.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b74dd2469131f0ad1b6aefe48038c807e0ca1ad5c26d4ced72ea3d371800e36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/dandanplay_service_io.dart: lib/services/dandanplay_service_io.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in DandanplayService._getVideoInfoWithMetadata at line 1235. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/dandanplay_service_io.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/services/dandanplay_service_io.dart"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56777a76ff22de4a78f9b8242af52edfa990188a3381f12db6050e101da5a08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/remote_subtitle_service.dart: lib/services/remote_subtitle_service.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in RemoteSubtitleService._ensureSingleSubtitleCached at line 473. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/remote_subtitle_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/services/remote_subtitle_service.dart"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"267298987616110ea055daab1f185a4482914358f01a2a63caf8050fbb2d95f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/cached_network_image_widget.dart: lib/themes/nipaplay/widgets/cached_network_image_widget.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in _CachedNetworkImageWidgetState.build at line 403. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/cached_network_image_widget.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/themes/nipaplay/widgets/cached_network_image_widget.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"66af800ef1053f60c9a4bb682b39deee12e1bbb6591f9799be9f6360ae3ddba1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/subtitle_list_menu.dart: lib/themes/nipaplay/widgets/subtitle_list_menu.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in _SubtitleListMenuState.build at line 580. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/subtitle_list_menu.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/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"560da392deec4a4f092325b7e8470daa0904eb74dce576fde979237df16c7c40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/pages/webdav_browser_page.dart: lib/pages/webdav_browser_page.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in _WebDAVBrowserPageState._playVideo at line 240. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/pages/webdav_browser_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"043b0175991ef57a92bca8647ccf727a23c80543f41a884160f6daa066f8628d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/immersive_anime_detail_scaffold.dart: lib/themes/nipaplay/widgets/immersive_anime_detail_scaffold.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in _DescriptionBlock.build at line 705. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/immersive_anime_detail_scaffold.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/immersive_anime_detail_scaffold.dart"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace667e3c8992b3d7ed84033a19f82b31c1bc6e6710dd68dcd8337e1de0fb541"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/utils/media_source_utils.dart: lib/utils/media_source_utils.dart changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in MediaSourceUtils.migrateWebDavPath at line 259. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/utils/media_source_utils.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_source_utils.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f535d5cb0a36438678ec94a11045e51b4fb8fa9e96fb6c3474af36edfdcaeb1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/adaptive_media_detail_action.dart: lib/themes/nipaplay/widgets/adaptive_media_detail_action.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in _AdaptiveMediaDetailActionButtonState.build at line 54. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/adaptive_media_detail_action.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/themes/nipaplay/widgets/adaptive_media_detail_action.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e806301e51e93ad76fb3aa929872eb6b7c4e4f2e530de4e5e7770006b3bcf92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart: lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _SubtitleTracksMenuState._loadExternalSubtitle at line 189. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/subtitle_tracks_menu.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/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"6265bad0011f9f2913944644375a479ad773f1e6ac4fbd3130bd280c4eaa3dc6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/auto_sync_service.dart: lib/services/auto_sync_service.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in AutoSyncService._applyOperationsLocally at line 851. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/auto_sync_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/services/auto_sync_service.dart"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9a9572c2475787b8d6e462dd5bcdd2d1a12396c388346ab9967939292f1fc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/Runner/AppDelegate.swift: ios/Runner/AppDelegate.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in AppDelegate.didInitializeImplicitFlutterEngine at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- ios/Runner/AppDelegate.swift\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":"ios/Runner/AppDelegate.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5502c4ecec5a7b965e6de4e918f6345b107f0017e4eda14eec86b5847cb79d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/providers/watch_history_provider.dart: lib/providers/watch_history_provider.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in WatchHistoryProvider._validateFilePathBatch at line 335. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/providers/watch_history_provider.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/watch_history_provider.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd877c356af4d1fe29782d8642afd45f98b6c551d0a2e5fc1147378b743b8d5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart: lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in _CupertinoSubtitleTracksPaneState.build at line 337. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7aef59b4727daaa8c2ff1aab767b4bbdca0dd2be878aacc292c6ca4f220a60"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/settings/pages/appearance_settings_content.dart: lib/settings/pages/appearance_settings_content.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in _AppearanceSettingsContentState.build at line 73. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/settings/pages/appearance_settings_content.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/settings/pages/appearance_settings_content.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fbb42ed2dfa862c48a2dffe97cdfc1487e56baa987e08101de84014413ee82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/webdav_connection_dialog.dart: lib/themes/nipaplay/widgets/webdav_connection_dialog.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _WebDAVFormState.build at line 82. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/webdav_connection_dialog.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14d400b335406d6047f60d63e97b85ac07ffb94030fae1e7211fd09b6bd6ce6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/custom_media_info_dialog.dart: lib/themes/nipaplay/widgets/custom_media_info_dialog.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in _Step2DialogState.scanVideoFiles at line 1520. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/custom_media_info_dialog.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed07918d7ed1d9fa907da4249a6521b5380d3cae914ea5ac2f7fb6c7e866118b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adaptive_platform_ui/macos/Classes/AdaptivePlatformUiPlugin.swift: packages/adaptive_platform_ui/macos/Classes/AdaptivePlatformUiPlugin.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in MediaControlView.updateInteractionAppearance at line 308. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- packages/adaptive_platform_ui/macos/Classes/AdaptivePlatformUiPlugin.swift\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":"packages/adaptive_platform_ui/macos/Classes/AdaptivePlatformUiPlugin.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4572f105c1a553d24055ef13baa5ca76bf517cf35bfa11cd54ada11fcf9ff57b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/playback_info_menu.dart: lib/themes/nipaplay/widgets/playback_info_menu.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in _PlaybackInfoMenuState._getVideoInfo at line 377. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/playback_info_menu.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/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc60708fc324f8bc7d2f97c0eb23c16471a8cc62122938f8ce49559cc986434"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/utils/player_kernel_manager.dart: lib/utils/player_kernel_manager.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in PlayerKernelManager.performPlayerKernelHotSwapSteps at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/utils/player_kernel_manager.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/player_kernel_manager.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c97a9b6634febaa8938628f22b29691e9908265b4cc291297b571f86db38823"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/smb_connection_dialog.dart: lib/themes/nipaplay/widgets/smb_connection_dialog.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in _SMBConnectionFormState.build at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/smb_connection_dialog.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/smb_connection_dialog.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ae7d73ada1687bb97f3e3fea911d0ee5f6eafc00ceba7b36dd05e165172743"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: rust/src/next2_engine/engine/renderer_draw.rs: rust/src/next2_engine/engine/renderer_draw.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Next2Renderer::build_vertices at line 459. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- rust/src/next2_engine/engine/renderer_draw.rs\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":"rust/src/next2_engine/engine/renderer_draw.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"a449b0d1bb95353ede170b689ab4bec7d764f7c7f28aae65950b30cd5b6e5cc6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/immersive_episode_rail.dart: lib/themes/nipaplay/widgets/immersive_episode_rail.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in _ImmersiveEpisodeCardState.build at line 236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/immersive_episode_rail.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/themes/nipaplay/widgets/immersive_episode_rail.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cfa31ca4fb37094333f054799791f7973ee9b0c40792da5a98948b91be0573"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/bangumi_service.dart: lib/services/bangumi_service.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in BangumiService._getAnimeDetails at line 393. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/bangumi_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/services/bangumi_service.dart"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4648ab13d681ea5fab3974f41f437761de7fb0201c4e1cbe56631324d51755"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/settings/pages/storage_settings_content.dart: lib/settings/pages/storage_settings_content.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in _StorageSettingsContentState.build at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/settings/pages/storage_settings_content.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/settings/pages/storage_settings_content.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"800d5daead0394b141d02325f89a25bf08573845b4d0e3a77f4b161c6b8320f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/dandanplay_http_client.dart: lib/services/dandanplay_http_client.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in DandanplayHttpClient.send at line 59. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/dandanplay_http_client.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/services/dandanplay_http_client.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"945867798db3c15b50686210d835ba673a746f4857b286f4e4871847829be6ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/pages/settings/watch_history_page.dart: lib/themes/nipaplay/pages/settings/watch_history_page.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _WatchHistoryPageState._onWatchHistoryItemTap at line 512. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/pages/settings/watch_history_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"28de1ea2d7dadecf974e58416fdf743669c760b368f5201574759b0ee3655f76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/external_player_service.dart: lib/services/external_player_service.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in ExternalPlayerService.play at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/external_player_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/services/external_player_service.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"da042130b83c9ea91175962c636f54a7be7829b17a81ddfc9baf6e7f3cf75597"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/local_media_management_api.dart: lib/services/local_media_management_api.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in LocalMediaManagementApi._scrapeRemoteFiles at line 519. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/local_media_management_api.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/services/local_media_management_api.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae162adf1c81fc905906f8f72aa6c5bfe29dfc8aeeef85f20ef6e2fdd587ee5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/smb_proxy_service.dart: lib/services/smb_proxy_service.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SMBProxyService._handleStreamInternal at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/smb_proxy_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/services/smb_proxy_service.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f0b702856ef5ee8ca7123c2ec491f846dc7907cd2b22e43f3dd38104b11bc7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/cupertino/pages/cupertino_main_page.dart: lib/themes/cupertino/pages/cupertino_main_page.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in _CupertinoMainPageState.build at line 331. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/cupertino/pages/cupertino_main_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/pages/cupertino_main_page.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c288705de5ba46494981671218293ac965332bb4c538294604fff6484508e742"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/full_backup_service.dart: lib/services/full_backup_service.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in FullBackupService._restoreMediaLibraries at line 709. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/full_backup_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/services/full_backup_service.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03f1689ce0a3daaab0408109907e1982c8d43fbb1420518f847422d2d627f83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/pages/torrent_download_page.dart: lib/pages/torrent_download_page.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _LargeScreenTorrentTaskCard.build at line 2429. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/pages/torrent_download_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/torrent_download_page.dart"},"region":{"startLine":2429}}}],"partialFingerprints":{"codehealthFindingId/v1":"847c0a4ac67ff8ad93db6012e697b5a162aeb55dcd4565ef376037c5ac82999d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/webdav_proxy_service.dart: lib/services/webdav_proxy_service.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in WebDAVProxyService._handleStreamInternal at line 160. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/webdav_proxy_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/services/webdav_proxy_service.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7e99d664dab20ce9d2256dfd5c1b11212afb264ff0c4acde35901a20ad6477"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/danmaku_dfm/dfm_plus_layout_bridge.dart: lib/danmaku_dfm/dfm_plus_layout_bridge.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in DfmPlusLayoutBridge.layout at line 234. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/danmaku_dfm/dfm_plus_layout_bridge.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/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"20408879d721caa2bdd1ee5860bacfc41f33f1ab51194a8002ba2aa52c127e5c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/media_library/adaptive_media_library_page.dart: lib/media_library/adaptive_media_library_page.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in _AdaptiveMediaLibraryPageState.build at line 266. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/media_library/adaptive_media_library_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d615a83505e2a8364958180e2a3a71935ac1b71af387e8724ab332e34624ad23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart: lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _CupertinoDanmakuSettingsPaneState.build at line 304. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"062c45baaadce3ef3ca24569f15d3786697749f183d820baaf1dbdc39185ca67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/large_screen_view_container.dart: lib/themes/nipaplay/widgets/large_screen_view_container.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in NipaplayLargeScreenViewContainer.build at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/large_screen_view_container.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/themes/nipaplay/widgets/large_screen_view_container.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dd62ec81827f2852a79c732bb864d323654bc3e1a9f855732e14b210b3f02c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/utils/watch_history_auto_match_helper.dart: lib/utils/watch_history_auto_match_helper.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in WatchHistoryAutoMatchHelper.tryAutoMatch at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/utils/watch_history_auto_match_helper.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/watch_history_auto_match_helper.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"49878e3a7d84b5ec953c2a794c6c08bcf10d1de0c8d99b0e7128aeadc986dc2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/themes/nipaplay/widgets/local_library_control_bar.dart: lib/themes/nipaplay/widgets/local_library_control_bar.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in _LocalLibraryControlBarState.build at line 107. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/local_library_control_bar.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/local_library_control_bar.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bca96c712abcf9d1736104c7451c08e6bc74d8c60e496ad2ab36b7d50e65b58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/auto_next_episode_service.dart: lib/services/auto_next_episode_service.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AutoNextEpisodeService._playNextEpisode at line 240. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/auto_next_episode_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/services/auto_next_episode_service.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ca93ea6f327163e64d788a5c4916d136638edcec2902f86ebff2588dabd477"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/player_abstraction/mdk_player_adapter_io.dart: lib/player_abstraction/mdk_player_adapter_io.dart changed 7 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is MdkPlayerAdapter._configureSubtitleFonts at line 317), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(player): make MDK resume seeks take effect when MDK cancels them\u201D; \u201Cfix(player): stop calling into an MDK player while fvp deletes it (#1033)\u201D; \u201Cfix(ohos): align MDK disposal and buffering interfaces\u201D; \u201Cfix: \u65B0\u756A\u56DE\u987E\u002B\u65B0\u5A92\u4F53\u4FE1\u606F\u9875\u4F18\u5316 (#971)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/player_abstraction/mdk_player_adapter_io.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/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4f1d09307aedc6fdc57d355f981e8c26b8b0e14296d3e392055153c3782bb5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/widgets/danmaku_overlay.dart: lib/widgets/danmaku_overlay.dart changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is _DanmakuOverlayState.build at line 44), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(performance): \u7EFC\u5408\u6027\u80FD\u4F18\u5316 (#1004)\u201D; \u201Crevert: withdraw unverified fixes from PRs 991, 993 and 994 (#1003)\u201D; \u201Cfix(danmaku): invalidate Next frames when episode data changes (#993)\u201D; \u201Cfix:dfm buffering sync (#973)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/widgets/danmaku_overlay.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/danmaku_overlay.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a145e145259eba70c992ba9cc161a108f3bd2f601b8eb77821546e31b90d74"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: rust/src/next2_engine/engine/motion.rs: rust/src/next2_engine/engine/motion.rs changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is MotionClock::anchor at line 46), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix:dfm buffering sync (#973)\u201D; \u201Cfix(ios): pace DFM frames with the native display clock\u201D; \u201Cfix(dfm): pace continuous motion by logical vsync slots\u201D; \u201Cfix(dfm): skip expired fallback after a slow vsync submission\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- rust/src/next2_engine/engine/motion.rs\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":"rust/src/next2_engine/engine/motion.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c16d9b5ef9075899c072f1710c64f4b4600e090460ac218cf37a26bbe07b07"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/themes/nipaplay/widgets/subtitle_settings_menu.dart: lib/themes/nipaplay/widgets/subtitle_settings_menu.dart changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is _SubtitleSettingsMenuState._pickFontDirectory at line 148), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(desktop): keep every dialog in the current Flutter view\u201D; \u201Cfix(subtitle): \u5B57\u5E55\u989C\u8272\u8F93\u5165\u6539 hex \u5BF9\u8BDD\u6846 \u002B HSV \u8C03\u8272\u76D8\uFF0C\u8F93\u5165\u952E\u76D8\u4E0D\u518D\u906E\u6321\u201D; \u201CRevert #920 pending Erika API alignment and separate validation\u201D; \u201Cfix(subtitle/libmpv): \u5916\u6302\u5B57\u5E55\u591A\u5B57\u5E55\u4EA4\u4E92\u5168\u5957\u002Blibmpv\u5185\u6838\u4FEE\u590D(EOF\u8BEF\u5224/ASS\u7279\u6548/\u751F\u547D\u5468\u671F/\u5B57\u5E55\u8F68)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/subtitle_settings_menu.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/themes/nipaplay/widgets/subtitle_settings_menu.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e41a759af930e55a1f1646f34ed69d622e8439f3b64ca0ac6f5cab71333787"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: rust/src/next2_engine/ffi.rs: rust/src/next2_engine/ffi.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is rust_lib_nipaplay::next2_engine::ffi::next2_engine_set_frame at line 316), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ios): pace DFM frames with the native display clock\u201D; \u201Cfix(dfm): gate playback on glyph prewarm\u201D; \u201Cfix(dfm): synchronize native motion pacing and use precise interruptible deadlines\u201D; \u201Cfix: stabilize DFM\u002B frame pacing\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- rust/src/next2_engine/ffi.rs\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":"rust/src/next2_engine/ffi.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9abb7dd328b80ef8c7a75e3a9c398374be33bc64064cb64fa3e98ab6708c540"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/danmaku_next/next2_texture_bridge.dart: lib/danmaku_next/next2_texture_bridge.dart changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is Next2TextureBridge.getDfmPrewarmState at line 157), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(dfm): gate playback on glyph prewarm\u201D; \u201Cfix(dfm): synchronize native motion pacing and use precise interruptible deadlines\u201D; \u201Cfix: animate DFM continuously on native media clock\u201D; \u201Cfix: stabilize DFM\u002B frame pacing\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/danmaku_next/next2_texture_bridge.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/danmaku_next/next2_texture_bridge.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c65a276a5467fef92b390caf3feb4020033832831ba5fc4af2b2cee7bfba25"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/themes/nipaplay/pages/account/material_account_page.dart: lib/themes/nipaplay/pages/account/material_account_page.dart changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is _UnifiedAccountPageState._showCupertinoRegisterDialog at line 492), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(account): include token link in browser launch fallback\u201D; \u201Cfix(account): restore Bangumi access-token page link and rename help button (#1007)\u201D; \u201Cfix(performance): \u7EFC\u5408\u6027\u80FD\u4F18\u5316 (#1004)\u201D; \u201Cfix: retry shared libraries and initialize Fluent icon fonts\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/pages/account/material_account_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/account/material_account_page.dart"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f22312f7e6ae14f803ea57bf370963d05fd72772feddab3a28a735afada3603"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: rust/src/next2_engine/engine/renderer_core.rs: rust/src/next2_engine/engine/renderer_core.rs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is Next2Renderer::update_frame at line 448), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ios): pace DFM frames with the native display clock\u201D; \u201Cfix(dfm): gate playback on glyph prewarm\u201D; \u201Cfix: animate DFM continuously on native media clock\u201D; \u201Cfix: stabilize DFM\u002B frame pacing\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- rust/src/next2_engine/engine/renderer_core.rs\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":"rust/src/next2_engine/engine/renderer_core.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe753aea9e1af2b4b510f78ff52bf05acf6e4fd2964c5047fcfd2b57750bc6c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart: lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is _CupertinoSubtitleSettingsPaneState._buildFullSubtitleSections at line 357), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(subtitle/player): \u4FEE\u590D\u4E0A\u6E38\u67B6\u6784\u6D4B\u8BD5\u5931\u8D25\u2014\u2014player_menu \u7981\u7528\u88F8 Cupertino \u7EC4\u4EF6\u6539\u4E3A Adaptive\uFF0Cplayer_factory \u79FB\u9664 logPlayerEvent \u8C03\u7528\uFF08\u6D4B\u8BD5\u73AF\u5883\u65E0 binding \u81F4 UA \u52A0\u8F7D\u5931\u8D25\uFF09\u201D; \u201Cfix(subtitle): \u5B57\u5E55\u989C\u8272\u8F93\u5165\u6539 hex \u5BF9\u8BDD\u6846 \u002B HSV \u8C03\u8272\u76D8\uFF0C\u8F93\u5165\u952E\u76D8\u4E0D\u518D\u906E\u6321\u201D; \u201CRevert #920 pending Erika API alignment and separate validation\u201D; \u201Cfix(subtitle/libmpv): \u5916\u6302\u5B57\u5E55\u591A\u5B57\u5E55\u4EA4\u4E92\u5168\u5957\u002Blibmpv\u5185\u6838\u4FEE\u590D(EOF\u8BEF\u5224/ASS\u7279\u6548/\u751F\u547D\u5468\u671F/\u5B57\u5E55\u8F68)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25a3b92a432fb1e2cca7b8ef8ca80dfb8fbab04f438c41ff28ef4e5ef7f7d61"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart: lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is _DandanplayRemoteLibraryViewState.build at line 70), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u4FEE\u590D\u5A92\u4F53\u5E93\u6765\u6E90\u4E0E\u8FDE\u63A5\u56DE\u9000\uFF0C\u5E76\u652F\u6301\u77ED\u8BC4\u6807\u8BB0\u5DF2\u770B (#1106)\u201D; \u201Cfix: preserve media library search input interactions on iPad (#978)\u201D; \u201Cfix(tv): replace library header scaling with global 0.5x UI scale\u201D; \u201Cfix(tv): cap media library controls at one third of page height\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64a933885348a41ebfc468c4abe0ed90deecb77d414ac92d30f5ae98095e96d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/media_library/adaptive_media_library_controls.dart: lib/media_library/adaptive_media_library_controls.dart changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is _MediaLibrarySectionOrderEditorState.build at line 926), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: align media library ordering with NipaPlay controls\u201D; \u201Cfix(tv): replace library header scaling with global 0.5x UI scale\u201D; \u201Cfix(tv): cap media library controls at one third of page height\u201D; \u201Cfix(tv): \u4FEE\u590D\u7A7A\u5A92\u4F53\u5E93\u3001\u9065\u63A7\u5668\u6309\u952E\u53CA\u4E8C\u7EF4\u7801\u8F93\u5165\u5E03\u5C40 (#905)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/media_library/adaptive_media_library_controls.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_controls.dart"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"0777e4eb7d2782657a2a8a4219cab0251c5d25899c93c77acc28908c0b8abba2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/services/danmaku_matching_service.dart: lib/services/danmaku_matching_service.dart changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is DanmakuMatchingService.getAnimeEpisodes at line 51), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(webdav): \u5B57\u5E55/\u5A92\u4F53\u4E0B\u8F7D\u8865\u9F50\u6311\u6218\u5F0F\u8BA4\u8BC1\uFF0C\u5A92\u4F53\u8D70\u672C\u5730\u8BA4\u8BC1\u4EE3\u7406\u201D; \u201Cfix: wait for remote danmaku recognition\u201D; \u201Cfix: resolve remote media for danmaku matching\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/services/danmaku_matching_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/services/danmaku_matching_service.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77a5fe6fdce6e241452e8f33a488561afb4d3638a01dab851f27052cf3c01f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/themes/nipaplay/widgets/large_screen_page_scaffold.dart: lib/themes/nipaplay/widgets/large_screen_page_scaffold.dart changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is NipaplayLargeScreenPageScaffold.build at line 56), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(android-tv): restore media detail focus in large-screen mode\u201D; \u201Cfix(tv): replace library header scaling with global 0.5x UI scale\u201D; \u201Cfix(tv): cap media library controls at one third of page height\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/large_screen_page_scaffold.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_page_scaffold.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ea88c1f0f499c383a77c0652ca175f490cae2fc775cddfea573c0f5a59609c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: rust/src/next2_engine/engine/rendering.rs: rust/src/next2_engine/engine/rendering.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is Next2GlyphAtlas::evict_oldest at line 623), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(dfm): gate playback on glyph prewarm\u201D; \u201Cfix: animate DFM continuously on native media clock\u201D; \u201Cfix: stabilize DFM\u002B frame pacing\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- rust/src/next2_engine/engine/rendering.rs\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":"rust/src/next2_engine/engine/rendering.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c01f29950ceec57442997248710a4e121489f81f400b95f5a00753c8526d5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/themes/nipaplay/widgets/apple_native_media_control.dart: lib/themes/nipaplay/widgets/apple_native_media_control.dart changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is _AppleNativeMediaControlState._sendInteraction at line 113), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: promote immersive media details and simplify action buttons\u201D; \u201Cfix: complete native media detail glass interaction on Apple platforms\u201D; \u201Cfix: restore macOS media glass control input and neutral tint\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/apple_native_media_control.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/themes/nipaplay/widgets/apple_native_media_control.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed9ddd8c834469e4ae604ec898a7c25592b124ba90afdd25345bad1e0d152aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/settings/about_settings_data.dart: lib/settings/about_settings_data.dart changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is AboutSettingsData.showSponsorship at line 12), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(release): restore CI notes and scope donation hiding to App Store (#1074)\u201D; \u201Cfix(release): restore CI notes and scope donation hiding to App Store\u201D; \u201Cfix(release): prepare Classic 1.11.11 and remove Apple desktop donations\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/settings/about_settings_data.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/about_settings_data.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c44d0769813b57b297971395807c283f3f5f9d3619d698057590246ed053efb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/themes/nipaplay/widgets/menu_button.dart: lib/themes/nipaplay/widgets/menu_button.dart changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is _WindowControlIconButtonState.build at line 107), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(windows): exclude caption buttons from keyboard focus traversal (#981)\u201D; \u201Crevert: withdraw unverified fixes from PRs 991, 993 and 994 (#1003)\u201D; \u201Cfix(windows): keep player keys away from caption controls (#991)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:37:03 \u002B08:00\u0027 --until=\u00272026-11-17 12:37:03 \u002B08:00\u0027 --full-history --no-merges -- lib/themes/nipaplay/widgets/menu_button.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/menu_button.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7388366d6ef2cea95049ef249ecd227a515b17249270cf672175640f2d2aa12"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 80 significant file(s) lose their only recent owner: lib/themes/nipaplay/widgets/dashboard_home_page_trending.dart, lib/themes/nipaplay/widgets/danmaku_list_menu.dart, lib/services/web_api_service.dart, lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart, rust/src/api/next2.rs, lib/themes/nipaplay/pages/settings/debug_log_viewer_page.dart, lib/services/media_server_service_base.dart, lib/pages/new_series_page.dart (\u002B72 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a70074d97c3dddf2e576f294914a3e4137d668e61a61de58f780fedc2ef9b387"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 26 significant file(s) lose their only recent owner: lib/themes/nipaplay/widgets/custom_media_info_dialog.dart, lib/services/full_backup_service.dart, lib/themes/nipaplay/widgets/immersive_anime_detail_scaffold.dart, lib/services/quarterly_review_cache.dart, lib/themes/nipaplay/widgets/immersive_episode_rail.dart, lib/danmaku_dfm/dfm_plus_layout_bridge.dart, lib/services/incremental_sync_transport.dart, lib/services/incremental_sync_repository.dart (\u002B18 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"959e037f5b06bc409f46ae752770df634295e17425620a0287cc0f0aea9e2e62"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 7 significant file(s) lose their only recent owner: lib/danmaku_next/danmaku_atlas_painter.dart, lib/cpp_native/bindings/danmaku_layout_io.dart, lib/utils/audio_track_manager.dart, lib/cpp_native/bindings/similarity_engine_io.dart, lib/cpp_native/bindings/native_bindings.dart, lib/cpp_native/bindings/danmaku_layout_web.dart, lib/plugins/similarity_ffi_service_io.dart. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3cd555b0697976032f13a65bb9edf7224e0435980dd52567c2b9f50eaa5dfbbf"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 6 significant file(s) lose their only recent owner: lib/models/external_player_session/potplayer_session.dart, lib/models/external_player_session/vlc_session.dart, lib/services/danmaku/danmaku_service.dart, lib/models/danmaku/style.dart, lib/utils/external_player_danmaku_ass.dart, lib/utils/mpv_utils.dart. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"07e60aff190f4fc778e1f6609d2acf5c4eda7c4c9a42ff1f7a12b5ea9fb9f4ef"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 5 significant file(s) lose their only recent owner: lib/services/dandanplay_remote_service.dart, lib/utils/watch_history_auto_match_helper.dart, lib/themes/nipaplay/widgets/macos_hdr_probe_overlay.dart, packages/media_kit_video/common/darwin/Classes/plugin/VideoOutput.swift, lib/widgets/danmaku_track_offset_button.dart. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9bfbaeb62a74373b432e2debea076a692f2db84a0215d5817eb320b8638f4779"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 4 significant file(s) lose their only recent owner: tool/ohos_mdk_smoke.dart, tool/ohos_erika_smoke.dart, lib/media_library/pick_local_media_directory.dart, lib/services/harmony_local_media_service.dart. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"083d35ddc7850d7ba7e5477592b7d96604e96d025e66b4ff5922a4fee01988d4"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (129 single-owned of 896 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 896 of the 1270 production source files in this repository met that bar). They are anonymized user #7 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: lib/media_library/media_library_section_order_store.dart."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060media_kit_video\u0060 is a published pub package (\u0060pubspec.yaml\u0060 without \u0060publish_to: none\u0060) and neither \u0060packages/media_kit_video/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit_video/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"975541a0d8d39bfdb725e72cd78f4a4fcdf5fecbe3526141c1469e4ca9dc56f2"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060build_tool\u0060 is runnable (\u0060executables:\u0060 or \u0060bin/\u0060 in its pub package) and neither \u0060rust_builder/cargokit/build_tool/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27aa1c7e7ba4eda4190c3e957fce869b7054c7c6e62bc6385a05727000502cc8"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060_matchWithDandanPlayAPI\u0060 spells \u0060API\u0060 where 36 names in the project spell it \u0060Api\u0060: 36 of 38 names in project repository.services spell the token \u0060Api\u0060 (36 of 38; unit: names in project repository.services containing \u0060Api\u0060). Peers: repository.services.BangumiApiService (lib/services/bangumi_api_service.dart:11); DandanplayService.refreshWebApiBaseUrl (lib/services/dandanplay_service_io.dart:196); DandanplayService.getApiBaseUrl (lib/services/dandanplay_service_io.dart:200); DandanplayService.getAccountApiBaseUrl (lib/services/dandanplay_service_io.dart:205); DandanplayService._fetchBangumiDetailsFromApi (lib/services/dandanplay_service_io.dart:2116). Rename to \u0060_matchWithDandanPlayApi\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b997bf6daa48d28b418ae542ec15a2cc11a0557f8935ee57511ca88b176ba43"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060_matchWithDandanPlayAPI\u0060 spells \u0060API\u0060 where 36 names in the project spell it \u0060Api\u0060: 36 of 38 names in project repository.services spell the token \u0060Api\u0060 (36 of 38; unit: names in project repository.services containing \u0060Api\u0060). Peers: repository.services.BangumiApiService (lib/services/bangumi_api_service.dart:11); DandanplayService.refreshWebApiBaseUrl (lib/services/dandanplay_service_io.dart:196); DandanplayService.getApiBaseUrl (lib/services/dandanplay_service_io.dart:200); DandanplayService.getAccountApiBaseUrl (lib/services/dandanplay_service_io.dart:205); DandanplayService._fetchBangumiDetailsFromApi (lib/services/dandanplay_service_io.dart:2116). Rename to \u0060_matchWithDandanPlayApi\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"6999443698c190443b75b328fbde6e3a3e5bbc29762280b04f91c921abb712a0"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060_launchURL\u0060 spells \u0060URL\u0060 where 22 names in the project spell it \u0060Url\u0060: 22 of 23 names in project repository.settings spell the token \u0060Url\u0060 (22 of 23; unit: names in project repository.settings containing \u0060Url\u0060). Peers: AboutSettingsData.repositoryUrl (lib/settings/about_settings_data.dart:19); AboutSettingsData.qqGroupUrl (lib/settings/about_settings_data.dart:21); AboutSettingsData.officialWebsiteUrl (lib/settings/about_settings_data.dart:22); AboutSettingsData.afdianUrl (lib/settings/about_settings_data.dart:23); _AboutSettingsContentState._buildUrlQrContent (lib/settings/pages/about_settings_content.dart:618). Rename to \u0060_launchUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/about_settings_content.dart"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"325fdec93c7f51a24a5768efdb66ab60a28b080e579d75eb7225aebb5f5cb8f1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060WebDAVFileSorter\u0060 spells \u0060DAV\u0060 where 14 names in the project spell it \u0060Dav\u0060: 14 of 15 names in project repository.utils spell the token \u0060Dav\u0060 (14 of 15; unit: names in project repository.utils containing \u0060Dav\u0060). Peers: AutoSyncSettings.saveWebDavConfiguration (lib/utils/auto_sync_settings.dart:130); AutoSyncSettings.hasWebDavConfiguration (lib/utils/auto_sync_settings.dart:162); MediaSourceUtils._remoteWebDavConnections (lib/utils/media_source_utils.dart:51); MediaSourceUtils.updateRemoteWebDavConnections (lib/utils/media_source_utils.dart:53); MediaSourceUtils.isWebDavPath (lib/utils/media_source_utils.dart:88). Rename to \u0060WebDavFileSorter\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/webdav_file_sorter.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eb1004cc1ae93328f3d0fb7922bc38ff04051713fd03d45b5cb9991429e66e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060_disableMic\u0060 spells \u0060Mic\u0060 where 18 names in the project spell it \u0060MIC\u0060: 18 of 20 names in project repository.src spell the token \u0060MIC\u0060 (18 of 20; unit: names in project repository.src containing \u0060MIC\u0060). Peers: Type3Message.setupMIC (third_party/smb_connect/lib/src/ntlmssp/type3_message.dart:285); Type3Message.isMICRequired (third_party/smb_connect/lib/src/ntlmssp/type3_message.dart:317); NtlmContext.isMICAvailable (third_party/smb_connect/lib/src/smb/ntlm_context.dart:261); NtlmContext.calculateMIC (third_party/smb_connect/lib/src/smb/ntlm_context.dart:266); NtlmContext.verifyMIC (third_party/smb_connect/lib/src/smb/ntlm_context.dart:306). Rename to \u0060_disableMIC\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/smb_connect/lib/src/smb/spnego_context.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"390ba5f2a0eb9a0c6022dd67d5a853ad9ece54b2e76d1cf389f5e5b56e492f6a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060_requireMic\u0060 spells \u0060Mic\u0060 where 18 names in the project spell it \u0060MIC\u0060: 18 of 20 names in project repository.src spell the token \u0060MIC\u0060 (18 of 20; unit: names in project repository.src containing \u0060MIC\u0060). Peers: Type3Message.setupMIC (third_party/smb_connect/lib/src/ntlmssp/type3_message.dart:285); Type3Message.isMICRequired (third_party/smb_connect/lib/src/ntlmssp/type3_message.dart:317); NtlmContext.isMICAvailable (third_party/smb_connect/lib/src/smb/ntlm_context.dart:261); NtlmContext.calculateMIC (third_party/smb_connect/lib/src/smb/ntlm_context.dart:266); NtlmContext.verifyMIC (third_party/smb_connect/lib/src/smb/ntlm_context.dart:306). Rename to \u0060_requireMIC\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/smb_connect/lib/src/smb/spnego_context.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f182e540b572d798d2bd8da321d288ee604b676b2b66693c3b901477fecd91d3"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (282183 LoC, 1312 module-visible types across 71 directories) overshoots its size bounds. 1 of 39 build unit(s) (Cargo, Gradle, SwiftPM, Xcode, npm, pub) overshoot their size bounds, lowering Project Cohesion to 9.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d5244dbb9040f0ef9a41721fc246c38399605a5b233c47266a2093207fec1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86f8881c120452a5b58b76d5f66023b77ad00c44a9e95bade8b0d70e2bd96411"},"properties":{"commitSha":"1dc96f1c9db360e21367696f975741995a1b8ed2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"413c46434dc768fca726a6d85ce52ff5c9b12f3f610c94c85325b1a0167fa4f5"},"properties":{"commitSha":"1dc96f1c9db360e21367696f975741995a1b8ed2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a59d516fc5635a33e23441ae22a698652641bf81e0d479e5cd55418b19a6dcbf"},"properties":{"commitSha":"1dc96f1c9db360e21367696f975741995a1b8ed2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04740738854c574c1dd99ff3d764007a0caf0684a72eb59ec8642070e37feff0"},"properties":{"commitSha":"1dc96f1c9db360e21367696f975741995a1b8ed2"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16442ca41d01e463639ae098da1241a1d46b4be095682eb8cc8fe570ab3583da"},"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":"bf048cc7577bd139a757523bec2f1b0bd2364b3bf8025dc83160deaed0855664"},"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":"1ff75ddc8af0856391a37e710749950e8c7da74f48315b7f751058619cf7f188"},"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":"201603ac04e79505f82c96b1f6bec78b5d299383b9f249887d63ed54ad293115"},"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":"b54bdbaa2b8c95085e12d892bb9ba07c8a20b569a9a855851467d607bd55197b"},"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":"18bdb9c95137267603a9a03ac6d37a7d262543f3e46f9f09eee7d7d087a51b87"},"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":"395b997f27b850869a934926d145c3e005e40a45675fb36163c92d1ea4f6b7d0"},"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":"13e318245077ad279e8c914be9af226ffe67f5600a9b4f62aa011aff232dfedd"},"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":"d1e59544a1c882ea0d0b48177de9b357d01b650aec5e7cb062cf44e9e8232355"},"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":"2629feeb8d774c006e0596e30db66a364fc98a2e093fd6ee727f0261ea0e2498"},"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":"aa9cd80ed4e95c3246e50865f68e167840a90ab70224a0dc2ae132b0f3d06764"},"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":"d009ff1e0d15f445675d95ba5a11f7aeb73b5d49799ebd4d8fbf6d3b4eb301fd"},"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":"90437ec7443ca01ae57b91a90d40afe2111fbb6acbeb32ffebc0636d57317149"},"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":"d3ec45f20f764fafa0e330393220747d9fb0a5a938827b091bea643765e8a16a"},"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":"905dcf69aac081de33dec98cc143970020dc907d6843bacac834490e2c05446e"},"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":"ce4a822b22689e1703bbea2d381f95b559bfc9b619fd0d1ca4d22a01578b71a0"},"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":"c9260bdae565f849bcbc76f7dfdb57c214235b62390546089fca0f6c3fa6316c"},"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":"46d7fe17b30ae37dd9b1e4ca1808925d2eb713fe02eae09037e851bde66f5bd8"},"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":"e69485a18c1b14f8279881afe9c58b60118d776fa704f184850ae83f194235ba"},"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":"2593b430a65edc4c7ccccdec8e08b6209256cfee64ab23fdba957e5e31037b7a"},"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":"3f120a555a9ae7b74fd5d9eb0f646cb17e2d3623a549a044a7d1c36eecdae49f"},"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":"2a20d46adc600cb6bcf2626970133a3c2f463ce9ec597c22f9d90453759a2809"},"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":"2b67f13b921955204bdfdf4c4efd9a3009758f09cdc9b986de389dcfb712f791"},"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":"a3c934494405ea4a2246c034bb5ef085a87a88583f08d883157cb9f203c0d90c"},"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":"d85d7dd7303a11fe433e1f3c8bbb8815cd5c2eaf183e63ccdb0a7bc7e8235d63"},"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":"8188b0dc2ca0f7631f1f3ee1364405800e965cfd5482ff5e03746fd2a851362e"},"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":"0f458f92aef99bc802916107d48be6433c72ffcdc2471eb6c4f74ce0f24a563e"},"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":"abfd8c3d1c90491c8a03c2ce7fb98a5faddbe789e8e84231e320770935e41acf"},"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":"6becbad641e1bcb6fd8a406f27cc86f6ad8c0407db20ba93c2a7712cbf65394b"},"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":"056d605bc36f560bb1e6ba127b40a64e33451914d2530a7b39a9a2650a2860ea"},"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":"5191c55e22f48ee30a666596db5c9080590bc0e8994fbdc86d6c762c16093f08"},"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":"74374347ba6ef8169d921b11fee8478dc033de56544d5f730aa6ae0a5758da26"},"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":"11f216e011e0f912932df82f1c70ff1de9568ccd276b37b6a0a2faad8da37bed"},"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":"e537f8fab6890194c2bcecc3dca5511e37ce560814b8a1443cfb2f9180275ac0"},"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":"678ce9b2905798a50c23b369dea4e642f7bad375cc776d072f4111ba406cfd1d"},"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":"6ba695a9efef8964788e74b02697b22be26166d18d879f4f1e56472714ded543"},"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":"1e8685f0522eb4aa292db79e612e7b6302d03ed1a9a12e332b933ed02f14cd9c"},"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":"9bcd897616639157d967be1fc0fab68cd1e26d30c9ae0fb4d8043900a4c7f99b"},"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":"75c8a66814e7896bcb8ea8793826f94f0fb23cf229aa8a62695dc68f56b0ede7"},"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":"91d0f9fda8bdf221e6b185d4ad8e846a61e7c46e3b8ac462609c2462dfe2f618"},"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":"f0db376449c4567fabed9e946e067cad6d772161e4771f462bc447484ecb5862"},"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":"1d4a032da880a396f5792c072c9e39c60e36a1ccb32d08894c7a3253bc89fa14"},"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":"054cea2fe681627ffddd0558a1a8abb2264aedf4a547dd4dfa23bd1bff519b6c"},"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":"7f43c10b38ec5c7062bf3fd965be7bc2c3c4b09f457ceca2b69e02d07cb739a0"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7d6919247be0dd6805f92d6e49d0d45729b95ecb1c357108bb56d549fc4623f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"27b32c2b1db1b567f329b609167fc5ab18c430988b6ea78356c0ac4b97c0d078"},"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":"2512750fc4471b4e424804906559b0b471c9a56a84508cf12fce866ebe456187"},"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":"96516803eb3a2856300c8b991706b220d906b53f7f03d115777aaf9c12c938b6"},"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":"be8e548bbe78212709f86d9a30ef6b10244b11c9a79602655069c6d453c98d13"},"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":"2d35c7a7436fd8acebb69605709ca91de58451b43db5b1810feaba4a4be8210f"},"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":"ddafa3bee2a708392e496d892726df27caa9462533bfea4c6f8dbedb5b016465"},"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":"73cb074d322ddf02001c9b54f0f744448962d6ddd61810c8488cdf03388ce72a"},"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":"9419e8e20ea106e3cb5d8451242c99e485861bea5c80ae30f0e1b65d3f2785d2"},"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":"5f272126f5b8d476c0fd816390af715e7e3caebc0513fbcc6a6b62a82bcd5155"},"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":"18e734607f98410ba3eafa3012a715d4322c538e856a1ff7a879bd5ac8deef03"},"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":"66902c7405a7c0db3b4854af3dd2d7f6af663b26832e3d7c06878c60961d4cab"},"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":"29f970a71587d7ee19c266fd817d02708d9d049d9cc68d985f52fb3403be15b9"},"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":"c7473d4ade820854f2015c90721ac8d6d8157becc00f8f6d39db09f1c27923a9"},"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":"0c5f762b8a58e9787e158c1da1db431664724cfb11870431707ca72ac9715f10"},"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":"e388179e87334cfb8fc814d4df2b1bf666400e8a04eb9c0de4f6abfd4443ba1c"},"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":"9b57764802eeb3a68e99d58b6d65c64f1b26b26cba654f5f1a9addeaf7b8111d"},"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":"1f0eece2bdc9dc76e4a1f4fe0021f2e54a9f9d3749ab3c1103163a7131e7fb9a"},"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":"848230d9994ea1be9c83b9d6fdf9109811faba4b240726c8f4e379106ff318ab"},"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":"404941d492b4a8eb0e85105d506eee3b909cc0c2eb490d33ff30e16e6f574c5b"},"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":"41c5b36beb4afe0a7c8938d2418c5084491e163bdc2715d6b63c014b072e4bd3"},"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":"2d61c981bd36e5d63ac520a711fc0156dcc9be78a744b100cf24f04eeb587dff"},"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":"92f6ba50e21c9bd55156f59e4cfd788926a6993c4f3bb72e910e86f3ee2a66a7"},"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":"049c4f6488093d07e207212da95ad051ba8f260987ba7e7b057fa0363670c103"},"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":"dce44a3cc3a3d659d42dada6a5c2660ba1feaca5999ab9b8921d5c2bd2e90b57"},"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":"af7e36dcf91f8ef335577ecd263cf839133751545fed22a533eded3be1bc9b8a"},"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":"02d2a6b8d6273ad1a50e288529ea08eef627e9f05d90cc834ea2cea0b13116c2"},"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":"ec1e59b6f5c98b1cf1f634a2e776264e8e2caf4cbc3dfb12cf92ddef24da0586"},"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":"09506bc950c923500b397f3bfceadedfec7c0abc29cd73fc32e241f4c22bb805"},"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":"695153db8094081b4e3b2c01f9ed61b24bd0d575300ecafbef1e9cbccddb1197"},"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":"1c510e88e1b552e60ad15e7d73c0bde51f7d7cd1e72b5e1e31a1025c970b570c"},"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":"5c3a04724375ae4f3ff7cdb213a60747dc0085e05a833c92ccbbae6b48d022b6"},"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":"ad744f5d70b4d0a8e2195df43a78a7c1616c16ea8a6347d5bbca90219295f0b3"},"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":"f27b4b36602ff4a32f274c7dcf2abd8191fbedcf69aad6ac67b437a5eafbe172"},"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":"5f7fdacf4e2e416ee5a842fd5477af75678a7f42061beeb1664e703e501a267f"},"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":"1302c7392c7edc6d9b71431bf75ad5cadb1f5e95b76ca48366ab837785a83c62"},"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":"3f2321d34b69b906146cf17448b78b90950e950c1a30d022863c72ee60abea03"},"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":"9d44e006bb13febd1157843a1c764f1f28f9152bd5d620e27ece940e6ad48c48"},"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":"df7febf5ae888fd78b95e1c69ca5d000133395f65ba298ab9c18f88cc4159d96"},"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":"74cffdec28d99c13ecf6504f3a58dfaebfb01360d4d2197ec059711f14c987a3"},"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":"4fe457cf29b954daddbff8bf3a3735a797cb6afb51475f1f1ab4ab8e03f3f71a"},"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":"34de24523d1bac378d114bd4dad1f4c81fe95646cb6163272c557bb023e066d9"},"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":"7d28fa89e61ec8d64168aa9524d035e81ff514bb9da9a341c5e45b841d8f4838"},"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":"5a07e9293012f8a5bb252348e5ebe834df52b7357d915daff9cba45fb4754c8d"},"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":"d12ab3d17b40f52f339305e1938a8b615c1d62f22228c4109d578a6fdf574456"},"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":"d88e9fa70502fb0bc0853f3147e88b7c4f245ce4d564d01b2d0d6fc6d5a73731"},"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":"58f64cddbcc0422b4f3a2292240c4a69436f904f0f8bb60d09ecd8da6e352b7a"},"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":"7cef61eb07287f430b020c18b4ebe1bda309219c2d91d00ec31fe26ba818598e"},"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":"856c5b63dede8d95ec4bfc541ab9b22cbb9559d50b0cb54a890ae67d3a49992b"},"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":"d57a0381febc6fcc52421b3aa458de88da9a86db2c76172157a35fa006491408"},"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":"b0f25d81960e7cba0f0c5077ac2f4eeab55bc2960db5895d1cb4c1697ce369a7"},"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":"9b950e643e45b63e785ac4ddafb9c26b3200d660e7566fd701890ff547d9af2a"},"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":"2b95c536f666b5ab345ad16ba7b2db0a266b69ea6d772d0ea01c55922fcb5a8f"},"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":"8d8fb3ed9df691dee2f16bacd72a281382d372cb7ee65df441e6622dc3c7ba1f"},"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":"b0de0b5d61a7bd990a62569c99bb09bb7dd72f6d5cd65339ecd48b544a34b3b9"},"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":"ab7416a3b1fbc059aee1152d86d1ad8f88f243da114a86e9f0aa09a29dcc4e22"},"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":"6422f7b80dece015f3e7d17eb2ee0b8ff57a7554961a43a891c44cddb2eedc4f"},"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":"49b246bc9cc8122a87f957faa2fad86eea92508806c9e7de86cbd8a181efb86c"},"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":"fe86b8ac3edeb13c998b4cdf1d4b29f9d7b1d34b4cdb55490cbbbd8166777d0e"},"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":"e82aba2cad03ab80c91ca2640239e45aa017e71b7189f47870c205a7c3b9976b"},"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":"4de9aa603a4741e0cd061500cc48f3a0b93b2ce9ce927a887950c4196fc1398b"},"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":"b2fcf8ae0f2e41ff99d039f5f3b392b4a75804fe6437c873cff7be4f807cf9a7"},"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":"95d05c9628012fb00a6f797269a36914ab02e64c31dc17e5410cf43760173d09"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"ecaa2e31f09f0ca91e46c3a99402222c601c1e06383f9f00ca04cdd12340d9d1"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"78fa43a2bbe7410e9c580d81b11209c02b806add8ce1f95dc5cd93ea641c1093"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"3bd87d921a3ac2646fedd3f84bba733542545a23c7b4fba34108ad3e84f80dde"},"taxa":[{"id":"CWE-79","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":"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":"c69f0a9102ae3a4f9dcbb33f12c09e836c00ad9f0961480ffc5da9cf6e018ee2"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"041842891ecdf94d940f9b679ff2299fd176b70e453cd2067df19a4891ce8083"},"taxa":[{"id":"CWE-79","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":"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":"b8d43d91ca29c88107f8e3978f62427e6e01c3004c121339ed0bc5ecbaf1ccf6"},"taxa":[{"id":"CWE-79","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":"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":"90fed635dcdf6643c3f5999e67ef92c712ac69e4ebf6be5f43850854a84ef790"},"taxa":[{"id":"CWE-79","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":"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":"c4f754f18cfabd665dab854b80d16ab4f32aa33009aef843d52f4b9b6b6aa638"},"taxa":[{"id":"CWE-79","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":"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":"6b0dfb745f1994fa828cf207a4ff8b2b5ce864c1b55031ae2a0745deeb0f17c3"},"taxa":[{"id":"CWE-444","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de66642aee43cc5e0ad6cb4394793f4652bdf36850bf91920efdf91c722b2068"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e107ba0b81877dfdaf0f2c78c130dafa5dbaeaff6a48067a8be48716db86ed7b"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","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":"ef03cf56cf6d24bf8d133ba81a15fe1501fe383cf0b89847d6430ef363590c58"},"properties":{"dependency":{"package":"piscina","version":"4.9.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"4.9.4","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5a5690f565e71daa1151ca19d4069a4fc343f01483a9a43b7fc99d64aa42fadc"},"properties":{"dependency":{"package":"tar","version":"6.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"7.5.19","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"cdc6bb58593a71dd559bca78ede58949388e43700e308b8ab039888be962a91f"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.102.8","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-111943","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0049","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"high","fixedVersion":"0.103.13","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"4f234548cf7ba59222a1071647ec24c59abaa0af31ddb8dc1806b7f0a1888d32"},"properties":{"dependency":{"package":"@isaacs/brace-expansion","version":"5.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"5.0.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"bfb63c440e49e5b9b7be303b715bc49d4626184725f348710d13f08fe817037e"},"properties":{"dependency":{"package":"@xmldom/xmldom","version":"0.7.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.8.15","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3bc45c3ec5de2da4859e7b63628a71feb34ba404e6b79ca7c2695940abe52bd7"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.1.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"683b9907c02954fce12138d54ae1e0f10c119cb2d2160a42fc724fab3b65bfa1"},"properties":{"dependency":{"package":"compression","version":"1.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.8.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"ed507e532e4693f01e4a9d79dc8e2b48dd9af85493e0fb8f3baedf0ea2c14fee"},"properties":{"dependency":{"package":"glob","version":"10.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.5.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"c6a5974006a377e7a85f29b488bc22b4763221d83b7516b16b398c694b9da554"},"properties":{"dependency":{"package":"ip-address","version":"10.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.3.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"0cd8250e61a76ace2a4752fe3c19866356750cc854d22f9b94808c7a2851940e"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.18.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"dd9d7fe49b4d356acdca3724f7ef6851914e890760b273d7c7b3e98baf3223a8"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"9.0.7","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5a4dcd16dc68e7cfd7a6ff6255d993e107c658a014f3ba3fc8d6bfa8dfa94c38"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.3.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"6c83e12811850ed9de8465c9fcb0e42ed93d95c17eac5ff585d2e38ced601da1"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.16","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"a49b331fa260dcd87914b4043008cbda9e70b6743904b7af43f2d811a0962140"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.4","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"e3bfbd1ac044825825e8dad7866ddaddcba4ceac4fa95fc4fb1c8ec9cccc8c0e"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"9d31c16914d1683979349e3f0bac9d367f3c9a409a852c8fbf2cc6b5906ec73d"},"properties":{"dependency":{"package":"glob","version":"11.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"11.1.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b23ec56833bff8f1d331df2d577fa833c7b64bf1cbbb13a8d8cb5f4c2d70b629"},"properties":{"dependency":{"package":"minimatch","version":"10.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.2.3","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"e9f95c664ce11da28110ebae21268efc232524a8152233fe7f9f2a07e7f282b2"},"properties":{"dependency":{"package":"svgo","version":"3.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.4","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"2027bd2a48bf81f0fe7e8c3d19e4b5169b14a249d674443cde670a419e0b3a9f"},"properties":{"dependency":{"package":"undici","version":"6.22.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.29.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"6f99b5f0d25b751b2ec175bf60043d5609b541101bb25526c90fe26acfa80d54"},"properties":{"dependency":{"package":"validator","version":"13.15.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"13.15.22","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d7ae53ef9973e268efcf244cb301bae5e263fd041214fc7472facf8a70282691"},"properties":{"dependency":{"package":"adler","version":"1.0.2","advisory":"RUSTSEC-2025-0056","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"6df4bd5aeb165131d68297191069e21dca7be60b9458676a895a3f43fe5fc56e"},"properties":{"dependency":{"package":"anyhow","version":"1.0.75","advisory":"RUSTSEC-2026-0190","severity":"medium","fixedVersion":"1.0.103","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"10ba51a7f903a9e107bbb4bc0cbedffc82b62496e09621b8f705a6936f0e8a96"},"properties":{"dependency":{"package":"chrono","version":"0.4.44","advisory":"RUSTSEC-2026-0543","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"107f7f2dca2e4ef18dec7509e954c0603fa22b77fd5d1c790d9764bae2e9d407"},"properties":{"dependency":{"package":"crypto-hash","version":"0.3.4","advisory":"RUSTSEC-2025-0060","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d425d621bfa0e7e646660928d14ae5bcdee57e44864d82e54aa10f25b3a3cef3"},"properties":{"dependency":{"package":"memmap2","version":"0.9.10","advisory":"RUSTSEC-2026-0186","severity":"medium","fixedVersion":"0.9.11","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"1f7a36e0d865725ee55b23a71c5361bdb388f363110b218b4528cabd440a98d0"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"6f0528343ddbce276b91cfff93d04caadf7b56c32acd47be533680d5b510e388"},"properties":{"dependency":{"package":"quick-xml","version":"0.37.5","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"severity":"medium","fixedVersion":"0.41.0","relation":"direct","declaredRange":"0.37.5","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"17ce300fdcd0bb0ee666fc6fc21f9d6f6320ec288c9ce709096c77ebee8bb833"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.17","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0340","RUSTSEC-2026-0343","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"severity":"medium","fixedVersion":"0.11.18","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"eed1d9b941ece9af12df8438ef721be9308fc9c2930dbc1da1a6ab9ce3c3ea76"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.15","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.5.16","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"8d3ac0a3134029cae404875f269d2998cdb8a9be74b51f83235e356d76d6b402"},"properties":{"dependency":{"package":"ringbuf","version":"0.4.8","advisory":"RUSTSEC-2026-0293","severity":"medium","fixedVersion":"0.5.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"e4f0e1ee33bc6ea1408dede674d8fbfedee5cc7097f43ad4d9b80482d11d5ef9"},"properties":{"dependency":{"package":"rustls","version":"0.22.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"severity":"medium","fixedVersion":"0.23.46","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"1ae10e114f42d0a4f04fcc59c5fee8d6e5afb60161b0a742369cbebaf6f5a9d5"},"properties":{"dependency":{"package":"rustls","version":"0.23.44","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0347","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"severity":"medium","fixedVersion":"0.23.45","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"46efc1539f7b26405485ca06aad549b5688b08923076fafd169d44d254cd1161"},"properties":{"dependency":{"package":"rustls-pemfile","version":"2.2.0","advisory":"RUSTSEC-2025-0134","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"e04e5b04c1e06a84c3115dd8eefbbceae5e24ce13b9b2703817119e7c7058129"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.15","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"0.103.16","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"513387e6892dfff2d8042f103375301c93df9f8a6ba9ac49695252d1f709a2c8"},"properties":{"dependency":{"package":"serde_with","version":"3.19.0","advisory":"[GHSA redacted]","severity":"medium","fixedVersion":"3.21.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"1666c1c293c2dcc7a2d976593300d527cea6dba1276aacb9cb016442b9a36a2b"},"properties":{"dependency":{"package":"tokio","version":"1.52.1","advisory":"RUSTSEC-2026-0386","severity":"medium","fixedVersion":"1.53.3","relation":"direct","declaredRange":"1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"4f7ae08f52ef9e84686d59c52a03cb59cec1259d985fb7a4e91481bfef85f9b5"},"properties":{"dependency":{"package":"ttf-parser","version":"0.25.1","advisory":"RUSTSEC-2026-0192","severity":"medium","relation":"direct","declaredRange":"0.25.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"7758dd86661223eb2cfe45e0450a8c8307ceb275fd3468ed620539ba8a6a2ff8"},"properties":{"dependency":{"package":"webpki-root-certs","version":"1.0.9","advisory":"RUSTSEC-2026-0383","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382"],"severity":"medium","fixedVersion":"1.0.10","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"c3c7cba8de138e7366adef409adc02fc18cf8c9a0efb475b33b97bf74f2c9b12"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.7","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.0.10","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"2c1ab9fcbe4aa152f1fc5bf0e501e73c0c43d021775febe23c0730edd7a54df4"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.17","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0340","RUSTSEC-2026-0343","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"severity":"medium","fixedVersion":"0.11.18","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"0741a14d20ec52044e64d6dbf6d7c3464db38c192847e1655808f801f866f3d9"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.15","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.5.16","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f7a2f37b93822d14c4b71ccc5b6e8b7b1bbebacf3ba936775e8eed7a8cf7dee1"},"properties":{"dependency":{"package":"rustls","version":"0.23.43","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"severity":"medium","fixedVersion":"0.23.45","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"7d80c17e247b11bd5207ceea7df7be850083e6e8bb5574f008425d78745dc45c"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.15","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"0.103.16","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"8f0b693226c29461b1409396726d1cdc9077404c6afd3ab8f633ab793da6bc39"},"properties":{"dependency":{"package":"tokio","version":"1.53.1","advisory":"RUSTSEC-2026-0386","severity":"medium","fixedVersion":"1.53.3","relation":"direct","declaredRange":"1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f5d3c47ea8899d195efa5b81fea50ecd2587f18758d5d75b17e63fa9dbc3321d"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.9","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.0.10","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"1c2dd4390e0045c752d9a2ff81a275f1e40e35ef577b9626ab3fac2479fad651"},"properties":{"dependency":{"package":"ajv","version":"8.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"8.18.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"74c6604ab9df1730b7e2cabdae21bf111f590e5c6a9cfdb60adc7ce2bfd0f49c"},"properties":{"dependency":{"package":"file-type","version":"16.5.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"21.3.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f18454e62753ab0164bd44a5cfb9ecdff75bc6a15da94f391646182aba624e17"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.16.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"e9d3fd090979969c1e6ed397ca7cb2542c5e70a6e3b66f7ae2520d48626c4c91"},"properties":{"dependency":{"package":"yaml","version":"2.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.8.3","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"7b838f21024ff52915c81e697c621864c099fc72523c5de32bc9894f6c9ef3bb"},"properties":{"dependency":{"package":"min-document","version":"2.19.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"2.19.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D31","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":"1ce2a5438a6f2411608ea97aac372244a2316cf42aaf99081043994540e40165"}},{"ruleId":"D31","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":"f9016395ac6108b3709daaa90e982f07dc7f9094e2874bfde67221e91937d40c"}},{"ruleId":"D31","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":"e489e6d33d229f5aed6be016a996ae68d8796a43c7d2d7cf105eaa13688eeb0f"}},{"ruleId":"D31","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":"a296f620a63356e29da8deb61e0f8baefca370ca85f19c792f0fd9bf8af7049b"},"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"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"193b5dbd736bbd1ce06bdd8992777833cda4ed424ef2e9cbc6b70e56b1f05d6b"},"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"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"afce30a230ff05744c423623303c79959c319c0982d23aaf1adf090c3b9e01a9"},"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"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"a1638fc57f8b86123317ea1ca903962814ea5694255cc3a05638d61ddf1b0291"},"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":"D31","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":"1e4d8b97ee59c078941980355de89b10284c77248dd51fda05c0e2bf8d9fb425"},"taxa":[{"id":"CWE-1357","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":"D31","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":"85e5c341bbdb39af1fa6b87bd95aad20fd316ee38677b38d9b058d8254190bb9"}},{"ruleId":"D31","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":"773d0baf6b2d1115e7bab7a10f4db9117ad19237eda7c179acac2f8a73488e1f"},"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":"D31","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":"c05ca1c07e3506ee51af53f896d00c18ccb3ccaa41ef68f9397b23a73dc94178"},"taxa":[{"id":"CWE-1357","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":"D31","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":"33c47687dbcb50c12dda5652837d70b40545e0252f27f0ab201ac82151494dc6"},"taxa":[{"id":"CWE-426","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-693","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"b0c1be843fe1022c937b30e40dc9b8352bbe182fb0aef188245b2a56b22c1ffe"}},{"ruleId":"D31","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":"91ca81baa3034bc2cb90cd9280caa97b82c4e063c1ab61a1a3eddf976944667a"}},{"ruleId":"D31","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":"d8ca0e59791f10f76477b1a9ab40674fbc350f91957757f7be6aa6d1d15441cc"}},{"ruleId":"D31","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":"655c71910299c634e725e55ecf69424b5969926e585d9fce56266a8b9515d281"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_media_preference_store.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf238421ba16704ecbaf6f60adf563d8f0a632546941461079d7c76859c76bd3"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 17 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: lib/services/multi_address_server_service.dart, lib/danmaku_next/nipaplay_next_old_canvas_painter.dart, lib/danmaku_next/danmaku_sprite_atlas.dart, lib/models/emby_media_selection.dart, lib/services/emby_track_application.dart, lib/services/emby_media_selection_resolver.dart, lib/services/emby_media_selection_controller.dart, lib/models/server_profile_model.dart (and 9 more) (18 orphaned of 896 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 896 of the 1270 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/multi_address_server_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b1d11310a20200888cb39e3e09218a68f6ddf5b3166e231d7f854ff38204e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_canvas_painter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b0f73a25031d1b359e80127900a6598232e306608b9324eb1e2c23b64fcfe3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/danmaku_sprite_atlas.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43817772635ae11593bb15701de200bad24c04cde479072096ffc0fb4eb3af1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_media_selection.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a8650355daf52ee5ec22a82b0a43b9103d88039a1420fa803c789c63bee1b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_track_application.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9b36898bcedeba15523e115865d3e0797e4274ef172c5e41b7301dea73fae0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_media_selection_resolver.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9df6dcea233873459c90cda53c96b491cba730ed2c36179d5af9cddf4355ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_media_selection_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa369174d3019750dbd20019c7c05925eaa5569c842821e80f953f85d1bb02e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/server_profile_model.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b08d28b7fb9020905d9727ec1e114bf2c7d920297eb10446ee751782bc64f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cpp_native/bindings/danmaku_parser_io.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61272e3b4cf3dc97c4db080f96dbbd88b3c210bc9ea56810452255f109a0ab8a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_overlay.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad14cc006e4f043c883f1baa80af385b44314dbcb2da46949075c044aa7fe23c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_player_menu_selection.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0455ec285f5b4abf6f0a763ae8d244221613d6348040b192c34de3506ecc91cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/danmaku_canvas/lib/danmaku_timeline.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0707fec5880683aa473d011bd02c8569d930f2ebae93d3ad02a58c16ce5d0ece"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_chapters.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a72606a9dd71840578334abead4c065db658161bb2ae66b0d42a802fa1e095"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cpp_native/native_arena.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bfa548ebbedbed7d42a42ea659bf459dd7beb56c021a7cd3b01c9dad50940f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/emby_media_selection_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42238b9ea6c2078f4b9b8e5870c557600ccb691ca80d812d6d87e296e31c40db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_release_name_parser.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a3e442bd25e0ae1235430f9cd94b70d0c92c660a11db4e474ee5c76fb7bd93"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_media_source_catalog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4609f43801bb51a0cb961a51753be9f850ebbdc07a76909dc403aae3a3af7d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: mpv_session.dart \u2194 external_player_console_service.dart: \u0060lib/models/external_player_session/mpv_session.dart\u0060 (context models) and \u0060lib/services/external_player_console_service.dart\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 82% of the time (14 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) \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 14 shared commits counted here, the most recent 3 are \u0060cdacdc8d\u0060 fix(mpv): stabilize danmaku reload and sync console style settings (#\u2026; \u0060c7b0fc13\u0060 refactor(external-player): \u7531 MpvSession \u7BA1\u7406\u5F39\u5E55\u8D44\u6E90; \u00601208fb13\u0060 refractor(external-player): \u8FDB\u4E00\u6B65\u6574\u7406\u903B\u8F91, \u5220\u9664DanmakuLaunchAssets \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e522879ae4f03a6379c57dc32ccfe37492297099fec3fbb5587e4f71f5372b52"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: episode_navigation_service.dart \u2194 playlist_menu.dart: \u0060lib/services/episode_navigation_service.dart\u0060 (context services) and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart\u0060 (context themes) sit in DIFFERENT parts of the tree yet change together 69% of the time (9 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 9 shared commits counted here, the most recent 3 are \u0060eeaa5072\u0060 Add a standalone skip danmaku matching policy; \u0060d8a84fe2\u0060 \u5931\u8D25\u91CD\u8BD5; \u00601d0a1842\u0060 \u4FEE\u590D\u7EED\u64AD\u5931\u6548 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15d998515fb9d27b6bca5340a01ddf5c49da77d9f51c6727352a85e48bee08f"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: external_player_console_service.dart \u2194 danmaku_ass_converter.dart: \u0060lib/services/external_player_console_service.dart\u0060 (context services) and \u0060lib/utils/danmaku_ass_converter.dart\u0060 (context utils) sit in DIFFERENT parts of the tree yet change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 7 shared commits counted here, the most recent 3 are \u0060c7b0fc13\u0060 refactor(external-player): \u7531 MpvSession \u7BA1\u7406\u5F39\u5E55\u8D44\u6E90; \u00605a83a42b\u0060 refractor: \u5C06 allowStacking \u6574\u5408\u8FDB AssExportSettings; \u00605cf5387c\u0060 feat: improve the macOS mpv danmaku console (#768) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/external_player_console_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce6681442b2f1cdad9b13a13a87c94bde06f5f51fba2796d2230039a23b855b"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: dfm_plus_overlay.dart \u2194 renderer_core.rs: \u0060lib/danmaku_dfm/dfm_plus_overlay.dart\u0060 (context danmaku_dfm) and \u0060rust/src/next2_engine/engine/renderer_core.rs\u0060 (context rust) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 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 6 shared commits counted here, the most recent 3 are \u0060a95a3a74\u0060 fix(ios): pace DFM frames with the native display clock; \u00603864f7f5\u0060 fix(dfm): gate playback on glyph prewarm; \u006098763816\u0060 \u79FB\u9664\u9AD8\u5237\u5E93\u3001\u8BCA\u65AD\u4EE3\u7801\u548C\u4E34\u65F6 build CI \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8ae76c20d118c4d9751e16ba1c7ed06f94a5e01fb77afdefdf525b51a5aa7f"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: mpv_session.dart \u2194 external_player_console_page.dart: \u0060lib/models/external_player_session/mpv_session.dart\u0060 (context models) and \u0060lib/pages/external_player_console_page.dart\u0060 (context pages) sit in DIFFERENT parts of the tree yet change together 59% of the time (10 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 10 shared commits counted here, the most recent 3 are \u0060cdacdc8d\u0060 fix(mpv): stabilize danmaku reload and sync console style settings (#\u2026; \u0060a4ad1020\u0060 Windows\u5916\u90E8\u64AD\u653E\u5668\u63A7\u5236\u53F0\u652F\u6301; \u00605cf5387c\u0060 feat: improve the macOS mpv danmaku console (#768) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d18138d7352722f4538ea4fcf97a4712a9dca0c778e091caaa06e184291467"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: erika_player_adapter.dart \u2194 playback_info_menu.dart: \u0060lib/player_abstraction/erika_player_adapter.dart\u0060 (context player_abstraction) and \u0060lib/themes/nipaplay/widgets/playback_info_menu.dart\u0060 (context themes) sit in DIFFERENT parts of the tree yet 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) \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 7 shared commits counted here, the most recent 3 are \u006003968fd1\u0060 feat(erika): adopt 0.3.4 upscalers and custom models in Classic; \u0060cd274814\u0060 fix(erika): Classic\u0027s playback info shows Erika\u0027s codec, frame rate a\u2026; \u0060853184a9\u0060 feat(linux): integrate Erika texture playback and source builds \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11318bfd7d1da1b38a4bf91895cc430d26e82318842561fbad4088eb8eae40cd"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: auto_next_episode_service.dart \u2194 cupertino_playlist_pane.dart: \u0060lib/services/auto_next_episode_service.dart\u0060 (context services) and \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart\u0060 (context themes) sit in DIFFERENT parts of the tree yet 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) \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 6 shared commits counted here, the most recent 3 are \u0060d8a84fe2\u0060 \u5931\u8D25\u91CD\u8BD5; \u00601d0a1842\u0060 \u4FEE\u590D\u7EED\u64AD\u5931\u6548; \u0060c7f66fe8\u0060 refactor(external-player): \u5B8C\u6210\u64AD\u653E\u5165\u53E3\u6536\u655B \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/auto_next_episode_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7467cf1865cae29dca8c8bea9e410764c59ba79f0d890a51f4d7b7e62d8854d9"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: shared_remote_library_provider.dart \u2194 web_api_service.dart: \u0060lib/providers/shared_remote_library_provider.dart\u0060 (context providers) and \u0060lib/services/web_api_service.dart\u0060 (context services) sit in DIFFERENT parts of the tree yet 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) \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 6 shared commits counted here, the most recent 3 are \u0060a1951902\u0060 1; \u00605c666f92\u0060 1; \u006027ae633e\u0060 webUI \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22807c49f2d3129bcd32a3652bd26c8cf97ff481f7befbea55d63ef02e3f56b5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: emby_provider.dart \u2194 jellyfin_service.dart: \u0060lib/providers/emby_provider.dart\u0060 (context providers) and \u0060lib/services/jellyfin_service.dart\u0060 (context services) sit in DIFFERENT parts of the tree yet 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) \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 7 shared commits counted here, the most recent 3 are \u006022331504\u0060 feat: Enhance Jellyfin service and UI for mixed library navigation; \u00601a3ee797\u0060 feat: emby\u652F\u6301\u8F6C\u7801\u64AD\u653E; \u00606a4c928e\u0060 feat: provider-level ready signals and dashboard pending-refresh clea\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd525820be94bf0e0bf3855a824c1a22b39f5baeacb72d17200184fd06774c81"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: video_player_adapter.dart \u2194 video_player_state.dart: \u0060lib/player_abstraction/video_player_adapter.dart\u0060 (context player_abstraction) and \u0060lib/utils/video_player_state.dart\u0060 (context utils) sit in DIFFERENT parts of the tree yet 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) \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 6 shared commits counted here, the most recent 3 are \u006030687b02\u0060 feat(player): auto-detect and load external mka audio track with meta\u2026; \u00606570b22b\u0060 2025-0803; \u00603dbf8359\u0060 Revert \u00221\u0022 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d52e6cd86961250f5f4f279bdc835ee3c7bb8cbed231128cf2125d79a2e59e5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: dfm_plus_overlay.dart \u2194 rendering.rs: \u0060lib/danmaku_dfm/dfm_plus_overlay.dart\u0060 (context danmaku_dfm) and \u0060rust/src/next2_engine/engine/rendering.rs\u0060 (context rust) 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 \u00603864f7f5\u0060 fix(dfm): gate playback on glyph prewarm; \u006098763816\u0060 \u79FB\u9664\u9AD8\u5237\u5E93\u3001\u8BCA\u65AD\u4EE3\u7801\u548C\u4E34\u65F6 build CI; \u00606ec75e20\u0060 \u4FEE\u590D\u9996\u64AD\u5361\u987Fbuild_apk \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34d9e76c013774e3efde65b1ac93ea223a3ef2d6268983157d9f19b496ccbbf"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: play_video_page.dart \u2194 video_player_state_capture.dart: \u0060lib/pages/play_video_page.dart\u0060 (context pages) and \u0060lib/utils/video_player_state/video_player_state_capture.dart\u0060 (context utils) 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 \u0060c5eb175b\u0060 feat(capture): support lossless PNG alongside JPEG quality presets (#\u2026; \u0060f4cf03fe\u0060 GIF \u83DC\u5355\u4FEE\u590D\u548C\u4F18\u5316; \u006022c88fb6\u0060 fix(player): correct aspect layout and screenshot controls \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/play_video_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b100e17b7c3be56d5aa3bef0bd653a3d11a8258bd7f8611be19741fe1d635f"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: subtitle_settings_menu.dart \u2194 video_player_state_player_setup.dart: \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 (context themes) and \u0060lib/utils/video_player_state/video_player_state_player_setup.dart\u0060 (context utils) 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 \u006066e376ad\u0060 Update Erika integration for streaming and subtitles (#673); \u0060f2dc1ef7\u0060 review solve2; \u006051b43f2c\u0060 review solve \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_settings_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"136ed5f9383882c28f7688b62f5aa1fcde8d3b859111181026745048cfc8f393"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: cupertino_playlist_pane.dart \u2194 playlist_menu.dart: \u0060lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/playlist_menu.dart\u0060 change together 91% of the time (10 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 10 shared commits counted here, the most recent 3 are \u0060eb86e486\u0060 feat\uFF1A\u5185\u7F51\u548C\u516C\u7F51\u5730\u5740; \u0060ca30f92e\u0060 fix: retain standalone media in Jellyfin and Emby playlists (#992); \u0060d8a84fe2\u0060 \u5931\u8D25\u91CD\u8BD5 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8987774249d9cc17a1729053c4b5517f05249139578365e43a2e9aafe2d6b74"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: cupertino_subtitle_settings_pane.dart \u2194 subtitle_settings_menu.dart: \u0060lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_settings_menu.dart\u0060 change together 80% of the time (8 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) 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 \u00607a3636f9\u0060 fix(subtitle): \u5B57\u5E55\u989C\u8272\u8F93\u5165\u6539 hex \u5BF9\u8BDD\u6846 \u002B HSV \u8C03\u8272\u76D8\uFF0C\u8F93\u5165\u952E\u76D8\u4E0D\u518D\u906E\u6321; \u006066e376ad\u0060 Update Erika integration for streaming and subtitles (#673); \u0060f2dc1ef7\u0060 review solve2 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3697a9c4627a46666cb4de1defe29fcc4d31e886234d66011a0261a8b337cfd6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: emby_service.dart \u2194 jellyfin_service.dart: \u0060lib/services/emby_service.dart\u0060 and \u0060lib/services/jellyfin_service.dart\u0060 change together 72% of the time (31 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) 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 31 shared commits counted here, the most recent 3 are \u00609b1fd7e7\u0060 fix: add EnableUserData/enableUserData flag to episode query APIs; \u0060899cfdef\u0060 feat: add watched indicator for episodes from remote media library (c\u2026; \u006009f26c30\u0060 fix: address PR #457 review feedback \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db990a0ae07891e1e087359f4b0e770ac56af62968875abfcaec2271d51d766"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dandanplay_remote_library_view.dart \u2194 shared_remote_library_view.dart: \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060 and \u0060lib/themes/nipaplay/widgets/shared_remote_library_view.dart\u0060 change together 62% of the time (10 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 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 \u0060ddce370b\u0060 fix(tv): replace library header scaling with global 0.5x UI scale; \u00602e99063d\u0060 fix(tv): cap media library controls at one third of page height; \u0060cfc8d5d5\u0060 fix(tvos): stabilize media cards and title account page \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bda35cefd8f3291634598648c9f116c0257d41d9ec24fcc4c9f3decab1477b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dandanplay_remote_library_view.dart \u2194 network_media_library_view.dart: \u0060lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart\u0060 and \u0060lib/themes/nipaplay/widgets/network_media_library_view.dart\u0060 change together 62% of the time (10 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 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 \u0060ddce370b\u0060 fix(tv): replace library header scaling with global 0.5x UI scale; \u00602e99063d\u0060 fix(tv): cap media library controls at one third of page height; \u0060cfc8d5d5\u0060 fix(tvos): stabilize media cards and title account page \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bd9fcb78ba3e0f7ad539ac5e245faf86d42d1b8a9f912185b950a04f8e6502"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: emby_provider.dart \u2194 jellyfin_provider.dart: \u0060lib/providers/emby_provider.dart\u0060 and \u0060lib/providers/jellyfin_provider.dart\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060e137e7d3\u0060 fix: Jellyfin \u652F\u6301\u5267\u96C6\u6DFB\u52A0\u65E5\u671F\u6392\u5E8F\u5E76\u517C\u5BB9\u65E7\u6392\u5E8F\u5B58\u6863\uFF08#795\uFF09 (#979); \u006022331504\u0060 feat: Enhance Jellyfin service and UI for mixed library navigation; \u0060e13afbbf\u0060 feat: Add Cupertino network media library pages and components \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f344e8e9624d43c80a58ab2f22d692d93601695df125a169a6511daeff53c25"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: main.dart \u2194 background_with_blur.dart: \u0060lib/main.dart\u0060 and \u0060lib/themes/nipaplay/widgets/background_with_blur.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 \u00608a8a32ce\u0060 feat(macos): add HDR native video pipeline prototype; \u0060fb39e261\u0060 feat(theme): add circular background reveal for light/dark toggle; \u0060908e3f54\u0060 1 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4c53d2f042714742b8d869b51521e94ff2d12d83f738ae6db71fa34ad2db46"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: subtitle_list_menu.dart \u2194 subtitle_tracks_menu.dart: \u0060lib/themes/nipaplay/widgets/subtitle_list_menu.dart\u0060 and \u0060lib/themes/nipaplay/widgets/subtitle_tracks_menu.dart\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060113e6faa\u0060 feat(subtitles): stack candidates in the track menu without stealing \u2026; \u0060c96ada4f\u0060 fix: external subtitle selection; \u006069edd517\u0060 \u4FEE\u590D\u4E86\u901A\u8FC7\u53F3\u4FA7\u680F\u8FDB\u5165\u64AD\u653E\u83DC\u5355\u65F6\uFF0C\u8FD8\u672A\u4EA4\u4E92\u5C31\u76F4\u63A5\u9690\u85CF\u7684bug (at that commit the files were still \u0060lib/widgets/nipaplay_theme/subtitle_list_menu.dart\u0060 and \u0060lib/widgets/nipaplay_theme/subtitle_tracks_menu.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/subtitle_list_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92be3acdf568a75002b637b6e735962cccc5de6379809e946ccd66cd9b614c47"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: subtitle_manager.dart \u2194 video_player_state_subtitles.dart: \u0060lib/utils/subtitle_manager.dart\u0060 and \u0060lib/utils/video_player_state/video_player_state_subtitles.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 \u0060c47d0e64\u0060 fix(subtitles): keep app-rendered sidecars out of the native renderer; \u0060db1129da\u0060 fix(subtitle): the overlay applies the SRT delay setting to the line \u2026; \u00606d3f6d7e\u0060 fix(subtitles): show only one subtitle at a time when external text s\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79a0a9795e0e9c0025ce1da366e28c19ede82c23671951b2a8528a48cca2252"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: main.dart \u2194 desktop_user_activity.dart: \u0060lib/main.dart\u0060 and \u0060lib/widgets/user_activity/desktop_user_activity.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 \u00602501c555\u0060 1 (at that commit the file was still \u0060lib/widgets/user_activity/material_user_activity.dart\u0060); \u0060aa9033a0\u0060 1 (at that commit the file was still \u0060lib/widgets/user_activity/material_user_activity.dart\u0060); \u006061e313b1\u0060 1 (at that commit the file was still \u0060lib/widgets/user_activity/material_user_activity.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddccff8b3266f1676494951b337f106394b33da1874ed8d964cb24a7c510e7de"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mdk_player_adapter_io.dart \u2194 media_kit_player_adapter.dart: \u0060lib/player_abstraction/mdk_player_adapter_io.dart\u0060 and \u0060lib/player_abstraction/media_kit_player_adapter.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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060761f06aa\u0060 fix(player): await native teardown and release callback ownership safely; \u00600f3895ba\u0060 fix(player): serialize kernel teardown to fix mdk/libmpv hot-swap hang; \u0060c4fd060d\u0060 fix(network): avoid duplicate player UA handling \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4c1dbb7f24b1d2ce166ab73da7146b576ce6fe5d8b6ac5b60b166c528c1338"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: large_screen_anime_detail_page.dart \u2194 large_screen_scaffold_layout.dart: \u0060lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart\u0060 and \u0060lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart\u0060 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) 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 5 shared commits counted here, the most recent 3 are \u00606bc5b182\u0060 fix(tvos): \u4FEE\u590D\u767B\u5F55\u6062\u590D\u3001\u7CFB\u7EDF\u952E\u76D8\u4E0E\u9065\u63A7\u5BFC\u822A (#1093); \u0060beabc896\u0060 \u82E5\u5E72\u4F18\u5316\u548C\u4FEE\u590D; \u006007195f43\u0060 \u5927\u5C4F\u5E55\u6A21\u5F0F\u624B\u67C4\u652F\u6301 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"587719b4e707e0b7be38449af5948f4749a64fdc00cd01088c0fa21c2ca7c414"}},{"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":"8f37469f29dbbada8bae137d5d3a89b0b485181208064063ff5f28fe321dc232"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e4d7b3e04f7fb37b1f68c638f55334333251e759146e47913b0545ff6e7489a"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D37","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":"2e96dfd6d93fe913fb2e9028610c982dbd322c76ecf26cfdd7734b74da991d0f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AppLocalizations (593 abstract methods): \u0060AppLocalizations\u0060 declares 593 abstract methods: \u0060appTitle\u0060, \u0060tabHome\u0060, \u0060tabVideoPlay\u0060, \u0060tabMediaLibrary\u0060, \u0060tabTorrentDownload\u0060, \u0060tabAccount\u0060, \u0060tabDanmakuConsole\u0060, \u0060externalPlayerConsoleTitle\u0060, \u0060externalPlayerConsoleEmptyTitle\u0060, \u0060externalPlayerConsoleEmptyDescription\u0060, \u0060externalPlayerConsoleAnime\u0060, \u0060externalPlayerConsoleEpisode\u0060, \u0060externalPlayerConsoleEpisodeId\u0060, \u0060externalPlayerConsoleProcessId\u0060, \u0060externalPlayerConsoleMediaPath\u0060, \u0060externalPlayerConsoleUnknownAnime\u0060, \u0060externalPlayerConsoleUnknownEpisode\u0060, \u0060externalPlayerConsoleProgress\u0060, \u0060externalPlayerConsoleProgressUnsupported\u0060, \u0060externalPlayerConsoleProgressLoading\u0060, \u0060externalPlayerConsoleTimestampLabel\u0060, \u0060externalPlayerConsoleTimestampHint\u0060, \u0060externalPlayerConsoleTimestampInvalid\u0060, \u0060externalPlayerConsoleTimestampSeek\u0060, \u0060externalPlayerConsoleDanmakuList\u0060, \u0060externalPlayerConsoleDanmakuStats\u0060, \u0060externalPlayerConsoleDanmakuEmpty\u0060, \u0060externalPlayerConsoleDanmakuUnknownSender\u0060, \u0060externalPlayerConsoleDanmakuSender\u0060, \u0060externalPlayerConsoleDanmakuTypeScroll\u0060, \u0060externalPlayerConsoleDanmakuTypeTop\u0060, \u0060externalPlayerConsoleDanmakuTypeBottom\u0060, \u0060externalPlayerConsoleDanmakuActive\u0060, \u0060externalPlayerConsoleDanmakuFollowEnabled\u0060, \u0060externalPlayerConsoleDanmakuFollowDisabled\u0060, \u0060externalPlayerConsoleDanmakuKeywordFilter\u0060, \u0060externalPlayerConsoleDanmakuKeywordHint\u0060, \u0060externalPlayerConsoleDanmakuKeywordAdd\u0060, \u0060externalPlayerConsoleDanmakuBlocked\u0060, \u0060externalPlayerConsoleDanmakuBlockModeKeyword\u0060, and 553 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/l10n/app_localizations.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fe7ecfd7d0347f61e13639799b7efef931a53b69580a81c3951e891578014f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: FluentLocalizations (185 abstract methods): \u0060FluentLocalizations\u0060 declares 185 abstract methods: \u0060backButtonTooltip\u0060, \u0060closeButtonLabel\u0060, \u0060searchLabel\u0060, \u0060closeNavigationTooltip\u0060, \u0060openNavigationTooltip\u0060, \u0060clickToSearch\u0060, \u0060modalBarrierDismissLabel\u0060, \u0060minimizeWindowTooltip\u0060, \u0060restoreWindowTooltip\u0060, \u0060closeWindowTooltip\u0060, \u0060dialogLabel\u0060, \u0060cutActionLabel\u0060, \u0060copyActionLabel\u0060, \u0060pasteActionLabel\u0060, \u0060selectAllActionLabel\u0060, \u0060undoActionLabel\u0060, \u0060newTabLabel\u0060, \u0060closeTabLabelSuffix\u0060, \u0060scrollTabBackwardLabel\u0060, \u0060scrollTabForwardLabel\u0060, \u0060noResultsFoundLabel\u0060, \u0060copyActionTooltip\u0060, \u0060cutActionTooltip\u0060, \u0060pasteActionTooltip\u0060, \u0060selectAllActionTooltip\u0060, \u0060undoActionTooltip\u0060, \u0060hour\u0060, \u0060minute\u0060, \u0060am\u0060, \u0060pm\u0060, \u0060month\u0060, \u0060day\u0060, \u0060year\u0060, \u0060pickADate\u0060, \u0060seeMore\u0060, \u0060seeLess\u0060, \u0060redLabel\u0060, \u0060greenLabel\u0060, \u0060blueLabel\u0060, \u0060opacityLabel\u0060, and 145 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8f02cd67296e54f05d3e1cd2c2c6a087b68ddb76f7acb41c512d82fb50465b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ExternalPlayerLaunchSession (16 abstract methods): \u0060ExternalPlayerLaunchSession\u0060 declares 16 abstract methods: \u0060type\u0060, \u0060playerPath\u0060, \u0060mediaPath\u0060, \u0060processId\u0060, \u0060ipcPath\u0060, \u0060duration\u0060, \u0060position\u0060, \u0060isPaused\u0060, \u0060fraction\u0060, \u0060isClosed\u0060, \u0060launch\u0060, \u0060terminate\u0060, \u0060togglePause\u0060, \u0060seekToFraction\u0060, \u0060seekToPosition\u0060, \u0060refreshDanmaku\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/session.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0d05eac1d6bb41fd0f391287e0d943d6aeba9edfa7d2cc10eb7ce55b90eebd"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AbstractPlayer (29 abstract methods): \u0060AbstractPlayer\u0060 declares 29 abstract methods: \u0060volume\u0060, \u0060playbackRate\u0060, \u0060state\u0060, \u0060textureId\u0060, \u0060media\u0060, \u0060mediaInfo\u0060, \u0060activeSubtitleTracks\u0060, \u0060activeAudioTracks\u0060, \u0060position\u0060, \u0060bufferedPosition\u0060, \u0060setBufferRange\u0060, \u0060supportsExternalSubtitles\u0060, \u0060updateTexture\u0060, \u0060setMedia\u0060, \u0060prepare\u0060, \u0060seek\u0060, \u0060dispose\u0060, \u0060snapshot\u0060, \u0060setDecoders\u0060, \u0060getDecoders\u0060, \u0060getProperty\u0060, \u0060setProperty\u0060, \u0060setVideoSurfaceSize\u0060, \u0060setChapter\u0060, \u0060playDirectly\u0060, \u0060pauseDirectly\u0060, \u0060setPlaybackRate\u0060, \u0060stepForward\u0060, \u0060stepBackward\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/abstract_player.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3e823de51e4026c33bafd5cf10a1f13a9325f8036956b7495d2ff3b7056935"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MediaServerServiceBase (23 abstract methods): \u0060MediaServerServiceBase\u0060 declares 23 abstract methods: \u0060serviceName\u0060, \u0060serviceType\u0060, \u0060prefsKeyPrefix\u0060, \u0060serverNameFallback\u0060, \u0060notConnectedMessage\u0060, \u0060serverUrl\u0060, \u0060username\u0060, \u0060password\u0060, \u0060accessToken\u0060, \u0060userId\u0060, \u0060isConnected\u0060, \u0060isReady\u0060, \u0060selectedLibraryIds\u0060, \u0060currentProfile\u0060, \u0060currentAddressId\u0060, \u0060normalizeRequestPath\u0060, \u0060testConnection\u0060, \u0060performAuthentication\u0060, \u0060getServerId\u0060, \u0060getServerName\u0060, \u0060loadAvailableLibraries\u0060, \u0060loadTranscodeSettings\u0060, \u0060clearServiceData\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_service_base.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02463376e9d5b05b5b557d947fee6dbf7e55be3dac9f6ed71d877fb4c3b11d2"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RustLibApi (61 abstract methods): \u0060RustLibApi\u0060 declares 61 abstract methods: \u0060crateApiDanmakuAnalyticsAnalyzeDensity\u0060, \u0060crateApiAssConverterAssResolveFontSize\u0060, \u0060crateApiIncrementalSyncBackupPrepareRestore\u0060, \u0060crateApiAssConverterConvertDanmakuToAss\u0060, \u0060crateApiAssConverterConvertPreparedDanmakuToAss\u0060, \u0060crateApiDanmakuAnalyticsDensityStats\u0060, \u0060crateApiDfmPlusDfmPlusDropLayout\u0060, \u0060crateApiDfmPlusDfmPlusFontMetrics\u0060, \u0060crateApiDfmPlusDfmPlusLayoutFrame\u0060, \u0060crateApiDfmPlusDfmPlusMeasureTextWidth\u0060, \u0060crateApiDfmPlusDfmPlusMeasureTextWidths\u0060, \u0060crateApiDfmPlusDfmPlusPrepareLayout\u0060, \u0060crateApiDfmPlusDfmPlusPrepareLayoutFull\u0060, \u0060crateApiFileScanDiffVideoFiles\u0060, \u0060crateApiDanmakuAnalyticsFindPeakSegments\u0060, \u0060crateApiMediaProbeHashFileHead\u0060, \u0060crateApiSimpleInitApp\u0060, \u0060crateApiPerformanceIsPerformanceProbeAvailable\u0060, \u0060crateApiTorrentIsTorrentEngineAvailable\u0060, \u0060crateApiMediaMetadataMediaBaseNameWithoutExtension\u0060, \u0060crateApiMediaMetadataMediaExtractAnimeTitleKeyword\u0060, \u0060crateApiMediaMetadataNaturalCompare\u0060, \u0060crateApiMediaMetadataNaturalCompareCaseSensitive\u0060, \u0060crateApiNext2Next2LayoutFrame\u0060, \u0060crateApiNext2Next2PrepareLayout\u0060, \u0060crateApiClientNotificationsNotifyClient\u0060, \u0060crateApiStartupCommandsParseStartupCommand\u0060, \u0060crateApiWebdavMultistatusParseWebdavMultistatus\u0060, \u0060crateApiMediaProbeProbeRemoteMedia\u0060, \u0060crateApiStartupCommandsReportStartupCommandResult\u0060, \u0060crateApiPerformanceSampleCpuCounters\u0060, \u0060crateApiPerformanceSampleGpuPercent\u0060, \u0060crateApiPerformanceSampleMemoryRssMb\u0060, \u0060crateApiPerformanceSamplePerformance\u0060, \u0060crateApiFileScanScanVideoFiles\u0060, \u0060crateApiDanmakuAnalyticsSmoothDensity\u0060, \u0060crateApiRemoteDirectorySortRemoteEntryIndices\u0060, \u0060crateApiClientNotificationsSubscribeClientNotifications\u0060, \u0060crateApiMediaMetadataSubtitleComputeMatchScore\u0060, \u0060crateApiMediaMetadataSubtitleExtractMatchTokens\u0060, and 21 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/rust/frb_generated.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd23d973596fce34dc85cd928dc9665b04c7164fac92fe8d9e515d6f31d94aa"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RustLibApiImplPlatform (276 abstract methods): \u0060RustLibApiImplPlatform\u0060 declares 276 abstract methods: \u0060dco_decode_AnyhowException\u0060, \u0060dco_decode_StreamSink_client_notification_Sse\u0060, \u0060dco_decode_String\u0060, \u0060dco_decode_bool\u0060, \u0060dco_decode_box_autoadd_client_notification\u0060, \u0060dco_decode_box_autoadd_dfm_plus_frame_request\u0060, \u0060dco_decode_box_autoadd_dfm_plus_prepare_request\u0060, \u0060dco_decode_box_autoadd_f_64\u0060, \u0060dco_decode_box_autoadd_i_32\u0060, \u0060dco_decode_box_autoadd_i_64\u0060, \u0060dco_decode_box_autoadd_rust_ass_export_settings\u0060, \u0060dco_decode_box_autoadd_rust_next_2_frame_request\u0060, \u0060dco_decode_box_autoadd_rust_next_2_prepare_request\u0060, \u0060dco_decode_box_autoadd_u_32\u0060, \u0060dco_decode_client_notification\u0060, \u0060dco_decode_dfm_plus_danmaku_item\u0060, \u0060dco_decode_dfm_plus_font_metrics\u0060, \u0060dco_decode_dfm_plus_frame_item\u0060, \u0060dco_decode_dfm_plus_frame_layout\u0060, \u0060dco_decode_dfm_plus_frame_request\u0060, \u0060dco_decode_dfm_plus_prepare_request\u0060, \u0060dco_decode_dfm_plus_prepared_item\u0060, \u0060dco_decode_dfm_plus_prepared_layout\u0060, \u0060dco_decode_dfm_plus_raw_danmaku_item\u0060, \u0060dco_decode_f_64\u0060, \u0060dco_decode_i_32\u0060, \u0060dco_decode_i_64\u0060, \u0060dco_decode_list_String\u0060, \u0060dco_decode_list_bool\u0060, \u0060dco_decode_list_dfm_plus_danmaku_item\u0060, \u0060dco_decode_list_dfm_plus_frame_item\u0060, \u0060dco_decode_list_dfm_plus_prepared_item\u0060, \u0060dco_decode_list_dfm_plus_raw_danmaku_item\u0060, \u0060dco_decode_list_list_prim_u_8_strict\u0060, \u0060dco_decode_list_prim_f_64_loose\u0060, \u0060dco_decode_list_prim_f_64_strict\u0060, \u0060dco_decode_list_prim_i_64_strict\u0060, \u0060dco_decode_list_prim_u_32_strict\u0060, \u0060dco_decode_list_prim_u_8_loose\u0060, \u0060dco_decode_list_prim_u_8_strict\u0060, and 236 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/rust/frb_generated.io.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"83519a2a9952e2f62532825846622cf768ff1f16c947f6ed6c348f41c812414f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RustLibApiImplPlatform (276 abstract methods): \u0060RustLibApiImplPlatform\u0060 declares 276 abstract methods: \u0060dco_decode_AnyhowException\u0060, \u0060dco_decode_StreamSink_client_notification_Sse\u0060, \u0060dco_decode_String\u0060, \u0060dco_decode_bool\u0060, \u0060dco_decode_box_autoadd_client_notification\u0060, \u0060dco_decode_box_autoadd_dfm_plus_frame_request\u0060, \u0060dco_decode_box_autoadd_dfm_plus_prepare_request\u0060, \u0060dco_decode_box_autoadd_f_64\u0060, \u0060dco_decode_box_autoadd_i_32\u0060, \u0060dco_decode_box_autoadd_i_64\u0060, \u0060dco_decode_box_autoadd_rust_ass_export_settings\u0060, \u0060dco_decode_box_autoadd_rust_next_2_frame_request\u0060, \u0060dco_decode_box_autoadd_rust_next_2_prepare_request\u0060, \u0060dco_decode_box_autoadd_u_32\u0060, \u0060dco_decode_client_notification\u0060, \u0060dco_decode_dfm_plus_danmaku_item\u0060, \u0060dco_decode_dfm_plus_font_metrics\u0060, \u0060dco_decode_dfm_plus_frame_item\u0060, \u0060dco_decode_dfm_plus_frame_layout\u0060, \u0060dco_decode_dfm_plus_frame_request\u0060, \u0060dco_decode_dfm_plus_prepare_request\u0060, \u0060dco_decode_dfm_plus_prepared_item\u0060, \u0060dco_decode_dfm_plus_prepared_layout\u0060, \u0060dco_decode_dfm_plus_raw_danmaku_item\u0060, \u0060dco_decode_f_64\u0060, \u0060dco_decode_i_32\u0060, \u0060dco_decode_i_64\u0060, \u0060dco_decode_list_String\u0060, \u0060dco_decode_list_bool\u0060, \u0060dco_decode_list_dfm_plus_danmaku_item\u0060, \u0060dco_decode_list_dfm_plus_frame_item\u0060, \u0060dco_decode_list_dfm_plus_prepared_item\u0060, \u0060dco_decode_list_dfm_plus_raw_danmaku_item\u0060, \u0060dco_decode_list_list_prim_u_8_strict\u0060, \u0060dco_decode_list_prim_f_64_loose\u0060, \u0060dco_decode_list_prim_f_64_strict\u0060, \u0060dco_decode_list_prim_i_64_strict\u0060, \u0060dco_decode_list_prim_u_32_strict\u0060, \u0060dco_decode_list_prim_u_8_loose\u0060, \u0060dco_decode_list_prim_u_8_strict\u0060, and 236 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/rust/frb_generated.web.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e855b899c8aa4b40c14d93f6072730e71ac9a0cf7bf1b5fc9b4c17eba830ff"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Configuration (33 abstract methods): \u0060Configuration\u0060 declares 33 abstract methods: \u0060debugPrint\u0060, \u0060debugPrintLowLevel\u0060, \u0060forceSmb1\u0060, \u0060random\u0060, \u0060bufferCache\u0060, \u0060minimumVersion\u0060, \u0060maximumVersion\u0060, \u0060isPort139FailoverEnabled\u0060, \u0060isUseUnicode\u0060, \u0060isUseBatching\u0060, \u0060nativeOs\u0060, \u0060nativeLanman\u0060, \u0060receiveBufferSize\u0060, \u0060sendBufferSize\u0060, \u0060soTimeout\u0060, \u0060connTimeout\u0060, \u0060responseTimeout\u0060, \u0060credentials\u0060, \u0060domain\u0060, \u0060username\u0060, \u0060password\u0060, \u0060capabilities\u0060, \u0060flags2\u0060, \u0060oemEncoding\u0060, \u0060localTimezone\u0060, \u0060pid\u0060, \u0060maximumBufferSize\u0060, \u0060transactionBufferSize\u0060, \u0060bufferCacheSize\u0060, \u0060listCount\u0060, \u0060listSize\u0060, \u0060getBatchLimit\u0060, \u0060machineId\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/smb_connect/lib/src/configuration.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f42d7ec6687f0aae779110693995e130d38505b99b4cc5d07f51c8d6612665"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Response (17 abstract methods): \u0060Response\u0060 declares 17 abstract methods: \u0060isReceived\u0060, \u0060setReceived\u0060, \u0060clearReceived\u0060, \u0060getGrantedCredits\u0060, \u0060getErrorCode\u0060, \u0060setMid\u0060, \u0060getMid\u0060, \u0060verifySignature\u0060, \u0060isVerifyFailed\u0060, \u0060isError\u0060, \u0060error\u0060, \u0060getExpiration\u0060, \u0060setExpiration\u0060, \u0060reset\u0060, \u0060getException\u0060, \u0060setException\u0060, \u0060getNextResponse\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/smb_connect/lib/src/connect/transport/response.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5429eb33af4e606504c2a1c54a2cd36e95273c35bb4b9dd9ab1883e405faddfd"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060maybeControllerOf\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4fce70218a488c3851b580f3f59c04a95125ba389a91c63198417d30523533"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060isSecondaryWindow\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4261c70b2ddd9ea5b2abd5a8dba44d5134536699c63671ba7d41667aa3daecb5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060fromWindowId\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be02dff9c1b325aede31805d757b1f8c8e1a93623543fcc141b956b7108b139"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060createPopupWindow\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f57819b6966ba993ce5460c2aad68bfe4e46f52b3bcc417e72c080f45a98710"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060createTooltipWindow\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"691be52aca8bb2ce92e97c9fd94384007e49ab635f2224e5dee7305b44560c03"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060setMinimumSize\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e28b45f1c5135e75ac3210e749994e2a63305ca7626afe12ce4e6b3d543f66"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060setPictureInPictureMode\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"890daf072ff2cd7598f806280d15e62369aa1cc5ec281f25d53128c7e15571a3"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060startDragging\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c14f4bc00b57319b3f9c3b6eb50dd9a295c0c25340b88b54b1867c97059249"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060updateDragging\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c0260f4ed1b32fefd371549501f0de74ec37bd9168bdd43d23fa1e71cccae9"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060endDragging\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/desktop_multi_window_ohos/lib/desktop_multi_window.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71792327116a4018f42f69687d07b42799b14d0a3aad0d2b4eb190bad6e0e6f"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2076c57ca761518f25b0d705c3d8d9cd74151674a7913a9c540e375503043924"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ar.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bf4d8e486b6684bf62f56e479af9e8b57ce4e163b0ce8487713a9f22b00b1c"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_be.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabc4a4b2aa712ee866d2c9f9cab69efa0c4a0f2299c45114243121facbde752"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_bn.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c09dbd1743f2e1658ac92d4c214a9dc488bcf027a12de863d41f5f8aef751d"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ca.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcd0e66d783064360c01aaaa8243e0facf88b6271c2f9c319187788337a7488"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_cs.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"362094c85f2cb22abd5aa6547f427e64071f2b03f55dbe7efb3c9c48e02e8d08"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_de.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7dc1c8fb4d0690c8d982a10a3bfa73fe18e216a16ae91c78babedc0a8b3bc3"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_el.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4407e3556b6a4682ea553859ff587b8a4de36f3fe572d6f5b39e5909eadd7a6"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_en.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c33f7646bfa4ccc1225ae2b451efc2cbca9f4653913a4e422ae04bd46804e78"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_es.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"210af2f6697fc7388c4d40fa470a16009b2b7abfe3490e1bf2f804f83581fda2"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_fa.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b6284afc4810618a13c86e59ae91b6bf568c40fb8da7a3efda070dddb39de8"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_fr.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b989c55a4a6390810a5bf88ffbc3b713cd1df569573b9f862e634b17a0505b3"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_he.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"38516ad4818e2c53b33dc55375242eab1b35b477e0b22657db7e5027d8565d74"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_hi.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f1d4692e656681e76a978d35ab7cf87e31fb756b1bd71cebd5fb4c4b2249c4"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_hr.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab272bf87bcb54f965da3633d01fa92da5939954bb1926c3c6bbc1109b3240c1"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_hu.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bdff86a1bafbad0bc8dcc1cc6bc7ea1f842f1cd8cc7483e4a6eaa8f61d2ff3"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_id.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"645311354df7abad6ab18086126461931a96a942822fe0322861b108426f7164"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_it.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"391e34288cf056f12dea1d8324f155dfdba006e28c4878b3465a9d9a228c7dd1"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ja.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa81291c0298c2dae1de10c74fffe5e7f308ef1cf088f061dcf26fa180f290d"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ko.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4390fa9d8e6065d68e1c1393e3b8d9c97e26a000b9475145927d479160d3551"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ku.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"330db8f2372e14fe2a12b0e193c0f8529b3783b1d3c39fb86ac2c62e51ea9e91"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ms.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce5189172a9a8638138eb98c247088327e71f2123bc96d7bb824ad29ad35c4e"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_my.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e6d28646377b6d7484f2452cf0a721a5726d7dac2be9759ed33838154dc7ee"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ne.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc00144b698136800a55e2d029c3c9b50d76e85431bd469bb271307f3b80e742"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_nl.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe8c8d260018a4c44a2a3ac82e27774ec063be13b95f78eb154b9e17bad7d3e"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_pl.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d38da4cd4ef5f573b22d4d6f5ee6ab265d64bfd4c7dd43d1022c0e46020e2de"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_pt.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"32143394264576366f84ea6b8e248787f07d6ad045fad1404c94395c1f8f0a8e"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ro.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd21ede62baf50d6e4db994ddfbc326fe61fa56a00bd7626e15d180859a739b"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ru.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7c4c44a10c5cdb5fd0e2cac84f563d6bc36507365d27ecd4cde7cf2aa8e7b6"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_sk.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9eba9364aba904516172e7d0b2426a9c4b9c92ae95370b394ac4f3e39be2e9"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_sv.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"be52691f545a0f0e1b5b2608b7f2df78c304af9f6c8eb3cd94c38ea9196d3a8d"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ta.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a08d2bafafaba187be10688025e266aa63f6dbb0acafdb7eea262d4aab7a3b"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_th.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d5a3e33f2e7667646b7a0fda80396fde84ab448b94b81a4ec2c3a33db2320d"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_tl.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a497c466e77b4e60912e715d7ae3513a75e6cdf2fedbd4a8ef72073dd59198"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_tr.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"424621ac86335e5da99a99adbd4ebb5915c68f235b9c9b94ce91a9c65e7d5ead"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ug.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"672d7c94352c1ed73a8f42a49cd286ab7dc4e8fb80575b65195a1bfe1794e817"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_uk.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1340e833bc243962f7d7fa81044e7be68f7d52e5993dd5e69ea309ce360209"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_ur.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"413fa020c9ce796f72f410487cd1853ec0e62686dd53ef081008c0709fb68ca9"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_uz.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9c4abf59fdffdfb98a171e94ae92ae2478ac7e59277e01538ed886f05f44f6"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_vi.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"328af98e55f27ea0b1e0429cf34944a44ed4d9a4c8328e03941e6cc2b2d33c1b"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/l10n/generated/fluent_localizations_zh.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fe48e121b9ff33b3a0d73334f3745596e8fcf386039ec8b4ef4d5f5bbff921"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/test/src/models/media/media_test.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d238ce36918428f1021992e5e704a7b7b9ec8ef74e4f119575f8d3e775ba75"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/database/data_safety_test.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5596d19c9ffdb989accfdcd2e0afe9f3b2e8e95c9e1c9ab2c0eb17e316c77e45"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/adaptive_platform_ui/README.md links to \u0060.github/CONTRIBUTING.md\u0060, but \u0060packages/adaptive_platform_ui/.github/CONTRIBUTING.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/README.md"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb256a4facc17e6ca663e4cbc3ea671d1a349b7644af0438e2b588ffd1d2cb2b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/liquid_glass_widgets/README.md links to \u0060docs/LIQUID_MORPH_ENGINE.md\u0060, but \u0060packages/liquid_glass_widgets/docs/LIQUID_MORPH_ENGINE.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/liquid_glass_widgets/README.md"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ccdcc8fcf2bc55e773362b38eb4f39927a092f11d8f256c92e8553cd603751"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/liquid_glass_widgets/README.md links to \u0060docs/ADAPTIVE_QUALITY.md\u0060, but \u0060packages/liquid_glass_widgets/docs/ADAPTIVE_QUALITY.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/liquid_glass_widgets/README.md"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09d3f9b9e7358928d5bc4c946085fb8ee03d621edfbfc07001ff7f037911087"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/adaptive_platform_ui/test/README.md claims \u002223 widgets\u0022, but the reader.Tree holds 739 Dart classes extending StatelessWidget or StatefulWidget. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/test/README.md"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64d0275973c29ffbaef4db3f8db4ee8159516f2fa2cc3ef12d8651e9604f968"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 14 public types in \u0060repository.src\u0060 are marked as implementation by their own namespace, folder or name: \u0060GlassDragBuilder\u0060 (packages/liquid_glass_widgets/lib/src/renderer/internal/glass_drag_builder.dart:5, \u0060internal\u0060), \u0060GlassShadowPaints\u0060 (packages/liquid_glass_widgets/lib/src/renderer/internal/glass_shadow_paints.dart:6, \u0060internal\u0060), \u0060InteractionNotification\u0060 (packages/liquid_glass_widgets/lib/src/renderer/internal/interaction_notification.dart:3, \u0060internal\u0060), \u0060MultiShaderBuilder\u0060 (packages/liquid_glass_widgets/lib/src/renderer/internal/multi_shader_builder.dart:16, \u0060internal\u0060), \u0060LiquidGlassGeometryState\u0060 (packages/liquid_glass_widgets/lib/src/renderer/internal/render_liquid_glass_geometry.dart:14, \u0060internal\u0060), \u0060RenderLiquidGlassGeometry\u0060 (packages/liquid_glass_widgets/lib/src/renderer/internal/render_liquid_glass_geometry.dart:33, \u0060internal\u0060), \u0060GeometryCache\u0060 (packages/liquid_glass_widgets/lib/src/renderer/internal/render_liquid_glass_geometry.dart:291, \u0060internal\u0060), \u0060UnrenderedGeometryCache\u0060 (packages/liquid_glass_widgets/lib/src/renderer/internal/render_liquid_glass_geometry.dart:329, \u0060internal\u0060), and 6 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/liquid_glass_widgets/lib/src/renderer/internal/glass_drag_builder.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"329bfc5a41c4d1ed632d4deb4b51ed4b8233968bcb3e51be0c6bf2afc8a2165e"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 9/18 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060packages/adaptive_platform_ui/example\u0060, \u0060packages/adaptive_platform_ui/example/ios\u0060, \u0060packages/file_selector_ohos/example\u0060, \u0060packages/liquid_glass_widgets/example\u0060 and 4 more."},"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 16 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/build-tvos.yml"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060launch\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/models/external_player_session/mpv_session.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81e95059c68e25156dc44738e2f5e9f32c075c572537ee6dec7f5903a36dbbb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060refreshDanmaku\u0060 is async and calls renameSync, 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/models/external_player_session/mpv_session.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb43da7e76d03117cf89b7ab87d096b36dc6a6cc4a987746a9a5f9ba9300b20"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_initDB\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/models/watch_history_database.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9136f400a5ab5ea610f9087a81da149c75ea4e2f5110b6976f59a7665b3eebce"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060snapshot\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/player_abstraction/video_player_adapter.dart"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f7bcfaba63525936adeb624fdbb6666841cf8988ec9b25c6729a22c391b79c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_prepareTrayIconPath\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/services/desktop_exit_handler.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8ebca0f3c5823a0d169d076de222f62a119a1b68a6139b80fa84c1c0fb178c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_loadLocalEpisodes\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/services/playback_source_service.dart"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f7bcb7be00d51c102be5f5986c05f093333a0f14fcc43e7f54654914162577"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_ensureThumbnailDirectory\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/services/server_history_sync_service.dart"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbafef0dd774d085f6a26fe9a8dc97338c2ad98a63ec5533e391dd4ad0fbce44"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_getPrecompiledArtifacts\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/artifacts_provider.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a83dcbc7e505418d2484bc88e3c70e66842e829ea070efbe040e78cdf8fb1c3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_tryDownloadArtifacts\u0060 is async and calls writeAsBytesSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/artifacts_provider.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a228379f9755b5ea21f5d61388291821cdd9c9da6e9f9f1a86d17ba18dc494ce"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls copySync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/build_cmake.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"db82ca80b4cd2c3e1b0430ecbe149073e7883bb496a13983ba5ea4307fd527cc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls createSync, copySync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/build_gradle.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"293cc070a3258bc797e4cd6d82051d5a89ebb79fb3c90436b20bfef889e69206"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/build_pod.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1471f057236d68ddfd7e46939773d501e9ba20b4bf5a277f222181c2451240"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls createSync, readAsBytesSync, deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/precompile_binaries.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89316d25dced32f4ede5d5c269237474264701765182b85b137db2a761baf07"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_loadFileSystemEpisodes\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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f560d2b33cfe730957f7261614ffc8b7d8b92b85d15d4957f35a1318aed7e9f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060scanVideoFiles\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/themes/nipaplay/widgets/custom_media_info_dialog.dart"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48893cea93606118eeb43b85162fe18374e0ecbd5b56efadc1d6bdd37ce920f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_loadFileSystemData\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/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd9f3c6d7301d3a1c4775b0ff6ff524529f3e4eb2540d2385a33ddc62f8ea92"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_prepareHotSwapTraceFile\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/player_kernel_manager.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cb187920bede167e833ec66014252bcbcd4282933153377ef38e5c3ac6ac13"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060autoDetectAndLoadSubtitle\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbdf5ac87724f01745683cae5c0615e987f924e54e716fc2aae2f58f8e6d447"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_registerRemainingSubtitlesAfterRestore\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20864d28150ff07219330ee30550327db8b189d8c4c4e489dbebbc411303032"}},{"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/player_abstraction/video_player_adapter.dart"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6e1e14a7738e97749ab2308e3b4799d718e3ccc76a34b03ff968143de7a40e"}},{"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/services/dandanplay_service_io.dart"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b20ffbf6e9198d73a26c01ced09315525a92a604c0b0eef85616552fde068f"}},{"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/services/dandanplay_service_io.dart"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fff0415531be08ba8b1f46dce7c5a853d93cbdef50ed1fa10130beb83844e4a"}},{"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/services/dandanplay_service_io.dart"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"49de42b295634bb4ad560cfb80a82417509e65be0cd6b978c9283dedc92e8b6d"}},{"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/services/dandanplay_service_stub.dart"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5620386adf75005794c6b3d7e6891d1452107e9d1d4d374ca2af7db23843f9"}},{"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/services/file_picker_service.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf390e874116af97bdc801f5fecd3237ec1dc1d01be79c0435b1d2aa6e30449"}},{"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/services/local_media_share_service.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9fc61a9cd503d86bdaba4b5e5d762f49bda3c3f8e8c0115d89648df517a165"}},{"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/services/remote_subtitle_service.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c071173a04f43b5c84c50a524990f7e73e26a126c282f4e29323d8ca8f979b5"}},{"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/services/remote_subtitle_service.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"026aef70a81679eef23e209536b21a14327593f143dc23407fd52d303042bc7d"}},{"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/services/remote_subtitle_service.dart"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8cc3577776bbc00e45e895349456a1386e2bd76d43fe5b983023e49a4eb603"}},{"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/services/remote_subtitle_service.dart"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a06d6c679514a90eb8ec6f615115cb31cc620bf944d5cb2eb281daa76863b53"}},{"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/services/remote_subtitle_service.dart"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98b5c8fe7d887d73a60404cd13e211f7e521bc6d64e4bafc42c15110fde14fb"}},{"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/services/subtitle_service.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c98c082fb640c8958b7025863744c853a563b7a5e1ad5a8794828822df66541"}},{"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/themes/nipaplay/widgets/subtitle_tracks_menu.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"add797c707dc0cd1c7e527c59f6738ec5a8a17fd9e4721673f921013dbf67036"}},{"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/utils/file_hash.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b8b7b2f22a5c7c6da0d4dd451fd4c3ef97a0c7af9ac40f51bbda0d9fa1f0e3"}},{"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/utils/file_hash.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c67e66d09562e47e05616feb040793646378799688ca1bc5ffcf85d5b1c2d7"}},{"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/utils/remote_media_fetcher.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02393fc1ce335c910e2afab787fa0a088e914b888163ab6541fe82b02006417"}},{"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/utils/remote_media_fetcher.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca500d4150c36aba052890111057a6bc4e98730f724e0419d6f5de724d7fca5"}},{"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/utils/subtitle_manager.dart"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1a4f025edb0eb1151b45eafb6e366af0b5cefbc53854e03794aa82b3a5a6fa"}},{"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/utils/subtitle_manager.dart"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af477e976ae0f00901fbcc115505ab2ac1d4ea98988306b36afc2f15bff0c4d"}},{"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/utils/webdav_http_auth.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1010eff4ceb0d087283d958bfb922d307faf12a1a2c765054ff2894fdd5eaadf"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060nginx-site.conf\u0060 is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/nipaplay-region/deploy/nginx-site.conf"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"23172ce5ce2f68ee527b75839be8d558526128c4ccf31bcf927ac3d9a96a1ced"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository runs an HTTP server that is not bound to the loopback interface alone \u2014 or binds it at an address its source does not spell out \u2014 and nothing in its Dart source secures the transport: no \u0060HttpServer.bindSecure\u0060 or \u0060securityContext:\u0060, no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: pubspec.yaml:40 \u2014 depends on \u0060shelf\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Next2TextureBridge.isSupported || _layoutSize.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/danmaku_dfm/dfm_plus_overlay.dart, lib/danmaku_next/nipaplay_next2_overlay.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/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc093e37526ec0064029a7b217889693f563e7b07b4b4187e47dd6f4a5eef60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_batteryAvailable || !_supportsBatteryPlugin\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/large_screen_top_status_overlay.dart, lib/themes/nipaplay/widgets/mobile_playback_status.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/themes/nipaplay/widgets/large_screen_top_status_overlay.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1189140ce5ccc0e90b381f5085a0389d200449e7fc763e45c782796f700c16e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_disposed \u0026\u0026 revision == _mediaLoadRevision\u0060 appears character-identically in 2 files \u2014 lib/providers/emby_provider.dart, lib/providers/jellyfin_provider.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d5e172bf9fa5c758e9e6d6a1eff4971f45e9fcfa31aca101f7065c5b5c06e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_disposed \u0026\u0026 revision == _movieLoadRevision\u0060 appears character-identically in 2 files \u2014 lib/providers/emby_provider.dart, lib/providers/jellyfin_provider.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8459b6f1623c15e303cdf715c9ed59f2c8c8dc8da68cc1f4c00fa9cb50b30050"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_hasStartedAdjustment \u0026\u0026 _accumulatedDrag \u003E _minDragDistance\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/brightness_gesture_area.dart, lib/themes/nipaplay/widgets/volume_gesture_area.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/themes/nipaplay/widgets/brightness_gesture_area.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce517445b11d4935c074cd57eb43f111764e64e756384130710140cf9409775"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_isConnected || _accessToken == null || _userId == null\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a80628fe9cd39823a93dd4fc92f1d11c0d279035b2569d6065833bb9e77403"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_isDisposed \u0026\u0026 _currentVideoPath == targetVideoPath \u0026\u0026 _playbackGeneration == targetGeneration\u0060 appears character-identically in 2 files \u2014 lib/utils/video_player_state/video_player_state_danmaku.dart, lib/utils/video_player_state/video_player_state_metadata.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_danmaku.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9831fadbd7438f456c93ab1a3a318e1d8ce877a46d88d2f010ed096d229034"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_isDisposed \u0026\u0026 _currentVideoPath == videoPath \u0026\u0026 _playbackGeneration == targetGeneration\u0060 appears character-identically in 2 files \u2014 lib/utils/video_player_state/video_player_state_metadata.dart, lib/utils/video_player_state/video_player_state_streaming.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_metadata.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"333138e58b426686c46109baa6d4582be9085b6e69d5a87fa968daacfd97d978"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_isDisposed \u0026\u0026 generation == _playbackGeneration \u0026\u0026 _currentVideoPath == videoPath\u0060 appears character-identically in 2 files \u2014 lib/utils/video_player_state/video_player_state_player_setup.dart, lib/utils/video_player_state/video_player_state_streaming.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_player_setup.dart"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eefb6484e61d6683a1d8404c1502ba4c396517232e95691e41810e2b9c07f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_isFocusInsideContentScope(FocusManager.instance.primaryFocus) \u0026\u0026 !_ensureContentFocus()\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart, lib/themes/nipaplay/widgets/large_screen_settings_panel.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/themes/nipaplay/widgets/large_screen_player_menu_panel.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c85bd4f3c22d9a9a0ec59b3e20346b95ec226c381694b6098b41d60f9e87320"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_isLoggedIn || _token == null || _token!.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ef7f6dded4b14a6dd0437ae02229349632413714ac9353af08de1766a9bd45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_isPlaying || _currentItemId == null || _currentPlaySessionId == null\u0060 appears character-identically in 2 files \u2014 lib/services/emby_playback_sync_service.dart, lib/services/jellyfin_playback_sync_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_playback_sync_service.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"490269a763586cdc9c66a7238857e601fd2f09824eff4f3b1ab58959ce808743"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_isSharedRemoteManagementStreamUrl(a) || !_isSharedRemoteManagementStreamUrl(b)\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart, lib/themes/nipaplay/widgets/playlist_menu.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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39a774160bdb4e126e5c33b344572b05ef82dbe33eee0f1f753da89debeafd2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_scrollController.hasClients || _visibleEntries.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart, lib/themes/nipaplay/widgets/subtitle_list_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dea90b2343612c460baff158f9375d032094fcc3feed97ba2f6d6c2ec9204e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!await outputFile.exists() || (await outputFile.length()) != bytes.length\u0060 appears character-identically in 2 files \u2014 lib/utils/anime4k_shader_manager.dart, lib/utils/crt_shader_manager.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/anime4k_shader_manager.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf67c86a4eb58819a6474d8570ca5884063112764805e16dd3e4d88cbc9271eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry.isDirectory \u0026\u0026 SMBService.instance.isVideoFile(entry.name)\u0060 appears character-identically in 3 files \u2014 lib/services/playback_source_service.dart, lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart, lib/themes/nipaplay/widgets/playlist_menu.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"49523df76084839cddd19cbbcdc0b260ca234972eb3cc0df857ccfdd0b9db30a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry.isDirectory \u0026\u0026 WebDAVService.instance.isVideoFile(entry.name)\u0060 appears character-identically in 4 files \u2014 lib/services/episode_navigation_service.dart, lib/services/playback_source_service.dart, lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart, lib/themes/nipaplay/widgets/playlist_menu.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c523460c0e98a5c9054b5baef69d68ff96a2dc48a67eadaa0d9f027120e872c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry.isDirectory \u0026\u0026 provider.isRemoteFilePlayable(entry)\u0060 appears character-identically in 3 files \u2014 lib/services/playback_source_service.dart, lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart, lib/themes/nipaplay/widgets/playlist_menu.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ea8de0a4e8d2a607619d5f2daf6af6ee4647cbf99e023ea13d63c26b1a4fea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!fileName.toLowerCase().endsWith(\u0027.mp4\u0027) \u0026\u0026 !fileName.toLowerCase().endsWith(\u0027.mkv\u0027) \u0026\u0026 !fileName.toLowerCase().endsWith(\u0027.avi\u0027)\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e66f49a7a2b7776a4912162124e7391ad887ad951f6920922702cea1f923d03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!force \u0026\u0026 signature == _lastFrameSignature\u0060 appears character-identically in 2 files \u2014 lib/player_abstraction/erika_player_adapter.dart, lib/widgets/macos_native_video_view.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0690f37c50a41463dd0754ac75a4fdc752a491cda9597c477b298ad9dbb5a41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!forceDirectPlay \u0026\u0026 transcodingUrl != null \u0026\u0026 transcodingUrl.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fa377be5eb1443cb2330def176ee7ee493ac4d5aa4f420d6b7259af9a1fa26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!globals.isMobilePlatform || _context == null\u0060 appears character-identically in 2 files \u2014 lib/utils/video_player_state/video_player_state_initialization.dart, lib/utils/video_player_state/video_player_state_playback_controls.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_initialization.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5838f2a67847ef32c99bc6f6971c03313e9dfb71b31c822681e03cea0ed6003"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!kIsWeb \u0026\u0026 (Platform.isWindows || Platform.isLinux)\u0060 appears character-identically in 2 files \u2014 lib/utils/globals.dart, lib/utils/video_player_state/video_player_state_preferences.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/globals.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"207164517c9e4122d4eb3924587d1ec54174e89726c83f9834424fe238301a71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!kIsWeb \u0026\u0026 Platform.isMacOS \u0026\u0026 Platform.environment[\u0027NIPAPLAY_MACOS_HDR_EXIT_TRACE\u0027] == \u00271\u0027\u0060 appears character-identically in 2 files \u2014 lib/utils/video_player_state/video_player_state_playback_controls.dart, lib/utils/video_player_state/video_player_state_streaming.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a43b6750af4349a5e4cc80e7cce50cea7a3897490faf636706851dfbb7a11cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!kIsWeb \u0026\u0026 Platform.isWindows \u0026\u0026 player.getPlayerKernelName() == \u0027Media Kit\u0027\u0060 appears character-identically in 2 files \u2014 lib/utils/video_player_state.dart, lib/utils/video_player_state/video_player_state_playback_controls.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"35222822c946464354b366a858bcfe9a28e9790e16104cbd35e006ab1dca0aeb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!kIsWeb \u0026\u0026 defaultTargetPlatform == TargetPlatform.android\u0060 appears character-identically in 3 files \u2014 lib/themes/nipaplay/widgets/media_capture_dialog.dart, lib/themes/nipaplay/widgets/video_player_ui.dart, lib/utils/local_danmaku_file.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/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8f494b7d1e736d1b866b7a95eb728630349e78b30dcc9dc9f598b611d896f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!kIsWeb \u0026\u0026 defaultTargetPlatform == TargetPlatform.iOS\u0060 appears character-identically in 5 files \u2014 lib/pages/media_server_detail_page.dart, lib/pages/play_video_page.dart, lib/services/file_association_service.dart, lib/services/photo_library_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/media_server_detail_page.dart"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0409b70794ebd037e61a51d718f3f6658a42c16a1686295934bff92260752257"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!kIsWeb \u0026\u0026 defaultTargetPlatform == TargetPlatform.windows\u0060 appears character-identically in 2 files \u2014 lib/pages/media_server_detail_page.dart, packages/fluent_ui-4.15.1/lib/src/controls/utils/windows_icon.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/pages/media_server_detail_page.dart"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30812721648f5f48b343cdd7baeda85bf7b468fe9822da193bbf886a57ef9df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!kIsWeb \u0026\u0026 defaultTargetPlatform.name != \u0027ohos\u0027\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/large_screen_top_status_overlay.dart, lib/themes/nipaplay/widgets/mobile_playback_status.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/themes/nipaplay/widgets/large_screen_top_status_overlay.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"506c6ac4fb74b00b16932099a810ede2f47c0f97522e674b421a4958ec3c6cd4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!kIsWeb \u0026\u0026 defaultTargetPlatform.name == \u0027ohos\u0027\u0060 appears character-identically in 2 files \u2014 lib/player_abstraction/erika_player_adapter.dart, lib/player_abstraction/player_factory.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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"07126f183b970ab606e89a9791c9dd3d2fdd4260b34babdd3899902f62cdd849"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!mounted || !_scrollController.hasClients\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart, lib/themes/nipaplay/widgets/subtitle_list_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0047782fab59c3e0ab17a06f37fe5f26e8402dcb97b42f62a9d1b2bbe33f70d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!mounted || _selectedMediaSourceId != source.id\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart, lib/themes/nipaplay/widgets/jellyfin_quality_menu.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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f6ab6ad13f06235f9ae6c0af401d7e9bbc0604ef9af9b66aa958010809c16f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!normalized.startsWith(\u0027http://\u0027) \u0026\u0026 !normalized.startsWith(\u0027https://\u0027)\u0060 appears character-identically in 3 files \u2014 lib/models/server_profile_model.dart, lib/services/media_server_service_base.dart, lib/services/multi_address_server_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/server_profile_model.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1a5f76f530014f21642ab0d41d07a7d69dc9c964bdaf19bb4a6abf074cb6c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!persistEmbyPreference || source == null\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart, lib/themes/nipaplay/widgets/subtitle_tracks_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57b849b42da1a3490dd93f59d790988a79a4b4ffd660b4ab54f947afc7afdb3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!skipDanmakuMatching \u0026\u0026 WatchHistoryAutoMatchHelper.shouldAutoMatch(currentItem)\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/pages/settings/watch_history_page.dart, lib/themes/nipaplay/widgets/dashboard_home_page_actions.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/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"1614cd643214122ea12e508cda14b10b8050d088533c6f2764916dc9ec776666"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!sourceChanged || selectedSource == null\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart, lib/themes/nipaplay/widgets/jellyfin_quality_menu.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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f191fbfbb003c8484add3f3de36416dbf1135b37a22c3c4206eab8b928254eb3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value.startsWith(\u0027http://\u0027) \u0026\u0026 !value.startsWith(\u0027https://\u0027)\u0060 appears character-identically in 3 files \u2014 lib/services/dandanplay_remote_service.dart, lib/services/remote_control_client_service.dart, lib/services/web_remote_access_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_remote_service.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71d19848f15177d1f6eb7bcf5c20c1ba7daf71984b0b58821ffdbb824a0e28b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(engine == DanmakuRenderEngine.next2 || engine == DanmakuRenderEngine.dfmPlus) \u0026\u0026 !Next2PlatformSupport.isKernelSupported\u0060 appears character-identically in 2 files \u2014 lib/danmaku_abstraction/danmaku_kernel_factory.dart, lib/utils/player_kernel_manager.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/danmaku_abstraction/danmaku_kernel_factory.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"355a9ebaff9ac5f4164eb4bab7934ca6a9efebc339d15523c337b16ce38d7b59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(filePath == null || filePath.isEmpty) \u0026\u0026 (url == null || url.isEmpty)\u0060 appears character-identically in 2 files \u2014 lib/pages/play_video_page.dart, lib/themes/nipaplay/widgets/video_player_ui.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/pages/play_video_page.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf92a41ca67e8c48f2c3d76d1d6e6c46f5614b658aa4555f005c36143c54f1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(hash == null || hash.isEmpty) \u0026\u0026 (fileName == null || fileName.isEmpty)\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"0321c0388d35a25d5a78b36fea00c340b52720334f1f981b6542cea175ef5641"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(isJellyfin \u0026\u0026 JellyfinService.instance.isTranscodeEnabled) || (isEmby \u0026\u0026 videoState.currentPlaybackSession?.isTranscoding == true)\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart, lib/themes/nipaplay/widgets/audio_tracks_menu.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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0180ce60d561fd09e91767565639fa75d9ae9b0c7e9416f86a79d20603fb955"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(prepared.width - size.width).abs() \u003C 0.5 \u0026\u0026 (prepared.height - size.height).abs() \u003C 0.5 \u0026\u0026 (prepared.scrollDurationSeconds - scrollDuration\u2026\u0060 appears character-identically in 2 files \u2014 lib/danmaku_dfm/dfm_plus_layout_bridge.dart, lib/danmaku_next/next2_layout_bridge.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/danmaku_dfm/dfm_plus_layout_bridge.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"9207b3e2d180b3f993390791116a48290cf1dab344ed7fd037adb822f5b39780"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(rune \u003E= 0x4E00 \u0026\u0026 rune \u003C= 0x9FFF) || (rune \u003E= 0x3400 \u0026\u0026 rune \u003C= 0x4DBF) || (rune \u003E= 0xF900 \u0026\u0026 rune \u003C= 0xFAFF) || (rune \u003E= 0x3040 \u0026\u0026 rune \u003C=\u2026\u0060 appears character-identically in 2 files \u2014 lib/utils/subtitle_manager.dart, lib/utils/subtitle_parser.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce649ff6679c37fc2d0b44773cd908707fc45c6ecf50f79d5212b569f537f2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060AppDisplaySurface.desktopTablet || AppDisplaySurface.television\u0060 appears character-identically in 4 files \u2014 lib/media_library/adaptive_library_management_overview.dart, lib/media_library/adaptive_media_library_controls.dart, lib/playback/adaptive_playback_entry_view.dart, lib/settings/unified_settings_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/media_library/adaptive_library_management_overview.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04c97a78874bd546115b907621d4e25ddc71bd126bc684ae6039d69d006611d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060AppDisplaySurfaceScope.of(context) == AppDisplaySurface.television || NipaplayLargeScreenModeScope.isActiveOf(context)\u0060 appears character-identically in 4 files \u2014 lib/media_library/adaptive_media_collection_view.dart, lib/media_library/adaptive_media_library_controls.dart, lib/media_library/adaptive_media_library_primitives.dart, lib/themes/nipaplay/widgets/library_management_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/media_library/adaptive_media_collection_view.dart"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"799fc214abc452941d03a7cf672cbe2cdefb5ebf4341a742ea5f795bcb83d491"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ExternalPlayerConsoleService.isSupportedPlatform \u0026\u0026 ExternalPlayerConsoleService.hasActiveSession\u0060 appears character-identically in 2 files \u2014 lib/main.dart, lib/services/external_player_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8113cfa8fd8264c5dcbd593a0a21d5ebda752cd02fe2caee083aa857b5d6fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.environment[\u0027NIPAPLAY_MACOS_HDR_TRANSPARENT_FLUTTER\u0027] != \u00270\u0027 \u0026\u0026 Platform.environment[\u0027NIPAPLAY_MACOS_HDR_USE_APPKIT_VIEW\u0027] != \u00271\u0027 \u0026\u2026\u0060 appears character-identically in 2 files \u2014 lib/pages/play_video_page.dart, lib/themes/nipaplay/widgets/custom_scaffold.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/pages/play_video_page.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa61c2c477f9fb9653de6131138d699bd8633f46568d72de5ffb91beaa602538"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isAndroid || Platform.operatingSystem == \u0027ohos\u0027\u0060 appears character-identically in 2 files \u2014 lib/player_abstraction/erika_gif_export_io.dart, packages/fvp-0.37.3/lib/src/player.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/player_abstraction/erika_gif_export_io.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e98f86957ada1c1bb6c0446d31705f900d6b18e9219a1cf7a0324648c2135a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isLinux || Platform.isMacOS || Platform.isWindows\u0060 appears character-identically in 2 files \u2014 lib/utils/anime4k_shader_manager.dart, lib/utils/crt_shader_manager.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/anime4k_shader_manager.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"617d285f00c84df0b1fe9247463b9ceb77ddedf3271f600c422e6ee1488a8e0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isWindows || Platform.isMacOS || Platform.isLinux\u0060 appears character-identically in 3 files \u2014 lib/themes/nipaplay/pages/settings/debug_log_viewer_page.dart, lib/utils/player_kernel_manager.dart, lib/utils/video_player_state.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/debug_log_viewer_page.dart"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9c1bafba451c42b9c76ce6c5ac059c06ccbcfe184aef60a569537d187acf93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_batteryState == BatteryState.charging || _batteryState == BatteryState.connectedNotCharging\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/large_screen_top_status_overlay.dart, lib/themes/nipaplay/widgets/mobile_playback_status.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/themes/nipaplay/widgets/large_screen_top_status_overlay.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d65abf02f001280924b4c638b9904068d3a991135b1301c48965aae9e5f9b49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_burnIn || (resolvedTracks != null \u0026\u0026 requiresEmbySubtitleBurnIn(resolvedTracks.subtitle))\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart, lib/themes/nipaplay/widgets/jellyfin_quality_menu.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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9529d1da60321eb804dd840963df34099940d095da29ec7e6aa7ad475463a156"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_currentPlaySessionId == null || _currentPlaySessionId!.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_playback_sync_service.dart, lib/services/jellyfin_playback_sync_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_playback_sync_service.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9b7f3f248246f985ea8dfe4f95b7c6fc6257e3f453b7dca70ee337d3d94890"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_currentSortBy != sortBy || _currentSortOrder != sortOrder\u0060 appears character-identically in 2 files \u2014 lib/providers/emby_provider.dart, lib/providers/jellyfin_provider.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18c3dcc19a464c8da22c9f8ea280d04f4f295ee56cf6934ba810b106136e965"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_currentVideoPath != null \u0026\u0026 _currentVideoPath!.startsWith(\u0027emby://\u0027)\u0060 appears character-identically in 3 files \u2014 lib/utils/video_player_state.dart, lib/utils/video_player_state/video_player_state_navigation.dart, lib/utils/video_player_state/video_player_state_playback_controls.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd7da8ca41e6d88b53c4b7b0101bc470fd4bc0cee10c39bb03c79985836a33a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_currentVideoPath != null \u0026\u0026 _currentVideoPath!.startsWith(\u0027jellyfin://\u0027)\u0060 appears character-identically in 3 files \u2014 lib/utils/video_player_state.dart, lib/utils/video_player_state/video_player_state_navigation.dart, lib/utils/video_player_state/video_player_state_playback_controls.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee55b6f9b529e4b593ffd0b35d416a89fdbee18d5ec9af877cff8a554ad5a58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_customRateFocus.hasFocus || _customRateDirty\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart, lib/themes/nipaplay/widgets/playback_rate_menu.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/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0253a986bed29e7f26b06a2d214b01ee9f10f70d1eddb6a5b05ba15db7c3beae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_customSeekStepFocus.hasFocus || _customSeekStepDirty\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_seek_step_pane.dart, lib/themes/nipaplay/widgets/seek_step_menu.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/themes/cupertino/widgets/player_menu/cupertino_seek_step_pane.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"836a8ec3cc2805e282f1990d46998d8af8d7c3d425a0113e585332badcc6764c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_displayArea \u003C= 0 || _displayArea.isNaN || _displayArea.isInfinite\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/nipaplay_next_engine.dart, lib/danmaku_next/nipaplay_next_old_engine.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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae23e1ea6673d3eafc316157268b489be07ef8a30183598db2e244a2a5cbd95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_episodesMessage.contains(\u0027\u51FA\u9519\u0027) || _episodesMessage.contains(\u0027\u5931\u8D25\u0027)\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart, lib/themes/nipaplay/widgets/manual_danmaku_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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83910fd8f1ac14dda4e486d0fc9ef1f49eacb01c0ee6bdd216e02fc79274ed9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_initializingAfterConnect \u0026\u0026 _initialPendingParts \u003C= 0 \u0026\u0026 !_isReady\u0060 appears character-identically in 2 files \u2014 lib/providers/emby_provider.dart, lib/providers/jellyfin_provider.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ebf6c091ce069fd5a2809a292cd7eca821285d3de6c293b826f8c31c9a4768"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_isSearching || _searchController.text.trim().isEmpty\u0060 appears character-identically in 2 files \u2014 lib/pages/webdav_browser_page.dart, lib/themes/cupertino/widgets/cupertino_webdav_browser_controls.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/webdav_browser_page.dart"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a88c6c5143e4c5b104325fc7ab6c19550a398eb386f66ef71bc967641f09a46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_lastCacheClean != null \u0026\u0026 now.difference(_lastCacheClean!).inMinutes \u003C 30\u0060 appears character-identically in 2 files \u2014 lib/services/emby_episode_mapping_service.dart, lib/services/jellyfin_episode_mapping_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_episode_mapping_service.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"34be9f367ce9756f246069ae9a4b636f96b6b0157a35ff0d580677c55b064ae8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_locatingUnbuiltItem || !_scrollController.hasClients\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart, lib/themes/nipaplay/widgets/subtitle_list_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0898743bb8fc33e82d4331fc4c8b681f979654a51c7a5d471167ea6a851dea39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_nativeEngineAvailable \u0026\u0026 _nativeEngine != null\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/nipaplay_next_engine.dart, lib/danmaku_next/nipaplay_next_old_engine.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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"40981ebb85efa030fa23f2730dcb5829e923b52232adff3db1da196066bea158"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_requestedInitialTelevisionFocus || !NipaplayLargeScreenModeScope.isActiveOf(context)\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart, lib/themes/nipaplay/widgets/manual_danmaku_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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f62db570c9c4ef5fd06260b37c9893b937ffb3861e55c6fd9ae37ef86aa034"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_scrollController .position.pixels \u003C 100 \u0026\u0026 !_isLoadingWindow\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/danmaku_list_menu.dart, lib/themes/nipaplay/widgets/subtitle_list_menu.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/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c184ddb8bc28d51b3ce12b8c1d9752d73e374b6900aa3a092169694e7c745ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_scrollController .position.pixels \u003E _scrollController.position .maxScrollExtent - 100 \u0026\u0026 !_isLoadingWindow\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/danmaku_list_menu.dart, lib/themes/nipaplay/widgets/subtitle_list_menu.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/themes/nipaplay/widgets/danmaku_list_menu.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"60894bfa09543e2bd8a8bf97005b1d87d1ab861f389da2952a39c434634fe3a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_selectedEpisode != null \u0026\u0026 _selectedEpisode!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0fbe8e9d0867f12c0f0c0511a6dc16ef4fac983fb6e5ed16ffe2829768ba05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_selectedEpisode != null \u0026\u0026 _selectedEpisode![\u0027episodeId\u0027] == episode[\u0027episodeId\u0027]\u0060 appears character-identically in 3 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart, lib/themes/nipaplay/widgets/manual_danmaku_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/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"3676d361d31a8656e57960e55f506c73c9e3b46e431e2c785d351c6829e1c85b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_showEpisodesView \u0026\u0026 _currentEpisodes.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f601a93f1b5dfe9f05d9e8603ffc0ad76f1dff062a807fa1045a0d31c0d2d718"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_showEpisodesView \u0026\u0026 _selectedAnime != null\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee78ceb2660c0877d894e8e5fdc3a97f7ff83bf89ac26977b0929f623f160ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_size != size || _fontSize != fontSize || _displayArea != displayArea || _scrollDurationSeconds != normalizedScrollDuration || _staticDurati\u2026\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/nipaplay_next_engine.dart, lib/danmaku_next/nipaplay_next_old_engine.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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9179a00bd8bec4370e0a71e50ba43f4271cf0e036993cca8645526d2d4249706"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_subtitleDelayFocus.hasFocus || _subtitleDelayDirty\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart, lib/themes/nipaplay/widgets/subtitle_settings_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_settings_pane.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabc5d11abc45689414cf59f22df655c166360e29c15907485e79f7d3cb5fa55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_textWidthCache.length \u003E= _textWidthCacheLimit \u0026\u0026 _textWidthCache.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/nipaplay_next_engine.dart, lib/danmaku_next/nipaplay_next_old_engine.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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"366b3e6b741a57e637fdac8a1d6b5cf19c32aaf1074850e0391f9ace92265eee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_textureId != info.textureId || !_textureReady\u0060 appears character-identically in 2 files \u2014 lib/danmaku_dfm/dfm_plus_overlay.dart, lib/danmaku_next/nipaplay_next2_overlay.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/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee6b1238040dc850ea86e61ab79bae140569fc4bbb345a18a90addb4ecbd5a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_textureId == null || (pwDelta \u003E= 2) || (phDelta \u003E= 2) || _surfaceId != _lastTextureSurfaceId\u0060 appears character-identically in 2 files \u2014 lib/danmaku_dfm/dfm_plus_overlay.dart, lib/danmaku_next/nipaplay_next2_overlay.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/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bdfaff340cdfac285c614e04e31a448592f4e6409257a683ee85a74e500099"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_textureReady \u0026\u0026 _textureId != null \u0026\u0026 Next2TextureBridge.isSupported\u0060 appears character-identically in 2 files \u2014 lib/danmaku_dfm/dfm_plus_overlay.dart, lib/danmaku_next/nipaplay_next2_overlay.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/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0801f0af616df68fa48ecd8417393317974e8f18e7ec923d1879fcd504a5ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.indexNumber == null || a.indexNumber == 0\u0060 appears character-identically in 5 files \u2014 lib/services/emby_service.dart, lib/services/episode_navigation_service.dart, lib/services/jellyfin_service.dart, lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"593946959ca5fb48fe7d34f812ae71fdc845e51d867c5cf86c5d398ee280f261"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.scheme.toLowerCase() == b.scheme.toLowerCase() \u0026\u0026 a.host.toLowerCase() == b.host.toLowerCase() \u0026\u0026 a.port == b.port\u0060 appears character-identically in 2 files \u2014 lib/services/webdav_proxy_service.dart, lib/utils/webdav_http_auth.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_proxy_service.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"e663ab611405ed00e07013d3f3b595b1610019ba34592eff1455f7bfa1a9b813"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aUri.queryParameters[\u0027path\u0027] == bUri.queryParameters[\u0027path\u0027] \u0026\u0026 aUri.host == bUri.host \u0026\u0026 _effectivePort(aUri) == _effectivePort(bUri)\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart, lib/themes/nipaplay/widgets/playlist_menu.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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"c910307a17fbb863747c511872a5888a7fd0efc0fd5c872aa154aab924f2fa71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allowHeader == null || allowHeader.trim().isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd245e870459a2a9574d69f4b4858731d39f22600963e1fcb72230796103a4a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060anime.airDate != null \u0026\u0026 anime.airDate!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/pages/new_series_page.dart, lib/themes/nipaplay/widgets/large_screen_anime_detail_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/pages/new_series_page.dart"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced307111dc2f2ea69d7dde46f8dbe9e1de641b93d3c23540d68194f922b4314"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060anime.tags != null \u0026\u0026 anime.tags!.isNotEmpty\u0060 appears character-identically in 3 files \u2014 lib/pages/anime_detail_page.dart, lib/services/bangumi_service.dart, lib/themes/nipaplay/widgets/large_screen_anime_detail_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/pages/anime_detail_page.dart"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26621735b1548a058bdd56d75e87be5933a3c57bd28f2967fb20a9662ca73ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060anime.typeDescription != null \u0026\u0026 anime.typeDescription!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/large_screen_anime_detail_page.dart, lib/themes/nipaplay/widgets/tag_search_widget.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/themes/nipaplay/widgets/large_screen_anime_detail_page.dart"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac36dd06da526c5b62aa33d16f6bafe628cbcad62956ca1b98fada073191ee51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060animeId == null || animeTitle.trim().isEmpty || episodeId == null\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"af37a6f5756e1a01aed06dcc87d4517204f7b08cffe5534c738de994245a224a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060animeMatches.isEmpty \u0026\u0026 searchTitle != queryTitle\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86ddd1a3f7e48d2c49d39e309067bb4ab221c3f02aaab06bb2cc5f9d3b934b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060anime[\u0027animeTitle\u0027] == null || (anime[\u0027animeTitle\u0027] as String).isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7a929c454ecaf79269353317ed09f3c21516a4a1f683992cc094fdca1c1ce2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.indexNumber == null || b.indexNumber == 0\u0060 appears character-identically in 5 files \u2014 lib/services/emby_service.dart, lib/services/episode_navigation_service.dart, lib/services/jellyfin_service.dart, lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a09b7af4dce045605b243e157b7e3abefbe748325f1f9720130fae92a56fdb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bangumiDetails[\u0027success\u0027] == true \u0026\u0026 bangumiDetails[\u0027bangumi\u0027] != null\u0060 appears character-identically in 4 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart, lib/services/episode_navigation_service.dart, lib/themes/nipaplay/widgets/playlist_menu.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2613}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f4a0ff0efb67e777bb3d620788db93332b0e4cb4ef7e5b7049eb2329ce16b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bangumiUrl != null \u0026\u0026 bangumiUrl.contains(\u0027bangumi.tv/subject/\u0027)\u0060 appears character-identically in 2 files \u2014 lib/services/intro_skip/skip_id_resolver.dart, lib/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/intro_skip/skip_id_resolver.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1326bc8664748418699c8bcbcb77ad61c3b2a39c1b63ebb333021448abbb0ba4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bangumi[\u0027episodes\u0027] != null \u0026\u0026 bangumi[\u0027episodes\u0027] is List\u0060 appears character-identically in 2 files \u2014 lib/services/episode_navigation_service.dart, lib/themes/nipaplay/widgets/playlist_menu.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/episode_navigation_service.dart"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"4609e7bd73bc2fc372b5ee468978ff101e8554ba03d1999c19956a673c94d59b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060basePath == \u0027/\u0027 || uri.path.startsWith(\u0027$basePath/\u0027)\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart, lib/themes/nipaplay/widgets/playlist_menu.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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a49fc5e04198fe47879564e4ec59983ace35d87b3e7a5dcbbc2b90f781c279"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060baseUri == null || baseUri.scheme.isEmpty || baseUri.host.isEmpty\u0060 appears character-identically in 3 files \u2014 lib/services/remote_subtitle_service.dart, lib/services/webdav_service.dart, lib/utils/media_source_utils.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a44b02c570352952c9123ffa3bbaa0a14ee6e20025da308881d88913f8e88fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cachedAt != null \u0026\u0026 cached != null \u0026\u0026 DateTime.now().difference(cachedAt) \u003C _currentBangumiDetailsCacheDuration\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20ad8be00f04a2e2f7acad05f8c4dd2c9bdcc407b7a8879516a7ee32f1dd899"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cachedInfo[\u0027matches\u0027] != null \u0026\u0026 cachedInfo[\u0027matches\u0027].isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d21cbbb73e12ca8cd107aefe74ea631a2a47af6cd6c92bc1e9eee61865aa8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cachedRemoteName != null \u0026\u0026 cachedRemoteName.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart, lib/themes/nipaplay/widgets/playlist_menu.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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec716699926e083487216b0dca6fa4a49251cdbf09fd1e7e73b58f5feaaf23c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate != null \u0026\u0026 candidate.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_stub.dart, lib/themes/nipaplay/widgets/web_remote_access_gate.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3c5171a002eaec2455b84ec3b467bfe43b73deb4c599977db2bddc9a0a9878"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060channelsInfo.isNotEmpty \u0026\u0026 channelsInfo != \u00270\u0027\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart, lib/themes/nipaplay/widgets/audio_tracks_menu.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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76fade4fb79f89b35b3763f98f89d9a48d4f3b10c43d62daf000bca99fb0a16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chosenUrl != null \u0026\u0026 chosenUrl.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d0b32efa098528f5241190cd151526c3a16313c2166461afd1b9c67702f635"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060closingParen \u003C 0 || closingParen \u002B 2 \u003E= value.length\u0060 appears character-identically in 2 files \u2014 lib/models/external_player_session/other_session.dart, lib/models/external_player_session/vlc_session.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/other_session.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e18b6b7751b07536bbe9c5ca52a0ba7a5670906b8e7886306918696ad7868d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060collectionType == \u0027tvshows\u0027 || collectionType == \u0027movies\u0027 || collectionType == \u0027mixed\u0027\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cbd777567ebfe871cad86d2fd5eb6ae8a2852a2f179667049789d0bf2e5d93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060color.r \u003C= epsilon \u0026\u0026 color.g \u003C= epsilon \u0026\u0026 color.b \u003C= epsilon\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/danmaku_atlas_painter.dart, lib/danmaku_next/nipaplay_next_old_canvas_painter.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/danmaku_atlas_painter.dart"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed338822ec1ebae1286dd92b74d207533742faec5ce9a533b07e8eb4ec00ed39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060completed \u0026\u0026 version \u003E= _currentMigrationVersion\u0060 appears character-identically in 2 files \u2014 lib/utils/linux_storage_migration.dart, lib/utils/macos_storage_migration.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/linux_storage_migration.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5577c15cc74c7cc98fb90856b0bc697e839b6ea3ed978cdee3cdb5973fe01e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.id == reference || connection.name == reference\u0060 appears character-identically in 2 files \u2014 lib/services/smb_service.dart, lib/services/webdav_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_service.dart"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"faca0f769ccb8bd402fd66af3bad481c0aa135a0956f87889588d695edb24414"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controller == null || !controller.hasClients\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/dashboard_home_page_random_recommendations.dart, lib/themes/nipaplay/widgets/dashboard_home_page_trending.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/themes/nipaplay/widgets/dashboard_home_page_random_recommendations.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a367a96d13f6f28e5e298dbca172b8dbe973db65614861776ade482714f931"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentContext == null || !currentContext.mounted\u0060 appears character-identically in 2 files \u2014 lib/utils/video_player_state/video_player_state_playback_controls.dart, lib/utils/video_player_state/video_player_state_player_setup.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c25269be3e5ce5e07a2bb608afea7a8b22c4d62a8188522c44955cbf7637fd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentIndex != -1 \u0026\u0026 currentIndex \u003C adjacentEpisodes.length - 1\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4a5761108df98bf79dec5c62b75cfe9943bb88d52bffdf63cb01da01e37943"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentItem.filePath.startsWith(\u0027http://\u0027) || currentItem.filePath.startsWith(\u0027https://\u0027)\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/pages/settings/watch_history_page.dart, lib/themes/nipaplay/widgets/dashboard_home_page_actions.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/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"a549bd3d631ddbe04f155348d9b582394b26951b37886cf50bf72a23386f3320"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentVideoPath != null \u0026\u0026 currentVideoPath.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/pages/play_video_page.dart, lib/themes/nipaplay/widgets/video_player_ui.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/pages/play_video_page.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30a53b645176f741acf8dee21c0ae596de443f884becf772de3ea6d9c2162a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060danmakuData[\u0027comments\u0027] != null \u0026\u0026 danmakuData[\u0027comments\u0027] is List\u0060 appears character-identically in 4 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart, lib/utils/video_player_state/video_player_state_danmaku.dart, lib/utils/video_player_state/video_player_state_metadata.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd302748cdbb97e4ef51dc133f2bc5a8b3c91f981586d565a2f27e336d3a8c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060danmakuList == null || danmakuList.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/cpp_native/bindings/danmaku_parser_io.dart, lib/utils/video_player_state/video_player_state_intro_skip.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/cpp_native/bindings/danmaku_parser_io.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13f444fe379c69228cb8b245c0edb2dbe4793c7dfeb505ddd77eb9c5728164c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data[\u0027matches\u0027] != null \u0026\u0026 data[\u0027matches\u0027].isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbe621bc4c51cbad94669d541e7b7d9d67146b9f1f904ad5e64a8bda0de82e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060decoded is Map \u0026\u0026 decoded[\u0027errorMessage\u0027] != null\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e345a7bf4827a58e09d1981ddc8429242992497fecefa126d8cb8357761a58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultTargetPlatform == TargetPlatform.iOS || defaultTargetPlatform == TargetPlatform.android\u0060 appears character-identically in 2 files \u2014 lib/utils/globals.dart, packages/danmaku_canvas/lib/utils/utils.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/globals.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42dc2441439ace135d782b9a2d2c0fb6690ab08b13c21ae03143c9fae5666ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060delivery == JellyfinSubtitleDeliveryMethod.external || delivery == JellyfinSubtitleDeliveryMethod.drop\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c7a3fc83990f8014902d554951486021cf8f0d362a8632329092b08012cf01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction != TraversalDirection.up \u0026\u0026 direction != TraversalDirection.down\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart, lib/themes/nipaplay/widgets/large_screen_settings_panel.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/themes/nipaplay/widgets/large_screen_scaffold_layout.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b648a10a5cade94ea5862808f5af4f8f72b99108d61e0b5397be54de03ebcd9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dotIndex == -1 || dotIndex == lower.length - 1\u0060 appears character-identically in 2 files \u2014 lib/services/smb_service.dart, lib/services/webdav_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_service.dart"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"320cacd7fb9bd2ccdc59217e911baca8729b0548d106de5480946775df1c733b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dummyVideoInfo.isNotEmpty \u0026\u0026 dummyVideoInfo[\u0027animeId\u0027] != null\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ecf9b81152e54ce771262fcd059658d0f5a0f2c25aadbe72d4122377fcd6d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060elapsed \u003C 0 || elapsed \u003E _scrollDurationSeconds\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/nipaplay_next_engine.dart, lib/danmaku_next/nipaplay_next_old_engine.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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"00228641d54a06f4b96d046093c5fb4383a9efb5341d396dc4b6b90b2855ae10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060elapsed \u003E= 0 \u0026\u0026 elapsed \u003C= config.duration\u0060 appears character-identically in 2 files \u2014 lib/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart, lib/danmaku_gpu/lib/gpu_top_danmaku_renderer.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/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad9343d08521ac983ad67658871a0204b1f4217ce9ad22ea8ec433cc7288814"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.key != \u0027Bangumi\u8BC4\u5206\u0027 \u0026\u0026 entry.value is num \u0026\u0026 (entry.value as num) \u003E 0\u0060 appears character-identically in 2 files \u2014 lib/pages/anime_detail_page.dart, lib/themes/nipaplay/widgets/anime_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/pages/anime_detail_page.dart"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d556b44bbd8289667930481702a9d3c572d1ba050c510fa6422676a4b04f3fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.key == \u0027dandanplay\u0027 || source == \u0027dandanplay\u0027\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_playback_info_pane.dart, lib/themes/nipaplay/widgets/playback_info_menu.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/themes/cupertino/widgets/player_menu/cupertino_playback_info_pane.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d545e3757d6fb4bcd8dc2f5e1d213e513fd1765f8397bc1e6f79c5c2789dbbd2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ep.containsKey(\u0027episodeId\u0027) \u0026\u0026 ep[\u0027episodeId\u0027] != null\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3a5c6c3ec960c94900d6e694b26bbf7b78b01c88dfdda6b51be7326d3ddf48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060episodeId != null \u0026\u0026 episodeIds.contains(episodeId)\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2366}}}],"partialFingerprints":{"codehealthFindingId/v1":"9671a49192e82e75b1b029f1674edd161138e646edbd67ac45b0e0e076f31e7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060episodeId.isNotEmpty \u0026\u0026 animeId.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/danmaku_settings_menu.dart, lib/themes/nipaplay/widgets/library_management_tab.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/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"388f7363713d7642acf34cc30d462cacf16d4be294f47c75bda2c4531275e669"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060episodeTitle != null \u0026\u0026 episodeTitle.isNotEmpty\u0060 appears character-identically in 3 files \u2014 lib/themes/nipaplay/widgets/shared_remote_library_view.dart, lib/utils/video_player_state/video_player_state_metadata.dart, lib/widgets/user_activity/cupertino_user_activity.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/themes/nipaplay/widgets/shared_remote_library_view.dart"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc01c7f8471711dc1292edbc16eca4c4365b6866fd11579f408d1fb5d84de656"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060episodeTitle != null \u0026\u0026 episodeTitle.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/pages/external_player_console_page.dart, lib/services/web_api_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/external_player_console_page.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7f9363b3fd2d10b3b0befbfcdd7f5694a5bb1a928f9768f3356d8cc6caca6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060episodeTitle == null || episodeTitle.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"3236dc520868643d95d374b8b9047090fefcd7a2eaea9d7d72a0d8c1fa69c89d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errorMessage == null || errorMessage.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b46f684f0d48c44cea0fc42518915444fd64fd4f5a4a37ee19786684a776fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event is KeyDownEvent \u0026\u0026 event.logicalKey == LogicalKeyboardKey.escape\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart, lib/themes/nipaplay/widgets/text_input_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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cad4218ccc93bf2ef3c434da1f51f67f6e512b656f7705aba4d2cab201409d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event is! KeyDownEvent \u0026\u0026 event is! KeyRepeatEvent\u0060 appears character-identically in 7 files \u2014 lib/themes/nipaplay/widgets/blur_dropdown.dart, lib/themes/nipaplay/widgets/large_screen_editable_slider.dart, lib/themes/nipaplay/widgets/large_screen_input_controls.dart, lib/themes/nipaplay/widgets/large_screen_settings_panel.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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cce24c932bf3f4d38adccfea52649190047010de245d196b5012f4889f12a77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing == null || item.lastWatchTime.isAfter(existing.lastWatchTime)\u0060 appears character-identically in 2 files \u2014 lib/models/watch_history_database.dart, lib/providers/watch_history_provider.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"58130de9e01464cad528acd2ba44f6dfae5614e3c3232c75eb439ec761ee6c49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ext == \u0027.ttf\u0027 || ext == \u0027.otf\u0027 || ext == \u0027.ttc\u0027 || ext == \u0027.otc\u0027\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/danmaku_settings_menu.dart, lib/utils/video_player_state/video_player_state_preferences.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/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"370376f04ade37c3a9b4ba4cb6b0845988cc3a14ff3e0e9c464e92b63fd2e4d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fallback != null \u0026\u0026 fallback[\u0027isMatched\u0027] == true\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5206a6b7bb5f0b7fd37f6e81245a60fada0640e317d11e79c9a8353aacc947e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fallback[\u0027matches\u0027] != null \u0026\u0026 fallback[\u0027matches\u0027] is List \u0026\u0026 fallback[\u0027matches\u0027].isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cae20688134bd50389c6fdd84a5373c1ec08b93ac3c35d37e7e7e711bf3b34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060favoritesData[\u0027success\u0027] == true \u0026\u0026 favoritesData[\u0027favorites\u0027] != null\u0060 appears character-identically in 3 files \u2014 lib/controllers/user_activity_controller.dart, lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/user_activity_controller.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b78150c90b510d0ce3783c94f1790818d46748286e906fc8544c3ec93faf9ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first == 172 \u0026\u0026 second \u003E= 16 \u0026\u0026 second \u003C= 31\u0060 appears character-identically in 4 files \u2014 lib/providers/shared_remote_library_provider.dart, lib/services/certificate_trust_service.dart, lib/services/webdav_service.dart, lib/utils/remote_media_fetcher.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/providers/shared_remote_library_provider.dart"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"446c8c77e7a4590e5191b5c1fd408a3ae1e2d198ade41eba983da758fafde46e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060focused \u0026\u0026 NipaplayLargeScreenModeScope.isActiveOf(context)\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/blur_dropdown.dart, lib/themes/nipaplay/widgets/settings_item.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcc2a10799cc0cba6b535cf06cd042bab43c8bd2d75e698d18379b9bac37324"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fontFamilyChanged || fallbackChanged || localeChanged\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/nipaplay_next_engine.dart, lib/danmaku_next/nipaplay_next_old_engine.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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"231032b351333bab9a93a484c5cc936b2dba6ee6e88102a5e778551e343755b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060globals.isPhone \u0026\u0026 screenSize.shortestSide \u003C 600\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/bangumi_collection_dialog.dart, lib/themes/nipaplay/widgets/bangumi_comment_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/themes/nipaplay/widgets/bangumi_collection_dialog.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"426aead409f8653cb4021bb2252a9838fa2ed55c7d260d67c5f2233dc1f1425a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060globals.isTelevision || AppDisplaySurfaceScope.of(context) == AppDisplaySurface.television\u0060 appears character-identically in 2 files \u2014 lib/media_library/adaptive_media_library_page.dart, lib/playback/adaptive_playback_entry_view.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media_library/adaptive_media_library_page.dart"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e783c017aeb825d6897a715b42e604eec440fe579422c060ed2a3c9d828619"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060historyData[\u0027success\u0027] == true \u0026\u0026 historyData[\u0027playHistoryAnimes\u0027] != null\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a043b7ed88299301cd3d653539b61bef07a0535ad5b8578d920031c6c858f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == \u0027localhost\u0027 || host == \u0027127.0.0.1\u0027\u0060 appears character-identically in 3 files \u2014 lib/providers/shared_remote_library_provider.dart, lib/services/webdav_service.dart, lib/utils/remote_media_fetcher.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/providers/shared_remote_library_provider.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"96be2cd6857df7fe209b6473e4e35f7ab1c2958edfda5810a86b3fa69ad43d84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C 0 || index \u003E= _externalSubtitles.length\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart, lib/themes/nipaplay/widgets/subtitle_tracks_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b452fe7c4a5db08db6441e3a32cdc7905d9d25895d1ecaedde4d2e83c342e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initialVideoPath.startsWith(\u0027jellyfin://\u0027) || initialVideoPath.startsWith(\u0027emby://\u0027)\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart, lib/themes/nipaplay/widgets/danmaku_settings_menu.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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79cd13567ea3b12c59ef301f6f085b0679bfe6230c0529ac360b19bd08d09e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isErikaPlayerKernel || _usesBinaryDanmakuEffectToggles\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart, lib/themes/nipaplay/widgets/danmaku_settings_menu.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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ca05e31e3b0a080e17b21880494dd90da2b09df450a0097a1422ab5b02d880"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isJellyfinStream || isEmbyStream || isSharedRemoteStream\u0060 appears character-identically in 2 files \u2014 lib/utils/video_player_state/video_player_state_danmaku.dart, lib/utils/video_player_state/video_player_state_player_setup.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_danmaku.dart"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b888a0ece5f61168b94a25c65152fda7119001bf9ac7c9506b62a19c4035a0c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isServerStream \u0026\u0026 useServerTracks \u0026\u0026 serverTracks.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart, lib/themes/nipaplay/widgets/audio_tracks_menu.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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af5f6fdfe0d6644aa49ea22be910348749a55960b1bbd39ed1dd92cf6c86f85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.animeId == animeId \u0026\u0026 item.episodeId != null\u0060 appears character-identically in 2 files \u2014 lib/models/watch_history_database.dart, lib/models/watch_history_model.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b56f77339881f8ab0ece247522c17142f906b2af0c1a36357f2a2de57e647f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.animeId == animeId \u0026\u0026 item.episodeId == episodeId\u0060 appears character-identically in 2 files \u2014 lib/models/watch_history_database.dart, lib/models/watch_history_model.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa11c774b73c4503de82f47010d09b2576dc951ff1f53aa29ef9b26493f786f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.animeId == animeId \u0026\u0026 item.episodeId == episodeId \u0026\u0026 item.animeName.trim().isEmpty\u0060 appears character-identically in 2 files \u2014 lib/models/watch_history_database.dart, lib/models/watch_history_model.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f1a4a463cc530b982da26dca5f872ca6bfe95dea87fe5acc3945f7ffc14747"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.animeId == animeId \u0026\u0026 item.episodeId == episodeId \u0026\u0026 item.animeName.trim().isNotEmpty \u0026\u0026 item.filePath.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/models/watch_history_database.dart, lib/models/watch_history_model.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f313e8c60a8555848ebf7dae0b290ee911f2e39c2292924dccd2c1b4309bfa5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.currentX != null \u0026\u0026 item.currentY != null\u0060 appears character-identically in 2 files \u2014 lib/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart, lib/danmaku_gpu/lib/gpu_top_danmaku_renderer.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/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a317f6c37d2f236d79e553acc572cb941508bbacbf56ab2861862129e441d40a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.currentY! \u003E -config.trackHeight \u0026\u0026 item.currentY! \u003C size.height\u0060 appears character-identically in 2 files \u2014 lib/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart, lib/danmaku_gpu/lib/gpu_top_danmaku_renderer.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/danmaku_gpu/lib/gpu_bottom_danmaku_renderer.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01ed9a00c9c647890d137f4734f536b91152e19fb3ab151683530a2bda5abd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kIsWeb || !_isConnected || _accessToken == null\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"86039d794ae4932ea88ed06fe090e905809a06225bee51c769b00365d5591cd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kIsWeb || defaultTargetPlatform != TargetPlatform.iOS\u0060 appears character-identically in 2 files \u2014 lib/pages/play_video_page.dart, lib/widgets/airplay_route_picker.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/pages/play_video_page.dart"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5557290a886dd3f5f2a5cd968c33bc0312b277e5d312a21d38bde053aadcd34b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key == LogicalKeyboardKey.enter || key == LogicalKeyboardKey.numpadEnter || key == LogicalKeyboardKey.select || key == LogicalKeyboardKey.ga\u2026\u0060 appears character-identically in 3 files \u2014 lib/themes/nipaplay/widgets/blur_dropdown.dart, lib/themes/nipaplay/widgets/large_screen_editable_slider.dart, lib/themes/nipaplay/widgets/settings_item.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"3878c216f2a4dcfd49612d7ebcd09bd2ac0eef98d12d551b9e0a76acb1445dbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key == LogicalKeyboardKey.escape || key == LogicalKeyboardKey.goBack || key == LogicalKeyboardKey.gameButtonB\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/blur_dropdown.dart, lib/themes/nipaplay/widgets/large_screen_page_scaffold.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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc5595609a241101dd7e069353c04a297dbf303e6fda8ac644bb36ad4bce972"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key.startsWith(\u0027Max\u0027) || key.contains(\u0027BitRate\u0027)\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"348d31b0ea45f98c2541d81d9704765d5c5cc1ee1fd78977dfad75cfc23241fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastSync != null \u0026\u0026 now.difference(lastSync) \u003C _syncInterval\u0060 appears character-identically in 2 files \u2014 lib/services/shared_remote_playback_sync_service.dart, lib/services/web_remote_history_sync_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/shared_remote_playback_sync_service.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76cd157235691e56e15daeb6ec51f9c011fca267457777b1386f9fdc394e7ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastWatched != null \u0026\u0026 lastWatched.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5149e087f0afb7b416254ac5ae7ecdf59d21143fdb009b2e443de04b6d1b0137"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060leading \u003E= pixels - 1 \u0026\u0026 trailing \u003C= pixels \u002B 1\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart, lib/themes/nipaplay/widgets/subtitle_list_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bbff13eb8d5f68baa2985a3a6eb99b57a03e9f11b2c70665afd59f3b75b8ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left \u003C= right \u0026\u0026 time - _resolveTime(sorted[left]) \u003E _mergeWindowSeconds\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/nipaplay_next_engine.dart, lib/danmaku_next/nipaplay_next_old_engine.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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"3401ca62c8482b310f4c1574a5ee8a511c8e32e078a63f63d4bfd2e7bce2a53f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listIdentity != _sourceListIdentity || mergeChanged\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/nipaplay_next_engine.dart, lib/danmaku_next/nipaplay_next_old_engine.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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"93df59b42909197fc513c314044eee4f4b430cc6e7252a5a8e4fad9bfdfe6a17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localIndex \u003E= 0 \u0026\u0026 localIndex \u003C _visibleDanmakus.length\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart, lib/themes/nipaplay/widgets/danmaku_list_menu.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/themes/cupertino/widgets/player_menu/cupertino_danmaku_list_pane.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf814c23a121e883edd9ca895992a4a2063ff5b78518bb43f72d54be125d9a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localIndex \u003E= 0 \u0026\u0026 localIndex \u003C _visibleEntries.length\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart, lib/themes/nipaplay/widgets/subtitle_list_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56146c88235d428e3b3beb1599c6f4a88a0cbddb9e9a072fc0d5f8d3a25b1d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower == \u0027stream\u0027 || lower == \u0027video\u0027 || lower == \u0027master.m3u8\u0027\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"024d49c803ba558452fdbe1d595b12f56e5e3da950069463d4f3f93bad8cc601"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.startsWith(\u0027dandanplay://\u0027) || lower.contains(\u0027/api/v1/stream/\u0027)\u0060 appears character-identically in 2 files \u2014 lib/models/media_library_scope.dart, lib/services/playback_source_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/media_library_scope.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede7b50bfd66f4d5f0ff71b294e31f103e8fcf2eb3c8261e61e69aab6b6f8609"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.startsWith(\u0027http://\u0027) || lower.startsWith(\u0027https://\u0027)\u0060 appears character-identically in 6 files \u2014 lib/services/local_media_share_service.dart, lib/services/playback_source_service.dart, lib/services/webdav_service.dart, lib/themes/nipaplay/widgets/immersive_anime_detail_scaffold.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6467a83e04da94e335225506e8efc70702e1c4cf90b6500582a656e590158cc4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lowerPath.startsWith(\u0027http://\u0027) || lowerPath.startsWith(\u0027https://\u0027)\u0060 appears character-identically in 3 files \u2014 lib/themes/nipaplay/pages/settings/watch_history_page.dart, lib/themes/nipaplay/widgets/dashboard_home_page_build_sections.dart, lib/themes/nipaplay/widgets/history_all_modal.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/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"4410c39ca6935e1cf823444c627386e2f6f79292fd8d9a273c96baf3007733d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060match is Map \u0026\u0026 match[\u0027episodeId\u0027] != null \u0026\u0026 match[\u0027animeId\u0027] != null\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ad97894d714230aa9e7a8cdc9d107b05352e408c0a4fdd4e0f0745abb7f4a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060match.groupCount \u003E 1 \u0026\u0026 match.group(2) != null\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/batch_danmaku_dialog.dart, lib/themes/nipaplay/widgets/custom_media_info_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/themes/nipaplay/widgets/batch_danmaku_dialog.dart"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"76361d2f4797dc2d072bf4132fbeae0559b65f736ab12fc3cf0d0eafcd351239"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060matchResult.isNotEmpty \u0026\u0026 matchResult[\u0027matches\u0027] != null \u0026\u0026 matchResult[\u0027matches\u0027].isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fe17a40d6ca55b73f77f4fe2e220c0a92b41acb086b518fe1596b1dff2fe46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060match[\u0027episodeId\u0027] != null \u0026\u0026 match[\u0027animeId\u0027] != null\u0060 appears character-identically in 3 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart, lib/utils/video_player_state/video_player_state_metadata.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4ba7dc35763259036152d20e3faef879342db3f8f20ce3929df85dc4f6fa8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060match[\u0027episodeTitle\u0027] != null \u0026\u0026 match[\u0027episodeTitle\u0027].toString().isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33b7a03b42bf6b06c14a2cf81c39dc655913909aaab87cfbf7114f11f35fab9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060matchedHost != null \u0026\u0026 provider.activeHostId != matchedHost.id\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart, lib/themes/nipaplay/widgets/playlist_menu.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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afb453270bd6af6ab243cde8425ad84546cdc9c4d73bc9622640303960a8137"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060measured \u003E 0 \u0026\u0026 (measured - _estimatedItemHeight).abs() / _estimatedItemHeight \u003E 0.05\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart, lib/themes/nipaplay/widgets/subtitle_list_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f08457b5e5938c8dd15f5394be5537f545849749d34100c83d8cd4aa91cbd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mediaSourceId != null \u0026\u0026 mediaSourceId.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"15970b4f7a0194c0431b2b67c258a38fcaece5c2dde57a509f6087b7ae7ff138"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mediaSourceId == null \u0026\u0026 displayName == null \u0026\u0026 audio == null \u0026\u0026 subtitle == null\u0060 appears character-identically in 2 files \u2014 lib/models/emby_media_selection.dart, lib/services/emby_media_preference_store.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/emby_media_selection.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb70010b7c44bb1ead4c395ce8ca78f75ff7d4d9cd4520d7c65b0d645b1596f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mediaSources == null || mediaSources.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"856eb0155d780687d999bdfe21a05e2db88dcc026e6f7fd7f8caae6a771ddebb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mediaSources is List \u0026\u0026 mediaSources.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcde7377509934671ebe84ca75f06cd224bda02ed796635768967296eb5700ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060memoryTime != null \u0026\u0026 memoryResults != null \u0026\u0026 _isAnimeSearchCacheFresh(memoryTime, memoryResults.length)\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24542369a5dae4446cb03669d297898ba04d05bd2c37c5fe3ee1ceb0bf2304e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadataName != null \u0026\u0026 metadataName.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0baccd050605d9d6a701228da1d035ffcf4037ca25af3baf16b7088eda0507"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nextSegment == \u0027id\u0027 \u0026\u0026 streamIndex \u002B 2 \u003C segments.length\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_remote_service.dart, lib/services/episode_navigation_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_remote_service.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"386c07228425d83f711745fd9c34022d7c46de07b9c8a737b77af2fe2ddb8ed8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized == null || normalized.isEmpty\u0060 appears character-identically in 4 files \u2014 lib/services/emby_media_selection_resolver.dart, lib/services/emby_track_application.dart, lib/services/media_server_device_id_service.dart, lib/themes/nipaplay/widgets/loading_overlay.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_media_selection_resolver.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efe2624ce08e4e684c65787015e7783af21cb6b711120553ef8e7809867836a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.length \u003E 1 \u0026\u0026 normalized.endsWith(\u0027/\u0027)\u0060 appears character-identically in 7 files \u2014 lib/providers/shared_remote_library_provider.dart, lib/services/episode_navigation_service.dart, lib/services/incremental_sync_data_filter.dart, lib/services/playback_source_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/shared_remote_library_provider.dart"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a8b43cbdc7276a51598e51e8b5591bb260816b02b773da9cdb783f29132b5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.startsWith(\u0027dandanplay://\u0027) || normalized.contains(\u0027/api/v1/stream/\u0027)\u0060 appears character-identically in 2 files \u2014 lib/models/watch_history_model.dart, lib/services/episode_navigation_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"106b9a2b646b9fb08492bb4a97aafbc6fef67229ac746acff1a72ab3f5762fe7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalizedName == null || normalizedName.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/smb_service.dart, lib/services/webdav_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_service.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"990e60440325a7f092b9d4edc9bb8d646f14cba66034ed631a2c921d0dd07352"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalizedRedirect != null \u0026\u0026 normalizedRedirect.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc08bb6fa04783417d9bba47da266bd0f6bab2a6dc5edfc27c8e355b9b4a331c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originalPath.startsWith(\u0027jellyfin://\u0027) || originalPath.startsWith(\u0027emby://\u0027)\u0060 appears character-identically in 2 files \u2014 lib/providers/watch_history_provider.dart, lib/utils/video_player_state/video_player_state_danmaku.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/providers/watch_history_provider.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f174b65b2dd193dc3ad73877613d9b2d7fba37b64216ff0398a004266cc42e27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params[\u0027MaxWidth\u0027] == \u00270\u0027 || params[\u0027MaxHeight\u0027] == \u00270\u0027\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"50eca3a8c0987151d5b13b431d812f94fc70eb09844462d02144fa6ac5d750fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed != null \u0026\u0026 parsed \u003E 0 \u0026\u0026 parsed \u003C= 300\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"283ae64ee06bececea98d0a58fbedb51047c2925eab996130e6485664554fc95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed == 264 || parsed == 265 || parsed == 480 || parsed == 720 || parsed == 1080 || parsed == 2160 || parsed == 4\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fba145019e0d9480ac5c55ecf433cf915d2fe28076b46ee4235d1a6f04ecbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parts.length \u003E= 3 \u0026\u0026 parts.first.isNotEmpty \u0026\u0026 parts.last.isEmpty\u0060 appears character-identically in 3 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart, lib/themes/nipaplay/widgets/danmaku_settings_menu.dart, lib/utils/video_player_state/video_player_state_subtitles.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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2978bdbbeb4ccdb91b1e5aca1d6f63f15b01233ff7d7626be1858420a2af06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path != null \u0026\u0026 path.startsWith(\u0027emby://\u0027)\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart, lib/themes/nipaplay/widgets/jellyfin_quality_menu.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/themes/cupertino/widgets/player_menu/cupertino_jellyfin_quality_pane.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a9c7265058f9066526f58daee6f573ded065f1d8d324312228f9a8971b5476"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pathParam != null \u0026\u0026 pathParam.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/remote_subtitle_service.dart, lib/utils/video_player_state/video_player_state_danmaku.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9032c7d1ff84a30d3fbe5d9b7f8445a12da691d8537a42ec4e127ea1e218c6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060persisted != null \u0026\u0026 persisted.isNotEmpty\u0060 appears character-identically in 4 files \u2014 lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart, lib/themes/nipaplay/widgets/dashboard_home_page_build_sections.dart, lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart, lib/themes/nipaplay/widgets/dashboard_home_page_image_helpers.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/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"004bd62ea022b72a26a228b6d78a16215b24a8c04ff403e72d830e44a336956b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060playSessionId != null \u0026\u0026 playSessionId.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afe671f94d14a8685fd33e1669672b658760e4e92e33808ab883dae5e835fa8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060port == null || port \u003C= 0 || port \u003E 65535\u0060 appears character-identically in 3 files \u2014 lib/services/nipaplay_lan_discovery.dart, lib/themes/cupertino/widgets/cupertino_smb_connection_dialog.dart, lib/themes/nipaplay/widgets/smb_connection_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/services/nipaplay_lan_discovery.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0bf09d7dfd2314f0dc2b5e096979e94d41353748684e7312864201e48b13ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060position == null || duration \u003C= Duration.zero\u0060 appears character-identically in 3 files \u2014 lib/models/external_player_session/other_session.dart, lib/models/external_player_session/potplayer_session.dart, lib/models/external_player_session/vlc_session.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/other_session.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"894217b7a02a879b63e0d3678cbd465ac6c034495d31ad6ebda6aed8fb67c102"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060position.viewportDimension \u003C= 0 || position.maxScrollExtent \u003C= 0\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart, lib/themes/nipaplay/widgets/subtitle_list_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"de72dd930915341a5e522f2a2bb28e420a17a5dbff3e0f2ee75f0ad80c31e445"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preferTranscoding || directStreamUrl == null || directStreamUrl.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"830b54a92980a3c976b4786d81a77b0145fda51561c9a41725b222ad24aaaf7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pressed.contains(LogicalKeyboardKey.shiftLeft) || pressed.contains(LogicalKeyboardKey.shiftRight) || pressed.contains(LogicalKeyboardKey.shi\u2026\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/video_player_ui.dart, lib/utils/hotkey_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"40445d29103ce179af7d9388e6d66b74be00333a6cb7e406b5d871c7a7ef940a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060processedItem[\u0027merged\u0027] == true \u0026\u0026 processedItem[\u0027isFirstInGroup\u0027] == false\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/nipaplay_next_engine.dart, lib/danmaku_next/nipaplay_next_old_engine.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/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0d3d966c10ce58d5d29ced934b5d27f5c55cb503205df986e905bebae0ab13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060progress \u003C= 0 \u0026\u0026 duration \u003E 0 \u0026\u0026 lastPosition \u003E 0\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart, lib/themes/nipaplay/widgets/dashboard_home_page_build_sections.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/themes/nipaplay/widgets/dandanplay_remote_library_view.dart"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd34ad6ae98981e79f48e1a765c52ad6f0927915fcc48bce21e2bf1a71876d95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060quality == null || quality == JellyfinVideoQuality.original\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47b31b36029ba71b6481f0b42218e8a0444248263de7cb09af70342d176d143"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060qualityIndex != null \u0026\u0026 qualityIndex \u003C JellyfinVideoQuality.values.length\u0060 appears character-identically in 2 files \u2014 lib/services/emby_transcode_manager.dart, lib/services/jellyfin_transcode_manager.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_transcode_manager.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc54e28feac76596f9d131e2e56012674446a8502b971a51975936b21b13bdea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rangeHeader != null \u0026\u0026 rangeHeader.startsWith(\u0027bytes=\u0027)\u0060 appears character-identically in 2 files \u2014 lib/services/local_media_management_api.dart, lib/services/local_media_share_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1497e1c08bbb9cb833db4f2363cb178f17f2e3beab19c59c1662b8116b2aa46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ratingData is Map \u0026\u0026 ratingData[\u0027score\u0027] is num\u0060 appears character-identically in 2 files \u2014 lib/pages/anime_detail_page.dart, lib/themes/nipaplay/widgets/bangumi_comment_prompt_controller.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d94376af9cb1c26f63976a082cb88225f4e72d6040ab656baa6fadff2cad92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060renderObject is RenderBox \u0026\u0026 renderObject.hasSize\u0060 appears character-identically in 4 files \u2014 lib/themes/nipaplay/widgets/blur_dropdown.dart, lib/themes/nipaplay/widgets/large_screen_mode_actions.dart, lib/themes/nipaplay/widgets/large_screen_tab_panel.dart, lib/themes/nipaplay/widgets/tooltip_bubble.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/themes/nipaplay/widgets/blur_dropdown.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6f3fa6e5c76a47807945bca1e62fb7a8d0e04929c9b02fbf7d33fd2aaaa08d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requestedMediaSourceId != null \u0026\u0026 requestedMediaSourceId.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd4d9ad15e705f676a68ef1e2cc63fcff8ac39b56b60330b89e3670296fa5dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved != null \u0026\u0026 resolved.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/torrent_download_service.dart, lib/utils/video_player_state.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/torrent_download_service.dart"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"131afa79cab52d4977df53edf872ff558df5c5931375ae131b7f7dad4c6384cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolvedPlaySessionId != null \u0026\u0026 resolvedPlaySessionId.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b18768e936adb01dbea06beccb9fd7e07beadbd872992404893be465e7cb42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolvedSessionId == null || resolvedSessionId.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_playback_sync_service.dart, lib/services/jellyfin_playback_sync_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_playback_sync_service.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab7cffc7d01ef7d51347d9097a17963025740da4673c1b2bf12823e00786334"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode == 200 || response.statusCode == 204\u0060 appears character-identically in 2 files \u2014 lib/services/emby_playback_sync_service.dart, lib/services/webdav_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_playback_sync_service.dart"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"08919b3673d8f8478449a6fc5922a414208d19d984addfd10ff6734884d20850"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode == 405 \u0026\u0026 _allowContainsMethod(allowHeader, \u0027GET\u0027)\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d43aca41e0f2549d2c9993d0ed1a7084b8feaa498169c0343c477afda2b389"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode \u003E= 200 \u0026\u0026 response.statusCode \u003C 300\u0060 appears character-identically in 3 files \u2014 lib/services/bangumi_api_service.dart, lib/utils/network_checker.dart, lib/utils/remote_media_fetcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_api_service.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3d2fc40ee939f269ed4d38183e4007678d12cc2bf4693507fd3dab23256da9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result[\u0027success\u0027] == true \u0026\u0026 dandanLinkedBangumiInfo != null\u0060 appears character-identically in 2 files \u2014 lib/pages/account/account_controller.dart, lib/themes/nipaplay/pages/account/material_account_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/pages/account/account_controller.dart"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd7494692eef5d816014639b960b8d8e1c35c105362bb19a18bffafd995f352"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s is Map \u0026\u0026 s[\u0027Type\u0027] == \u0027Audio\u0027 \u0026\u0026 audioStream == null\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e12f41ab4ee98f7686395f4e2d9b9166b09cc6ce7bf8e8ea183cbdf0f97bf38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s is Map \u0026\u0026 s[\u0027Type\u0027] == \u0027Video\u0027 \u0026\u0026 videoStream == null\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8341e7a1e24ef52db1e3484a8765e1e0c144b54084dccc59089110228c2c3222"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060samplerateInfo.isNotEmpty \u0026\u0026 samplerateInfo != \u00270\u0027\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart, lib/themes/nipaplay/widgets/audio_tracks_menu.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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"473bec941a09200f01b3132a1e566b7d91e190df8f0973c4a1c846ad4e1cfab3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scheme == \u0027jellyfin\u0027 || scheme == \u0027emby\u0027\u0060 appears character-identically in 2 files \u2014 lib/pages/play_video_page.dart, lib/themes/nipaplay/widgets/video_player_ui.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/pages/play_video_page.dart"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ea3d53f8aebb600cbbe477ca6d0ba6b34fc37c2e60193c75bc681cc3879988"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scheme == \u0027smb\u0027 || scheme == \u0027webdav\u0027 || scheme == \u0027dav\u0027\u0060 appears character-identically in 2 files \u2014 lib/pages/play_video_page.dart, lib/themes/nipaplay/widgets/video_player_ui.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/pages/play_video_page.dart"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bdcf255939a0b24f6e8e2cb63a9140830514c51f02ac5370031200f1830d97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scrollController == null || !scrollController.hasClients\u0060 appears character-identically in 4 files \u2014 lib/themes/nipaplay/widgets/large_screen_home_page.dart, lib/themes/nipaplay/widgets/large_screen_player_menu_panel.dart, lib/themes/nipaplay/widgets/large_screen_scaffold_layout.dart, lib/themes/nipaplay/widgets/large_screen_settings_panel.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/themes/nipaplay/widgets/large_screen_home_page.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6b20b53e2c5af7394f54613759e3de86b19ae8f53306e4766081fcdc9b32bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seasonEpisodeCount \u003C= 0 || remainingEpisode \u003C= seasonEpisodeCount\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7574e5714d0c73b546070f68ceae72ef99f248358bd53dc06f3459f3aee968"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selected == null || selected.trim().isEmpty\u0060 appears character-identically in 2 files \u2014 lib/pages/torrent_download_page.dart, lib/settings/pages/storage_settings_content.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/pages/torrent_download_page.dart"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeff5d0b6c40f6d40f2e147cf9579c6a8b0f79411c9dfacacb3c1ae5885eb14f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedAnime == null || selectedEpisode == null\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7b537d9aae3408a9d7d87ae5acea50775e05e7920074dae44229e10a30438b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedMatch == null \u0026\u0026 showMatchDialog \u0026\u0026 autoPickOnHashFail\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a2fd05633e8c6ef49276b832930be496ae7dd6da41623d93276bca908c02a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seriesNameOnly.isNotEmpty \u0026\u0026 seriesNameOnly != queryTitle\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdd2c3325ee1b4afb3a0ee6695e329b9e5a7fdc5683733c02f47b0bd4e594f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settingsString != null \u0026\u0026 settingsString.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_transcode_manager.dart, lib/services/jellyfin_transcode_manager.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_transcode_manager.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"39009ef2572f87b7d06cbf400e5bff3a1155e5c0e937f90a49063933c8c424df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showMatchDialog \u0026\u0026 hashMatchFailed \u0026\u0026 autoPickEnabled\u0060 appears character-identically in 2 files \u2014 lib/services/emby_dandanplay_matcher.dart, lib/services/jellyfin_dandanplay_matcher.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"924a4e40b8a6037ffd9a7a372dd1121f79b444f57ca49b78747a13817c0f49b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060snapshot.hasData \u0026\u0026 snapshot.data != null\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/pages/settings/watch_history_page.dart, lib/themes/nipaplay/widgets/history_all_modal.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/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"def3ac1ebaf4ea9eb63459789bfde231526c905e81fa2b6a7036650bda120291"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060snapshot.hasData \u0026\u0026 snapshot.data!.summary != null\u0060 appears character-identically in 2 files \u2014 lib/pages/new_series_page.dart, lib/themes/nipaplay/widgets/dandanplay_remote_library_view.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/new_series_page.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a850b2b65ac6147e5f192322d76f3912370d8b4793d65a539af435a04f4e35"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060startPositionMs != null \u0026\u0026 startPositionMs \u003E 0\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d9601d818a2243ca7ad3b017c5f8281f40bb13e88ab0efc9f3eb87ada0ff38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060streamIndex != -1 \u0026\u0026 streamIndex \u002B 1 \u003C segments.length\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_remote_service.dart, lib/services/episode_navigation_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_remote_service.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a91beb4fa9278a3ef783fc0bbd84835fd3b6f9a9652d8bc6b89cdc9644a12e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subtitle != null \u0026\u0026 subtitle!.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/large_screen_page_scaffold.dart, lib/themes/nipaplay/widgets/settings_item.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_page_scaffold.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"535b81475dc0c864eb2e7fde880fe8665a6c49867f83baa67b1544d7e1051a74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subtitleMethod != null \u0026\u0026 subtitleMethod.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"383af132bb899bfef507edc22cc28dbe668b78812002f268126f2370e8ec47ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subtitleName == null || subtitleName.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/local_media_management_api.dart, lib/services/local_media_share_api.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e2d76aa9f6d1492bc2589afe81e13d174f3022289dcdda6d4226cd7e3b0dd3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subtitlePath != null \u0026\u0026 subtitlePath.isNotEmpty\u0060 appears character-identically in 3 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart, lib/themes/nipaplay/widgets/subtitle_list_menu.dart, lib/utils/subtitle_manager.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_list_pane.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5f765189a32c7c754f259b06c66ed8e23c7e9a6a29f6693ec97ba028c631d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subtitleStreamIndex != null \u0026\u0026 subtitleStreamIndex \u003E= 0\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fde7ff111f6cb87282b0f0f41377e4111743b5b2d79908d5339b6508c7d31e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060success \u0026\u0026 url != null \u0026\u0026 url.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1fba5d225923e7e1c35c9d89967da86a19b599efe26ea9da2a817c0c17f89b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text.isEmpty || text == \u00270\u0027 || text.toLowerCase() == \u0027null\u0027\u0060 appears character-identically in 2 files \u2014 lib/models/danmaku/danmaku_item.dart, lib/utils/danmaku_parser.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/danmaku/danmaku_item.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9670bcd130e3a26c2446df0380ab5f239dd967dae46aebcf5cd1dea11eb6a9ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timestamp == null || rawResults is! List\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e005b4e06bd6dcac8f2f65a34eca2f3c8106747bf73ed21f87183d610ddb77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060track.codec != null \u0026\u0026 track.codec!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart, lib/themes/nipaplay/widgets/audio_tracks_menu.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/themes/cupertino/widgets/player_menu/cupertino_audio_tracks_pane.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abc6dc359a878fb5c42a643390715e44fe39989c4205c411c1c4fddf4962cdf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trackIndex \u003E= 0 \u0026\u0026 (tracks == null || trackIndex \u003E= tracks.length)\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart, lib/themes/nipaplay/widgets/subtitle_tracks_menu.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/themes/cupertino/widgets/player_menu/cupertino_subtitle_tracks_pane.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a99d722c41943505d632cfd205bd2ecddde19d636bea087b22ab1ee17d339ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transcodeEnabledCache \u0026\u0026 effectiveQuality != JellyfinVideoQuality.original\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e5566460b7d0efd1421481935bafd30b7903c8ede8ee75ff44f649a8f93d10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transcodeSettingsCache.audio.audioBitRate != null \u0026\u0026 transcodeSettingsCache.audio.audioBitRate! \u003E 0\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc66400ba9fb6a6e568fb7bcedd1b4255507e285e8c2caa007f4d6f1422b0a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transcodeSettingsCache.audio.audioSampleRate != null \u0026\u0026 transcodeSettingsCache.audio.audioSampleRate! \u003E 0\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"380e6c248505e67f4ca713c1d52134ded11047025d81069124f0d96eb9b9f095"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transcodeSettingsCache.subtitle.enableTranscoding \u0026\u0026 transcodeSettingsCache.subtitle.deliveryMethod != JellyfinSubtitleDeliveryMethod.extern\u2026\u0060 appears character-identically in 2 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd1c7cb4b675fc50a498bddcd76a6c710095004bea4399fc5acf905623790d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0027http://\u0027) || trimmed.startsWith(\u0027https://\u0027)\u0060 appears character-identically in 3 files \u2014 lib/services/emby_service.dart, lib/services/jellyfin_service.dart, lib/services/local_media_share_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"086d94e860190f967b91784648299f42d12927257ec444616cbff2958f0aa5f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == PlayerMediaType.video || type == PlayerMediaType.unknown\u0060 appears character-identically in 2 files \u2014 lib/player_abstraction/erika_player_adapter.dart, lib/player_abstraction/mdk_player_adapter_io.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/player_abstraction/erika_player_adapter.dart"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"f344672e413e9c5bed9cd95eaa7d5a80a489254bde8b62f61f05b31efcdea3b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri != null \u0026\u0026 (uri.scheme == \u0027http\u0027 || uri.scheme == \u0027https\u0027)\u0060 appears character-identically in 3 files \u2014 lib/themes/nipaplay/widgets/playlist_menu.dart, lib/utils/media_identity_resolver.dart, lib/utils/video_player_state.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9539b25255f04685d2330a5a1a8dddce68d58bec170a2baab01396fb2e7f34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri != null \u0026\u0026 uri.pathSegments.isNotEmpty\u0060 appears character-identically in 4 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart, lib/themes/nipaplay/widgets/playlist_menu.dart, lib/utils/media_path_name.dart, lib/utils/subtitle_manager.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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3405b657c9fb216726c8ea8724ad6edbcf6f1fea2c8b036e98ee799cc4081c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri == null || (uri.scheme != \u0027http\u0027 \u0026\u0026 uri.scheme != \u0027https\u0027) || uri.host.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/media_server_image_loader.dart, lib/services/remote_text_input_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_image_loader.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a7a1945b08055fcda56b4ba831c0c921d96f66b2df80379cb14c5c944cba7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri.scheme != \u0027http\u0027 \u0026\u0026 uri.scheme != \u0027https\u0027\u0060 appears character-identically in 4 files \u2014 lib/services/remote_subtitle_service.dart, lib/services/shared_remote_playback_sync_service.dart, lib/services/webdav_service.dart, lib/utils/file_hash.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"0912be5e8cb91057a59d4d10d74e7c6fc52e3955cf505dca46306b29988bc8ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060useCache \u0026\u0026 data[\u0027success\u0027] == true \u0026\u0026 requestEpoch == _bangumiDetailsCacheEpoch\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5536fec9fbc9743b82ec5add2777ceeaad3428e63363c3ce36245915778fd61b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060useCache \u0026\u0026 identical(_bangumiDetailsInFlight[bangumiId], request)\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9367ff5e67ef1cfa3eefa9c6385b0f942114cec5672c8d284dd0d729e73017"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u003C controller.minCustomRate || value \u003E controller.maxCustomRate\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart, lib/themes/nipaplay/widgets/playback_rate_menu.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/themes/cupertino/widgets/player_menu/cupertino_playback_rate_pane.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c124b0ea4131c20102103eb022c7b386e0932cb283e4422355dd6a40c47cd90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || value \u003C 0 || value \u003E 255\u0060 appears character-identically in 2 files \u2014 lib/utils/network_address_utils.dart, lib/utils/remote_access_address_utils.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/network_address_utils.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3905f81d0dfe470a8a79cc8f7bf5642f406af2f11f6a2ea53f40c3234aed92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || value is Map || value is Iterable\u0060 appears character-identically in 2 files \u2014 lib/models/danmaku/danmaku_item.dart, lib/utils/danmaku_parser.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/danmaku/danmaku_item.dart"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f55a80a12240a6b42b5ab97bfb9a3768cb3efeeca2dcf04682e005c98f3e19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u003E= 1024 \u0026\u0026 unit \u003C units.length - 1\u0060 appears character-identically in 2 files \u2014 lib/downloads/unified_torrent_page_model.dart, lib/pages/torrent_download_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/downloads/unified_torrent_page_model.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a1b7c5b00cd9203d05e200186a373d23d73b3b3686761b212cfb3ef895fa25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is Map \u0026\u0026 value[tombstoneMarker] == true\u0060 appears character-identically in 2 files \u2014 lib/services/anime_deletion_tombstones.dart, lib/services/incremental_sync_webdav_connections.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/anime_deletion_tombstones.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2843eba48942808481d183e93f1f3aff1a40a4986552f4a9a37132512b51f5c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is String \u0026\u0026 value.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/anime_info/anime_info_service_impl.dart, lib/utils/anime_info_parse.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/anime_info/anime_info_service_impl.dart"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1ea059016e37313f22d75b891931b3d80398eed8b5e7c5c80a8e69dc71d194"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.startsWith(\u0027http://\u0027) || value.startsWith(\u0027https://\u0027)\u0060 appears character-identically in 2 files \u2014 lib/player_abstraction/media_kit_player_adapter.dart, lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6237deaf3b4ad9779d220cf39b0a3d359811c86b3edb112a808ce3682afc5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoHash != null \u0026\u0026 videoHash.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/pages/media_server_detail_page.dart, lib/services/incremental_sync_repository.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/pages/media_server_detail_page.dart"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd03aa5fdad27d990730bb8449d3bf682156a36c5807df8f8e8d15e6e5f5741"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoInfo[\u0027animeTitle\u0027] == null || videoInfo[\u0027animeTitle\u0027].toString().isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab10bffd0dba8b90e6009fc445fc41e2d7a855a6f2259b5aa472b23abf8c7a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoInfo[\u0027episodeTitle\u0027] == null || videoInfo[\u0027episodeTitle\u0027].toString().isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8dfabd06f5d942f6c23d92a84e802e212f1438ec6e4f460cd53651d38d75ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoInfo[\u0027isMatched\u0027] != true || matches is! List || matches.isEmpty || matches.first is! Map\u0060 appears character-identically in 2 files \u2014 lib/services/local_media_management_api.dart, lib/themes/nipaplay/widgets/library_management_tab.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c5a249655c6aadb6c5f779eb94b5b463f7e77c4eb3f362f24f24c8ec2a82a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoInfo[\u0027matches\u0027] != null \u0026\u0026 videoInfo[\u0027matches\u0027].isNotEmpty\u0060 appears character-identically in 4 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart, lib/utils/video_player_state/video_player_state_danmaku.dart, lib/utils/video_player_state/video_player_state_metadata.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"99345959c824dda1a1b829867b30447e4cb6c4d9590e05f0b0611f1e99c0e159"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoPath.startsWith(\u0027http://\u0027) || videoPath.startsWith(\u0027https://\u0027)\u0060 appears character-identically in 4 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart, lib/utils/audio_track_manager.dart, lib/utils/video_player_state/video_player_state_player_setup.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eb940d6dc4fd643b0cc9e6ad1d8c4e8b46ec20171afe8e86cd3a225f6a1c39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoPath.startsWith(\u0027jellyfin://\u0027) || videoPath.startsWith(\u0027emby://\u0027)\u0060 appears character-identically in 2 files \u2014 lib/utils/audio_track_manager.dart, lib/utils/video_player_state/video_player_state_player_setup.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/audio_track_manager.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed199b90953672fad4390360bf7329b980687bb4a4cba481223fcd148bcc991"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoState.isDisposed || videoState.currentVideoPath != initialVideoPath\u0060 appears character-identically in 4 files \u2014 lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart, lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_tracks_pane.dart, lib/themes/nipaplay/widgets/danmaku_settings_menu.dart, lib/themes/nipaplay/widgets/danmaku_tracks_menu.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/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa7898d147b8ab712965ee76b0a9876e678f5ffe4d63ab4f1370e2a1e6b33b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoState.showPlayerMenuQuickControls \u0026\u0026 videoState.hasVideo\u0060 appears character-identically in 2 files \u2014 lib/themes/cupertino/widgets/cupertino_player_menu.dart, lib/themes/nipaplay/widgets/video_settings_menu.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/themes/cupertino/widgets/cupertino_player_menu.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b14c48cb1f63700a58fb61580020ecca2f500920b9020b82a0f9ca12dd00d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoStreams == null || videoStreams.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/playback_info_menu.dart, lib/utils/video_player_state/video_player_state_playback_controls.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d52a89c3a3a31b66cb55639dff94669472029b3ddc03dd7cba46c8fe8b3a89f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoTracks != null \u0026\u0026 videoTracks.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/video_player_ui.dart, lib/utils/video_player_state/video_player_state_capture.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/themes/nipaplay/widgets/video_player_ui.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc67db4523f3cfb46031d78a3f6d10094fa0efd7efcb4f3310d1c7eaf84d0288"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewport.width \u003C= 0 || viewport.height \u003C= 0\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/immersive_backdrop_focus.dart, lib/themes/nipaplay/widgets/immersive_portrait_backdrop_color.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/themes/nipaplay/widgets/immersive_backdrop_focus.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"527b255b7de23bd62dc6e535c692f765d62b80986a11e1dbc7c3e25b7c54de94"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060webToken == null || webToken.toString().isEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/dandanplay_service_io.dart, lib/services/dandanplay_service_stub.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62b395dbb9b5c3446f876e0f87e431e9e6313d17123266981efc526a2295766"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.onChanged != null \u0026\u0026 widget.max \u003E widget.min\u0060 appears character-identically in 2 files \u2014 lib/themes/nipaplay/widgets/large_screen_editable_slider.dart, lib/themes/nipaplay/widgets/settings_item.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/large_screen_editable_slider.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6d0ef88b434380b1fe2fd63acb0618beb35924e288f745e4e7f424198d77bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.onLayoutCalculated != null \u0026\u0026 (_layoutSnapshotPending || previousSize != size)\u0060 appears character-identically in 2 files \u2014 lib/danmaku_next/nipaplay_next_old_overlay.dart, lib/danmaku_next/nipaplay_next_overlay.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/danmaku_next/nipaplay_next_old_overlay.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd17dc3f15883cd65fb1d74bc901e48ed6a39d006619ec4b5a7b11b9e3a4860"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_file($file) \u0026\u0026 (time() - filemtime($file) \u003E $lifetime)\u0060 appears character-identically in 2 files \u2014 assets/php/log_viewer.php, docs/nipaplay.php. 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":"assets/php/log_viewer.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fceb6602820f640695921111b3521ddff19b41daba033af7086a8a0f301fda9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.engineHandle != 0 \u0026\u0026 entry.textureWidth == width \u0026\u0026 entry.textureHeight == height\u0060 appears character-identically in 2 files \u2014 rust_builder/ios/Classes/RustLibNipaplayPlugin.swift, rust_builder/macos/Classes/RustLibNipaplayPlugin.swift. 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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b1add6f61f326d479a642ede1a330ccd370d007f943ce093c119cf24e2e86d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.textureWidth != width || entry.textureHeight != height\u0060 appears character-identically in 2 files \u2014 rust_builder/ios/Classes/RustLibNipaplayPlugin.swift, rust_builder/macos/Classes/RustLibNipaplayPlugin.swift. 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":"rust_builder/ios/Classes/RustLibNipaplayPlugin.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76906f97ac201a400945fffde056400ad43faa82bcf53b2fab340663bb0ace2"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060clone\u0060 is public and takes a \u0060Sender\u0060 as its receiver from its caller, and it calls itself at line 35 with a piece of the document (and at line 36) \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060clone\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/command_channel.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1d4f0061636158c36fcbca19d2412c31154f6465b356bc0e133c8a3d011454"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060send\u0060 is public and takes a \u0060Sender\u0060 as its receiver from its caller, and it calls itself at line 42 with a piece of the document \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060send\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/command_channel.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbef030a275458c66b14ee5085fb98bf0a854558e9e7ed9eb3f5964514499c15"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060try_recv\u0060 is public and takes a \u0060Receiver\u0060 as its receiver from its caller, and it calls itself at line 56 with a piece of the document \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060try_recv\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/command_channel.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c0155b8ca2dadb8d4986345d19dabfc57b5f08fd1a2f7a1113b1a53aa2f3ab"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060recv_timeout\u0060 is public and takes a \u0060Receiver\u0060 as its receiver from its caller, and it calls itself at line 79 with a piece of the document (and at line 83) \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060recv_timeout\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/next2_engine/engine/command_channel.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0acd57d7fa1f23b0b0130d8d3646fd7aaa8a04a68bdeab64c548b4dfeec5d99"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalJson\u0060 is public, takes a document from its caller (line 392) and hands it to \u0060_canonicalize\u0060, which calls itself at line 399 (\u0060_canonicalize\u0060) with a piece of \u0060value\u0060 (and at line 402) \u2014 and nowhere in \u0060_canonicalize\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060_canonicalize\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/incremental_sync_repository.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff37e50135faa3ae8a629c43e3e219e574cc1dfcecafed17f608961b752e810"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060AutoSuggestBoxState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_overlayNode\u0060 itself (line 476, \u0060FocusScopeNode\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_overlayNode.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060FocusScopeNode\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_overlayNode.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fluent_ui-4.15.1/lib/src/controls/form/auto_suggest_box.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a11cdc3e41512c8943aa41c72d31e64e0e3bcb2a775bfd155c71ca92146117"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a CancelToken: Only 0/9 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: requestAllRequiredPermissions: \u0060requestAllRequiredPermissions\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/utils/android_storage_helper.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7124a32666ad45fb7ba77daccf4be728c674df26cd89d93808bac33228fe9b09"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: webDavAuthenticatedGet: \u0060webDavAuthenticatedGet\u0060 calls \u0060dio.getUri(\u2026)\u0060 but takes no CancelToken and hands the request none its caller can reach, so its caller cannot cancel the request once it has started. Take \u0060CancelToken? cancelToken\u0060 and pass it on as \u0060cancelToken: cancelToken\u0060 \u2014 or, in a widget\u0027s State or a notifier, hold one and cancel it in \u0060dispose\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/webdav_http_auth.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9c1720042ae432107aedf130f25fa4fd34424c2dee88c10e302791aee9996c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: _listManagedLibraryCandidates: \u0060_listManagedLibraryCandidates\u0060 calls \u0060dio.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/services/remote_subtitle_service.dart"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"9180ace71f5ec6382c584a25e4c2025ad4473f7b5075a25cedadd9886466f2d3"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: _listSharedRemoteCandidates: \u0060_listSharedRemoteCandidates\u0060 calls \u0060dio.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/services/remote_subtitle_service.dart"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"d749c56298e7937f1cdb7242929f324a68803d09db58c9bc938e155c77c87821"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: _listSharedRemoteAudioCandidates: \u0060_listSharedRemoteAudioCandidates\u0060 calls \u0060dio.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/services/remote_subtitle_service.dart"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea06020e9477de95328e79bfc3cc89f727f43977775ad43ff32fac89e0821a7"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: _listSharedRemoteFontCandidates: \u0060_listSharedRemoteFontCandidates\u0060 calls \u0060dio.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/services/remote_subtitle_service.dart"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d833644216fcb2c422a0e0429e57e980ce09e4f3c61fab9023f7faad1f56be"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: _downloadSharedRemoteAudio: \u0060_downloadSharedRemoteAudio\u0060 calls \u0060dio.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/services/remote_subtitle_service.dart"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a4890c68a6d125aec14777bb95de85496f13c4a78a2c982246bc271f26f940"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: _downloadSharedRemoteFont: \u0060_downloadSharedRemoteFont\u0060 calls \u0060dio.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/services/remote_subtitle_service.dart"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7428c453c013e0b53871a16b1cc5d6fedc8b520d0c0e6f13f46dac3f1262b21"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a CancelToken: _downloadSharedRemoteSubtitle: \u0060_downloadSharedRemoteSubtitle\u0060 calls \u0060dio.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/services/remote_subtitle_service.dart"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9d8294e5230ffdf2dd33dc76a9067e5cae16878f5ef23210efe5c239e6d819"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060finer\u0060 at line 109 is called with an argument built by \u0060arguments.join(\u0027\u2026\u0027)\u0060 (line 109), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because finer is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/util.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd62326b7a6312f6bd0132d42d8bb0e41d2541cf0ad7c93565c183a55bc1d64"}},{"ruleId":"X25","level":"warning","message":{"text":"Setting lookup falls back to a different setting than its key: \u0060JellyfinDandanplayMatcher\u0060 looks up \u0060\u0022episodeTitle\u0022\u0060 and falls back to \u0060name\u0060 when the caller supplies none \u2014 but line 202 of this same type looks up \u0060\u0022episodeTitle\u0022\u0060 and falls back to \u0060episodeTitle\u0060, which is the member that key names. The two cannot both be right: every caller who configures \u0060episodeTitle\u0060 and passes no \u0060\u0022episodeTitle\u0022\u0060 override silently gets \u0060name\u0060 instead, and nothing reports that the value was ignored. Fall back to \u0060episodeTitle\u0060 here as line 202 does \u2014 or, if \u0060name\u0060 genuinely is the intended source, look it up under its own key so the two sites stop disagreeing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"4577090cdd69b5eba08cfd69ffd6ab99efdd53d99dce2deab61e0f92c47b70f2"}},{"ruleId":"X25","level":"warning","message":{"text":"Setting lookup falls back to a different setting than its key: \u0060JellyfinDandanplayMatcher\u0060 looks up \u0060\u0022episodeTitle\u0022\u0060 and falls back to \u0060name\u0060 when the caller supplies none \u2014 but line 202 of this same type looks up \u0060\u0022episodeTitle\u0022\u0060 and falls back to \u0060episodeTitle\u0060, which is the member that key names. The two cannot both be right: every caller who configures \u0060episodeTitle\u0060 and passes no \u0060\u0022episodeTitle\u0022\u0060 override silently gets \u0060name\u0060 instead, and nothing reports that the value was ignored. Fall back to \u0060episodeTitle\u0060 here as line 202 does \u2014 or, if \u0060name\u0060 genuinely is the intended source, look it up under its own key so the two sites stop disagreeing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b73854d2a18ad2d9b6c70e8cd6bf79797e16d59d0bf52cef77125cc3813308"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SyncPatch.created_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/incremental_sync.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace88cbd5bdccd63a468dbcaa2a4510215a0b7f2b22097e331ce0b46e17343da"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SyncPatch.device_id\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/incremental_sync.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a317dfb80a1b82e0d8c00a30e78f5912c4e50dc2e0a0cb3612fbd02a81761929"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/android/src/main/java/com/flutter_rust_bridge/rust_lib_nipaplay/RustLibNipaplayPlugin.java"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d865112e9d211c377acbba2175d4dd6054e9834fcf3cce541c6489423e0363a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/android/src/main/java/com/flutter_rust_bridge/rust_lib_nipaplay/RustLibNipaplayPlugin.java"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6512bf6d3edbb9ab924e5febbd83690da9ff6df1fd17e262a84441cf1f5f440b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/android/src/main/java/com/flutter_rust_bridge/rust_lib_nipaplay/RustLibNipaplayPlugin.java"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"092c726d804ae49f8d4362cbbe6a50845b8c9b205264d12277dff7b1bfa49683"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/web/player/real.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"edce255812ce429067a83206ea33198d94407d96f353005a7aafc84177c2cd44"}},{"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":"packages/media_kit/lib/src/player/web/player/real.dart"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c28c34d9680d19ab57f8f998203dce3111ba8dd115d1016b76a8070d8fd13af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/utils/android_helper.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24522c078700ab9c503f1dc131d15b735fe79f99470560f1e2b3ac70af21a66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/utils/android_helper.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b070399a809bf956c720bcc171014d35fac0af0eae93050bdc291ff2a99c05"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/utils/android_helper.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a120ee75929c8c6296dfbe658c2b10eee009923bd6ec9bb1d7be66c663bd7982"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/utils/android_helper.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f52ccecc74728c6113d864349ebb8cdd08a82db2c03eac9285d1e3894ecedf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/utils/android_helper.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"332769ff08640ed5c79470a6ce88afde0e7da64ba798c9785d5e89f163f683f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/utils/android_helper.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c72ad72649f8ae57146e8e907acf820fced02fbc8289809bf3dc222289b290f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/utils/android_helper.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7894a03f4e42c6616ad5fc9119d744d8e3c397c8c8c54396e55b59b175a8b47b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/utils/android_helper.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"35979360464454b3edd2faffb08a7a50d9b5d9386665a0930b6d9132a5f18bb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/utils/android_helper.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a7cf4d2b5433aea81142b0ba4abbb020ea068a66d54aac2d7be4e0542a68e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/utils/android_helper.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3749b4a35783f57a845ae72149233be966ad544220b1b265d2b550077b0ce0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/player/real.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34b19395d198e224a8ef0969206e83de4d153c9c5da68f03bf19a0267586cfc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/player/real.dart"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"49573b44f69ab13f2e97234aee039930abc4ec2646f5aaad7de8a3526587fac4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/core/execmem_restriction.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"920ae92f33ebf1385c805909b0675d2fcaa1ba31421544b95da3e9ea675a7715"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/core/fallback_bitrate_handler.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66cb9bc5abe5713b46f1816103c4134157a74b4fcd6cc1f4d761d6c0ae1e257"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/core/fallback_bitrate_handler.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5128903ee3733d34d4edbfec321c3844989fd3dcdf6f71c80c6af335b533a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/core/native_library.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b827344be8fdaad689175a7ffd1b7144221b02a44bad2e89abbfe0e652ca26b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/src/player/native/core/native_library.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"11050848ababafd9dc2ec91e289290d32a476ab0f0b629f3383f4b1567340af2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/media_kit/lib/ffi/src/utf8.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fe291f73db64b37c7399ea4de3b01042e9e58016197c605d3eb5b2128d278d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fvp-0.37.3/lib/src/media_info.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"702b6e25a4130e23047495bba5194c22ff2810b24156e1ec4b35c6f93573f0d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fvp-0.37.3/lib/src/media_info.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f01321c46cc3325efd36e6023cfc09eec8d28f14d456c8ca99c3a868bdfe784"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fvp-0.37.3/lib/src/media_info.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba23651eb590fb65f6fa1fce90f5b079c62eeecea24ba00ac2b9e57aab368af2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fvp-0.37.3/lib/src/media_info.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f8b40b1ff9d5da7ef7cc3befd4375d84e9fba94ec66666d7111d8c15e957e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/fvp-0.37.3/lib/src/media_info.dart"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a37e50e6edfc0e8c4aa23a598e22cad89e41640eb9184e69881faf7a0d56f32"}},{"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":"packages/fluent_ui-4.15.1/lib/src/controls/pickers/color_picker/color_state.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02ed2de15c11b75c25e3b1004459f2e63bb518d7473b06df0a26206218e4252"}},{"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":"packages/fluent_ui-4.15.1/lib/src/controls/form/number_box.dart"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad5649886233ff45421ccc4e6cb8aead971997d47ce6647d292a915a08f96f7"}},{"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":"packages/danmaku_canvas/lib/canvas_danmaku_renderer.dart"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b32eda960dd68fa1149d98df4d3e28716b8af0e6f0703a7ec396ffb0ff625f3"}},{"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":"packages/adaptive_platform_ui/lib/src/widgets/ios26/ios26_native_search_tab_bar.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c6ab5316b02e379b1d4000ec3e6bcec94eb81d16982ed4900bbe333d4cea89"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/lib/src/widgets/ios26/ios26_native_tab_bar.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1e0572bb72daac47f7f9ad4648aa7d96548267f8ea31647599bcb0742a31bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/lib/src/widgets/ios26/ios26_popup_menu_button.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7d35005cb014a4544ea17df32896bbb44e1874b0a8d2ef334c7ca71b851fab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/lib/src/widgets/ios26/ios26_popup_menu_button.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6136b974715526517dc272fb968062536120b0c37456ce7e9a156142c3ea924"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/lib/src/widgets/ios26/ios26_popup_menu_button.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1751eb0dc19df853869a9967ba69e051d81ef27dfc1b8bd633b6cf3153c3394"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/lib/src/widgets/ios26/ios26_popup_menu_button.dart"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56ddcb0be45b2108b91c74f6f63eea2d689a1cb9af2652ea94535224df66584"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/lib/src/widgets/ios26/ios26_popup_menu_button.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd88051614bf29139b3c52337f5293207467caaa8c6d8d45369166b9f91279c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/lib/src/platform/native_overlay.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a6f2bbd002ccad53a47d7de484ff27eaf4960b3e40e4bd7395eae45251b9ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/lib/src/platform/native_overlay.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c353d96e5066de357059b84d8bd58ad8e0b74de9625016f1688269d1cd355a36"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/lib/src/platform/native_overlay.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9bc13a8dc715df5da3f6f6b879a3ad14839234f7cf88deb409082ef2cdadae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adaptive_platform_ui/lib/src/platform/native_overlay.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b70397fede16b4eb53a9371ed04f46ceb4ca952a5d5ed460498edd33ad7dc27"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"953015bd178e74f832d5d015e09a1a463a36bc9b8d89e703f89e6212920a0426"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0548f2012a56cc1d9a7fe87f2498d2fcc135ef0d0bc785c67f4f579a832fd5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c23032b050ce581321c0324ec240502d4c5324ab64c659db9b335b3d585e1b8"}},{"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/main.dart"},"region":{"startLine":2201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9c723c3d45b1fa171f347b21d67f3cfd361656aeee2df98bd0ddaf59587840"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/user_activity/cupertino_user_activity.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10aad77df50d27f0b6f568d59d56c59f8ea287c4bf9c0fd39812e328d202dd1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/build_info.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd1c1f502feb03299c2c2cd2d1b19305b3d4975492f741c85add0afa201d4f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/danmaku_xml_utils.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"786a2b936597d9e1ddeba392670de82b022b6e87787b4d839814ffbe0e72ff67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/dependency_versions_loader.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"26aff44cbdc552009937f8c19e611236e62900d94d9362212a5314930c06fa73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/github_accel_resolver.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1afc2e969d988661a4f07fcb746429e9a117791f000fda557a111048439b2b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"595490d3a2f2781622d83493898a37ff2059885f2ccfb67900e0bcc14d49051b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac59b46590828afc44653c533c8ae580b0e5656bbaa108051f4d43f605bb873"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"01030554c19741f69bc2f384d0d29c4ee566a4eb86566dd30ba38c20d95916e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d5b37b4b81deac14e9dce0cb8048e25ef25ab0805a2771d1d137635925683e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/hotkey_service.dart"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"65adb0a9056206521ef1915e2ca8b10940f708d49ca308a6e45ff2465580aedf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f615f6d3558476e2ed7dc9e5a143b1726fa839482f7b3714a7933980c26f73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"8900b2ad8a7ae52d7b957baf3e2264fd99a0376c232d620f736e853effca9df3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfc667bcd067c7322092b28bf5417db97af5e26cdc2561626d320e08be3713b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"c121f8b1ad343d2b527b9de2b11f2ee1aa074909bd76011c8c093929e5b8a1a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b2c6c627f612c58deb98b6dfa03e3bc6515e07b1caa38b0c114cef2772df48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"960ecaaf959c37b533b946f52a479777dca032847d776d130f7e7eb7ca0017ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc16955adc9df639f24fa2089fde2a041a8da6a9d6919cc49afc01789fd6c41d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"04731e4bd48cf357cc223f858f6263d4a3739578d8c1639e171da6d6fb4df88b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/image_cache_manager.dart"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b340f6f6f9d265218bfa11df0b77e1549a2d6d6d24313059e847d25fc593c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/linux_nvidia_gpu.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"22708c36bec3b2205824879ecc761019eb7ba69e1554400356c4d974b99cd9a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_info_helper.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd037040d13a0b593489cc11070b496e2ed22a3f0550ab4a32f7b7165ea822c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_source_utils.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33f53e1bf560e2ca072f5976069014c364d851470b930c763af11de1b6a1b69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_source_utils.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ba0854eea1028ba1c5bdd4a317928d13465e153a49a70661439d4439d6269f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/remote_access_address_utils.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"023510f7dd3d78dad33ee3e437682277997fa671db36749e1b0b3fab8f62313f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/remote_media_fetcher.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"de26cc3a3e9246f4fa06a5e8702e7b2815d0d39ecf059932dd88cfbeaeea349b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11609cc1e6eece40e3ca4e04e32455553c927ab0453654070d78f79ba1d771a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5b9f80fb864701c00ad8800eff0a7fe51a27f320ad72297199baf298eb1ccd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_manager.dart"},"region":{"startLine":2024}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b7f37c540465153ddd46cbdab56aba28588e58e5878673057f17b6f87dae97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2a55e95c564e778ef86357b8b13c839983a41ff5be734a8ab33cc940f5ab41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa0b570eab9edb46aecfabb7b099e2f9f6e0c10fb4b93b367571886af41cf81"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f23097b27c6655b6eeaaafb1d2f428054bd5c617985035f2561ddff96ca664c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be83fc5aa7cc94bb441f3f91bf36f04fe955623bd0880a46c62603757255991"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/subtitle_parser.dart"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b713488262bd21adcf3b087361bde8ea0839272539b96904c2d575f3e5e488"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_frame_image.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e495bd1012b991426b7149c1ca9a7cae9e03eecca79de5c3e62fe9a3041ee7e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_frame_image.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3d114d73bbdeaca6405a81d930ffb3a20e8710bb033e2e1bdb2cff5694214e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c29e799e9ae3ea01ea9ed64ef8447d28a3fef8bd77eb1df0bf388eeb80d4e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"324127023e67ac42cb411c54a8b620e8b221a5035eb7f4b9977bda465be16551"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe1c57f56f0cb47d4ce0b6d05090583a335ac661c87e6fc334d33b6c40215af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state.dart"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c374ed682d59b00f2d0cbc358cd57ec6268a9466921de705e482951bec036fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/watch_history_auto_match_helper.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"712da3c146f04503a4d9054a096e93ea68097726519c5fa1578faffc39eb468d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_capture.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2573d91a3acbeeada7f5efa1b2a11120286db9a25ec396ee6839c103bc2128ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_capture.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d719236f4fec368d1daef839b04810ca7d00631db7c45f1c2eb207a3d0babe81"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_capture.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bd29b26e90a13aa97653ab63271562c88d5d6cdeef761065486229096be5d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_danmaku.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bf9ef0d81cde0e46b1ec0bcd061b9be0bfcaf8b330f624440e3ab3eab40ad5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_danmaku.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2642b933fe3e8bd66e86c046d31afc07721f5d4346e69fd993ced593d5e8151c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_danmaku.dart"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90042148daa666b9b0307488765fd16e6c1da6268aca3b372c1047883ac56b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_danmaku.dart"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"27617056d37f55e4727791d1c2fed1b1993a85508882723ea23c35a09b3f219a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_initialization.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c9cb40361544daa1ed7e32b116e901ff6e354b77247f1203bcb7b178c49724"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_initialization.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"20aaec33537575860fe2051108765aeab4077d61fdfa68e1056ffd20e8b0b46b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_metadata.dart"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff42df2bd93a0307702a37bbc46bb21593d5b005b00afbb1701d3d66ee8efbe3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_navigation.dart"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"f074ed6c231136b198032c8539990dc81c0b17e95cfebad775e0aff6e496fb7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_navigation.dart"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc53851e8050562912c66cc8380a5eb5c444c7e5aa764eeb8b02b449fcb52fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6bee61c98e0696d8a34d35a74a7f395a892b1eed7ddcca04f3ca24db33c92d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"257ec4b08d2a1fdbd94670a615d2177e133dc9d2a2db8984c72bf3f2f4ff553b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9ac9585e7fc6543cc39f542bcb00da088224c5e8dfe387eaf12e7f0ba18f6f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d340b218c714f0e6b0c9a4b2e909ee60e7238c50b480f88fe2d5fbbad053a95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5665dbc0af2acdb2b744e9c9f75dbaa9dbac0729dfd4a682240adb6876d830"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"09515d803ab7e190275886a1210376cfd828d139ed0c033e942fb12a52c3d5c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2b96389306a90496e82783733f83b8bec8baadfe38edb06b0f78cc3410a240"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec2875c4528f76cfa0779487a457e1260898b4c51d6638a5a1096f5f2ff7cfe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_playback_controls.dart"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a740b1aebf114048420d2c5cef31752d415a3be3c7b3dfd7f6af1cb503fae233"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_player_setup.dart"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51a37c09e527b9b16bf0192d36de3764aedf80a89db8b6f6e1898b01f02ec5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_player_setup.dart"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"389bab1bf24260939fe7583729d93c557eef058d05a97ad11aac111a699207a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_preferences.dart"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fa8825d6ac700cce46041872c8b2e65d5b4eee0693a8ecc97ebb2db132a463"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_preferences.dart"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a4499c8c662629364d45dc75cba1bf76a52bea9d44f1d9d68520fa8e6c4d30"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_preferences.dart"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdbaca69f0950cdad50fc06310c177b8af1d40b38978110d263da6531c0ad4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_preferences.dart"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c484020bfb61b50119853e034fcd893504ee41a6274896a38227ce59b8ca4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_preferences.dart"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fac6c6d70bd5c02e3730e549683b38aca0cf090312d9705aa45036a9b038d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_preferences.dart"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4163ad3d3f1889220809659b1d2f2bb05561eb293de2cb80f0c913870bf1d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_preferences.dart"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9825ea407501b5209240fc78f2edf1e390518f957ba87bfd909ffd22464353"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_preferences.dart"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36297de1a97647242a81259027b27e78e644e15d553fc49e759ec67478a0eda"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_preferences.dart"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee515e41765022d20980a1fdc916c42ec5cc86fb4acf6b2b74553111de4cf420"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_preferences.dart"},"region":{"startLine":2596}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7b91633f1d3e322398b28c5e4a850ec8585a883911b467f9c3eb2116e65296"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_subtitles.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0ab40c6f95ae5f42628da4c29265852d3e8911b966f67aab25d6b5b27a850c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_subtitles.dart"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0472261b3b6d72f281ce89ec9f925e203d2778db3ee32fd126b1cb5be8839c3e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_timeline_preview.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd19d1eaa4e95d1a5f730582c592336e3f6ebe5c2f7b72c67b62e04c1a254a63"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_timeline_preview.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d18fc869da751df6b6fda05a9a94dcd1c89d40a42d916e3385f6e25a28ff94d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/video_player_state/video_player_state_timeline_preview.dart"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6109ad3b37c8b804b1dfa919a9448fbeb68d2d4716cdf542fb25538baabe2d7"}},{"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/themes/nipaplay/widgets/blur_snackbar.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb542f5fd6f5868721cedf88da024a3b68a0a067729f866e19c665838bc963c"}},{"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/themes/nipaplay/widgets/cached_network_image_widget.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4296eceb8e7ea99dbc027393c707ec1cb4d0d69e2cc23a65e8c0431682d3ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/danmaku_settings_menu.dart"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f81eed23105b8d6bf8ce76f2e09d07a3d0525492f350ddeca8979360deb00d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_actions.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c325f2fe14aa29a5f934f12efa5931cf012c152b7aa85d3eae6e066b14db6b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_actions.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec3a8f9d9ba2eded5db41d69b4b7f6a771842c7deb32150901475696ca4822d"}},{"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/themes/nipaplay/widgets/dashboard_home_page_build_sections.dart"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"a749227c9d6ebb6caf91cb3008ea2ac331abdb7d6f9d35b5b23d9f7d8d1a6667"}},{"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/themes/nipaplay/widgets/dashboard_home_page_build_sections.dart"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa31c4181ff243b2db48750338d99f503abca7451094987169b2dbb64ee21cb"}},{"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/themes/nipaplay/widgets/dashboard_home_page_build_sections.dart"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10369cab6b3d55c909bdfaf80343ff9e0e50f2b727335719be2b8abbcd38726"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"980886897d2387b40be3fcf39e87fcc6b5908f10cb1aa0de0c9c1232bb0f8dd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b38c856760aca0221a4f9f68a27f9baea7225e1e954d96f434ed24bf520ba04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea093c48154f0dd03465d3c89ab46f8d4171836155a5a54e90b4a65acf5df8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f56521696bc71579692a308cbd4910f995e093f9c8360f3c6b41ed5314d245b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b38810da01ca26c6776cd814c429ab747f7b91807fccefffe1c18aaa9d47fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9af83b2a5d15a9504abb1747013bb715b92ff4b25b90e4b12af3f9d5fe4a1c"}},{"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/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7ee3606b1bd903694c33453a50870ce2de72c948df759e3e110add7558d0f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6f02d57703c892e9173baf6748a68e5ce56ee5573bd166bf57433afba7c94e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b70b18a99ab93723e70737ef46e5b2a0bcbb86b0c1eb2d31f154e88c67ae327"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeae45ad5062f9051f7eeab40121eb460b8705ccef9e462f9d29273434a12944"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef8d57d96925899e9ff3934c932e7aab2e1af074dbb1b8443bd8740aab5839f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef8f787c56285a665624f21cd5c39d87c8bfb98ff8cd0e21ca0157342bae365"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff527a091c1c7a07edf9fdd6d63b2bbefc2d6b21c843fe8affe814d88ff9c7d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf25071365ec3f6c3825de05f43ea7def9d948b3ae238122804754c3da23490b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a8bcdb881c769c03aee151c2ff748cd41b2da1c0037aa3ad1ff54f003affb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"759daccf6a4cfec25ea1c3edb2977417203c0ceb345ab2c39ae0ea75d3d68b60"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"9239eb1c583c244e96049009fc772d40fdf9ea4642e015add20694342c339b64"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d7e7f114393f8bab1b13ab9c6229706b49985c8a7762fc8c0e4326dc825de4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e4cc0a83aa0ed1c8b1c0bb534382f6d0dcbb0fb95308529c49a509c296d857"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7df64375de1a63dfab46c84854fd50389de82f085877e1f80be9c12e2affc5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_data_loading.dart"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96ff81ef09a98ab13b6059beed582c5c9e4b5a1ab7809da3b158fbe0104fc8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac1431f78c8c7f4903443ff015beb377beaab962d2ae35b602d0b26db1f2206"}},{"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/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4745f7f57c060025d6aef85b07be5578be4890b864d3e4fc4849c1a9c27139f"}},{"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/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3356c000a64e10c7b43cbf90c6efa3efad46104e0319bd4d1cc645e736abf0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c645237cc904fc984a1057c7055f110795074335b7522415beedd81226a0e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"245aa843feb6ed787db913fcfd8862094195bab86fa26af12c543f22d4c56027"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ce72e84819b895a631cb8f15f9b876b6d4ec265b78edb1e722c7402bab0374"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"481648faca8130d845955841a8023c7c992b21fa64f4d96d751020ac2a83c8b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc3c3e4c5a961d36cbf3d4f2ecdcf274a9c6c292059500ec60ba2225c5c33cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa9f6a708d27b23257519591d686d9b25d2e5671cf48ada21c1498cb61d11ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"4525aed2c5b7c60c5763f1031584fd523cbf9ae3cf1c986e452d114db04984a1"}},{"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/themes/nipaplay/widgets/dashboard_home_page_image_helpers.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"6680d89c2b104c8357f03f6af3da96b29c0b460c32074638ae653bd7a69c9125"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_quarterly_review_logic.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f927c351dfed980efc0b745dfcf51ac8211208beee2395f48539498aa49ffe91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_quarterly_review_logic.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e77e92c4de2e00a6c3e29e97ff0a58f5905ec98ec10706f101ebe75ae523a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/dashboard_home_page_quarterly_review_logic.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e47291b12fa9cc5b83a37bf6e87cfe305e8c59aed7aeeb95624c2d5571d4d9"}},{"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/themes/nipaplay/widgets/dashboard_home_page_quarterly_review_logic.dart"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"082a34433b000053db44acea07e8400599f33a447ed4245af1abb098cc2a5000"}},{"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/themes/nipaplay/widgets/history_all_modal.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca06c29aa42f0586ecc59c82cf6a7884cc7faaf113acfc37843695a8aeabdaf"}},{"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/themes/nipaplay/widgets/large_screen_network_status_io.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a7873f331c0271ef7098a6a1a773544f320809217cc78b7c15ffc042b6dec0"}},{"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/themes/nipaplay/widgets/large_screen_top_status_overlay.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c55d2a532cc317a762f865035f3d9c36a82191934b2fac01b01255772e4aac6"}},{"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/themes/nipaplay/widgets/large_screen_top_status_overlay.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb1ef3e4080f4406eeb5f4c721cceea314ca9a6c5c652256f759d4d92ed83a3"}},{"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/themes/nipaplay/widgets/media_capture_dialog.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9e21605013626b56c848b8918ee8c468b5e72f77e35f3ed9501ef27fa9b615"}},{"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/themes/nipaplay/widgets/mobile_playback_status.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e36671835eb8765f45360647e0b4300383b7724e71837ef91986d745aa1c21c"}},{"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/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4531e2d6a591f48c557bfec06b47dce56310fdf1c01063cf6cbac5bc5f74497"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/playback_info_menu.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"414b9513200a6872ca4b7a9d33debafbd1e7cfe7eede1751f152c9480c15fc91"}},{"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/themes/nipaplay/widgets/playlist_menu.dart"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b27a83d48b9d71114ed4fc6cb122205679ee263d3c61b80a94b65e8f95b0eb5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a25aa27fd8f863cdf6d4c4f404c01f3bb4b8040656d39c2d3f763f5db00da2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb16fb503df50a1c230cf32507f39e42401c24d9a8e33e62bb35dc45b199917"}},{"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/themes/nipaplay/widgets/shared_remote_lan_scan_dialog.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc8fb73fa6d63d19fdc0bf062b3b97bca26598e01b20433d3009329a6c5f13c"}},{"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/themes/nipaplay/widgets/webdav_connection_dialog.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"99971211404615dcd8a1c6aae964b6eef710c29c28888bba85dc9b0db198bd68"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79b5e6b8ba410551a894acfe3631a79cabcd10708b619f005f73a290c8d40eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7f34838fd259a222b0875fbb0934d071f009c9f04027cf5ec64286c209d66d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3034a1e65dca5cd3d2310c557705c567a2a59b32ede59875b8ea23d159e83424"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"300a7f35fc17e818fd1c4f3ce6e5ed314457b05582e1ecc824afa2e7a16e2480"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/pages/settings/backup_restore_page.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"de878b26ac8c75a187a2af3eb17db5caecf1d5946aa53ae4315abc1e9a842040"}},{"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/themes/nipaplay/pages/settings/watch_history_page.dart"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a180ad45badf3d11597526757dc15043d006aa0e4a3b8d5bb0b12119d17902f"}},{"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/themes/cupertino/widgets/cupertino_home_page_controls.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2a217225e9064a57964c285707970d9337ec979393a6c2e09e2155b42dd376"}},{"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/themes/cupertino/widgets/cupertino_home_page_controls.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02bce76408bc1521f89d13ebb51d42efd7b4996af56be640a956edf003cb6c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/cupertino_webdav_connection_dialog.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f75387831a8d6ae5f90de27e2f0de9e8afcb225556c7300e8c053f533ddf0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/widgets/player_menu/cupertino_danmaku_settings_pane.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bc6d9243acf8a934d367323a7c9dea81195d43c21bdde4acd1587d58c483db"}},{"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/themes/cupertino/widgets/player_menu/cupertino_playlist_pane.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7760b923d0ebc9446163d0cf7cd3d4276a388b55a8bbb6fd8c00cea8644b2e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3d251437a07899bceffba0941c61968736bc6066feddc607cd50ff18a3d1a1"}},{"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/themes/cupertino/pages/settings/pages/cupertino_remote_controller_settings_page.dart"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0839ae0a25efe1c4466d051dbea46aee4ca5593eed823b22dc361b9a0a8712d"}},{"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/settings/pages/about_settings_content.dart"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ab15913dd575ed0f833116ab064a5be27d25a66c03871becc7290472a1bc1f"}},{"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/settings/pages/about_settings_content.dart"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"1842fbb39e707ce1555118a7b39e9a87c3a3e10e87bcf7ddde855fd56aca3a63"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/remote_access_receiver_settings_section.dart"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"11efaa38fd088d646cdf93fe75b88602c79294b1e216f4fd0fed10e359ffa743"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/settings/pages/remote_media_library_settings_content.dart"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ac64382c603df646904772b94731043fabf6ca85818a0dde85f3ed67e328d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/anime_deletion_tombstones.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aa39ecff8eef4c39e54de14ac20f52f046e36f343806f69a43b9d76b376396"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/anime_deletion_tombstones.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"da65d6f2051d2cc48457a8439c9f75f4f682be7b05f5e4ac336692314625dc67"}},{"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/services/backup_service.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b5bf676bcdec2f06bead3ebc340d7ca83a98e0484e976ee48e8189847eb237"}},{"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/services/bangumi_api_service.dart"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9c43277e0d2bd0369e58273ca70ca96193b9ebc6d9a7932dcecf87fb38346c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49176b3f6034a92c8ff6c2a8daa747d9b1b4b05b93a7fcfc26e3743cd2f7cd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da475acc7891e8918c78e0930c4a31414c1e2ced26dea6289e26ad5da7171c1"}},{"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/services/bangumi_service.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7633a8afbf364cf95bdb1fb99fd4972aef21b224bceccc0306625cd1bdac9f77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbf8ed2b4f28fd9d4f3e6a97544c731a048aff2c652347f7d4265dc74b119d5"}},{"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/services/bangumi_service.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1740c308293b1802a54354569f959a8b3b633be3604ef83d30ac4dc5e4c85660"}},{"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/services/bangumi_service.dart"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"572d7c7f769e71df0c428b101165750ee856b38d146c8e67c85b3b8c7e860a6c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efc1d9f1fb121681f724d01731ff76c2066af200d7731206f06a020555197d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88ca29e8efe8a06fcd48c37cdb772126fecb45677e28dbde15b38ca4c3372d5"}},{"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/services/bangumi_service.dart"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"118843e4388d19871f6e4ee0805635c1d359110431d5609e96fd1531f2f8d668"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"210609dc6f72cae564c0cf76411be9db8843fd0937ee649e14392e777d6af3b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/bangumi_service.dart"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2ddf2b59db7f2bcb5ce6abc0aafc3bf0826f8669e0a37401eaaa2306b56725"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_remote_service.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f83df87114805f22eab4595c4f1f6d93f017a4e1fff40ef37fb45e2ae2aef16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26129f1fdc66acdcb86759dca493df7fb767e727025bc70415323603eda5790"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d58d5679d9557bf633e068c4a7d8ddf2466a0541ea9a0a0e7bbee2da00cc95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_io.dart"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39c32fd4e0446aaaed27f63e67737595185330ba3c11904cb23905d1dca2899"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b435503af7764c17ac12c261660817131f0ffb558e8e2656987b3af020833cbb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb29ceea6c4d1a751e8f545ea6cb0182d33b8a67d460379f7de9a0256ddd4be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ece6f95fff43afa75ccab663eb08cfdda5886a58b6ce31ba0df159f256f8a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6747a70228143c57aae645d7fd3db501218b288e6f26584357bfb4134af50e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1643b104bcbdca0bd9a0feec92111fce11c5a1008eaa7a92eaf6ae0a8d6dea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/dandanplay_service_stub.dart"},"region":{"startLine":2591}}}],"partialFingerprints":{"codehealthFindingId/v1":"529528b0791d9507afdd55acddbddcc06c8241d14be9a36cd2f48b352e440c93"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94ccf0283811274ba608f234c023393d16a8ccdd772a30a2d544de153d33b26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d561312bc1c914927ac19b9cf1eb83b919e2f14fbec97790f1bff6b62743c549"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fdb751eb6edc1e8f6ae68a8884cca3e98e3c25780c96344fade099c609ab57"}},{"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/services/danmaku_cache_manager.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd2f487bb8d6d31d0686b9e53584804d337ef1d9bf583a2515858005c3b76b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"537392c59c87576bd8ace099154bebd714915b8377961516fed3be809e23f1cb"}},{"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/services/danmaku_cache_manager.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d65ac9c086c98cf4ee770d01e06c410d514e178696229b270a14f82cac9f75f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cccb56c775d3575f016b3152786f4ab60c91bdbf522d4f4824020170b73709e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_cache_manager.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea2c7d5fdfb7cb04b1694ea2ee415ed2276c340be508fa952cb0e13a7544322"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku_spoiler_filter_service.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"165dbae010d84df97f3416705beb72390822ab7e23d80148d31d76d5b5b95bc5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"257c10c914ed65e5ed523e52eb01ada36d5dbce5e5850ac546f1c0c4248dd568"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccdd006d8494b9f1e9c22f2dd3f728fb30a34b4042a11e1f2dcc485f82c9fba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16db18756cf4fcf908207d9d9ae73e51d79bef8fde2223d6015b58eeabb8a3c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"060a47c7f4f6d7ae372c78183754bf5a4330a4b6cfc98e992ce341c71cef0e7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fe5ce1e0303a0fc9f0b691178773e4b1b5393e66c6c87a6d87d05ca733050c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bae6efb9defce2ac6de2a1623e657cca3c3f9744654a897e7c6f29496dd4aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"621adf048f3bc9273cc55605123964a4f9978403c0d632bcad023e71331f9957"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c5fd71277feadd43113db52daa797dff6c1d98d5d0b542a42ceeaf70a7905c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4248e28df1d3852b193a1ed1cea5ec45e96c5bf990de9a0fa85d2feb6305c4d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/desktop_exit_handler.dart"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d187ae63e0dbddc4c2f93cc1a46d00fe09753d1492b865a3a1502088f72bde0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_dandanplay_matcher.dart"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7487c952e552cc87dfe1d0b97bf52ceac34fb84ea87174fc237dc444b90e405"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/emby_service.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ef494dbceae393bd56bcfbd7717ddefb1887943b3d74e884c472049cff8986"}},{"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/services/emby_service.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f81caa023416edbd2e05285333f4d933df73cfe1eac71c19d1c1736f566ba0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/folder_opener_io.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a62cf7e772af99d3b22a484750ab22e627e05f77c79c446c31061c9aee6c06f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"7752abdeb891c201467b21a30e36936519294c941667c7d191ac54bf6875286e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"04abc8356671b8e9349d5a14b9b8a7b8f3da8b97bf992898846805a50f1ac146"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/full_backup_service.dart"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3b295e3dc7e9224e57bfcafd9fe4969b6918372d62f6ee90a6975d84d9a2f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/incremental_sync_transport.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1b9e9faff898a8234abd335bf8f3aa3e30ef30375e1c2f7d1ac7eb6b47fb1e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_dandanplay_matcher.dart"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"36361ee5e6b59e4936a550c077c4fc8b44a1d68458968840a66297eb9381b2cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/jellyfin_service.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9654c7955c7f271dfc642921973db150b976a585e67501c87003ad9a11c66d0b"}},{"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/services/jellyfin_service.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce811465ca941baf284c62d1c6ddb234448f66ca8dda59494494b430909bcc7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9644f8f59eeff010cdbcb12202347e31cc42bcc2e899b2bd333dd717006d6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca4fca091e5e2815e867af22b659be7006531118425d91910d216cdfac5f15f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"972ac8952b53dcec54d361a0e01eaed1bb0f89414b81446ca031c23de82485c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_management_api.dart"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba721029664edc579acc3dec1141d368976c5f867ae4501eb1ae7e4cd47470b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"217da8919964078a6de1d17857ff6ddbd03f29b8f2025b934da734a282486cdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dfd1ee03d5d0664bf5a01641ee4d4943d0e5b05d1e09f1b0afd4f210b03add"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"11496f1b4424f538f913665c803402993dd6390e564d5054fa9cc425a317e624"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"186629dcdf37e884535594dfc2344adef0c08e55865a738619de3fbe2997777f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/local_media_share_service.dart"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eec0237c5997b245608fc89faad26e1a702af67d59283a69a17a0cee0df2d48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_service_base.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3ca81085a7d8542eba34c3cf0a31bfbe74967208b05da64709baa17130b031"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_service_base.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef3600eed87848733062eec8f9e67df133476c8608d89f347fbaef77ebe0ea5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_service_base.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6941707aeb7ce7265dbf4e929b4559e935559f3561b4a774bc337c89ec348f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_transport.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"436ef753a98182bf9c1d8a6fde3d8e4d447661dba6b14ecff7412813c08dc957"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_transport.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e64bc9919d33cf4b77405e41fae3f50f9b83cdfa09f7d82e58f04db7b85f9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_watch_history_sync.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"490ae40e38a9a4f73ba9bb04c3374d6fab0f700b9bde5cd7fa7540c232a4b8c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_watch_history_sync.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b5e3cb2f907542ea02ec0a628d53967f42649b43bc9336b55e327588a69131"}},{"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/services/multi_address_server_service.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7167d0eb8d37f1f180606cbe8ffcb163b534f6a05ab11641dc27b03cfe1925"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/nipaplay_lan_discovery.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ec9d747d24b201cd906a0953f1ad083442fb5385b627ff1f2200cd29b62ad0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/nipaplay_lan_discovery.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d312d77f5523f23180c26192c1ab3d3ca98fdcec808a821651b78a175c0a949"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/nipaplay_lan_discovery.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e43aa31a95a632e6e7e38df78f713c3643a5ab6d3fb66ace1de6b2e67d44e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/nipaplay_server_router.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"002e96a2c40f80eee43a08c75789a96f2ab760d6cc82e75d365975664001d231"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/playback_source_service.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaa0f22d9f1167fa781c162a7d2d2199bf3fe5c221cefe9ffd3d8a15b3e0414"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/player_remote_control_bridge.dart"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"43901f0288bec1abe1de1c51548082c0ab572ab8df9848e96ed0e0161b2e62cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/plugin_media_proxy.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6b564e745a2f8762c8cfd937cc9ace300c66374b32857141dc3c047dcefa0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/plugin_media_proxy.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ddeb0c5d16b3710d9d36962ccad3ee2cfb7545086744f41c6e9c184c4e90d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/plugin_media_proxy.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e62a6435448597e84130a51c8559d57897ef6c3e473398d87646cc9bb216b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/quarterly_review_cache.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"61823a9462e4c22ced161cbeed39634888a512508b7643471d87da1bb5639c3b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/quarterly_review_cache.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d6b3bb676dec532249e65430236c016b3ce84345c3510f03727c53f0082546"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/random_recommendation_service.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"455754bf31d29ab69f2073b6284c85e4d0ce740bf85709001ad961751bd45eef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_access_qr_service.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"75df3edd46577f555ebce46d622d1a24d59a18007923ed80d72fbac9e239ad6c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_access_qr_service.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c02bc32b045ef2fef163bfdaeb95dc67fc13f522be29fe19befb1d52af1602"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"49013804290becfb41c338e29289b264322d2e61ce45de32be177a5b486af1b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"606f75ccb70a82f72df6bc07f926ae8a454843d7a8c3d3d7c39324b3c205b55e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d4bf4c9638ec8c1f1fd00ffc35f200af675ae5e773273bf3576d23b4d75f86"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80c9f787704f01edf454cbbcae2536a02fbae56ad69486622851369a8eae98f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e879d16eda9a781d34170b95fd5dd96d80b04ef7f124badef9210937ff71ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8f33051501669e25b0ebe790e1afc583ec73a2e5f338a33a7ce8384604db19"}},{"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/services/remote_control_settings.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"66956414193517e0ed7e2f02732264e2014e4c0910955f9cc98efa56b6e0066b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce848042843ae582c878bba8a3a4faff612795cf3a8f6a0c5917ab5d7e4f7888"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6fc976676fe9f86563a159a9dec83868b8ccbcb5b81a2da001c904deb930f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fa9c6c2d89e84f2a4b268ab6f189de187af13000bb036c9b52e2710f8f4d38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9887492d1810d108cfd853bb6365a45ea5a9f3cab7bce20f27ab9ab14a3eb3a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb9df642d05d7253b4b7e6d830f22c88fe004bccc2b8347d93f5574553e5b73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e8bd6190bf54daf3e64cd49bf7d66bb1a53c995efaf83c986642d6835b34ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d491778ca263c570d17a40f16e609446532908de6a78889fad3ffebbf39e21c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"61814c89940f3ae76003bbd18d44a866844020e4a4fb63e0fe6f75725afeaba5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdec806163ddccd9c65c9289466ce7e88ea7a70c97b198efd4a1120ae73ec97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb407ec06926d960116dae59dbb311383e8b2c7911c5e1a4768adb157c4c4d85"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19b349c9864313b0a8899af2e4c9cefe6b4444dca684c95e0ef557378409734"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/scan_service.dart"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7b08733bc4fa3bd7fec32787e34d2667111de2a92c7a722bb504659034e396"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/search_service.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9173a9b4230147b7feacf4f1a078768ed8ff92d7b93624ccaf20a781d6c83331"}},{"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/services/security_bookmark_service.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d66ea3a95261f7ea3f8eb76f641dbc3566e41fc1fce938c9ec2faae01c14f6c"}},{"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/services/security_bookmark_service.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c4dd7252cc66b864791359adb155d01f2d95a90d127bca05e730b3840378d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/security_bookmark_service.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3184c38f4e1d2658a15d1f58aad332ea8453ae539456523e675d60c32f380d12"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/security_bookmark_service.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e27fee9649b7d3098c00400949e51ceefb5f0cb18531a2f008d157ddad9f5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/security_bookmark_service.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"661e94737dac08e2a3e080ef2da54c6611a192bf540982c55a87eaddd7461369"}},{"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/services/security_bookmark_service.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"768471fd92a14d31f3992dd8b033fa6ef33098373d74a9cb9eb0e7431e892661"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/security_bookmark_service.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5601b0b893852b6bcb77d2d24fdd362a1f52053e927e109b0a1534a327026649"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/security_bookmark_service.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9acce8ebb3fe813642db1557717e751e15756bec071e271c442db2067130e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/server_connectivity_service.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ecc9caf1d39aba08395062551777196f6c9f68bab453dbff17466f968a89b9"}},{"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/services/server_connectivity_service.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7f52d44015ac1c55c09dc1553568126be17024ab4b77e1622d47032c1404e3"}},{"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/services/server_connectivity_service.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d752c72882b9c25a3d0c8bcc5a026600ab3628fc4da09b11024f461a9273a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/server_history_sync_service.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbeaba1e2ece2ac273f186fd0781a26962cb46591fa168525dd1698000c3f9c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/single_instance_service.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e64e30a3920d7e7feb40f62f6361212fab34c847e35da887797834e64f8f79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/single_instance_service.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"383b2bb38232de63143ffa498272f6d74134171148d79ed9d98df5ab325a4472"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/single_instance_service.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a28b3f9a91e7bf67b0ed5e73ee33ac86dd0667441d53d4f562c85ad81ec5bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/single_instance_service.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f72eafb01ccd53e6b5128c8101e17665f945e2bcad37ab326d8f654c6031a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/single_instance_service.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f612b4dc21d2dd882049372f952fe127892ee71dbc71acd154b3a6e4740d0bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/single_instance_service.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd79bec061024befc8b5dc9305b6c8477581986a9325fb67709eab04bd1541e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/single_instance_service.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eeddf56d7868ebddd666eee665161f7b4b292c61b389d2cda75cbed29c71e53"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/single_instance_service.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3129d67532dc8c57a02c522106fd5e548cbf6772de3e4af4cec4893b87e67a2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb2_native_service_ffi.dart"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"514ef8b2960f67018a305e635b673e4fcad9f1cd3eb4a846488298aa74c4a121"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54a82eac52413c80e7bce74025046f1643551992ec18aea32d826c10c4f6464"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_proxy_service.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"79af99b3d444372dc66674c5c7ed42825d67d2ad528d8dbe1311402786f08f44"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_service.dart"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"6481ca22c57f22a3095893c6c47fca5e0d14f75e5c9177259066b21e1cc51f82"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/smb_service.dart"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd9418ed2225928bd7ae7cb59793b2d52e86a12e26f528b3f98bfa0e7954b5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/trending_bangumi_service.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e16072f5c488530ce6287b715cf5f1b3789870f9080dca378fe689cfad5b55"}},{"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/services/web_api_service.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf88103a75f6518a641a38a5811bc80792dd2c1bf15318a8958f1b79375956fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/web_remote_access_service.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"751c020f7bab449c345a5eac55c4d77971b6126ae1ea8d738fabbfb16bd17c4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_proxy_service.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbbc5ac4dbf58e2acfe5b326ecfd1c7d0f792293fd450e91667a76b03eabfc4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_proxy_service.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e4036ccdfd820d4b03f9f9499ea99d694553b8aa835a1606d630b6dc7b89dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_proxy_service.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"141b676b25f75432c199871d7a90c8a54e1529c214f32a3dacb9bf9334174342"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_proxy_service.dart"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"66160f57ddc3aa34aba813ada8e896386eb7362f8be4c9a4eca15f5495f9545c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"26db282fd1107ae1228ff74a2b61dfa4c0d3eb70af9e81a765dd4466494069cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f92ead3c19e99f6f71d9eb1e093f61ad253bf739bbe100b571ef74b7f45637c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/webdav_service.dart"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9771dcba6e328a0f62d64111b3a4981b4fdbebb3ba98571a2571fc2888f2a71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku/danmaku_service.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7018e259b9175da4b098d629c189fe82a8cba4d28bb29e47cb12ffed8f306d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku/danmaku_service.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2822ddae24a92d336db01d8598d5aefae59b88bad99039f0965be3eb3e4e0577"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/danmaku/danmaku_service.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ce9bcc12d80719b90ef54eeece7f04d0f30fe274680bc19757571450081c21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_provider.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"781f02a4bf08d3b16ae4d769ea8f95f36c58544569b98a4f7b045a8ba740ddb4"}},{"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/providers/emby_provider.dart"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fe6fba45a6313ae76a91f790050f400a03ea61b77e4fff6a9fe8cbbd02b2f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_transcode_provider.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd17593c96cb97b0f9805c9b98a2c141b632e4c1cd82b40cca9bbf344babf95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_transcode_provider.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"42828fcfe72c8e5dbdda5cdb7b97a34adc51473581c374ee7536237b18b89d94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/emby_transcode_provider.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd869bb25d6bd8dc392b47d79701b73b1f0a8c900f9e1cfbc007c19faa752a42"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/home_sections_settings_provider.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aa46e53bf8da0ff34331f77aa3005668e6b1841f86f9a35dede72ac106e5dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/home_sections_settings_provider.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e72af5266639ead6f4bdc73e7d554f6f40d41b85281dd46a3476be1f05f71c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/home_sections_settings_provider.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0020f4bccceb3208798a085b189604a47bf2ee316fc0115ed4eb5a9a1b15bc98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/jellyfin_provider.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52c3918a856e9eafc924b16049ca8b3ff65b7d26c90a8ae8bba383796b1c58d"}},{"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/providers/jellyfin_provider.dart"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c4c30877c2b209a53666019948acc7ec9198343515af5671080ce0d64b8363"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/jellyfin_transcode_provider.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"384e5b3a2455d156209f21020a6e68e7b76e88f3feaee06c35cc5c278dc11667"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/jellyfin_transcode_provider.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d789408ace43c1eee4e2bbae2754da69f27573ed33927551f1b01ec8e9ac124"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/providers/jellyfin_transcode_provider.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cacaa0782acd8bd2786f103c4f11f578f43e713ed5442ce71c149347c3ec9f8"}},{"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/providers/settings_provider.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f5767da4e4ce65a21143610d53bf582d5869a5065fe0a9f7355684a8494753"}},{"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/providers/shared_remote_library_provider.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ad802174f70a8cf7f1e175f785804183eaf74811785197cb424840d0badf1e"}},{"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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b7bc52316454f65a14adbb7d7963d4e971e8a0a5c43415543e19c6290e4e35"}},{"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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"add1934a8fc27d43bdbfca37309e755514349918015325addbe47a8d2f1672a2"}},{"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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc08e4c5f88881e66aa6c905b05c1b8d940f4c749ea1d66c762d3a476716268"}},{"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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5772936fbb6bbe44dd3125619fedf9b0c2b4b45e50ca5dd8bec907955932e125"}},{"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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7327bb1811992476e2a41fcf2a5430d1200d4b12b20a7cbe9068beba125212d"}},{"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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e56df63ec638b511c80ff0997e3b8393080b037a763083f9fb7da76c8b802b"}},{"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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5b8ea3c9bc5b44a428bb7873b74f3678dd9d5de73a6ff18e8a4462c4a72b8f"}},{"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/providers/shared_remote_library_provider.dart"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82a3d3feaefb7e372e2fc3bbcb88870925f27348d86895ce636a16fc44b29e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_event_bus.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cdf463c7f46c11cc42fa3b1c134ce9070330b267b31ba6ce0a6138704da4f6"}},{"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/plugins/plugin_process_manager.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c587b4185b3e7f092225c00ecf79ee65a1095a95a94fdb1eb879ead42d6eeb1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d4879e3eecd79864a5c07de3409be46fe03ac5f0d70a5795691e1735042e25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"9694628180daa18e0066381fa53805d03538ba1c113232ae8e4f373b01d67a48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7a66644ec1987ddfe978b7646f72647839695eb88bc3b0a641a98c125196ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cc797b732d58f2d377e46cd50758374a7a811b80b4f6c24b0d3cb399916b01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff31ada68ccbd6639db7fad393fd78ef3bd7285a3cce536f98d81fbd22f41d3"}},{"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/plugins/plugin_service.dart"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a2dc407311d4ae3012baaafcb20a63e4bfe7c2dc048611dc719c57f2f2d90a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef884fb9e1db6c1946001741c8f8cb3ba02c03db6b4561237ad818d0c70f6f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"272db12fd5657781b8bfe0228677d10ec67fda4dda684201d7a725f840eb3f1f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"303ad129eabcfc0076cffbcf25baef27fd75471016d3ddbac4bffa706a23a97e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ada237d11ec2c18c9d9cd1dcf030f8e6a3fdfb3d1647ac3ba71b129fb19b554"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"62300eeedf8f24383476e013eec436d8162643537d548197ace91673f73f49e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f7bbe2cb14f1d43dd8cbc467f0bf9a0efc14b235329e515d65cc6cecd2fa51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c36785b372ad47a0194d691dd0a8c1063207dc0fb336eca77a87ef5869b518"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1cf8bcc61f3884c5ef373e9edbb8906936a5aade23b5ade089fed41eaf3356"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4bee361d378874f00e19f9ab679747c181d09e4b4369fe2d8daf2c8cbb76de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b24fea7196331486ca9b7a40f9d4fe821014f9fb73cee6051bffb8310e7a08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f286d52916092e1726513778f04dbc5f307621f7cb35317668329e3c0a7cc3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"6994b95686a453a3719aec329ce94c5aa84039f5a415bd88a8d296956fe6c0ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7814f374eb351a5066c2a997e58fccd24ccde46ae702b2f5e38b59f59c35bd"}},{"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/plugins/plugin_service.dart"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a83dacefdcefc992fcff8ea62e464903bb222a6f1ffd149d18c21714bc0657a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a1e6e67b0eda1d64ab222279f857519053f7e63970b484887d93aa212d40eb"}},{"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/plugins/plugin_service.dart"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbeb146e44ef032f69c84f7b7fd36e5dc372ce21ebda21aa00e34d78f57bb258"}},{"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/plugins/plugin_service.dart"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"0251af3c014a692404d78e070756d3e5c99826396d5c12c34ad9831083c1917a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"8021e030fe7706a88f0ecf6b860cdc930b5d2db71cf882d9b55883d7a0731c9d"}},{"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/plugins/plugin_storage_impl_io.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdcbe307bc8d097e68e59053555db4f9ee578c6759ee6e015de002495f361ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/similarity_ffi_service_io.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b106129e7801181126a2b91cabf390fd8aa42db1a91b172041f6e6c47a1f111"}},{"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/plugins/models/remote_plugin_info.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bdc14f189d1f30ae449389e7509db9fa3b0abbd9a81cc0b88c63cfc6cf138c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/danmaku/plugin_danmaku_webview_overlay.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34bff22b20192c393d37c12236a475b235e61e70a98dc189cf991b6ce186001"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6f2d84077ca72f5034d043b6d24282c1c3322378e1ae4545a78ea48920a240"}},{"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/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a944c11ea54f5f5789be6fc6ade30f83809165ab90a1a3249bc534bb7262798"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4830ab3f0615d81e48a8584d25538a83c5355ceeec318b6e25fb1267779f9d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bead050da9cc2ee6d7bed049b5db602827d4706a168df69527de346d39e98c0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a1142e58ac1fd1c09a0b5507bcf4f0b3d887b91a89f4b4aa88231f3aae18ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"646c6d9be65e38c502c4e23325bacb9d03221dd6f422ebcb847a96ddd7da7271"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c1dd905672f48d75e0eec50f4e5527193bcd3c6538575c985b3e51ba4c2331"}},{"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/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2330c6c3005ad70c9419aefe8685a46c3e4efd919a61fce121aee652c05d459"}},{"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/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"714f8b9074c3fbac53448923c98ad555aa5b9f9291ac84ff0d15221fca13c3e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cb1ae99824c655eb995a38dc7dd2c64420bebc6ffef3c268234fe25e012870"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce835b975a95c1534d64d9e3e73762cc3771116fbcc0ff130f8fba1706db00ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"2063c02a88153c135ad0762879244b9c3cc43ae7bc305d9e8a0fb35e124f815c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9fba85756083df39c14dba9f322c30dafe6a91a6f8c5910cb00c3882240c03"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df1de8610f64c38ba2eb20a1bfdb89b9ac5192955fdc834f72cf5b5209b2432"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ceafd8571ab6acd17d5f8a7f82e2b34f7b0b056c46bb91def3424bf72f2d32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93ceb074f57b093e0eee5503cabeccac3d781d8b8c97a2442e4cec38164bb8a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f64e434bbc73819c0a5e9ad207f5502229af53ec61a930070124bfa283e486"}},{"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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf9d8c3d5864ca822f3444c3622f0ff94ec3bd297501b8adbeaf3cca3779fbe"}},{"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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"0260bfba54a848335f43539d8ed8319da764da07640ac5e7d6f56a0fa9612ae2"}},{"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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25ed0cb2313eec3e8abe3622f33b0db1f0f869122af7a9f4d86fbca0c6fb66c"}},{"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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe108fa6fdd512373ae25b318aee3fbde5a5a0ffd21b93fb5e5cd5a5d5b7e72"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2eeed525bdc26a322c8bd2dcc8659ec09964cff8bc00b320e813eac72133a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e, s)\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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bef7c99c32bc64348dfa29095ea4a35a97903ee698a8a31c0ca0b20f85634a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc3459cb835349f64a82ebcba4cfa1b87b925ff1e28c3c2f008dcf03431bded"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2079}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c26a273a9265670ff3c2593fd1432bc256c76861b235e66e69bcdc67eaa860f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2375}}}],"partialFingerprints":{"codehealthFindingId/v1":"977db5577470ec831a95269fc22b426a9ce42474a8e1ff24c86abc9f372f2e3f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2380}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd03b4c71cdb1de3329803668f3ccaaeacda0513c9ddc450293fc9cb9cbf3a2"}},{"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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cbcb2ed5f7c6df52d24a9c8749cb44c6d7665e20af13f2bfed330a4dddd5c3"}},{"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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e98ad3712f46ad1d436c4efe277406107dbfaa2c1db67c93fcf991dd646785"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f6922dded4eb08ce1e17528555ac9d1d1057e8407fb3a63fe59cb911f312ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d26d78fee4435264fc8d9a1b6e3ff1f19ff47b849bd413bbf21c51ef8a9f5d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3630}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d24513d96ef831f10c7e069c528e50fd6f3ae792271ed57ea9c15b875d99f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fd0ea25943f97f207ae5ecab471117a0b9fb305652d95e413745329e4630f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3647}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bd8043e00379c48e9b44cc2561c8aa7e95708c19ceaebc00d79f470f66905e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7257f10609ede69a471708c499c8a85077ebc265ef214c48782ec09af8a434a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3685}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba393aebca8d7470e233b92355205f396a28847b9eb6fcc6a28bc37d7592f51f"}},{"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/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3709}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe155f4b0eeb0538e28c52a216fa0485b98a7d5c63b88161c5936515eb902eea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3779}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0c89ac8ee7ad4370dd6acd8677818535a24d4ba5f9e4532ec39b4ae83b9ba9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3787}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd445375888a143d8f260364d53ebfa573cd1ddcc3cd0cd22eef3f82108c4e88"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3796}}}],"partialFingerprints":{"codehealthFindingId/v1":"a741a904a5f58d31f9a25281bd9ac1c48e88738e8d3b752110aa15ad14f88102"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/media_kit_player_adapter.dart"},"region":{"startLine":3826}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e186665018bd633377ce31174b4ed7a4d148c49f38675a00239280a7a20e0f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a724306f22f44c795e5e639635d7f0e66fbe46ea8b69f89848c80a6ead8e71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"398a95cc3a7d8590e5739a707b6b948917f7e45b54ff770c61ac69c992fc0b1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"8270fdbdf2bd0b7fd09013cf88b8e436dacaf16690c1f192ab38f87e585da54c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6c685cc3b873a21192a3ffe090ab779eb7dd62ff6bce4b114e5ae82347dfd1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec7602036147d072fbc0632efa91491c86cfc5cdbdf9ac814c566114da0253f"}},{"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/player_abstraction/player_abstraction.dart"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c12ab9b2f1ba9c397b3d4cecb09f7cecf120cb0c3922390bd0a693c36b271cb"}},{"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/player_abstraction/player_abstraction.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"9781c63397c4cab7242b7723a957a462eb8bc29488f7724d27ee5d517a4fda0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc2753d895ec80a2f598e15c261fcfa4ff0e5e0ade653f85ee40812508fc56c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"28157b7423e513079af87b77ef9ffc02fce89c1e6b7c560aa6e0057c1ce0a2e0"}},{"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/player_abstraction/player_abstraction.dart"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f75d4a10eb4b494f6f122f06e1605c51e17567a9bdf5de9b09e4b7b82cef074"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"308f256cb5a68cd8f4c494fcb28f1e758caf9e47ce8a7b9d9f8837820dd83b2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0b9572ecef3c02cbba6f2f4cb8418e62281f99a22978001e2add241a34eea2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"b535d2730fa57fccde684b2a1a681da461027b7d27e55c0ea3e5e7ec4c0be2e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e549507c942e329a5fccfdbcad3343d98f3faf1b71d8500b1b19f8c91bdeb1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/player_abstraction.dart"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45f91cb2fd365ac8fefdda927e76158114d60f11d32d3f50933bbc0994b82f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f13b08455b3c4d45879411bbe1df00c6b18589606e9fa4a7d9ef080cfdd5106"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/player_abstraction/video_player_adapter.dart"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7101afa92d8ebd0467ef008a6d5cfa8bb37bfa02a5009dd4e5517be381507cda"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/anime_detail_page.dart"},"region":{"startLine":3706}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25d974f1e6bf428289fc9e07601b42f1e9811ff94a5b8ef5d5258c126298426"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ed98d80c303909fcbaa750b164ba9afe58674c4d8bec8cc7fca86d4159f62a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d94e8d1eb8b36d33f2a7cdf3649b5c5c7a31a2c4e6684b3528d4133eaabd11"}},{"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/pages/dashboard_home_page.dart"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"8669514e562b7629e3c0105cac984e90080511086a9c39db950fbd086ac102c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cebf2862c0c13d19ba8b34dcd218ae569a978e2089f3d0244de0bab43f118dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cd3579400f4007ac7e332f18951307b1e96115c93be15ab183137372dc3d02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard_home_page.dart"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b1f08c6ffd71b60b905370ef037089060e3b3185ff3056cd4711181652458e"}},{"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/pages/webdav_browser_page.dart"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71c85f55cb7290972b3e4a807a6631bd9d5fb8b212b9793b7c28c5d6a5a24d0"}},{"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/pages/account/account_controller.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adde92310936322a5ea31280eb00f1396d179c65a3c992d96b0168e15ad3b1d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed4702c73a292499545791030860b71a79e4878fd176f859b6caf9873989596"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_database.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"076c0cf93225cef4bc82cd7a1d23c60dd3b56b59c40d63a20bc7ecedab2b1882"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"6582f006a20022448e3350ef328ecbfd3c8c26dca20e29605365eff901923d9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9a3a446722b1e3da6a1942b9da3e938e56ec00e0136333afd097f120bc904e"}},{"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/models/watch_history_model.dart"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c04b13e10bedf0798ec4b340190c179a910823e0b0563f5219d2968cb2c396"}},{"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/models/watch_history_model.dart"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da2c43adb70e273f9c5d9326bc6953055df860f315c2bd495f8164efb1c06a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf627368a0c44ace01ffbbc0b69980ed341526f26cfa3b532f15aad423fb481"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/watch_history_model.dart"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"013065c21e5e68ea341d6b01bac08e37299fcd48f152bc38a7a7d640dbbf9fce"}},{"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/models/watch_history_model.dart"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"456526839113d0498096c22984bd0244e5d793afdb91c93b2f206b1b93722f7f"}},{"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/models/watch_history_model.dart"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"4feaf0f2c30dc7ce8fe8a25f4be4c10cfa5af39634c75356132d441c4cd2b1c7"}},{"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/models/watch_history_model.dart"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"98548106bfa833359ff6ead893952d7a0ed433c3f6fb59265227366049bb78e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/external_player_session/mpv_session.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"8285704b45426409fc14dfc001592ec23680d5b291d03557f127205b75b426ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/next2_texture_bridge.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acfe3db220598a30432b7eb14ec9e2765b91f6654728216e81ab5a358ae5997"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/next2_texture_bridge.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"044bac3d7fb557b36ee776a41c2c52d94bfb593994017cc19357f62f766b58fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f000fd23ba9bda9af6f06a89c68dd951cd1415a2c19a16b252d1d692d221a900"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_engine.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb74b3c433dd01988be078254b0258a38f105bdf6b5f09841b43ed5c5be307b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2acd0282c390f0a5223c9649e4de6c93d4caded918f17a356124bc5a661c72d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_next/nipaplay_next_old_engine.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f1550a3c24de230c74d5ce07c0869ad651c7c77aa42a9e047896b5ea77750e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_dfm/dfm_plus_overlay.dart"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ca5ba418758fda232dc2379d279e3525fba89bb4cda961494cd244ec313aa9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_abstraction/danmaku_kernel_factory.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"56078f266bcbfc3e5a77412ce3e99757e66dd538f8849c798082452200bb3888"}},{"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/danmaku_abstraction/danmaku_kernel_factory.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9089d4f250fe59b823e4c5321a4f0d10a4c1bc04c16e11d81a4394ce0c0eb92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/danmaku_abstraction/danmaku_kernel_factory.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d802f8974a2512750cdb7b18f7080a5518a54be316d2bb9e9b5c3a371b6e979"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cpp_native/native_library.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e2a1d9903b17fcfd1db5d4cf03812fa031cf8842cc2622b1ccb7171c1ca648"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cpp_native/native_library.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3fca796d493b5eb2e3ece5828ab03347f70618d174e9e8b8e636195aec830a"}},{"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/cpp_native/bindings/similarity_engine_io.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b76c2ddb26a90aea2a85be400e8e14de64a8ebc912c6032142e87165dc8c71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cpp_native/bindings/subtitle_parser_io.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"228be44eb0f4a5ed4e7bfbd0b9d0d535b40cdf67c06c575dad74a45f5874547b"}},{"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/controllers/user_activity_controller.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdd00783cf76bd28f0b2dd6df98d6b056a21ba8f1803321c2592aedd91aa5b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/aimessoft/nipaplay/MainActivity.kt"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac25ac8d903806a12f9f435989f2e1d239644a3be39334a3d324cc27a578ef9a"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/danmaku_xml_utils.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"835abe76274069a894507966f7ec1f8df79a736c93fa5e7e344d7fe01e58cd96"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cpp_native/bindings/danmaku_parser_io.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e61dec6a33eb03f0b2cc12ec95abc07655ea119c2fe93c5c5cad80ad00766"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Dart code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cpp_native/bindings/danmaku_parser_io.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d30b07b3e23cbd16cab61640d610291639dc77739f20a6efdc10e2a5c3e06cb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060queryFileSize\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/aimessoft/nipaplay/MainActivity.kt"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce08a48f7243fb597529288e59fa55e128d54d0c58774dfccfe8a19871358088"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_run\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/scripts/generate-build-info-json.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8b3e9b02c93664cf6a802be3cbe15c9f13b287626f96cbeeae16b1a6ce232e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_file\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/scripts/generate-build-info-json.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93f2d6780238659e7f5cbf9147942cfc6cfea7ec4d43c96ffd5f4c28f8f1415"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatTime\u0060 turns every thrown error into \u0060\u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/controllers/user_activity_controller.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5a8832a7ba24d87d98d43137e55e68ee4c16146f110257828dc0e831d475ba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pairSimilarity\u0060 turns every thrown error into \u00600.0\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/cpp_native/bindings/similarity_engine_io.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b2bce6d786ef5355ec9e91f428219652f2163d0ebb8a97153961304c8945e4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060bufferedPosition\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/player_abstraction/mdk_player_adapter_io.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"298db381c6559c1ba26c40b4efddfe48686826daf651bbcf42fa0c5632177dd8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extractBlockWords\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a021f072895cd7485ba7118245fced0cc68943355fe0eceb2544cc7f4f38da"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extractUiEntries\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edc89743fe4b80c1a3d141f7913511251d15bfa55ff46cfee61a91447c55eb9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_extractDanmakuRendererDeclarations\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_service.dart"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"864c91ac73c18e35cfac879c845f02bf5aed9bb3a0bf46a901c1348d406ca494"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadPluginIndex\u0060 turns every thrown error into \u0060{}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/plugins/plugin_storage_impl_io.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd676bc91a71f1127036e989e285d3cf6ea6458e9873f191643aafb94cb58ffd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_readRaw\u0060 turns every thrown error into \u0060{}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/anime_deletion_tombstones.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6195f6faaf43336a9cef69a736c9898c7a428fe1cc5d02fff050eeac22c1a7c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_owners\u0060 turns every thrown error into \u0060{}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media_server_watch_history_sync.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7b012b41e60f1946df9f20d64a06f67cc178831ae2ef554e323513c3f75176"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_collectSelfHostPortKeys\u0060 turns every thrown error into \u0060{}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1297a4c639dad0126515f79cf67ec7c390ecf5a653472d6a093d3ba55bdf03e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_safeLocalHostname\u0060 turns every thrown error into \u0060\u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_client_service.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6c0f6bca6df516bbda11a7adffdf2884704ec588903a2358bdebd0dfd3b3f9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getTrustedDevices\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_control_settings.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcafea80767d13ab848c112f046c45aa4c0eb304bf4117509fd7b2bbb377f12"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_listManagedLibraryCandidates\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af8cea277180f76cc11265136e1aebfaf5713cf0210b406c35c00b59bda5721"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_listSharedRemoteCandidates\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/remote_subtitle_service.dart"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"efeaa6dad628a321f63bcf04d58afdce7d3ea3878f56bda7d4a7c8f03731241f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_getPathFromKey\u0060 turns every thrown error into \u0060\u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/security_bookmark_service.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"578c9cede144e2af83e47ebf1db149a3d200fb723ecb4b093c92e192d3d38beb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060writeBytesWireFormat\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":"third_party/smb_connect/lib/src/connect/impl/smb1/com/smb_com_tree_connect_and_x.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0868386cd161ee5b8bf7b148a576eba01afdf764d7427d3617174000b9fa0cd7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readBytesWireFormat\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":"third_party/smb_connect/lib/src/connect/impl/smb1/com/smb_com_tree_connect_and_x_response.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd6d159522f813d08d89f2fdc2fcaaa4ce5bc7cb9d953a3426697e6c2bbad9e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_getCurrentViewTitle\u0060 turns every thrown error into \u0060\u0027\u5A92\u4F53\u5E93\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/themes/nipaplay/widgets/network_media_library_view.dart"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbc38df901a1856ca7e853363ab6156a734f9638de6b69ce0e0b561267d9ee6"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060s.contains(\u0022jpn\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060s.contains(\u0022jpn\u0022)\u0060 also satisfies \u0060s.contains(\u0022jp\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/src/api/media_metadata.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a23c461ee4f112a290387d984b5feeb68d64efedc4cdf7dd0d687b054de91f"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.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-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.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-426","guid":"7b39d500-c310-9a5d-9a3d-4c2bf49492a3","name":"Untrusted Search Path","shortDescription":{"text":"Untrusted Search Path"},"helpUri":"https://cwe.mitre.org/data/definitions/426.html"},{"id":"CWE-444","guid":"8989da48-caaf-a955-b9ef-53767db527d8","name":"Inconsistent Interpretation of HTTP Requests (\u0027HTTP Request Smuggling\u0027)","shortDescription":{"text":"Inconsistent Interpretation of HTTP Requests (\u0027HTTP Request Smuggling\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/444.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-693","guid":"b9b141dc-018a-9c59-8953-1e3c4e020745","name":"Protection Mechanism Failure","shortDescription":{"text":"Protection Mechanism Failure"},"helpUri":"https://cwe.mitre.org/data/definitions/693.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-918","guid":"2e9b9091-5a0f-dc57-b644-7ad04bd56e64","name":"Server-Side Request Forgery (SSRF)","shortDescription":{"text":"Server-Side Request Forgery (SSRF)"},"helpUri":"https://cwe.mitre.org/data/definitions/918.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-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"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":197,"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."]}]}