{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"_0x385d19 (cyclomatic 106): _0x385d19 has cyclomatic complexity 106 (threshold 15). Most of this is not in the body itself: 11 of the 106 points are its own statements and the rest belongs to 50 function items inside it that branch (a function literal at line 2002, dispatchException, abrupt, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f1c97ed2ed3c0dc0f17442f030df3d5d1464ad1c70a73a9c3ef6d331932e26"}},{"ruleId":"D1","level":"warning","message":{"text":"w_0x5c3140::_0x970e7 (cyclomatic 96): w_0x5c3140::_0x970e7 has cyclomatic complexity 96 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f10801c92cc68b5362e24278dec87da55245bbb9ba5b5f56015d8db3a888e53"}},{"ruleId":"D1","level":"warning","message":{"text":"StripchatLlHlsProxy._materializePlaylistImpl (cyclomatic 81): StripchatLlHlsProxy._materializePlaylistImpl 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d15747337fa86602fe9516eb791e2798b9a71b2be10e97a76d8fe0ad7a33f9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 69): (anonymous) has cyclomatic complexity 69 (threshold 15). Most of this is not in the body itself: 1 of the 69 points is its own statement and the rest belongs to 19 function items inside it that branch (a function literal at line 3886, a function literal at line 3794, (anonymous)::_0x4d7e2d::_0x3d7396, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":3793}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d4d544d34e4f4d648b846c2eeb3167d7bc073fb117b1e602a63cc4edd16969"}},{"ruleId":"D1","level":"warning","message":{"text":"FollowWatchRow.build (cyclomatic 68): FollowWatchRow.build 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":"apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb36e3b818085c65cdb11b603be29e3693aedee07ff5675c48d86d929b941c90"}},{"ruleId":"D1","level":"warning","message":{"text":"StripchatLlHlsProxy._handlePlaylistRequest (cyclomatic 62): StripchatLlHlsProxy._handlePlaylistRequest 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56a8865260559f867dbe0b00c59adade6de97be7940ffb8038e1d5a5e94693c"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomPlayerSurfaceSection.build (cyclomatic 57): RoomPlayerSurfaceSection.build has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6e463a35e7e73cc133e5d0f8eca14fc10933f02080f7435d7a99aa95b8782c"}},{"ruleId":"D1","level":"warning","message":{"text":"StripchatLlHlsProxy._rewritePlaylist (cyclomatic 52): StripchatLlHlsProxy._rewritePlaylist 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a08a595455edaacf2a9ce589e4132696546d9ac4447342d548f7c2fa65b8c1c"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomFullscreenTopChrome.build (cyclomatic 46): RoomFullscreenTopChrome.build has cyclomatic complexity 46 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f86b45af6acedc4692607a9b6ca27360398530caa0fb4a2eb75fc8a95d8440"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseRoomInputUseCase._parseFromUri (cyclomatic 45): ParseRoomInputUseCase._parseFromUri has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/parse/application/parse_room_input_use_case.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8677bd26fceb65d4c09e81b6bf8f7bd1b2c10fd1f711a208f6194b231a5fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"StripchatLlHlsProxy._handleAssetRequest (cyclomatic 40): StripchatLlHlsProxy._handleAssetRequest 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"342411578d3ac4fd67c713f2062e54e9919846762b924d1ce046ac61f5d95843"}},{"ruleId":"D1","level":"warning","message":{"text":"_SyncLocalPageState.build (cyclomatic 39): _SyncLocalPageState.build 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":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd3777c8d9c9e4abf2a740f39c9ecc7a532d88a6e8cf388eca8dd270cd1e14e"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x481bfe (cyclomatic 39): _0x481bfe has cyclomatic complexity 39 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 1 belongs to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"2647cd00047d3af35b2c64b00f7266531b47ccb0141cec283947c827f772b775"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x23e6b (cyclomatic 39): _0x23e6b has cyclomatic complexity 39 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 1 belongs to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b875d28e3546cab33a3a7b29aa28bea4ab075606e6929bdd8bfc057d7789be"}},{"ruleId":"D1","level":"warning","message":{"text":"_0xdaf8f6 (cyclomatic 39): _0xdaf8f6 has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to 23 function items inside it that branch (decorateConstructor, toElementDescriptor, decorateElement, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":3259}}}],"partialFingerprints":{"codehealthFindingId/v1":"23693d0fa5403232e779ae61dffd46e17ed993c4c6e8b1fd7d2a2f88abc6a644"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x281b3b::_0x3345ab (cyclomatic 38): _0x281b3b::_0x3345ab has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a8a62f5fb373a6c3676ec5ad2a0e80b22ac66d1e4e877514187d027c47ca34"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x4591cd::_0x343a1e (cyclomatic 38): _0x4591cd::_0x343a1e has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd21eb089b9e5a095d40d8225691b627c805422139c5e3e77110bb5a8b9a723"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomPlaybackController._flushPendingPlaybackBootstrap (cyclomatic 36): RoomPlaybackController._flushPendingPlaybackBootstrap 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":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"318fd8aa452df05691f9de25147084e783bbf707f614668bc0af5f8e11ee6047"}},{"ruleId":"D1","level":"warning","message":{"text":"_RoomPreviewPageState.build (cyclomatic 36): _RoomPreviewPageState.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":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1b5d9db5e4e5039afa53c1cfe8c2ad51f41b1b4b4a935a4e4001f0f504c933"}},{"ruleId":"D1","level":"warning","message":{"text":"StripchatLlHlsProxy._awaitPublishWarm (cyclomatic 33): StripchatLlHlsProxy._awaitPublishWarm 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"9103a2eb97cf758466c9d9fce8dac55e041458a242a55ed732399c42c84f3ec4"}},{"ruleId":"D1","level":"warning","message":{"text":"TwitchAdGuardProxy._selectPlayablePlaylist (cyclomatic 33): TwitchAdGuardProxy._selectPlayablePlaylist 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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c5b608af815b8b1e88937ae10f05aa946d15e5eb93dea92c9f1cbb83f18962"}},{"ruleId":"D1","level":"warning","message":{"text":"ChaturbateMapper.mapPlayUrls (cyclomatic 33): ChaturbateMapper.mapPlayUrls 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a34bea71aab04757d0a06e6c4c7ed7ec08b5c08f9045c1d7bddf866193aed7"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomTwitchRecoveryController.scheduleRecovery (cyclomatic 32): RoomTwitchRecoveryController.scheduleRecovery 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":"apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"485d27979a9cbb70e35b7c3ee0631df1d73af006dfb859dc2ff207ff74640321"}},{"ruleId":"D1","level":"warning","message":{"text":"_ProviderCategoriesPageState.build (cyclomatic 31): _ProviderCategoriesPageState.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":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fd75067f4f9aa3cdca5bb76a7524899031dcf6859d7fe516a5cbae9d3c0d01"}},{"ruleId":"D1","level":"warning","message":{"text":"YouTubePlaybackDataSource.loadPlaybackBundle (cyclomatic 31): YouTubePlaybackDataSource.loadPlaybackBundle 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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"930862544bec4489dd2450156f1ba752a11b776f6285d560c4ffc53d1d368feb"}},{"ruleId":"D1","level":"warning","message":{"text":"LoadProviderAccountSettingsUseCase.call (cyclomatic 30): LoadProviderAccountSettingsUseCase.call 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":"apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9075567deb7cacffc6626e9216c743727fa40c354ebeb89d85e4328296ee423c"}},{"ruleId":"D1","level":"warning","message":{"text":"LazySecureCredentialStore._promoteResolvedStore (cyclomatic 30): LazySecureCredentialStore._promoteResolvedStore 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":"apps/main_app/lib/src/shared/application/secure_credential_store.dart"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"45acb02fc28b824a828a19f9166da22e20038c81f9aea2c2ffbceaba9c6d2956"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackFailoverPolicy.isHardOpenFailure (cyclomatic 30): PlaybackFailoverPolicy.isHardOpenFailure has cyclomatic complexity 30 (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":"packages/live_player/lib/src/playback_failover_policy.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a5b0bd019a391b5002d6c8e41400929d82f606a46489a1618551dec44c7ac9"}},{"ruleId":"D1","level":"warning","message":{"text":"StripchatMapper.mapRoomDetail (cyclomatic 29): StripchatMapper.mapRoomDetail has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/stripchat/stripchat_mapper.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"45048a87e674678542b6de36ec5feb1cd052be7d7f6c642c8f3c48e20bb156d4"}},{"ruleId":"D1","level":"warning","message":{"text":"LoadFollowWatchlistUseCase.call (cyclomatic 25): LoadFollowWatchlistUseCase.call 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":"apps/main_app/lib/src/features/library/application/load_follow_watchlist_use_case.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bd3647fa48eb6de361b53eddb6e1e3ced5ba4d77d787c8945fd63385cb3a2b"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomPlayerRuntimeObserver._handlePlayerDiagnostics (cyclomatic 24): RoomPlayerRuntimeObserver._handlePlayerDiagnostics 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":"apps/main_app/lib/src/features/room/application/room_player_runtime_observer.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba68ca2cc452562aaf5ea03ae412d1c595c91f1d330f8fc167e7f5897f335b8"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlayerSettingsPageState._buildAdvancedOptions (cyclomatic 24): _PlayerSettingsPageState._buildAdvancedOptions 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":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2c329b49435750e1455ed793f47c9506cbcd86cbe258f5c800afc490d0fd45"}},{"ruleId":"D1","level":"warning","message":{"text":"ChaturbateLiveDataSource._loadDiscoverRoomsBounded (cyclomatic 24): ChaturbateLiveDataSource._loadDiscoverRoomsBounded 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0839cedf90bb4a2147399178de1f984a892a5ccf54162928cb1569256638a3"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomPictureInPictureCoordinator._handleLifecycleState (cyclomatic 23): RoomPictureInPictureCoordinator._handleLifecycleState 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":"apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f080d138de2431e207ae56dea9a952cab70bb164670813be8e42958816f5a9"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomFullscreenBottomChrome.build (cyclomatic 23): RoomFullscreenBottomChrome.build has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"0014f499cef2d62dbc0347d8c960caec660b8884b4fbe4abeb4a4c1f78ad8c06"}},{"ruleId":"D1","level":"warning","message":{"text":"StripchatLlHlsProxy._orderedCollapseVariantUris (cyclomatic 23): StripchatLlHlsProxy._orderedCollapseVariantUris 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e6ce02c923a5f0aacc8149f12da5c2ca0c3dbfff9897926f3a65b80c15334"}},{"ruleId":"D1","level":"warning","message":{"text":"MdkPlayer.setSource (cyclomatic 23): MdkPlayer.setSource 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":"packages/live_player/lib/src/mdk_player.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d97a527d22a138ba2855bd4c7ca9e60a13d5e2d3a9489577bfc357b4f94fee"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpLocalSyncServer._handleRequest (cyclomatic 23): HttpLocalSyncServer._handleRequest 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":"packages/live_sync/lib/src/local_sync/local_sync_server.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a364713ad03ae5d126b2f4d20eab8456562a46b7adc27d16cf33152f166678a9"}},{"ruleId":"D1","level":"warning","message":{"text":"RepositorySyncSnapshotService.importCategory (cyclomatic 23): RepositorySyncSnapshotService.importCategory has cyclomatic complexity 23 (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":"packages/live_sync/lib/src/runtime/repository_sync_snapshot_service.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead1e651e1834616a4c445c4c272a10cddf1747c4fd030348383277af6b72720"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x151762 (cyclomatic 23): _0x151762 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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"616dacb009535363d008ab8cd91602bd3327a1978d43b46ef5e995dc2b56b1b3"}},{"ruleId":"D1","level":"warning","message":{"text":"TarsInputStream.skipFieldWithType (cyclomatic 22): TarsInputStream.skipFieldWithType has cyclomatic complexity 22 (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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"09927a47d3c254601b8899bea443f2271a920392946ee69cb276de2184b4dc83"}},{"ruleId":"D1","level":"warning","message":{"text":"YouTubePlaybackDataSource.fetchPlayUrls (cyclomatic 22): YouTubePlaybackDataSource.fetchPlayUrls 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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc7c8ff8a55f18ec27e77d4f88922543500ce51e11ba8d7059014247a724f8f"}},{"ruleId":"D1","level":"warning","message":{"text":"FollowRecord.== (cyclomatic 22): FollowRecord.== 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":"packages/live_storage/lib/src/models/follow_record.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7196032196fefe36cf32295eb05b1c9faf188bb0aef3814a125f2e31a81561e0"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x25bfe1 (cyclomatic 22): _0x25bfe1 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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":4386}}}],"partialFingerprints":{"codehealthFindingId/v1":"68661355b787f0c69d04f9e5be540e23d2d908e2c911ddcdb6ad3bb3b02de996"}},{"ruleId":"D1","level":"warning","message":{"text":"HuyaMapper.mapRoomDetail (cyclomatic 21): HuyaMapper.mapRoomDetail 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":"packages/live_providers/lib/src/providers/huya/huya_mapper.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e1d18af0a8fe0a2755f38fff01a5cfc5182e67d122143b020a637db3b25576"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x754898 (cyclomatic 21): _0x754898 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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b5b6a207b348e3437f21e7ba820aad43412f402ce428983c320cd08a098e28"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x45fbef (cyclomatic 21): _0x45fbef has cyclomatic complexity 21 (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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":4343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bec01a650b59152c625602edb4acaf69e062a8a09174255bf8f4fc816f96b32"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomFullscreenChromeController.scheduleFullscreenChromeAutoHide (cyclomatic 20): RoomFullscreenChromeController.scheduleFullscreenChromeAutoHide has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_chrome_controller.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3561892c7d952e419ec16b2bf4dbe1cc9db76a323d0ea54323d923be2372069"}},{"ruleId":"D1","level":"warning","message":{"text":"StripchatLlHlsProxy._prefetchAssetOnce (cyclomatic 20): StripchatLlHlsProxy._prefetchAssetOnce 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0098ea7fd95d48aa8643d081c87f9fe7d87ddffdaf060d85ae80014117f322ba"}},{"ruleId":"D1","level":"warning","message":{"text":"TwitchAdGuardProxy._sanitizePlaylist (cyclomatic 20): TwitchAdGuardProxy._sanitizePlaylist 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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"0339a71518de7aa92870e57d402ad7d43840c1f0718e2838c85f314f751067f8"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 20): (anonymous) has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"514f41cc4d1e91e271260cd1b95aef154ea2ae1110e0c377eb5d9cedc5722716"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomViewUiState.== (cyclomatic 19): RoomViewUiState.== 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":"apps/main_app/lib/src/features/room/application/room_view_ui_state.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1700d0a983adea68e28243a6ac9b826fa1e0c64941f75af2d866ce85cdbd29bb"}},{"ruleId":"D1","level":"warning","message":{"text":"_0xa6bc9e (cyclomatic 19): _0xa6bc9e 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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"256f0eb64d455f97d619d9ce7fd035cb82c6d66ec7109227c2cf9f7f87adec19"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x4591cd::_0x4c3a0d (cyclomatic 19): _0x4591cd::_0x4c3a0d 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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2217fd165f6020266467a278b55cc0d14823c9e1ce403b67a649df999c722c29"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomDanmakuController.bindSession (cyclomatic 18): RoomDanmakuController.bindSession 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":"apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5c06223ef7b5092c53ba02c8de7d0fbcd5f4626a9dc5e1370914bad530cc5b"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomPlaybackController.schedulePlaybackBootstrap (cyclomatic 18): RoomPlaybackController.schedulePlaybackBootstrap 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":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6f228faa4d76fa457dd5915afc7286fc4924068e83d03c9125a7f8d91bdd43"}},{"ruleId":"D1","level":"warning","message":{"text":"_RustDanmakuBatchMask.allowListBatch (cyclomatic 18): _RustDanmakuBatchMask.allowListBatch 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":"apps/main_app/lib/src/rust/danmaku_batch_mask_ffi.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8dfd11b1b04ec2eb9303e0b21e63d4b4e78fa831c75d249f0723b7e7555400"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x2e4b86 (cyclomatic 18): _0x2e4b86 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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee86956a4afed6174b95c50d553d278acb75e2519daa3a0766a950b50984a91c"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x2c9158 (cyclomatic 18): _0x2c9158 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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0925ffb27e5760673fe86d7a16f1c3e0a2d3d6170627b86fec5bbd5a2882436"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomChatPanel.build (cyclomatic 17): RoomChatPanel.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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_chat_panels.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0513b4f60bf93880d0567c75bb4b2575dc7e1db72925fa91755d46a28d6f1c"}},{"ruleId":"D1","level":"warning","message":{"text":"DanmakuPreferences.== (cyclomatic 17): DanmakuPreferences.== 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":"apps/main_app/lib/src/features/settings/application/manage_danmaku_preferences_use_case.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5ba85c24a84bdf11737a33303a63cfe769058ca73479330b6a16f11dec41ef"}},{"ruleId":"D1","level":"warning","message":{"text":"_FollowSettingsPageState.build (cyclomatic 17): _FollowSettingsPageState.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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf7966aee568f7705bf36c749415a0df9cc97427f6cf14106c01ede44bd9cab"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveRoomDetail.== (cyclomatic 17): LiveRoomDetail.== 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":"packages/live_core/lib/src/model/live_room_detail.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f752a8da1d51d24f5a1a1d42511895926dc4e66b50fbbd2ae67d99a8b7da5ff7"}},{"ruleId":"D1","level":"warning","message":{"text":"TarsInputStream.read (cyclomatic 17): TarsInputStream.read 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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4813c5e6af915d6ace4a28ac4087a7d1006f96f7112d8663f0ac940a176c5f"}},{"ruleId":"D1","level":"warning","message":{"text":"TarsOutputStream.write (cyclomatic 17): TarsOutputStream.write 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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_output_stream.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f317899592e13c0d8f03a8516492130ba6832260c9ab906b3ae3e6758924f87"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncSnapshotMerger.mergeFollows (cyclomatic 17): SyncSnapshotMerger.mergeFollows 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":"packages/live_sync/lib/src/runtime/sync_snapshot_merger.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e684755b9afe2721901ed75bcda419deb19d097c1f1b5c9d2b97ef25ecbe445c"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x281b3b::_0x193050 (cyclomatic 17): _0x281b3b::_0x193050 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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae7a49014988a341d97804c3e5856c19dbd8367c3b42a72d60c3e7da600aa91"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x4591cd::_0x39ceae (cyclomatic 17): _0x4591cd::_0x39ceae 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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0f0bd66a730ea25a01b07669ebaae82ce8511109b458876f33606d5655690b"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x5bbaf0 (cyclomatic 17): _0x5bbaf0 has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 5034, a function literal at line 5015, a function literal at line 5028, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":5011}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66e031a61561fac222540699311574e27c63cc3a2cb588f0fac7e819b237c22"}},{"ruleId":"D1","level":"warning","message":{"text":"_ProviderCategoriesTabState.build (cyclomatic 16): _ProviderCategoriesTabState.build has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9da0fdd0d1ef4c689a7a701096c0d897fb65ebb3f5de887d35c578cc26d4ff7"}},{"ruleId":"D1","level":"warning","message":{"text":"LoadFollowWatchlistUseCase._buildSyncedRecord (cyclomatic 16): LoadFollowWatchlistUseCase._buildSyncedRecord 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":"apps/main_app/lib/src/features/library/application/load_follow_watchlist_use_case.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3edfb7f611e2ba19191588a9cb4998898823edcf80e3b9769324153a8f2424e"}},{"ruleId":"D1","level":"warning","message":{"text":"RoomFollowActionCoordinator.toggleCurrentRoomFollow (cyclomatic 16): RoomFollowActionCoordinator.toggleCurrentRoomFollow 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":"apps/main_app/lib/src/features/room/presentation/room_follow_action_coordinator.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2840b68f49049ecbdd35936d13c2cdde99584f5395bb93e7fc5188f5b7d3e71b"}},{"ruleId":"D1","level":"warning","message":{"text":"_PlayerSettingsPageState.build (cyclomatic 16): _PlayerSettingsPageState.build has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bc8f389a8c3900d04674768339489b170c21558201271afa8823e5b33c0bfe"}},{"ruleId":"D1","level":"warning","message":{"text":"_SyncWebDavPageState.build (cyclomatic 16): _SyncWebDavPageState.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":"apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a61c987cf9c9df45e1b3c1a3c45701471d105e342967b5849905d2320050864"}},{"ruleId":"D1","level":"warning","message":{"text":"StripchatLlHlsProxy._prewarmAutoMediaVariants (cyclomatic 16): StripchatLlHlsProxy._prewarmAutoMediaVariants 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a73dfef2ef939d844bed6a4f6a262c899d96e5683426ffcf3997e9d542613c"}},{"ruleId":"D1","level":"warning","message":{"text":"StripchatLlHlsProxy._fetchPlaylistWithFallbacks (cyclomatic 16): StripchatLlHlsProxy._fetchPlaylistWithFallbacks 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ed8dfa22cd2c58c03ee4c4792622545ab1625ad3df0989880b1aa95621cfa3"}},{"ruleId":"D1","level":"warning","message":{"text":"DouyuDanmakuSession._handleRawMessage (cyclomatic 16): DouyuDanmakuSession._handleRawMessage 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":"packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c05125cab66c43ea9bca4fde0ff97bb2bb367ea9bf1d5bd21a08a20dbc6de8"}},{"ruleId":"D1","level":"warning","message":{"text":"_DanmakuParserWorker._handleMessage (cyclomatic 16): _DanmakuParserWorker._handleMessage 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":"packages/live_providers/lib/src/danmaku/isolate_danmaku_session.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a3d05915442d750e5956bf7a8eb6414146f755533e1986165c116a471c94cd"}},{"ruleId":"D1","level":"warning","message":{"text":"DouyuMapper.douyuPlayUrlHostPreferenceScore (cyclomatic 16): DouyuMapper.douyuPlayUrlHostPreferenceScore 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":"packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2eb5d56dcbfd537309f77979302ddb02262cae275fbc8b1a71d745bcc20148a"}},{"ruleId":"D1","level":"warning","message":{"text":"YouTubeDecipherService.decryptUrl (cyclomatic 16): YouTubeDecipherService.decryptUrl 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":"packages/live_providers/lib/src/providers/youtube/youtube_decipher_service.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb303765d0cf459af1ba611751022d2b3f9051b1a321e993ad925b03a30a341"}},{"ruleId":"D1","level":"warning","message":{"text":"_0x5d3845 (cyclomatic 16): _0x5d3845 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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6124}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c56d62efdb7a9cd84a5a37da41a7337993c0f4931086d4f83a2805f87a76da"}},{"ruleId":"D2","level":"warning","message":{"text":"w_0x5c3140::_0x970e7 (cognitive 496): w_0x5c3140::_0x970e7 has cognitive complexity 496 (threshold 15). Drivers by points: ternaries 44 (220 pts), if/else 56 (216 pts), loops 10 (51 pts), boolean chains 8, error handling 1 (nesting depth added 377). 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1264097f4c903fd4f7b1dff0bacc227a320aa85a13b09a5f1d4d4db19a3475b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 139): (anonymous) has cognitive complexity 139 (threshold 15). Drivers by points: ternaries 13 (45 pts), if/else 21 (40 pts), boolean chains 30, loops 7 (24 pts) (nesting depth added 68). None of this is in the body itself: all 139 points belong to 19 function items inside it that branch (a function literal at line 3886, a function literal at line 3794, (anonymous)::_0x4d7e2d::_0x3d7396, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":3793}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f345a95a1c26cc7748bfd92e09c15ee6b88d8a5a22f442eec4cd0b691f1880"}},{"ruleId":"D2","level":"warning","message":{"text":"FollowWatchRow.build (cognitive 135): FollowWatchRow.build has cognitive complexity 135 (threshold 15). Drivers by points: ternaries 51 (102 pts), if/else 15 (28 pts), boolean chains 5 (nesting depth added 64). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc604d05fda59d774c265aafe213c038b0a7b2dcb268117c878b8f97175de8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._rewritePlaylist (cognitive 116): StripchatLlHlsProxy._rewritePlaylist has cognitive complexity 116 (threshold 15). Drivers by points: if/else 36 (96 pts), boolean chains 11, ternaries 2 (5 pts), loops 3 (4 pts) (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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c57487c37fc360636b49a7dfa66900ecf8f9e751061a2371a843a0461e7d5a5"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._materializePlaylistImpl (cognitive 109): StripchatLlHlsProxy._materializePlaylistImpl has cognitive complexity 109 (threshold 15). Drivers by points: if/else 42 (62 pts), boolean chains 29, loops 5 (10 pts), error handling 2 (4 pts), ternaries 3 (4 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"9973ac1892a20d00516532c89534c9eb556367975a376509d0eac315dce70536"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._handlePlaylistRequest (cognitive 94): StripchatLlHlsProxy._handlePlaylistRequest has cognitive complexity 94 (threshold 15). Drivers by points: if/else 24 (49 pts), boolean chains 30, loops 3 (9 pts), ternaries 4, error handling 1 (2 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"368afb8d514b7962da9fca3596084678b64704482de771c05a01de17e57b91c0"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomPlayerSurfaceSection.build (cognitive 84): RoomPlayerSurfaceSection.build has cognitive complexity 84 (threshold 15). Drivers by points: ternaries 19 (38 pts), if/else 20 (27 pts), boolean chains 19 (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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"245b814b83bff4618c69ca76c8597bb9f947ff30fc4cf8f9957fac70c3848446"}},{"ruleId":"D2","level":"warning","message":{"text":"LazySecureCredentialStore._promoteResolvedStore (cognitive 74): LazySecureCredentialStore._promoteResolvedStore has cognitive complexity 74 (threshold 15). Drivers by points: if/else 17 (51 pts), loops 5 (13 pts), boolean chains 5, error handling 3 (5 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/application/secure_credential_store.dart"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e91a3588e144ae42a4916051ceffb32ee6c5c2c1f0f938fe575f2328b1cafa"}},{"ruleId":"D2","level":"warning","message":{"text":"TwitchAdGuardProxy._selectPlayablePlaylist (cognitive 72): TwitchAdGuardProxy._selectPlayablePlaylist has cognitive complexity 72 (threshold 15). Drivers by points: if/else 19 (56 pts), boolean chains 9, loops 4 (7 pts) (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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a9508d195c16d95e581c932e05955f3cd0311d120029e4661ef67c0c202de4"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubePlaybackDataSource.fetchPlayUrls (cognitive 65): YouTubePlaybackDataSource.fetchPlayUrls has cognitive complexity 65 (threshold 15). Drivers by points: if/else 11 (34 pts), error handling 3 (17 pts), loops 4 (10 pts), boolean chains 3, ternaries 1 (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b8387e0f78c120dc6f4f192b19526e1c7f491ccf182de143db98e9c59a0e84"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x481bfe (cognitive 65): _0x481bfe has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 19 (36 pts), boolean chains 13, if/else 7 (10 pts), loops 2 (6 pts) (nesting depth added 24). Of this number, 61 points are the body\u0027s own statements and 4 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3f95fb722a02d1ad1d15a712320cec90645e7b07c1b781c6ee2ee9c4f9cbe8"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x23e6b (cognitive 65): _0x23e6b has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 19 (36 pts), boolean chains 13, if/else 7 (10 pts), loops 2 (6 pts) (nesting depth added 24). Of this number, 61 points are the body\u0027s own statements and 4 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"b124747fc885d4ab28cb845799f18e6d372cde5bb51177f7100abed8afacef73"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseRoomInputUseCase._parseFromUri (cognitive 64): ParseRoomInputUseCase._parseFromUri has cognitive complexity 64 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 22, ternaries 3 (10 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":"apps/main_app/lib/src/features/parse/application/parse_room_input_use_case.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10fb3a8a13aa35a3a4548dfd719b68bb368c3eb8018dec7fab39b1f9db73b44"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubePlaybackDataSource.loadPlaybackBundle (cognitive 63): YouTubePlaybackDataSource.loadPlaybackBundle has cognitive complexity 63 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 6 (14 pts), ternaries 5 (9 pts), boolean chains 5, error handling 2 (4 pts) (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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9067c97ede7a5cafd8156e40a83068f0d7dee8cce701de3e7fe6231c559f11"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x281b3b::_0x3345ab (cognitive 61): _0x281b3b::_0x3345ab has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 19 (36 pts), boolean chains 13, if/else 7 (10 pts), loops 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1df3c5fec7b08d3d7458b32efadee3b95b8d18c413bee975810a0ffc3b9fb52"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x4591cd::_0x343a1e (cognitive 61): _0x4591cd::_0x343a1e has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 19 (36 pts), boolean chains 13, if/else 7 (10 pts), loops 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"553152309267ade44f94e582ca4c80e09e02cf15177f990bca1315eeee5cf3d5"}},{"ruleId":"D2","level":"warning","message":{"text":"_SyncLocalPageState.build (cognitive 58): _SyncLocalPageState.build has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 19 (32 pts), boolean chains 10, if/else 9 (10 pts), loops 3 (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":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa72aa5645d3606b200f84381687211b30eddc65bbeb2cc1f47cdbe3ee8213d"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProviderCategoriesPageState.build (cognitive 55): _ProviderCategoriesPageState.build has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 15 (24 pts), if/else 14 (20 pts), loops 4 (10 pts), boolean chains 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":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02a0666871838270e9dbaaa1ade4fe7390972c979e06db80ed5f36d2945c980"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._handleAssetRequest (cognitive 53): StripchatLlHlsProxy._handleAssetRequest has cognitive complexity 53 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 15, ternaries 2 (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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da292b153c4018fe8d2487653a12ee9d809ec90a7cadb8f87bd10048d08ce5a"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomPlaybackController._flushPendingPlaybackBootstrap (cognitive 47): RoomPlaybackController._flushPendingPlaybackBootstrap has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 16, ternaries 3 (5 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":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"74082fdc69e757e2ba5fb38cd70d780a74bb131743c538a4f317579687532571"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomFullscreenTopChrome.build (cognitive 47): RoomFullscreenTopChrome.build has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 26 (28 pts), boolean chains 14, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c79d016e632c7f27cd22c3be0b07f2bc648ab2d03f610e1863b579d312cc1a"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._awaitPublishWarm (cognitive 47): StripchatLlHlsProxy._awaitPublishWarm has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 15, loops 3 (6 pts), ternaries 4 (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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7774b620ca3c2d9c7faf3805c6113c519f31b8334ea819bea38989f52236d42"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpLocalSyncServer._handleRequest (cognitive 47): HttpLocalSyncServer._handleRequest has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (40 pts), boolean chains 4, error handling 3 (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":"packages/live_sync/lib/src/local_sync/local_sync_server.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"356f5a72b925791b6eb0170023e83f4eade32dacb7750ecf6c0ed89a516e23f1"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomTwitchRecoveryController.scheduleRecovery (cognitive 40): RoomTwitchRecoveryController.scheduleRecovery has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 8, match/switch 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":"apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"db151c62be837ff4e7216454295a49fc822e61230b6d28dfff87f3a7ff44075b"}},{"ruleId":"D2","level":"warning","message":{"text":"_RoomPreviewPageState.build (cognitive 39): _RoomPreviewPageState.build has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 11 (12 pts), boolean chains 11 (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":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bc83a535d8d925721664a9b3b92f11b246dcb36f7ae061116059150a5357f4"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x385d19::dispatchException (cognitive 39): _0x385d19::dispatchException has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (37 pts), boolean chains 1, 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"275997d25f40cab202baa7760a75ac3c49927988c42e9e835c1668d8ed03f9b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateLiveDataSource._loadDiscoverRoomsBounded (cognitive 38): ChaturbateLiveDataSource._loadDiscoverRoomsBounded has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 6, loops 2 (3 pts), error handling 1 (2 pts), 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"e329ef501c4884fdbc66972ab89608c746fed717f3f7c51d505c43c47451b3d9"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlayerSettingsPageState._buildAdvancedOptions (cognitive 37): _PlayerSettingsPageState._buildAdvancedOptions has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 13 (26 pts), if/else 3 (6 pts), boolean chains 4, match/switch 1 (nesting depth added 16). 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":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"498ddee36d10e59eb93a0732e9e1aa8c1266b4bbdacf8725d17863fc3e1ddf0a"}},{"ruleId":"D2","level":"warning","message":{"text":"TwitchAdGuardProxy._sanitizePlaylist (cognitive 37): TwitchAdGuardProxy._sanitizePlaylist has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 5, 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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcc5ac691d90f8ab62f628b422638b46fe31252b9684b52c014deb0a99cd920"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositorySyncSnapshotService.importCategory (cognitive 37): RepositorySyncSnapshotService.importCategory has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 7 (17 pts), match/switch 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/runtime/repository_sync_snapshot_service.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bd201f98104f0b51fb8f72cce188077541aa4e91a708871225b024b3b8613c"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadProviderAccountSettingsUseCase.call (cognitive 36): LoadProviderAccountSettingsUseCase.call has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 7, ternaries 7 (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":"apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9ec7fde9044bda7a8d513cd02a19e6b6c7e242767d3ffeda0cf685343c1554"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadFollowWatchlistUseCase.call (cognitive 35): LoadFollowWatchlistUseCase.call has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 5 (7 pts), boolean chains 4, ternaries 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":"apps/main_app/lib/src/features/library/application/load_follow_watchlist_use_case.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2820783e02c602a95e6ebae54c332fc2401107abd87df61500c7281bd8f228e7"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x754898 (cognitive 34): _0x754898 has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 12, ternaries 3 (12 pts), if/else 3 (9 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6174ae0e094f37177352afc5cd4e7b79930e42ca83ba4757122a6570ac49a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateMapper.mapPlayUrls (cognitive 33): ChaturbateMapper.mapPlayUrls has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15, boolean chains 13, ternaries 4 (5 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe50e62843a8a2a0a278a1643f949ebce45c8d206990cc0efa8c63c5a7805fe9"}},{"ruleId":"D2","level":"warning","message":{"text":"_0xa6bc9e (cognitive 33): _0xa6bc9e has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 3 (12 pts), boolean chains 11, if/else 3 (9 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f532e6ce2632d1cfe67f3f6f0a29a936a480cd40d34b6e36f0b7911b6d8727"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x4591cd::_0x4c3a0d (cognitive 33): _0x4591cd::_0x4c3a0d has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 3 (12 pts), boolean chains 11, if/else 3 (9 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51ca38b084ee97f5c6bdf67c04dd2c241faa952a403a89d39ffa510649a0c7e"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._orderedCollapseVariantUris (cognitive 32): StripchatLlHlsProxy._orderedCollapseVariantUris has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 7, ternaries 3 (6 pts), loops 3 (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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa152cff42122c5f43e4b81615f72cbb66d6c03401c48d8fee15432fbbe07e7"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackFailoverPolicy.isHardOpenFailure (cognitive 31): PlaybackFailoverPolicy.isHardOpenFailure has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 21, if/else 8 (10 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":"packages/live_player/lib/src/playback_failover_policy.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02ce6b7cbb70143f92041d2cdf402efdb5383ec23c765ea202eaa44d062af7b"}},{"ruleId":"D2","level":"warning","message":{"text":"HuyaMapper.mapRoomDetail (cognitive 31): HuyaMapper.mapRoomDetail has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, loops 2 (4 pts), ternaries 4, 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":"packages/live_providers/lib/src/providers/huya/huya_mapper.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5efec31ed5a262f4518e1219730e507f213fe24f069a76c44c08c1cc4938f38"}},{"ruleId":"D2","level":"warning","message":{"text":"_ParseRoomPageState.build (cognitive 30): _ParseRoomPageState.build has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 4, loops 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":"apps/main_app/lib/src/features/parse/presentation/parse_room_page.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"263623360ff59e54be276a96614b632edcc83eba4b5ed368b4c34a4dc8de8125"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomPlayerRuntimeObserver._handlePlayerDiagnostics (cognitive 30): RoomPlayerRuntimeObserver._handlePlayerDiagnostics has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 2, match/switch 1 (2 pts), ternaries 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":"apps/main_app/lib/src/features/room/application/room_player_runtime_observer.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce794d75e15fb6bedf6389d0f747b03f0b01b666a409ed83ecc39e8df4846d06"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomPictureInPictureCoordinator._handleLifecycleState (cognitive 30): RoomPictureInPictureCoordinator._handleLifecycleState has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 6 (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":"apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c8837333a13d8640e191f7779ee1ba7a88f4b33e741908025f6f20e4719015"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateLlHlsProxy._primeSession (cognitive 30): ChaturbateLlHlsProxy._primeSession has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (21 pts), ternaries 2 (5 pts), error handling 1 (3 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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bea380057942355a71dff0511e8582716f0a2128f5e291ffcbf3319d79610d1"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncSnapshotMerger.mergeFollows (cognitive 30): SyncSnapshotMerger.mergeFollows has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 4, loops 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/runtime/sync_snapshot_merger.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3cf08d7111847042b2b4a3218acd35f1486eb6b1f1194c7d4c35353d6f57fe"}},{"ruleId":"D2","level":"warning","message":{"text":"BilibiliMapper.mapPlayUrls (cognitive 29): BilibiliMapper.mapPlayUrls has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 5 (11 pts), 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":"packages/live_providers/lib/src/providers/bilibili/bilibili_mapper.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b25e06c9054edf25ebe44dad23334d74c4a3e24c91071fc663bb1837ed650d8"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatMapper.mapRoomDetail (cognitive 29): StripchatMapper.mapRoomDetail has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17, boolean chains 7, 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":"packages/live_providers/lib/src/providers/stripchat/stripchat_mapper.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d2c621a789ab0cd68e40e275454d0f752c3df7f3b1217617c6451338cdf672"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadFollowWatchlistUseCase._inspectFollow (cognitive 27): LoadFollowWatchlistUseCase._inspectFollow has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (16 pts), error handling 2 (5 pts), ternaries 2 (4 pts), boolean chains 1, loops 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":"apps/main_app/lib/src/features/library/application/load_follow_watchlist_use_case.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b6bcba6dff65b1be81abe3b504e2a42cf34dfbf64ded855ba0b64b39bab591"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomPlaybackController._setPlaybackSourceWithMdkRecovery (cognitive 27): RoomPlaybackController._setPlaybackSourceWithMdkRecovery has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (22 pts), match/switch 1 (3 pts), loops 1 (2 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":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6792e396293422fdeac7386f1a84140a0c5d58dfd49e4e1026149a556f2c9ddd"}},{"ruleId":"D2","level":"warning","message":{"text":"TwitchAdGuardProxy._handleRequest (cognitive 27): TwitchAdGuardProxy._handleRequest has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 3, 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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0747ea1b8e705361c379514d08626ac78aac29494135b5ff94168470ca22f609"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatMapper.mapCategories (cognitive 27): StripchatMapper.mapCategories has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (7 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/stripchat/stripchat_mapper.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"757e79b2a6f691a700265a77dea02e919da6c362690f4be72e5049f4c6ef4d9b"}},{"ruleId":"D2","level":"warning","message":{"text":"_0xb48e77 (cognitive 27): _0xb48e77 has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (6 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6696}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0015873526bc9b35b6df9e9e3e02ced93db6313423a7f0ed27174c0bc9fa0a"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomChatPanel.build (cognitive 26): RoomChatPanel.build has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11 (20 pts), boolean chains 3, if/else 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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_chat_panels.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"338d9a904fd92195114c2282f7999f10eea84d9d6badabf70e19fad74ec61401"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateLiveDataSource._tryFetchRoomPageBootstrap (cognitive 26): ChaturbateLiveDataSource._tryFetchRoomPageBootstrap has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 4 (8 pts), ternaries 2 (6 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf216b40cda76579eaecda5df08900a438cbd1cfccd6af3bd5047d3683761f89"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x151762 (cognitive 26): _0x151762 has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (10 pts), if/else 4 (5 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88c33996049b96c425ff01a3c8962d67ea714e0301d64a6e8cf27ce532467dd"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x532596 (cognitive 26): _0x532596 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 2, loops 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":4311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca6543da4a838ced911575e574cf91d7c208f00d2804324c5493cfffc68b9e9"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomPlaybackFailoverCoordinator._handleUnexpectedPlaybackStopBody (cognitive 25): RoomPlaybackFailoverCoordinator._handleUnexpectedPlaybackStopBody has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (20 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":"apps/main_app/lib/src/features/room/application/room_playback_failover_coordinator.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed62b3fca1df624d6dfae1c85efcfb4db997a44b8b0fe35b4e9c97eae2dd118"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomFullscreenSessionController.applyFullscreenSystemUi (cognitive 25): RoomFullscreenSessionController.applyFullscreenSystemUi has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 2 (7 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":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_session_controller.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"178768377f3c50bd2a63037f3573c5d90881253dc7ed3d75bb413ea27ee90647"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._buildCachedOnlyPlaylist (cognitive 25): StripchatLlHlsProxy._buildCachedOnlyPlaylist has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a9791834072c6b9fd2c35cb6a8cfc29c822d3592e97363e9074c44e1f4e9fc"}},{"ruleId":"D2","level":"warning","message":{"text":"MdkPlayer.setSource (cognitive 25): MdkPlayer.setSource has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (21 pts), match/switch 1 (2 pts), boolean chains 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":"packages/live_player/lib/src/mdk_player.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"713cdeb2abf9798450329afd1c1cc602b371169f70541d65892ae8713545b4ff"}},{"ruleId":"D2","level":"warning","message":{"text":"BilibiliLiveDataSource._fallbackRecommendRooms (cognitive 25): BilibiliLiveDataSource._fallbackRecommendRooms has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (7 pts), error handling 3 (6 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"59584530abc6c9043f806cbbc3231fc0a311e8d20af51c78f74a40c5070e450b"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x872852 (cognitive 25): _0x872852 has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 4, loops 1 (nesting depth added 13). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":3530}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf44afa820c52e8f445525cc77584a72230d077748df66efdc0b3ddc3453ba51"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryPageState._buildBody (cognitive 24): _LibraryPageState._buildBody has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 8 (11 pts), boolean chains 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/library/presentation/library_page.dart"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"24197d566808e37abc5b9ee4f1aa9cfe23a3414d6af25f522794e277512f401e"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomDanmakuController.bindSession (cognitive 24): RoomDanmakuController.bindSession has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 4, 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":"apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad742a9ec97ef9629809deade1804c3fb9627ee219b81a4fcfc3bcbf44f0c28"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLocalSyncSnapshotUseCase.call (cognitive 24): PushLocalSyncSnapshotUseCase.call has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 4 (10 pts), loops 3 (6 pts), if/else 3 (5 pts), error handling 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":"apps/main_app/lib/src/features/sync/application/manage_local_sync_use_case.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aadb149766102a2aa6d37ce94f34345588361aeb676e1f61dcd04d9279673df"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._fetchPlaylistWithFallbacks (cognitive 24): StripchatLlHlsProxy._fetchPlaylistWithFallbacks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (6 pts), boolean chains 2, loops 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"b718232fd21b833ef3293c1a1097b3f4151c7aa38722b1350b564d65b19dfef4"}},{"ruleId":"D2","level":"warning","message":{"text":"FollowWatchEntry.isPasswordProtected (cognitive 23): FollowWatchEntry.isPasswordProtected has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/domain/follow_watch_entry.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30d198827e8d09bf932e6d7eea71f6aa7fbfd6ce8acc9a55286b9aa6e11fd32"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._prefetchAssetOnce (cognitive 23): StripchatLlHlsProxy._prefetchAssetOnce has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7 (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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5757782178eac07e71d616c23bce89eee6183e32d3b81e8d792f58d1491ac1b"}},{"ruleId":"D2","level":"warning","message":{"text":"TarsInputStream.readBytes (cognitive 23): TarsInputStream.readBytes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 1 (3 pts), loops 1 (3 pts), match/switch 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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e516bc0a9859919d515e77d8696e469cacc4aed3782431844f202ee454dda36e"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubeDecipherService.decryptUrl (cognitive 23): YouTubeDecipherService.decryptUrl has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, ternaries 1 (4 pts), loops 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":"packages/live_providers/lib/src/providers/youtube/youtube_decipher_service.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7155b609a6f6899e0533d47ed582247ff962d675d88af275df8d49711d171334"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomFollowActionCoordinator.toggleCurrentRoomFollow (cognitive 22): RoomFollowActionCoordinator.toggleCurrentRoomFollow has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5 (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":"apps/main_app/lib/src/features/room/presentation/room_follow_action_coordinator.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60d63844a8aa1bd0e7e5a814b01daa4b5c239edc33abf32afb7a31ad2aedbf6"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomFullscreenBottomChrome.build (cognitive 22): RoomFullscreenBottomChrome.build has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 20, 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":"apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5567f5230453fd171747f337bde60efcafadfda884894e8294a19081ed203d"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialMigrationBundleCodec.decode (cognitive 22): CredentialMigrationBundleCodec.decode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (19 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":"apps/main_app/lib/src/features/settings/application/credential_migration_bundle.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c688d9cd32f709d18e4b9ebf63641c5a983e606505285a7b612713ff9a5329"}},{"ruleId":"D2","level":"warning","message":{"text":"_FollowStatusPresentation.resolve (cognitive 22): _FollowStatusPresentation.resolve has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (18 pts), if/else 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"bade54225bbed964bcc50b2f52585e581adcc54485e738ccd87530dc31c235e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateWebRoomDetailLoader._loadWithWebView (cognitive 22): ChaturbateWebRoomDetailLoader._loadWithWebView has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (14 pts), error handling 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64815098b3b5c846806c332c45df8c308f66f66f1321c754193e11974f9deaf"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._shouldDropMapForPlaylist (cognitive 22): StripchatLlHlsProxy._shouldDropMapForPlaylist has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, loops 1 (3 pts), error handling 1, ternaries 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":3238}}}],"partialFingerprints":{"codehealthFindingId/v1":"37766cc484ce5bffaabe273fdc4f24e0208a98a15542bfc299ca6e2a2199a845"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatDanmakuSession._handleLine (cognitive 22): StripchatDanmakuSession._handleLine has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, 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":"packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff603c986a649795c3f545104d54965e664b537fb2d15fa468371fce11aa0b57"}},{"ruleId":"D2","level":"warning","message":{"text":"TarsInputStream.readMap (cognitive 22): TarsInputStream.readMap has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 1 (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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4224001a00c9f6f979a6e8d50fcc0ed25decd9cca5951cd6c4bac789d15a538c"}},{"ruleId":"D2","level":"warning","message":{"text":"DouyinMapper.mapPlayQualities (cognitive 22): DouyinMapper.mapPlayQualities has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 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":"packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faad724586281bb07d12a5dff418ca7954ff36d20337a2f0837d3ad1d761f9f"}},{"ruleId":"D2","level":"warning","message":{"text":"FollowRecord.== (cognitive 22): FollowRecord.== has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 16, if/else 4 (5 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":"packages/live_storage/lib/src/models/follow_record.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5f0a568cdb5915c94e8c7199d6820ae9934589c022f92c3675ffe12ec237dc"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x43bce4 (cognitive 22): _0x43bce4 has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 3 (10 pts), boolean chains 6, if/else 2 (4 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd35927f30cc5b35b0627f9163682f737590485bb1b8d3339811f1f8fca8f3ad"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x19d66a (cognitive 22): _0x19d66a has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 1 (3 pts), error handling 1 (2 pts), 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"3018329cf09601048d61e174c5b9d32ad4d04c43d9e97423366d2626ebd158f7"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x5bbaf0 (cognitive 22): _0x5bbaf0 has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 8, ternaries 1 (2 pts), error handling 1 (nesting depth added 6). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 5034, a function literal at line 5015, a function literal at line 5028, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":5011}}}],"partialFingerprints":{"codehealthFindingId/v1":"63593be0150623b5456899916560a8c48e94bef283370de82b7d4868bc22407b"}},{"ruleId":"D2","level":"warning","message":{"text":"_LibraryPageState._refresh (cognitive 21): _LibraryPageState._refresh has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/library/presentation/library_page.dart"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e361a3b63662e0293a7500a3ce2b8ac4913867745ab75590abbaa2a5b5048b83"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomFullscreenChromeController.scheduleFullscreenChromeAutoHide (cognitive 21): RoomFullscreenChromeController.scheduleFullscreenChromeAutoHide has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, if/else 5 (7 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":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_chrome_controller.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e9b38368ea6e4d5eab08b63bf6b2bb5c3bc5ec4dcf17ef04eee6e540aac395"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateLlHlsProxy._parseMediaPlaylist (cognitive 21): ChaturbateLlHlsProxy._parseMediaPlaylist has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bb207f29d57c54465040eff7296737cde04048c32658f412f52ce5d595e6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateDanmakuSession._handleRawMessage (cognitive 21): ChaturbateDanmakuSession._handleRawMessage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (2 pts), boolean chains 1, error handling 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e51a34c959e31d892325745a1cc712b2f869dfd1ade6374ddf0b8999cc1c363"}},{"ruleId":"D2","level":"warning","message":{"text":"TarsInputStream.readMapList (cognitive 21): TarsInputStream.readMapList has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (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. This shape REPEATS in the file: one other method here (TarsInputStream.readMapMap) 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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9afb1f1e7cb293bc76edec6bc166277c1b6c2d5a8fe4403137ccae78fe673a4"}},{"ruleId":"D2","level":"warning","message":{"text":"TarsInputStream.readMapMap (cognitive 21): TarsInputStream.readMapMap has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (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. This shape REPEATS in the file: one other method here (TarsInputStream.readMapList) 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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a12b97fa0ea0e9bba9627c78c075532eefe0fc176a321b09af87930ae5d282"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x2c9158 (cognitive 21): _0x2c9158 has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, ternaries 2 (6 pts), if/else 4 (5 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fa067c49ea93eb88db00a6c20da80577460a43617e2ae8ab5d31d25713d511"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x1d26db (cognitive 21): _0x1d26db has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":5626}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdaf2a6bbbd1fc2a09cd727b0a629f922ac3aad423be2856fe53b7f24632d9f"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProviderCategoriesTabState.build (cognitive 20): _ProviderCategoriesTabState.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 5 (6 pts), boolean chains 4, loops 2 (3 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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e728868378e8392255c1aaf85d6f401db7f549d6df14ef9761bc53bb4fddaa"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolvePlaySourceUseCase.call (cognitive 20): ResolvePlaySourceUseCase.call has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/resolve_play_source_use_case.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c5c306c0869042f3e74331d2575000696bcd55542869936f9650be4b4e3857"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomFullscreenSessionController.applyFullscreenControlsLock (cognitive 20): RoomFullscreenSessionController.applyFullscreenControlsLock has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 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":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_session_controller.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75acda2d6543ec1779b9f3a4f23ad3af829ef54da81ce4353ed902930a44352"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateLlHlsProxy._awaitAssetPayloadForServe (cognitive 20): ChaturbateLlHlsProxy._awaitAssetPayloadForServe has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (3 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e41ae3cad02d4c030292b408b37178892696e6fe98e70454e173bd598af1fb"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._prewarmAutoMediaVariants (cognitive 20): StripchatLlHlsProxy._prewarmAutoMediaVariants has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c03670346b774b79976e673e27659ad8b74b238f1bf2b744de9c1ba4083975"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuIsolateParseOutput.fromWire (cognitive 20): DanmakuIsolateParseOutput.fromWire has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (8 pts), loops 2 (4 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":"packages/live_providers/lib/src/danmaku/isolate_danmaku_session.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"653dcbc08f626d4711918dfc2e2b333d81b2f93ab37afb041a016463884f0935"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubeDanmakuSession._pump (cognitive 20): YouTubeDanmakuSession._pump has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (4 pts), 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":"packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fac9e092ea0fb663fa44bc1b8c4bf27f1b2e6bdb4d7953de898bb8f2ec70fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateLiveDataSource.fetchRoomDetail (cognitive 20): ChaturbateLiveDataSource.fetchRoomDetail has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"04efbd92d4f6fe0224323ca6b3a70d1bd52219f9814cea288b6217b6df3411a3"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 20): (anonymous) has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, ternaries 6 (7 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"521e6719234cff9c587884e0a389c8da85728caf1878b3b866d52917ecf803da"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x2e4b86 (cognitive 20): _0x2e4b86 has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), loops 2 (5 pts), 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be5d71da0a65dba520eba593241b40f604446802019eea6346665a2c0ccd07d"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x25bfe1 (cognitive 20): _0x25bfe1 has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, match/switch 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":4386}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d5a50932ef08064b4112ffb39cee43f9f0e7d5c867b561b03d669b080fe38d"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x2d2578 (cognitive 20): _0x2d2578 has cognitive complexity 20 (threshold 15). Drivers by points: error handling 4 (8 pts), ternaries 2 (5 pts), if/else 3 (4 pts), boolean chains 3 (nesting depth added 8). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 6315, 6332, 6348, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6314}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce8c5f9b8679e8e3b6ac8692db3de9a29c1aee0bfaeb196a1f288242d4c47c1"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadProviderHighlightsUseCase._loadForDescriptor (cognitive 19): LoadProviderHighlightsUseCase._loadForDescriptor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), error handling 2 (5 pts), loops 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/browse/application/load_provider_highlights_use_case.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3dfea9cd569a7f0035ca376a7079022c392b679ef7e21b7f508004456c17b4"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomPlaybackController.schedulePlaybackBootstrap (cognitive 19): RoomPlaybackController.schedulePlaybackBootstrap has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (9 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"38db014017d67b0092266b0163a9243c22e6faaf777787c26e15eb370337a659"}},{"ruleId":"D2","level":"warning","message":{"text":"_FollowSettingsPageState.build (cognitive 19): _FollowSettingsPageState.build has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (11 pts), if/else 5, loops 1 (2 pts), boolean chains 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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9292566023ce027e7fb676382735f22be94f3a7460fc9a4faca4f2ef5787d7b4"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy.wrapPlayUrls (cognitive 19): StripchatLlHlsProxy.wrapPlayUrls has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (5 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf96ea86ff56fd0a2778ca1597fcde1173ed49f9acf8e6fe5b3f8055183d75f"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._awaitSpecificAssetsWarm (cognitive 19): StripchatLlHlsProxy._awaitSpecificAssetsWarm has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, loops 3 (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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"217d768ffe217d85a1cd22dba5b5fb4591176c52eb0a46cd9d8fe85efc47f1e0"}},{"ruleId":"D2","level":"warning","message":{"text":"TwitchAdGuardProxy._prewarmAutoVariantGroups (cognitive 19): TwitchAdGuardProxy._prewarmAutoVariantGroups has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3, error handling 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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"741d5e801142e3a2b8aec0698838883ca25f0f1ca0b161007ed78a58a5ab5741"}},{"ruleId":"D2","level":"warning","message":{"text":"_DanmakuParserWorker._handleMessage (cognitive 19): _DanmakuParserWorker._handleMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 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":"packages/live_providers/lib/src/danmaku/isolate_danmaku_session.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9c528a3fe0d2de64ea44fa6fda3304f569b76f07130750aafebd496f6b6a0c"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x1d9867.getMetadata (cognitive 19): _0x1d9867.getMetadata has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (19 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7daba87c48ac573d1556529a2e1c27fc1eac9c6ceb886fe6e0c1c1dcbd31e31"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x58210c (cognitive 19): _0x58210c has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 1 (4 pts), error handling 1 (2 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6074}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8868322f096166bc8c71e33e95657061f5d67043a8e1cd49a8f194e3921eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"LinuxDesktopWebLoginSession._mergeDocumentCookies (cognitive 18): LinuxDesktopWebLoginSession._mergeDocumentCookies has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 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":"apps/main_app/lib/src/app/runtime_bridges/linux_desktop_webview_adapter.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e72748ef191ca53867da3badc8c48892d8076ce991b8697f086833108abf7a"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomDanmakuController._attemptDanmakuReconnect (cognitive 18): RoomDanmakuController._attemptDanmakuReconnect has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (8 pts), error handling 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":"apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b8702262c5a727f3d8a7bdcd50c5ca1700a8f8317cea86cc5b9c5ec256f871"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomViewUiState.== (cognitive 18): RoomViewUiState.== 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":"apps/main_app/lib/src/features/room/application/room_view_ui_state.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef9ec846947661e45a964b005c64d34f565b43589f38a456a0005c410155639"}},{"ruleId":"D2","level":"warning","message":{"text":"RoomPictureInPictureCoordinator.enterPictureInPicture (cognitive 18): RoomPictureInPictureCoordinator.enterPictureInPicture has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, 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":"apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f621f64b24ad4d3d6062bbb4250ac54792b21f3a5b8dd59872f95895db953151"}},{"ruleId":"D2","level":"warning","message":{"text":"_PlayerSettingsPageState.build (cognitive 18): _PlayerSettingsPageState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 3 (4 pts), loops 4, boolean chains 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef006a4f96c4229b10b7dbfb736ea87e6917a77739534aeaa29f8287c18843d"}},{"ruleId":"D2","level":"warning","message":{"text":"_RustDanmakuBatchMask.allowListBatch (cognitive 18): _RustDanmakuBatchMask.allowListBatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 1 (2 pts), error handling 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":"apps/main_app/lib/src/rust/danmaku_batch_mask_ffi.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab47e88df31a95c46a8d1d0cb2dc6e538efca7796513a35ee5c50f5340b5e0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateLlHlsProxy._resolveStartupSegmentsForInitialPlaylist (cognitive 18): ChaturbateLlHlsProxy._resolveStartupSegmentsForInitialPlaylist has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afda396de5312851a77cd1342cb49c53c45cab129a490c5650631d080914caf"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._prefetchAsset (cognitive 18): StripchatLlHlsProxy._prefetchAsset has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0e16cf830ebe06a60108d060df10f2c728688afdc5fa69f38f296d36f00c2a"}},{"ruleId":"D2","level":"warning","message":{"text":"TwitchProxyResponseGate.streamChunks (cognitive 18): TwitchProxyResponseGate.streamChunks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (5 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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a86197682b6d5b2c74172452f5e3c08aec96ae9545e8cb6a774d98c9b78d9d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateMapper.mapDanmakuPayload (cognitive 18): ChaturbateMapper.mapDanmakuPayload has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (7 pts), 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c352add1fed35f5b7798e8ffb29e0e345aa8b3c6ff8d76224e32a3ab5fa62ad0"}},{"ruleId":"D2","level":"warning","message":{"text":"HuyaMapper._extractJsonObject (cognitive 18): HuyaMapper._extractJsonObject has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/huya/huya_mapper.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4722464758d6e925881c53b63db7654e797190eb1bdb7f063bf3e10a51f9e8"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubePageParser._scanJsonValue (cognitive 18): YouTubePageParser._scanJsonValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, 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":"packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec0fe60ae6cc29e4396e83973c109ec70fe34a81cb97ed14a14eb00a75f8130"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncSnapshotJsonCodec._decodeHistory (cognitive 18): SyncSnapshotJsonCodec._decodeHistory has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/model/sync_snapshot_codec.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd8ad31cb0e3f7cce2bcab2c2b7e33c4942e185efd35d4018985f184fb0c668"}},{"ruleId":"D2","level":"warning","message":{"text":"_0xdaf8f6::decorateConstructor (cognitive 18): _0xdaf8f6::decorateConstructor has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (8 pts), if/else 2 (7 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":3368}}}],"partialFingerprints":{"codehealthFindingId/v1":"137c5c30fa408d718a42be6d237202457508274ce387580b7f198dbd89a67cf4"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x45fbef (cognitive 18): _0x45fbef has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 3, 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":4343}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4dbcf450dad7f292ce0d215ba52fcd62a6d161d41701c85e5072a118e6e27d"}},{"ruleId":"D2","level":"warning","message":{"text":"_HomeProviderFeedTabState._loadRecommendPageWithRetry (cognitive 17): _HomeProviderFeedTabState._loadRecommendPageWithRetry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 1 (3 pts), boolean chains 2, error handling 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":"apps/main_app/lib/src/features/home/presentation/home_page.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"31264b61610c7d916ad7d640cc162c3fc2345c5910450bb054c89fa1e7c170b6"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportFollowListJsonUseCase.call (cognitive 17): ImportFollowListJsonUseCase.call has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (6 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":"apps/main_app/lib/src/features/library/application/manage_follow_transfer_use_case.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7544ca17b6c9b7a55fa65efbaf07bcdbac4131998197fb5210f1c918118e2703"}},{"ruleId":"D2","level":"warning","message":{"text":"_PersistedImageCache._refresh (cognitive 17): _PersistedImageCache._refresh has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 4 (7 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":"apps/main_app/lib/src/shared/presentation/widgets/persisted_network_image.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cc526c5c82c3f6751ae7030aa18682e716e0240a15b922f35faf6924cc3ded"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatMouflonKeyCache.mergeRecords (cognitive 17): StripchatMouflonKeyCache.mergeRecords has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (3 pts), boolean chains 2, 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_mouflon_key_cache.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacba1006b501538a9dfe7c5765aab942f2df98f43ac633a33a402834042106a"}},{"ruleId":"D2","level":"warning","message":{"text":"TwitchAdGuardProxy._writeVariantPlaylist (cognitive 17): TwitchAdGuardProxy._writeVariantPlaylist has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7 (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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed986b02f2f76b82dfddc6c9def960d5483139dae34285033d7766603ee108b"}},{"ruleId":"D2","level":"warning","message":{"text":"MpvPlayer._escalateArcDecodeTierAndReplay (cognitive 17): MpvPlayer._escalateArcDecodeTierAndReplay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 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":"packages/live_player/lib/src/mpv_player.dart"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9436a5a7b9eaef08c46d093e2de5c4ee500c47c6255cadd8cf67f23850e7e0"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatDanmakuSession._replayHistory (cognitive 17): StripchatDanmakuSession._replayHistory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 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":"packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5b2ca5f1cd38cfb43b60824e3b829aff410b6fec16d8c883330647973e57dd"}},{"ruleId":"D2","level":"warning","message":{"text":"TarsInputStream.read (cognitive 17): TarsInputStream.read 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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bd1cada5ecfe7a4aa08acfdd441b90bf90b3b0da6c1f63a66d8d59d07698c7"}},{"ruleId":"D2","level":"warning","message":{"text":"TarsOutputStream.write (cognitive 17): TarsOutputStream.write 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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_output_stream.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea797d8b18c8fc4b56a64de89bf39b173d6fc8f15a98722c4e7f8e984471510"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x32dfd4 (cognitive 17): _0x32dfd4 has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (6 pts), boolean chains 5 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"2258118964aafa7f019891e49d90f3d7e90476fc3f924e3752c113e13319e0de"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProviderCategoriesPageState._loadCategories (cognitive 16): _ProviderCategoriesPageState._loadCategories has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (4 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":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1c5c87a5fd2c34f18416e2058a46aac009f9c58978dab3e2a4f09c2e1adc99"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportFollowListJsonUseCase._restoreFollowImportSnapshot (cognitive 16): ImportFollowListJsonUseCase._restoreFollowImportSnapshot has cognitive complexity 16 (threshold 15). Drivers by points: error handling 5 (11 pts), loops 2 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/library/application/manage_follow_transfer_use_case.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3ccea69c98d75a06286e03b33df71b6966e62d1fb0c16f68d6ceed42b1f162"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuPreferences.== (cognitive 16): DanmakuPreferences.== has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 16. 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":"apps/main_app/lib/src/features/settings/application/manage_danmaku_preferences_use_case.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e05f3efff8b0d1a0324330a0a6e89cd4566b7ccee0f59c428a8e53c51ee073"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebCookieLoginPageState.build (cognitive 16): _WebCookieLoginPageState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), loops 2 (3 pts), ternaries 3 (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":"apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3470f6594db6e48419e5bd6a23100ebd4694e138dc4f1159a8c9f59f840cce6"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterSecureCredentialStore.open (cognitive 16): FlutterSecureCredentialStore.open has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, error handling 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":"apps/main_app/lib/src/shared/application/secure_credential_store.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfeb93dd098fdf0eea93e1c50a100e81b5b2dcbee5c23a3ed64861c6f7351da"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveRoomDetail.== (cognitive 16): LiveRoomDetail.== has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 16. 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":"packages/live_core/lib/src/model/live_room_detail.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc73dc1e749e605ec4f682c8f74bef87ae0ff31c1a694c5944d737288ac23bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateLlHlsProxy._handleRequest (cognitive 16): ChaturbateLlHlsProxy._handleRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3e262cef88939a4b08236ba59ec655ae3ae94a146f5381d038f013e5ef1aeb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateLlHlsProxy._selectVariantForQuality (cognitive 16): ChaturbateLlHlsProxy._selectVariantForQuality has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac39d7d2a7e175c5acf4d4773f844f1d6b20a7485b6dae2cfb905194ca5fd1c9"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._awaitStripchatEdgeWarm (cognitive 16): StripchatLlHlsProxy._awaitStripchatEdgeWarm has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, loops 2 (3 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1e30e384b18b36fd80e466b62d548ed89915e09ea8690afd490f79133637e6"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._resolveDecodedBridgeUri (cognitive 16): StripchatLlHlsProxy._resolveDecodedBridgeUri has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2497}}}],"partialFingerprints":{"codehealthFindingId/v1":"9532cc51ff1ed0dcde8c6e90793289bddda80da9f4a21e2af92d83a68c04bd86"}},{"ruleId":"D2","level":"warning","message":{"text":"StripchatLlHlsProxy._collapseMasterToPreferredMediaPlaylist (cognitive 16): StripchatLlHlsProxy._collapseMasterToPreferredMediaPlaylist has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 3, ternaries 1 (3 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"8844f20eadc090823f6cd38b617fbdbdd88970213001cf4ed4f8069b81d45532"}},{"ruleId":"D2","level":"warning","message":{"text":"TwitchProxyResponseGate.pipeUpstream (cognitive 16): TwitchProxyResponseGate.pipeUpstream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (5 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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"3143b8bf8df5be609556ae6e78f51bc66ad0491bb33ca97c238d24ea118c7e55"}},{"ruleId":"D2","level":"warning","message":{"text":"MpvPlayer._openSourceUnlocked (cognitive 16): MpvPlayer._openSourceUnlocked has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 5, boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_player/lib/src/mpv_player.dart"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d60cd2104496ebd95adea8e1a745a6453023dd61b0c536a92ab1d477a4086b"}},{"ruleId":"D2","level":"warning","message":{"text":"DouyuDanmakuSession._sttToJson (cognitive 16): DouyuDanmakuSession._sttToJson has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 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":"packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feeaa925b1e9c51d9d7853b464e1fd3eafd9b2e085a46573a1d9fd1f84eda19"}},{"ruleId":"D2","level":"warning","message":{"text":"BilibiliLiveDataSource._fetchRoomPlayInfo (cognitive 16): BilibiliLiveDataSource._fetchRoomPlayInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, 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":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7618727de5cfd365e79b0e950cc6f926b9f1aa597f04fd28354457c7aba7e38"}},{"ruleId":"D2","level":"warning","message":{"text":"ChaturbateMapper._selectVariantForQuality (cognitive 16): ChaturbateMapper._selectVariantForQuality has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"05397f708b01e9c47df842bde2e8fcb260cc8d830afbfffa433c7fb2320bd73d"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpStripchatApiClient.probePlaybackPlaylist (cognitive 16): HttpStripchatApiClient.probePlaybackPlaylist has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 2, error handling 1 (2 pts), 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":"packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a6b3a2de838ba3a75467bd31216076bcb65648b3d0fccf8ec129d95da32aeb"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x281b3b::_0x13d7df (cognitive 16): _0x281b3b::_0x13d7df has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (6 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"df559d8f8012cf9479fcae5b202e10636c613784f8692634342d46050e16a908"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x4591cd::_0x2de5e4 (cognitive 16): _0x4591cd::_0x2de5e4 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (6 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b01ec9978c79303f01ffcd95dffd3b944f07cb3de501fa6a7bef46be2080dae"}},{"ruleId":"D2","level":"warning","message":{"text":"_0xed525b (cognitive 16): _0xed525b has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (6 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"844847bcf803b374168a1afec5ea8dfae3bcf1212f66a56110c7ffcbf06086a8"}},{"ruleId":"D2","level":"warning","message":{"text":"_0x2195cd (cognitive 16): _0x2195cd has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 2 (3 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/main_app/assets/js/douyin-webmssdk.js holds 32 of the 157 methods over the threshold \u2014 including the worst \u2014 and 993 of the 2753 points over it (36%), 2.4\u00D7 the next-largest file (packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart at 414). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6040}}}],"partialFingerprints":{"codehealthFindingId/v1":"8973d259dc37d3067ab810540ba0b9d8710335658624833df88709fcacddea46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/douyin-webmssdk.js: FileTooLong \u2014 5250 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 100% of them inside a single declaration: crawler (30-7029). The bar is 1500 significant lines; this is 3750 over it, 3.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":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0641cd5821b457de351139ffb1490ca25d451809062e2db4c9b6ae454484b58a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StripchatLlHlsProxy: ClassTooLong \u2014 2609 significant lines (blank, comment-only and punctuation-only lines excluded), 85 methods. The bar is 400 significant lines; this is 2209 over it, 6.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c974dc56841849289e0395dd4b5fc626f50e5fa355147d810906633424a718"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stripchat/stripchat_llhls_proxy.dart: FileTooLong \u2014 3232 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: StripchatLlHlsProxy (59-3649). The bar is 500 significant lines; this is 2732 over it, 6.46\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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a564eb7f0e811cca2b56db8e452b010995741ccf10c9066cf6ae6d39f6a2a032"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoomPlayerSurfaceSection.build: MethodTooLong \u2014 build runs 403 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 303 over it, 4.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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec129c4ea67e39d681c759d9a523cdf4e1983016d461d5fbd36f86dc839e4b9f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChaturbateLlHlsProxy: ClassTooLong \u2014 1547 significant lines (blank, comment-only and punctuation-only lines excluded), 85 methods. The bar is 400 significant lines; this is 1147 over it, 3.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7455bc0840b67c196018c9d74400f7cff962ef358f76f98ff52e3eb484fc9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chaturbate/chaturbate_llhls_proxy.dart: FileTooLong \u2014 1908 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: ChaturbateLlHlsProxy (132-2249). The bar is 500 significant lines; this is 1408 over it, 3.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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92a343b94b3fa8dca0bcd1e78dcc0923a692a2e4226832c886834c13b75666a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ProviderCategoriesPageState.build: MethodTooLong \u2014 build runs 318 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 218 over it, 3.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":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d70dedb9e504312515e59adfae54332b844cb3033d4213ced766e9bd20be86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StripchatLlHlsProxy._materializePlaylistImpl: MethodTooLong \u2014 _materializePlaylistImpl runs 301 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 201 over it, 3.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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e77e985db64998bc1d779403060928d85cf6389931476a907081e4617bc3ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FollowWatchRow.build: MethodTooLong \u2014 build runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b27ef5518413edf0fced96c2ec93b70a06a8f60326da407d46decd38b24e74"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _RoomPreviewPageState: ClassTooLong \u2014 1159 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods. The bar is 400 significant lines; this is 759 over it, 2.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1acf43fb6cda5d5fd6bb061f158575d77ee8dca20ba878915879566903a0e5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChaturbateLlHlsProxy: TooManyMethods \u2014 85 methods. The bar is 30 methods; this is 55 over it, 2.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b7ce89c6afd19bfe6e556f8d40e355f019292537b1a9c39a9de75c3b51ecf5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StripchatLlHlsProxy: TooManyMethods \u2014 85 methods. The bar is 30 methods; this is 55 over it, 2.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a538e421b5b2f1b649e8099326b765ef6cd77a4d5f15918a58dc8f01d5ba4ca4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RoomPreviewPageState.build: MethodTooLong \u2014 build runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.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":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"abef521c5e45994dda595a7922e150d668b45d80c88a5e8d623ca603fc4b07db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SyncLocalPageState.build: MethodTooLong \u2014 build runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a338a5a90e7e639543bbdd1ca2aa1755cbc21cb0514d01e39b032b12c074873"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: twitch/twitch_ad_guard_proxy.dart: FileTooLong \u2014 1269 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: TwitchAdGuardProxy (13-1235). The bar is 500 significant lines; this is 769 over it, 2.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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcb1c478c637bedc8c10dd574294b11b4d263dd50b1765f268582d1139d474c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _RoomPreviewPageState: 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":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca66f5fcbf4d6b0674378f56d12504a5a51003cd610b5281ef3edbf76e055f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PlayerSettingsPageState.build: MethodTooLong \u2014 build runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e12d5c8e4b735447c69f96bd7b4b80365d389bc72fbf07e9e8e5128b57da9d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/room_preview_page.dart: FileTooLong \u2014 1221 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _RoomPreviewPageState (129-1723). The bar is 500 significant lines; this is 721 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":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2a0c6262fe03b5385eaedc7c8fe6a55057dc3089d1efc33011c3f8bb32f4e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoomTwitchRecoveryController.scheduleRecovery: MethodTooLong \u2014 scheduleRecovery runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a91b40259d567e7f4d95c3852ec0338b00225c0e2f8699adf8b7b88d64b72e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChaturbateLiveDataSource: ClassTooLong \u2014 964 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 564 over it, 2.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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd98df56112bd4e35aad23a907757c3dc3c932183019283ed275724dac23e4c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PlayerSettingsPageState._buildAdvancedOptions: MethodTooLong \u2014 _buildAdvancedOptions runs 233 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 133 over it, 2.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":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1cdef479871c78db29f8b1c53d1644e0e25ec01f10d97e75d8d51409202323"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TwitchAdGuardProxy: ClassTooLong \u2014 908 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 508 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f15d98f7ecb656dbfb85a93976e8c252505d1318138b033408abc688ce2c0d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DanmakuSettingsPageState.build: MethodTooLong \u2014 build runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/danmaku_settings_page.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"51825aaf4bface6cb2fcd78231e76cb459c7684f218ed40efb8571228627b3fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoomLoadingRoomShell.build: MethodTooLong \u2014 build runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"db38ecad9a4c05926600048374ffa111b25ecd98255628f54dafd37f505507c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MpvPlayer: ClassTooLong \u2014 884 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 484 over it, 2.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_player/lib/src/mpv_player.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"90393b817954e9ca348999eb8d8921721532fe5d11b1624428d9f591c6326100"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AccountSettingsPageState.build: MethodTooLong \u2014 build runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dc73d1afe59d29c80923cb5ca596f81ff02b66a62489dab347727654edbf57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NoliveTheme._buildTheme: MethodTooLong \u2014 _buildTheme runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.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":"apps/main_app/lib/src/shared/presentation/theme/nolive_theme.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfc7186ccce658c3e05bebe3635e08a1dce034fd5883a0e772e8ef6ba8d310c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _FollowSettingsPageState.build: MethodTooLong \u2014 build runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10abb5fdf2bc3ab3c8f3869de9a30a3c78ad2e3e9c5c4d70f5981bf8cfad3c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RoomPageSessionCoordinator: ClassTooLong \u2014 832 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 432 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":"apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"431499dce833c02e819c5a34e1781f8e6f2237d0ecc666392771197a03ee4c29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mpv_player.dart: FileTooLong \u2014 1025 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: MpvPlayer (184-1403). The bar is 500 significant lines; this is 525 over it, 2.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":"packages/live_player/lib/src/mpv_player.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"314d9c751b4211fac02904ea9be5bfc0649b5d5b0e48d84098a37adc621d2a62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: application/manage_snapshot_data_use_case.dart: FileTooLong \u2014 1012 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 512 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":"apps/main_app/lib/src/features/settings/application/manage_snapshot_data_use_case.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35525625aa279f88cc1cafc651cf73ff27a0d97d0106f3f28af86289eff3ca02"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StripchatLlHlsProxy._handlePlaylistRequest: MethodTooLong \u2014 _handlePlaylistRequest runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db148dd2b54ebaaaad80ca458158838d8590f5438460d22e8fdcdcc092a688e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StripchatLlHlsProxy._rewritePlaylist: MethodTooLong \u2014 _rewritePlaylist runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"248f64070196e1141a95b2b653a6f508532bf643a59ef64dcb4a239222501d5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chaturbate/chaturbate_live_data_source.dart: FileTooLong \u2014 1001 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ChaturbateLiveDataSource (56-1354). The bar is 500 significant lines; this is 501 over it, 2.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d95056aa6658e3d66ceae723f3d695f446b177be49f25a604ab2d96d8854378"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RoomPreviewPageState.initState: MethodTooLong \u2014 initState runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe2c716f01b0a604b7de33c033769d6a9d6eba3cd1c6d7da3aa8b84ef8db282"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MdkPlayer: ClassTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 360 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":"packages/live_player/lib/src/mdk_player.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f2a5d2bc873d9159154da3aadea430472a4343b54954a2be9c237554e20ab6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MdkPlayer.setSource: MethodTooLong \u2014 setSource runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_player/lib/src/mdk_player.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9e4fce682f92d74d57676cdc0910fac2e6c756980a438e5789de12fef222d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mpv_android_surface_manager.dart: FileTooLong \u2014 939 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 439 over it, 1.88\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":"packages/live_player/lib/src/mpv_android_surface_manager.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"596321b0d7710745b3e99f0ad3730061ebd298943286a3cea81b4a6e02c61534"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: YouTubePlaybackDataSource: ClassTooLong \u2014 743 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 343 over it, 1.86\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3908c2cba04387c7878c9f235379ef5a469dda9559ae2ec34b3391cfad646b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoomFullscreenTopChrome.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":"apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"705fe2f7b8c8140dabbd1ed23ee69d36667ed426e384341a3cda018ba7912c7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mdk_player.dart: FileTooLong \u2014 885 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: MdkPlayer (15-1024). The bar is 500 significant lines; this is 385 over it, 1.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_player/lib/src/mdk_player.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ea63523dd5fc42422b6e86b6b4b094624f95a060196b1f2a121b68be2b8b63"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RoomFullscreenSessionController: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_session_controller.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6264954b6f4c67f26576dd2c332af5057ce11435ad0d40c8137eec8f4e51360"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/room_page_session_coordinator.dart: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: RoomPageSessionCoordinator (52-1176). 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":"apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"781e55c045b97add105a1bbce45e58c5a135cdbd8d9d755a1fe99387f04cf159"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _LibraryPageState: ClassTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 272 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":"apps/main_app/lib/src/features/library/presentation/library_page.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bed8445f5e3c12a0abaa76dbf6b94f9e03eae221a18a3caa4d1eeef9447ee1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SyncLocalPageState: ClassTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 272 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":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e38093c5d837ba1e662c01357e7d5d3fd842a117977f4c22429d292ce33a7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ProviderCategoriesTabState.build: MethodTooLong \u2014 build 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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d9b1eb43c6b5db9b37fdb1dc30c8cff679f53f95eea5c4efa22809dbe9b8d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: YouTubePlaybackDataSource.loadPlaybackBundle: MethodTooLong \u2014 loadPlaybackBundle runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"967390b7154def265b0512e965e03728ee30de5691e0aaeb193aeb230c6ba90a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RoomDanmakuController: ClassTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 263 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":"apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf4e08085c4887036c2e698f367cf49c530ee627b994a4c6461a4e576af70a4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ProviderCategoriesPageState: ClassTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 262 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":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"84acbcd4ea7aca630f34a5969ed03c43879e60e76a33e07812952e9d189f8ce1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/sync_local_page.dart: FileTooLong \u2014 813 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: _SyncLocalPageState (37-968). The bar is 500 significant lines; this is 313 over it, 1.63\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":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"549f2095951278a89173b4f6417194920d8604cb1fd7d61622b905a479fa50fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChaturbateLiveDataSource: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece2a256aaef156aadeecd2c3737f90289ceb1a8f12558e382725cfbe3c74866"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TwitchWebPlaybackBridge: ClassTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 227 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":"packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2480d5963b983b77d8f16994cb1314abf596bef64354899f6c72533a8fc1ceb2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RoomPageSessionCoordinator: 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":"apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7026b2d9ce3c9cb1a21586381e1132582a0ed1b2fc9162c5efa89d08ff0db9bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: application/room_danmaku_controller.dart: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: RoomDanmakuController (150-1058). The bar is 500 significant lines; this is 278 over it, 1.56\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":"apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7c4503bd410ddf444536537279802d0e35327f508ff46ccc6b4f94d6742e11"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoomControlsPanel.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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_controls.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1085fd15cd350deaa0b542bd52e8f59fc151dab4a09c52349f9fc2d8064ead3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/library_page.dart: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: _LibraryPageState (36-1004). The bar is 500 significant lines; this is 262 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":"apps/main_app/lib/src/features/library/presentation/library_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87c9e34589057e2900dab627da3738004616605b46f5f52afb7f1b0bd9729fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mpv_property_configurator.dart: FileTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"packages/live_player/lib/src/mpv_property_configurator.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f1a36842f6f91447beb2011a21dc6af2ab9e573c26bb1aa90f77c87b901a8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: youtube/youtube_playback_data_source.dart: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: YouTubePlaybackDataSource (15-1026). The bar is 500 significant lines; this is 254 over it, 1.51\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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"996f8452f8bcb8930a1f548b62bb0fcc75a5fc9547165e6f0829521d82ae3ea1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bootstrap/bootstrap_internals.dart: FileTooLong \u2014 753 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 253 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/app/bootstrap/bootstrap_internals.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7690979efdf590bccffd8102fccff47c46a181a78092b67f2fddeb1467d57965"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RoomDanmakuController: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4c64af927f497599d50ba21b3deca36ebdd5256e2c52c30f98ffdb6acadef0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/follow_watch_row.dart: FileTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 249 over it, 1.50\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":"apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fca2ea41d419559c4fdbfb3f2997e96b74fa29fd086c72e2c0655e8726fde9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RoomSettingsPageState.build: MethodTooLong \u2014 build runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/room_settings_page.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f471248632a6f16ee5052517c1e765e0f2b6c53d51404bf7b6815e3150950454"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StripchatLlHlsProxy._handleAssetRequest: MethodTooLong \u2014 _handleAssetRequest runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39f3a711bc22c3ca5080250c9829ef44f9b5370842244477ac4b9a7383eb653"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoadPlayerPreferencesUseCase.call: MethodTooLong \u2014 call 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":"apps/main_app/lib/src/features/settings/application/manage_player_preferences_use_case.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1db7486701f174400ae43bb72c3bf3f23cc1346f8a52cc1e81f9563d20100db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MpvPlayer: 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":"packages/live_player/lib/src/mpv_player.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7fc378ce195c2d1e70a704b35d9acc640175fe1744e49f51c4e6c598e48698"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WebCookieLoginPageState.build: MethodTooLong \u2014 build runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"26596969f4a94d92baa1cb773a5035d7d0e54a67f35fd7d6cec51363218055ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/provider_categories_page.dart: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: _ProviderCategoriesPageState (34-946). 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":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d629749c2e013ccc62361fa6b69117a73c215b79d1fb8f3dc5daa988d55949"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainActivity: 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":"apps/main_app/android/app/src/main/kotlin/app/nolive/mobile/MainActivity.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ac35546b12b236e299364448038c6967c03cd505eac5f4225b21bb4ae40ade"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/browse_page.dart: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 194 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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21ac7134d5114ddb5ce66f99004bd962700364a2dad38895cb9a31746b1df95"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _PlayerSettingsPageState: ClassTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 148 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":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f9d0c9f58a07beaacfc59c8d3311406bea9448400efc43f305e4a6b5ac78af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/account_settings_page.dart: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: _AccountSettingsPageState (24-682). The bar is 500 significant lines; this is 184 over it, 1.37\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":"apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaea747c3be46ab7983687808627555bc5e3f008166de1119f526e7e366cc73"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MdkPlayer: 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":"packages/live_player/lib/src/mdk_player.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd232c33407530c9dcfb1d30fd1f8ae3371f5051aeb4820ad72005eea48a3fc6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MainActivity: ClassTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 143 over it, 1.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/android/app/src/main/kotlin/app/nolive/mobile/MainActivity.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c56e107a9e2a1065552c78c3ed530367999f85e623196ed51ab7fa764d5eda"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChaturbateMapper: ClassTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 141 over it, 1.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e95c9cbdde4fb5a587fa463b8f0b659988aa0da43e647ad21f0a72245fb135e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StripchatMapper: ClassTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 141 over it, 1.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/stripchat/stripchat_mapper.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a678dba5746791fccbd988102ebd132a29dc3ccbe6396e655b6c760352434d3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/room_preview_page_player_surface.dart: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: RoomPlayerSurfaceSection (308-885). The bar is 500 significant lines; this is 174 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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cd1b7b9f340aafd89360ebcd1fc914039ef664876b43167f38fa578c21ff1b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StripchatMapper.mapRoomDetail: MethodTooLong \u2014 mapRoomDetail 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":"packages/live_providers/lib/src/providers/stripchat/stripchat_mapper.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"17069dea8753cde00fbf96e292e23744a8ebf18ae71b3ce27b7a2f912c9b33e7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RoomFullscreenSessionController: ClassTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 400 significant lines; this is 126 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_session_controller.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"892d4e2c95e47d701b685dbe83aab7ae514848c66a7a94838577a85e4426ca0d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RoomPlaybackController: ClassTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 126 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ffbacd93b08969d25be61639d97d90984576f363df2b1bae92be92254517cf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BilibiliLiveDataSource: ClassTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 125 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3a79143caec87ea860a0c5d13875f728f8728d6c80b61c87dcaccf6e3de874"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SyncWebDavPageState.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":"apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"30db1a96e19237cb4c27f84e266ead582861d238c787f3644bcd301a7f773012"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: application/manage_provider_accounts_use_case.dart: FileTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 146 over it, 1.29\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":"apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8438ec3035666fff47e95c4215fdf55facdb844c0b4f016b17c45bfd87e5547"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveRoomGridCard.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":"apps/main_app/lib/src/shared/presentation/widgets/live_room_grid_card.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef98f3f33a503e17878044790de8ab2a725278c1f5ebda2cc328d49ebbff7242"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: YouTubePlaybackDataSource.fetchPlayUrls: MethodTooLong \u2014 fetchPlayUrls 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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fee222bd97ea410f7dbe068ae5827c3078e07a67d774eda2f782d68a26bf50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: twitch/twitch_web_playback_bridge.dart: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: TwitchWebPlaybackBridge (10-855). 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":"packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1314b79ecd446a81f7f10c41b5f536368a8bbd233bc89e84856c2f3fd5a6aea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoomChatPanel.build: MethodTooLong \u2014 build runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_preview_page_chat_panels.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1aa8a45726f017c1dd4724345ddd54c20caa64dd4e107a65df9d75ab7a704a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: YouTubePageParser: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"88404d904d988ef3789e333d2ef4ca4cc50fca296b4f3bd64d7040e23b97dcb4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HttpStripchatApiClient: ClassTooLong \u2014 491 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 91 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d4a0e46dd01c2ac697cd64ef13c458e5501d9f64707971197fa12b1007b145"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: youtube/youtube_api_client.dart: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: HttpYouTubeApiClient (188-765). The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"378e80cc7d75d893f0cd0526480c80b068b5a7facbee0606fa6353f2d50fe2d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoomFullscreenBottomChrome.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":"apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c992c131fd13d2c9459676de0599eb652624307fe5fc9ff801ae1fdff213c267"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TwitchAdGuardProxy: 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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c8b409c6b0ccb0f6f364f8ab18f74d9b67caa226b124c8f30eed5693c5b9de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: YouTubePlaybackDataSource: 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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0ca424e85f2df70eaffcc84358c36e0effecdcead42a68893a59425a275cfb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HttpChaturbateApiClient: ClassTooLong \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded), 31 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f445814c34bb4686e7960391f77c3c9e0c4eef317013b24d225737db068276"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AccountSettingsPageState: ClassTooLong \u2014 478 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 78 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":"apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c235c9837c051fec767b9f1ab5fc44e49329ba6a25909ddd1024bcb2a7859747"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRouter.onGenerateRoute: MethodTooLong \u2014 onGenerateRoute 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":"apps/main_app/lib/src/app/routing/app_router.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce6d50e13a072135c9c3ae5f44f899fce2e15fbdb22c18c6afe0daa510a7287"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: application/manage_player_preferences_use_case.dart: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 91 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":"apps/main_app/lib/src/features/settings/application/manage_player_preferences_use_case.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a1e894f7fa30fba778a3ded544cfd187a8b98490521e68b867cee1cbc05fa7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/room_fullscreen_session_controller.dart: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: RoomFullscreenSessionController (81-855). The bar is 500 significant lines; this is 90 over it, 1.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":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_session_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e14db552ee873e32bb9ad589d35fa14e8b723df084cfa14d355cd70c36a3ffc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: application/secure_credential_store.dart: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 85 over it, 1.17\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":"apps/main_app/lib/src/shared/application/secure_credential_store.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ef09f814ff26ca70f8b7cb8f5ada30497a62b07e8a79c107be40ae0df0cbae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/player_settings_page.dart: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _PlayerSettingsPageState (18-758). The bar is 500 significant lines; this is 84 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":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0c647b1bd7e374aa88e6b4c9d4342a0d363c13cb067e869dc31b56f504f475"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/room_fullscreen_overlay.dart: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 82 over it, 1.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":"apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f623d24b751457e2b85759f8ce6680989a2c1feaf80a96a20ff5db21d8d176"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoadProviderAccountSettingsUseCase.call: MethodTooLong \u2014 call 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":"apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7f678ce979eca65819f6d0f26699ed0f04d70d3431143173d2b46e188f99d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: application/room_playback_controller.dart: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: RoomPlaybackController (77-784). The bar is 500 significant lines; this is 79 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":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc522425951b121b65de9a0f136e76c5145537c50ae311e3039ede1944b18c20"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StripchatDanmakuSession: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 60 over it, 1.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f634e5091b8850b15c4fc8c72353d930f0718fdb8844e38db107310c030153"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mpv_hls_manifest_service.dart: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 75 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":"packages/live_player/lib/src/mpv_hls_manifest_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8848af58e5660996d79345ab94c693c2805317cb551af3039de0a8eba3e0916d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoomPlaybackController._flushPendingPlaybackBootstrap: MethodTooLong \u2014 _flushPendingPlaybackBootstrap 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":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7edd1c3215433d3cc96fcb15471fc065f3b78ee570ac29ac9d2998a646378f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: persistence/local_storage_file_store.dart: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 69 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da70fc985438573c32ad7094027152334c65e53409c65e3aa66517449ce45531"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mobile/MainActivity.kt: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MainActivity (28-812). The bar is 500 significant lines; this is 68 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":"apps/main_app/android/app/src/main/kotlin/app/nolive/mobile/MainActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f59a4f52611058e528f92d4ad29290f636b4babf06a4db3f1a67a2dfcce3e8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HttpYouTubeApiClient: ClassTooLong \u2014 450 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 50 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":"packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08a3e2cee78af399cd3f22c193fc99a60c77a4c80b1cd1d1230689a5d29776d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stripchat/stripchat_api_client.dart: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: HttpStripchatApiClient (109-768). The bar is 500 significant lines; this is 60 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":"packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"857e0bc201c4cb016276b4dc5800f79c2cc89bcd253542e79bd45ff558305561"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoomDanmakuController.bindSession: MethodTooLong \u2014 bindSession 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":"apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"71831e831c43063f5d45ec7f502c2a354980826d44739e88912bbe2072503542"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RoomPlaybackController: 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":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1b46b39f6449d2183c0cdedb8c917915f308cc3382d9e0a82d07f4258a4345"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChaturbateMapper: 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1239a71db017821c98c3818cf4f0c28530b6be07630ed051774540066f460cd4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RoomPlayerSurfaceSection: ClassTooLong \u2014 440 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 40 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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d85ef9afe79bb37ca6138270b336d31446d962b6bad77adb819aab976f376ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SyncLocalPageState._editPreferences: MethodTooLong \u2014 _editPreferences 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":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"19300baaefd7c915477b5192b01cd47e876a9e4698d89ed678884652d1a7fdb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/room_preview_page_sections.dart: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a116e5258c37b675ca3038896ccde4760e36d828f649a7780c55da0c97ecdae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stripchat/stripchat_mapper.dart: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: StripchatMapper (6-817). The bar is 500 significant lines; this is 49 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":"packages/live_providers/lib/src/providers/stripchat/stripchat_mapper.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bf6a169fe868b2f6884d17b7f1e0f29bf1fce864ce1b6ebf17840108e0269d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chaturbate/chaturbate_mapper.dart: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ChaturbateMapper (9-736). The bar is 500 significant lines; this is 47 over it, 1.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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5f66b464068c7e968bb8cab51e7ff2af6a78702e0bbd417be58ca4c17107fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LibraryPageState._buildBody: MethodTooLong \u2014 _buildBody 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":"apps/main_app/lib/src/features/library/presentation/library_page.dart"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"4781b018529937cdfe885b7db916aed012e0ff16e45f7cdbd907cf5d1f75da63"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: YouTubePageParser: ClassTooLong \u2014 434 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 34 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"70252375f7f101db43e871710faee945963d61ad344c061fc253128fa402ca85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chaturbate/chaturbate_api_client.dart: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: HttpChaturbateApiClient (85-738). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae4ab64063e9eee4cbae9eefd4d83e992029eb3e055faad461c1e8e6c0c6cc4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _FollowSettingsPageState: ClassTooLong \u2014 428 significant lines (blank, comment-only and punctuation-only lines excluded), 19 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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfed202e9688ce2e4b6abbfdc304629cf03f377ce7be15190ff546e5f58866a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoomSessionController._loadCore: MethodTooLong \u2014 _loadCore 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":"apps/main_app/lib/src/features/room/application/room_session_controller.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f03a32d4ada1a62c206066ff3b7aefa9ef8613e61430b5b640fd0572739297f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _FollowListBodyState.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":"apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b2e4bba932e6fd12d20b8910e7a1a1b022b003000653c5bf99b3f487ef41bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpStripchatApiClient: 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":"packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5173b960e4fdc58627673f12378a1a078e5949be86b24ba6d2b8e317061961f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bilibili/bilibili_live_data_source.dart: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: BilibiliLiveDataSource (11-712). The bar is 500 significant lines; this is 33 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a46761453c1ae7d0053004e213b133d2a0e5c3b5b546a71c5b8cad3933708f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SyncCenterPageState.build: MethodTooLong \u2014 build runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c591af188bf19ddb8619e8fc7b0e6d7ecb80fc7ed68175d024f83c8bb8ebca11"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoadFollowWatchlistUseCase.call: MethodTooLong \u2014 call 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":"apps/main_app/lib/src/features/library/application/load_follow_watchlist_use_case.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"830987cacfe3e34dee4ce05fd19c37d5709cba8c3e6fc763e80cfae3ee964984"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayerRuntimeController: 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":"apps/main_app/lib/src/shared/application/player_runtime_controller.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9028e83cdcd6830c860df080c2fe9f8abf84f4633881e3b5406e203a27fea4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpChaturbateApiClient: 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b7748c12a6ee674e33e969f218c04a8680f86bbb024f40f0561f129091c5d4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _OtherSettingsPageState: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb903d39d3089e4dfe7abd6b992736a845b1189435520c8b35db0d029cfaf79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HuyaMapper.mapRoomDetail: MethodTooLong \u2014 mapRoomDetail 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":"packages/live_providers/lib/src/providers/huya/huya_mapper.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0dd01d38a02b194721b72a65fde7c364696d4e14cf7df4635594269ab9d2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): packages/live_providers/lib/src/danmaku/tars/codec/tars_displayer.dart:88-111 | packages/live_providers/lib/src/danmaku/tars/codec/tars_displayer.dart:141-163 \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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_displayer.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcab02c725f88e882185b2e5efa10a1d405844e5afbd6d9324461fdaefa172b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:211-241 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:561-586 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:588-622 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:1145-1172 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:1320-1349 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:100-133 \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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"723fda85a6ca290992f4b41f9a23d2e6f0c6644e383d75e4db0126d9ea70105f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart:204-279 | packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:114-127 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:724-825 | packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart:149-162 | packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart:111-124 | packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart:104-117 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8fa675dabf2bea4028b3f4c50fbe0d513d5f1438c61533d359a3c00b7a5aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:462-686 | apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:340-620 | apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart:56-191 | apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:640-967 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:197-367 \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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"0850b4ebf06afa4893f4eba797c72de2c420e59e00fc86da02baaf921d1f667f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2109-2123 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:329-346 | packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart:271-288 | packages/live_providers/lib/src/providers/youtube/youtube_playback_source.dart:94-120 | packages/live_providers/lib/src/providers/youtube/youtube_playback_source.dart:201-247 \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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c09d2f927093a70d34f653d69fb30a9a4f0a0f4fbbdad089af08ca1ca68bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:118-201 | packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:54-168 | packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart:65-127 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:48-109 | packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:53-110 \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":"packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9e9fb348a16b75aac2ec8a3702b4c1071ff049c249b38ebadf7dc7ba942d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:15-37 | packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:91-114 | packages/live_providers/lib/src/providers/douyin/douyin_transport.dart:33-55 | packages/live_providers/lib/src/providers/douyu/douyu_transport.dart:22-33 | packages/live_providers/lib/src/providers/huya/huya_transport.dart:15-40 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfcdb8bd061a5d4cec521f747510471d81cb82d8bf1314bffacb9fb614f2adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart:208-226 | packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:243-269 | packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart:180-236 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:173-187 \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":"packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba58a9ebdc2211b4a332935e75c7d337b438ea256d60d2392ab6d78add918eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:103-112 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart:133-142 | packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart:100-109 | packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart:93-102 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d78888639503b45041f9b57a4ceea0894e85ecb22eb3762dd97b7ae013cae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:116-159 | packages/live_providers/lib/src/providers/douyu/douyu_transport.dart:86-96 | packages/live_providers/lib/src/providers/douyu/douyu_transport.dart:98-112 | packages/live_providers/lib/src/providers/huya/huya_transport.dart:60-103 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef82bdf3428c17df89955b30c0f0885013f328d88d02594da225003331f95f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:27-119 | apps/main_app/lib/src/features/home/presentation/home_page.dart:27-134 \u2014 These two members are one piece of code written twice and then edited apart: 93 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d28b9ad80974e2bde6c2723b7a1ad2041cde59daf1f1b26740e05092b2bb60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart:34-94 | packages/live_providers/lib/src/providers/youtube/youtube_hls_master_playlist_parser.dart:71-147 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63e8014553486193f1acece88927245da5f300fe8ba6ae13c928ccc04100149"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:40-91 | packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:118-163 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc020670cfd0324409075e32bf61536267106d99c0377ffc74116c411df80f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): packages/live_storage/lib/src/persistence/local_storage_file_store.dart:613-658 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:35-81 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"56727f15dc00df73cbe71aa26cbfeca45d7e81c904619d7b41e76191321e9698"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): packages/live_storage/lib/src/persistence/local_storage_file_store.dart:705-740 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:183-215 \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":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc49aeea11165f2ebca7b2bcc536426757dc1ec252ca44ba3586022f5022c42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:219-283 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:224-282 \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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f256b8b27e0a2d64c57fe7342bab70cd115553acfa9a679f22b79ba180f5da11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2167-2205 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:451-488 \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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0c163dd056d7d27b13bfc9552df0f137004255ebb5966f879ea0ae9a14d527"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart:167-207 | apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart:229-285 \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":"apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"17339de370bbfd0df02812317360e74d23693d8b89f631cdfbb5bb3f9aa16ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart:211-264 | packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart:266-309 \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":"packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4feef4b5fb07d2f17e15ae54d01a5789966cf2bc912bb68fa9bdc5a5f726a5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:11-40 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:42-75 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:77-108 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15603bd40a6f7c520f2d666d3eb6ccb1c6d114109ea17750411482a6c9e3865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): apps/main_app/lib/src/features/room/application/room_view_ui_state.dart:46-98 | apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart:194-247 \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":"apps/main_app/lib/src/features/room/application/room_view_ui_state.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bba15fc007e34862f58deaa0301002596895949a53d8a931b93c89cf9f71842"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): apps/main_app/lib/src/shared/presentation/theme/nolive_theme.dart:23-61 | apps/main_app/lib/src/shared/presentation/theme/nolive_theme.dart:63-101 \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":"apps/main_app/lib/src/shared/presentation/theme/nolive_theme.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"941df1022eacbd1c70a5883937a73244e90f89098093c52a03cd757e75ffd9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): apps/main_app/lib/src/features/library/presentation/library_page.dart:474-502 | apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:305-338 \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":"apps/main_app/lib/src/features/library/presentation/library_page.dart"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3b08a75486c08c3781027e5979ee777fd70e14535aeb8566429ea5bcb358b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1315-1350 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1352-1393 \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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fba5435a99fcd25bd2f2b6b2f57e2ccf77573ea6c3253aa3f149b4b933c05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:126-158 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:49-82 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:84-130 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dbd19f30bf216e15d2e42cca0bf9c0eee2efa9e0b66adae15b271a73005603"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart:179-199 | packages/live_providers/lib/src/providers/huya/huya_mapper.dart:29-49 \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":"packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1941bbee81456a8fa6128cebb581fc74b8575e1bfd878a4d98b7e83c5afbee3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart:400-443 | apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart:445-484 \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":"apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e50d9083e1b1a94c6f292bbdc784398940b234967ff3f2d1960d427c362739f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): apps/main_app/lib/src/features/home/presentation/home_page.dart:313-357 | apps/main_app/lib/src/features/home/presentation/home_page.dart:359-400 \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":"apps/main_app/lib/src/features/home/presentation/home_page.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a82e8777c25319d33df5e45c10dab068d0fcb9432a6f17e9c0686da80588def"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:160-189 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:132-169 \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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e5cde50bdb7dc3bfee66e9895c8abe4bfbd2e6773955afc68a2b485e85f6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): packages/live_providers/lib/src/providers/twitch/twitch_playback_manifest.dart:44-71 | packages/live_providers/lib/src/providers/twitch/twitch_playback_manifest.dart:125-149 \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":"packages/live_providers/lib/src/providers/twitch/twitch_playback_manifest.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b954fad0702baa90962580de4e2b0bf6db05b6b4c221be3f16672dcdbe848bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart:38-63 | packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart:65-86 \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":"packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d416ba3b493172da7a505fb1109728eeebdca60281775b25846f492dad630b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:1202-1240 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:1242-1284 \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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b252764019890091f0939f5b49e622f094a20196a920d2b12404690a7329e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): apps/main_app/lib/src/features/library/presentation/watch_history_page.dart:74-108 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:438-477 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:479-516 \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":"apps/main_app/lib/src/features/library/presentation/watch_history_page.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd78c1b2ff286f93288157ac386fc8987558a9b6bdadae5313787aacb2c91f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): packages/live_providers/lib/src/providers/douyin/douyin_live_data_source.dart:514-531 | packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:24-38 \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":"packages/live_providers/lib/src/providers/douyin/douyin_live_data_source.dart"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f4f240160fbcc73eab42a29334c4f35b266f3c9b600ae370b7b14eea61111e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:329-345 | packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:762-778 \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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0384ea056a968a7ef13cc93a85c4d90faaed447fb00ecc16ed75c6bdcebf31e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): packages/live_player/lib/src/mpv_player.dart:1204-1227 | packages/live_player/lib/src/mpv_player.dart:1229-1251 \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":"packages/live_player/lib/src/mpv_player.dart"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"12669c159c3a6dafef36ff749a8b7849898dd34405ed9a6df7cd186d63559dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 37\u002B corresponding lines): apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart:21-57 | apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart:63-110 | apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart:116-163 | apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart:169-206 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 37 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":"apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f93802a73d83122d64c5310d04c3f1d1bce68f7000af091cd5e821545603a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): apps/main_app/lib/src/features/settings/presentation/linux_desktop_web_login_page.dart:131-154 | apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart:305-333 \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":"apps/main_app/lib/src/features/settings/presentation/linux_desktop_web_login_page.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b966cf222c22e7dda120f1139a2dccb9438b4031d8acdeb1949116f138f29c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart:528-541 | packages/live_providers/lib/src/providers/bilibili/bilibili_mapper.dart:28-48 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"74edfc33f29a1469e359967083f448fb481ca3eb715df372f10d4365de0c0be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart:267-302 | packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:250-278 | packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:127-155 \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":"packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"9661735209169b05f813c959b1228a65d56e7ee30399ef2805110c11ffcfa9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart:134-155 | packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart:157-175 \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":"packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5651f49bbd18ae27f570e281e36a694ca8e8983333fe9ef8a2520cfa250f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart:473-502 | packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart:504-526 \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":"packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"07efcaf4792edf2f885c1d7dfbcd83625560b401663c8b2fa539c8924e0ed921"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart:363-376 | packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart:33-51 \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":"packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9381c2c2717c9c9040c73149767ac62004fcaebeadce64f2caa977d2987c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): packages/live_providers/lib/src/providers/twitch/twitch_graphql_client.dart:107-138 | packages/live_providers/lib/src/providers/twitch/twitch_graphql_client.dart:167-198 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/twitch/twitch_graphql_client.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1e058760724934ec8b55fce9acd1a398228c5f7d5bbbd30e24e1887df79d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): packages/live_providers/lib/src/providers/bilibili/bilibili_mapper.dart:10-26 | packages/live_providers/lib/src/providers/stripchat/stripchat_mapper.dart:274-292 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_mapper.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce341d7993a6e40eb4e1afca8faaeb938fa6146916d2ccf2f6d85eaae0dedebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): packages/live_player/lib/src/memory_player.dart:72-97 | packages/live_player/lib/src/simulated_backend_player.dart:87-114 \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":"packages/live_player/lib/src/memory_player.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c44de633d18ae3892e9c59389523f6d03f1b6b1b5bd6d9bf487a23fd8418d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart:132-156 | packages/live_providers/lib/src/providers/stripchat/stripchat_provider.dart:127-161 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3744ae774b085ca1c05f87b2501062ba7a0e8aad3cfe83ee3519343f345ea122"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:129-146 | packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart:164-181 | packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart:126-143 | packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart:119-135 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 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":"packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8057d2572e031e4dd53bcb1c96e1a90eaba79a659f56d164a945756cc9d0b837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart:152-169 | packages/live_providers/lib/src/providers/stripchat/stripchat_preview_data_source.dart:168-184 | packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart:190-210 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c5a8762e38c6324f190d8088a928f75c09cb9768126d8b26f51645ba57d0f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): packages/live_storage/lib/src/repositories/file/file_tag_repository.dart:46-66 | packages/live_storage/lib/src/repositories/in_memory/in_memory_tag_repository.dart:34-52 \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":"packages/live_storage/lib/src/repositories/file/file_tag_repository.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f494ebeed9f5c858df6263426e07c214782fb31d3c85f525321d47f6a895d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): packages/live_sync/lib/src/local_sync/local_sync_client.dart:86-105 | packages/live_sync/lib/src/local_sync/local_sync_client.dart:120-140 \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":"packages/live_sync/lib/src/local_sync/local_sync_client.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cc8b169748dad4bfe0e24516436a024c974722e7a99c8b29313fc433b74791"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart:241-259 | packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart:261-285 \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":"packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a09efec5063ef17fe7b38b14ad5fa162fc2fb18d3c9afb50b1134e44cdf24e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): apps/main_app/lib/src/features/room/presentation/room_preview_page.dart:739-766 | apps/main_app/lib/src/features/room/presentation/room_preview_page.dart:768-794 \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":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"185da674be910321b9b54172dd4f4053f9c1862a0f7661ab46aaf3fa912191b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart:486-511 | apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart:513-539 | apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart:589-616 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb635450bf0da8298b33745738ec247966535f929a0af65d7909cf7e37cd3762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): packages/live_providers/lib/src/providers/bilibili/bilibili_account_client.dart:53-70 | packages/live_providers/lib/src/providers/bilibili/bilibili_account_client.dart:72-91 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_account_client.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e45190c75da87019f0641bff5b58b3b9952ac3f99f1d6bf739607e1c7efe52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart:632-654 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart:656-681 \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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3f6530ec0e1f8b44c06c54ee1b7fc3c9f869a12c6bb5cf4e330c5e5ff4a5fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:145-161 | apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:163-177 | apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:215-229 \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":"apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e651f810c7b430ce031afefcf2931d3137fd4b85e2931e4eacb5976088dbac54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): packages/live_player/lib/src/mdk_player.dart:446-460 | packages/live_player/lib/src/mpv_player.dart:539-559 \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":"packages/live_player/lib/src/mdk_player.dart"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e5e1f69d1b0800cb124e6ca8759fe573d4debfa9253f219f861fc422c025af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): packages/live_providers/lib/src/providers/douyin/douyin_provider.dart:32-55 | packages/live_providers/lib/src/providers/douyu/douyu_provider.dart:30-51 \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":"packages/live_providers/lib/src/providers/douyin/douyin_provider.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb4554b8a77dbede3827674f200b9364b27c8dd00a79cc31f02e1627b897a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): packages/live_providers/lib/src/providers/douyin/douyin_provider.dart:141-167 | packages/live_providers/lib/src/providers/huya/huya_provider.dart:129-153 \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":"packages/live_providers/lib/src/providers/douyin/douyin_provider.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"497b5809da1d5dce1833f0907987c18afe1cadfbe900eb00f8572692e66bfabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): packages/live_storage/lib/src/persistence/local_storage_file_store.dart:660-676 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:83-104 \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":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"1977b14772d5f9ab53528c293a61ef5fde882dcf79f1e8f55de7508d25986e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/live_sync/lib/src/local_sync/local_sync_client.dart:69-84 | packages/live_sync/lib/src/local_sync/local_sync_client.dart:107-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":"packages/live_sync/lib/src/local_sync/local_sync_client.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d201ca4dfbf95d6ff13bb6ccea9807aa2ddbbc75699fa6ea7c2b13d4a7bf434b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): apps/main_app/lib/src/features/sync/application/manage_local_sync_use_case.dart:133-150 | apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:395-412 \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":"apps/main_app/lib/src/features/sync/application/manage_local_sync_use_case.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c95209edcf142d9fa787614d360a069f46756b8804347d8c3590fb9b539ba56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:330-353 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1092-1110 \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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bc8e0df70d876ea5960271096950fe48dc59ab8044a5f8b91db11c1843f12f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:271-291 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:189-209 \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":"packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7c1cc5715f99a585b56874a7b155c41579ba61901bcf7bca62b6b0367dad78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 20\u002B corresponding lines): packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:229-249 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:251-273 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:275-294 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:296-315 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:338-358 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a217a47e8f7d9066a6129abd563210d3399be8c69840527c95164ac84515ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): apps/main_app/lib/src/app/runtime_bridges/linux_desktop_webview_adapter.dart:286-308 | apps/main_app/lib/src/app/runtime_bridges/linux_desktop_webview_adapter.dart:500-523 \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":"apps/main_app/lib/src/app/runtime_bridges/linux_desktop_webview_adapter.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a98acdee8bcbf79964a5f493a2443355f68278cd52dd688efbdb9bcfffba4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): packages/live_sync/lib/src/local_sync/local_discovery_service.dart:160-174 | packages/live_sync/lib/src/local_sync/local_discovery_service.dart:252-266 \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":"packages/live_sync/lib/src/local_sync/local_discovery_service.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae0fb0ee288997b5ca59eb33805d5e4a41794703ffeacdf8b05b3da0f250099"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): apps/main_app/lib/src/app/runtime_bridges/youtube_nsig_webview_solver.dart:276-300 | packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:606-631 \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":"apps/main_app/lib/src/app/runtime_bridges/youtube_nsig_webview_solver.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2dade2cf8d41dc98292025f6524267499e6defa8fed844ea362faeaba1f72f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:949-968 | apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart:957-980 \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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc94b37d877ebb49cb365bad280a5ebcf185a79e37f369001e8a1cc994ee7be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/main_app/lib/src/features/sync/application/sync_preferences_use_case.dart:48-68 | packages/live_sync/lib/src/model/discovered_peer.dart:20-38 \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":"apps/main_app/lib/src/features/sync/application/sync_preferences_use_case.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88ed23cfaca63599081b6afe16637be563dffd9068b2af500e8f6c12fdb3946"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2358-2373 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1528-1540 \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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab87ffec3e56c4d2b97c711fd4cca1e9b5c18aef216cf384873474a8bd1e2476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart:160-180 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart:268-289 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart:291-314 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cde99ebe97c30f958f45baf9a3306600537c3a292b6a8be06f9cf6ab7c38bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:113-127 | packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart:172-188 | packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart:168-180 \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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2a1593e2f330df292d28aa15df61f0a88723db5f02426245fbab813d4bf605"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart:228-250 | packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:512-531 | packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart:238-258 | packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:176-195 \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":"packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5fc571222ccdce109ebf650a87085784f66eb09a20ae2cb4ad91701bbdffc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:194-207 | apps/main_app/lib/src/features/browse/presentation/browse_page.dart:347-360 \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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a5698117fd43276d977f4c448fdd61ce79e443df6d3b3776d66c5e9e65229a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:347-365 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:134-152 \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":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea4703c56bb20cb82a2e295fe25a586dec2a4a667b9b0ad3a7bdbe317f485f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:85-106 | apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:108-124 | apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:126-143 | apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:179-195 | apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:197-213 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfe31c520662948d3e4e172eb6ef627d3e0e8c429a17088dbea2ed2d78d82ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:3539-3557 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1133-1145 \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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":3539}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b6bd0c62266375acd5aab491a953fc59507a6367d11f0be6676a534101763e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart:300-319 | apps/main_app/lib/src/features/home/presentation/home_page.dart:402-424 \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":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec86eed4d1d343d50dcd9875cb5d99acbff8d03975edce966c4aecb5e25dd44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:133-145 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:14-33 \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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"76268d4ee4c1ff11c1f9e8e0cfddaff150f459658d3b11353d19511ebaaa1c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): packages/live_providers/lib/src/providers/twitch/twitch_api_client.dart:179-196 | packages/live_providers/lib/src/providers/twitch/twitch_graphql_client.dart:327-343 \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":"packages/live_providers/lib/src/providers/twitch/twitch_api_client.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c1e9eeaa62d90c9537e0399bfb516e28d75620042ca6609344306ac388f0d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): apps/main_app/lib/src/shared/application/secure_credential_store.dart:555-570 | apps/main_app/lib/src/shared/application/secure_credential_store.dart:572-587 | apps/main_app/lib/src/shared/application/secure_credential_store.dart:589-604 | apps/main_app/lib/src/shared/application/secure_credential_store.dart:621-636 | apps/main_app/lib/src/shared/application/secure_credential_store.dart:638-653 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/application/secure_credential_store.dart"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4534578cb1149680f8c31d73f678821885a9bb0ef7e736492cb2fa0afe43de53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:202-217 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:32-47 \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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43bec18b7d5d2aced3c1a523516dc88f50e576251627274df4d6ee09cb9646c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart:441-455 | packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart:549-562 \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":"packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ed11c4ff0f9738b27b6951766097efb5f0942d55344d250d1be951cfcda9e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): packages/live_storage/lib/src/persistence/local_storage_file_store.dart:742-753 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:217-227 \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":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9683b737ae90c8ead804055593922272fa22015c85cfd226fb5e5ebf03c631"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2125-2138 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:408-419 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:421-431 \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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b33443041ba5c1009d51ee35e54938d239183ab7f1615f005affa25108d9e54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): packages/live_providers/lib/src/providers/twitch/twitch_bootstrap_resolver.dart:123-142 | packages/live_providers/lib/src/providers/twitch/twitch_bootstrap_resolver.dart:144-165 \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":"packages/live_providers/lib/src/providers/twitch/twitch_bootstrap_resolver.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaee98ac1fed223e4c75baac3a6b8542c9dbabc798b5e4316c3eaa9a2a405c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/main_app/lib/src/features/room/application/room_page_interaction_coordinator.dart:338-356 | apps/main_app/lib/src/features/room/application/room_page_interaction_coordinator.dart:358-371 \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":"apps/main_app/lib/src/features/room/application/room_page_interaction_coordinator.dart"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89256f1de83bee7331aa0ad6db521a52b3c8a0f64c31d1faf4962fa3ff82047"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): packages/live_providers/lib/src/providers/chaturbate/chaturbate_room_page_parser.dart:81-94 | packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart:561-570 \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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_room_page_parser.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1b12023ed175f895da46a446f2c6a2518b20b7534080c4ff1f50af755df349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): packages/live_providers/lib/src/providers/twitch/twitch_playback_manifest.dart:73-85 | packages/live_providers/lib/src/providers/twitch/twitch_playback_manifest.dart:151-163 \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":"packages/live_providers/lib/src/providers/twitch/twitch_playback_manifest.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"014763864380d4bad62714e8235557b732d2a08b17b64f2f01410ed5539d4792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart:290-298 | packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart:535-543 \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":"packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e6cd29c419b956a19ac2aa25dcb3883f8420536abbfc980b37b9b65c46692a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart:136-147 | packages/live_providers/lib/src/providers/stripchat/stripchat_preview_data_source.dart:141-156 \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":"packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0d06bad7a72ade5ecb81461f9af23f76f9385db2ff8f410b5ee6bb450d411e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart:129-143 | packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart:178-195 \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":"packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f33dc21e5f417c4546636e20939a7ca01d85f77263491859a206e0cb46b39d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart:939-948 | packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart:950-961 \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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"1428fc7987c30a1eac8b27e7bb4f5f5777fd012b8eb729feb2007240e8ba5ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/live_hls_proxy/lib/src/aes_worker.dart:103-114 | packages/live_providers/lib/src/danmaku/isolate_danmaku_session.dart:162-180 \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":"packages/live_hls_proxy/lib/src/aes_worker.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac35cc9d85266e421d0ac6d330bf7c314d1a232f1c4532aeb471ad264b83dd19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:234-248 | packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:112-125 \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":"packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"581d01aba0cbe892941fe37f284e9e1b2f197bd08d6300541734ad324a499be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/main_app/lib/src/features/category/application/load_category_rooms_use_case.dart:9-20 | apps/main_app/lib/src/features/search/application/search_provider_rooms_use_case.dart:9-20 \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":"apps/main_app/lib/src/features/category/application/load_category_rooms_use_case.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e8ab723a7f21ebfb0ffa6f54a39518b0880c3f24d05c7fa0cf489e159a01c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart:985-997 | packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart:999-1010 \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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"342e6a46abfbc1c86ad06347daa6ea899c0d64e4d08a3e1351ea940d6351b685"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/live_storage/lib/src/repositories/file/file_follow_repository.dart:48-62 | packages/live_storage/lib/src/repositories/in_memory/in_memory_follow_repository.dart:37-48 \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":"packages/live_storage/lib/src/repositories/file/file_follow_repository.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a5adc471d6e4ebba3a489dcc6ac90d8919faa40a9460a7fa495a169d9f2a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/main_app/lib/src/features/room/application/load_room_use_case.dart:328-339 | packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart:572-583 \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":"apps/main_app/lib/src/features/room/application/load_room_use_case.dart"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"053d19123f94c9edc30187b1255f6aa2b79a518d0fa030482d914d3fa357487d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart:528-538 | packages/live_providers/lib/src/providers/youtube/youtube_playback_extractor.dart:322-332 \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":"packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb0339eaf9eb87f8b0968093b629990575bfefd55a57825e47c8e10f84a95e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart:673-686 | packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart:693-704 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46560b35b8c497e53d4795f569fee94ca2f8bc2f7925405f14e1948687260f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:416-426 | apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart:140-150 | apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart:471-485 \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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb6f292be500ff1bbf9f27229d4b1c7b02c6237bb8f5e81a599b150678e41e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/main_app/lib/src/features/room/application/room_controls_action_coordinator.dart:76-92 | apps/main_app/lib/src/features/room/presentation/room_preview_page.dart:560-576 \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":"apps/main_app/lib/src/features/room/application/room_controls_action_coordinator.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eadb8d7212b630af38c095d5efa65bcb58f3216f19b1c54167510413d74e29d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:433-443 | packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:815-825 \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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1780eb7da7b1bde0075004bbd3ef46f2a6d6bc5b78a116aa0bd71c23d9e28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:168-184 | packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart:164-180 | packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart:156-170 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb47fd09daebf331a44a791c63fb6bf3c65b07516544ee36d699ef8b54a6668"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart:444-462 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart:464-479 \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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de388e92df7f8d04313cf356ed9b86aee7d9558b36f65ef4c3196caf033e512"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): packages/live_providers/lib/src/providers/bilibili/bilibili_account_client.dart:194-202 | packages/live_providers/lib/src/providers/provider_json.dart:2-10 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_account_client.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0346ad42285af87359de5018d907d8af1d0c772e6c1efa2055495e3a9bb7521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/live_providers/lib/src/providers/douyin/douyin_transport.dart:20-31 | packages/live_providers/lib/src/providers/douyu/douyu_transport.dart:35-48 \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":"packages/live_providers/lib/src/providers/douyin/douyin_transport.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee199f844d1e7cdc78c5f7d334321e127e134853b461bb20c8f685e481d03b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart:359-375 | packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart:385-398 \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":"packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d0066f042953e5b4c0c39d0b713af96056bbfc4f66d4d0ec0c86e6f9bd5e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart:225-239 | packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart:229-240 \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":"packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3e80f887861720c21d016564f1a47231526a859ba9872322f70d4f400ef050"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): apps/main_app/lib/src/features/room/presentation/room_page_ui_effects.dart:56-71 | apps/main_app/lib/src/features/room/presentation/room_page_ui_effects.dart:104-119 | apps/main_app/lib/src/features/room/presentation/room_page_ui_effects.dart:121-136 | apps/main_app/lib/src/features/room/presentation/room_page_ui_effects.dart:138-151 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_page_ui_effects.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3079dc232e8a1b74a894b0ce901995b7870c3317401062349118eafe50db9a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart:142-154 | packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart:175-185 \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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a305ef74098193d43e8325a8c247b0cadd0f1c9bc5377216fb437ef075e5e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2319-2332 | packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:742-752 \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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2530754096f7ad3aa2b1bfb0de6ac386aee671692a7003c0a2774c984809e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): packages/live_player/lib/src/simulated_backend_player.dart:56-65 | packages/live_player/lib/src/memory_player.dart:50-58 \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":"packages/live_player/lib/src/simulated_backend_player.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b41081f83d768afbbebd3bf35350468d72bf6ceae7419411d910d893d608ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart:400-409 | packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart:378-386 \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":"packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fe3814434b34c564618831456c3fbf5e3ff2f409046a9d6af711bdf6f25f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2308-2317 | packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:462-469 \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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a024398d18edf54f7f4b69421bdc4496d642b4378d261bcf3faafbf8793c6827"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2149-2157 | packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:3574-3582 \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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76ecad207358af1e7382ce237704b1221692320d524bf9f58ac881637c8fb67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/live_providers/lib/src/danmaku/tars/codec/tars_displayer.dart:75-86 | packages/live_providers/lib/src/danmaku/tars/codec/tars_displayer.dart:180-191 \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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_displayer.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"31223f97a3623990db2af68ad603e4919ae0ab5c4683f82b6f472d0192e747d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart:371-381 | apps/main_app/lib/src/shared/application/player_runtime_controller.dart:213-225 \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":"apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"768297c7877b2a74b3ef97fc0d078af370a291e5f69f942b50c2d9c115a2baa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): packages/live_storage/lib/src/repositories/file/file_history_repository.dart:12-22 | packages/live_storage/lib/src/repositories/in_memory/in_memory_history_repository.dart:9-16 \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":"packages/live_storage/lib/src/repositories/file/file_history_repository.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb3e19dc3c3c11cb46cef99be3f5d6116b4e518ec783a3be51ef9a03adc4517"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart:741-749 | apps/main_app/lib/src/features/settings/presentation/room_settings_page.dart:262-270 \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":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f315c87cb26b5cc24247320146b07a8b835ff19aed7e0a141b49fc54b967dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): packages/live_providers/lib/src/providers/douyin/douyin_live_data_source.dart:594-600 | packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:374-380 \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":"packages/live_providers/lib/src/providers/douyin/douyin_live_data_source.dart"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"67664ab950edc347dbca582c012fcbc3f0aa381137167e8888138129d8e7b287"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): packages/live_storage/lib/src/repositories/file/file_follow_repository.dart:19-28 | packages/live_storage/lib/src/repositories/file/file_follow_repository.dart:37-46 | packages/live_storage/lib/src/repositories/file/file_history_repository.dart:38-47 | packages/live_storage/lib/src/repositories/in_memory/in_memory_follow_repository.dart:14-21 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_storage/lib/src/repositories/file/file_follow_repository.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14b034a3de8798758e5ae1a28916dfd4a034662f2a2edf91c2d5c0ec4636ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart:32-36 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:30-34 \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":"apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88f9bfb4690719ada96513c3b6a3c0a15e90e290f5c075c7135dafabb2716c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/main_app/lib/src/features/room/application/room_controls_action_coordinator.dart:62-74 | apps/main_app/lib/src/features/room/presentation/room_preview_page.dart:546-558 \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":"apps/main_app/lib/src/features/room/application/room_controls_action_coordinator.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9710cb8b5008581fa34767200cf7bf1af599c9fe6e3deedb50f0767a1011affc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:240-248 | packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:227-235 \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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de307b8f2721dbf2a6b82e604c5267d263936d4aed06848ae12bdc8fbf6f86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): packages/live_sync/lib/src/backup/webdav_backup_service.dart:42-49 | packages/live_sync/lib/src/local_sync/local_sync_client.dart:40-47 \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":"packages/live_sync/lib/src/backup/webdav_backup_service.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa50194c3cc1181b8f05b4ef9c698d7e9b96b9bcc17dd0872a61d24a49f0e849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:240-248 | apps/main_app/lib/src/features/library/presentation/watch_history_page.dart:118-126 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f60acc313ca6e12b369e721d93d783054d8c3ab7e9235c7f5b99c1c4c86fe79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2931-2937 | packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart:381-384 \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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2931}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b74adeedd7141f64c77e30624dafb0a4c99212a90c1b456667da9e23e415b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart:354-359 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:457-462 \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":"packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1270a6218c045d575d007b51e4131fafa5f3973cab7c931f0afaf57e35693695"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:709-712 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:352-355 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:229-232 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffbc771609f54e346bb5c543768d96b4b6301b6dae3fd44ae35b8c1133628fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart:399-401 | apps/main_app/lib/src/features/home/presentation/home_page.dart:520-522 | apps/main_app/lib/src/features/search/presentation/search_page.dart:409-411 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d939e04994c701d5a83a3773fc1c8ea0b793203c09dc32a060836c8484389f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): packages/live_providers/lib/src/danmaku/provider_ticker_danmaku_session.dart:51-59 | packages/live_providers/lib/src/danmaku/provider_unavailable_danmaku_session.dart:40-46 \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":"packages/live_providers/lib/src/danmaku/provider_ticker_danmaku_session.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eaab019fa60d5040dcae7080b7e3a9c22ba307610b689cbb882428b96ad34b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): packages/live_storage/lib/src/repositories/follow_repository.dart:10-14 | packages/live_storage/lib/src/repositories/in_memory/in_memory_follow_repository.dart:50-55 \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":"packages/live_storage/lib/src/repositories/follow_repository.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"17739c1218ceea2509a801a1b00626e5b3a908f52dd42aaae37e0122ab4fa3d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart:1130-1136 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:476-481 \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":"apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ea726f0414e7b00b13a1bfdfea322d89976c969c50e0c9c4396ffe774566bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201348 lines \u00D7 2): apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.dart:150-197 | apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.dart:277-322 \u2014 both copies are in the same file, so extract the block 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, \u0060apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.dart:198\u0060 calls \u0060Divider\u0060 and \u0060apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.dart:323\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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d12e27b4bb5c0246effb5bb0a3719fd835054d8aac022951e82edaf0b9a891c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:347-380 | packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:780-813 \u2014 before extracting anything, compare \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55bc6be4afbe2260ba64a20ccb088bf720ca02971fc9ad98de7e02f95b1f296"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:179-210 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:55-86 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart\u0060 and \u0060apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bc34148bc9ba6dbc70f0257cd4d3d3b95bc6e7fa06a0f72c369b4a45b48995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:51-79 | apps/main_app/lib/src/features/home/presentation/home_page.dart:52-81 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/browse/presentation/browse_page.dart\u0060 and \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/browse/presentation/browse_page.dart:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart:50\u0060 calls \u0060Scaffold\u0060, \u0060Center\u0060, \u0060Text\u0060 and \u0060apps/main_app/lib/src/features/browse/presentation/browse_page.dart:50\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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0a0021dc0f1fea73dcc46b643234289bae879f9a31f68cbe3ed1e5e95bb1d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart:265-294 | apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart:326-355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart:326\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":"apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"067b2fd561de19c41d0169597d1167041c3ad1d1d1e65887e37d89d9024c9cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:184-213 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:125-154 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"434c37a9f2a147295eb2cf83e7fa1eea5e4dfa09ebc004e007c29f1c704694ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 5): packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:149-177 | packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:115-143 | packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart:73-101 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:56-84 | packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:63-91 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eddbbbd8bd72ad24608fd94271e9c8c700583ddf8d1ffe12037b3bc4d22b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:1124-1151 | packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:1514-1541 \u2014 both copies are in the same file, so extract the block 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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dea7fdaedf04b1310bccdae128a44e524602998b21e7c6f9b872c27a59b194f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.dart:233-259 | apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.dart:339-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 \u0060apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_preview_page_sections.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dae38a1096b6d7c3f0a4ca05f66e93de7420d71d3907a6fc6e3c369d688601b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart:21-47 | apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart:169-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.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":"apps/main_app/lib/src/features/settings/presentation/provider_web_login_pages.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7005a75fbb1fca9477c070bc1cda54b0b12d332f3216303f2eb52a4c2aeb993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:133-158 | apps/main_app/lib/src/features/home/presentation/home_page.dart:148-173 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/browse/presentation/browse_page.dart\u0060 and \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, 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 \u0060key\u0060 to \u0060const Key(\u0027browse-appbar-search-button\u0027)\u0060 in one and \u0060const Key(\u0027home-appbar-search-button\u0027)\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c5f9518147fc662427da1f3502b72ea47405b83ec82173fb19122c98ef86dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart:108-133 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:332-357 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart\u0060 and \u0060apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart:108\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"934db1d530cccc7b42e02121726ccafe3fa067770adb3f3b2b4b2537c276d1af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 3): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:393-416 | packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:355-378 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:138-162 \u2014 \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 60 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daf360d9979625d6139a774462e6d66dca7cb18abfa6b92d76328f60c18bed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): packages/live_providers/lib/src/providers/youtube/youtube_playback_extractor.dart:100-124 | packages/live_providers/lib/src/providers/youtube/youtube_playback_extractor.dart:127-151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/youtube/youtube_playback_extractor.dart:100\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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_extractor.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b10a705c1bacae1bed4c854a25d9514ba273ac55a6e5490c84fb12dff964de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart:367-390 | apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart:415-437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart:367\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2316130f75c9e00e724b47967919d38d68607003c6c5b87b32b0a55865c18408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:220-243 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:225-247 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart\u0060 and \u0060apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:220\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a8ca332a6fad207d53c77252484d7ce265ff83e69ba116403f23cfa1734069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:196-217 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:257-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 \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:196\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c430cbbb5594f0cd8fc724184565aef002d3203df101ffd9510c52e7642bc714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:139-158 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:61-82 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart\u0060 and \u0060apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bdc133e912bed262720fd1d46e051d3915f2b385bf4c300df1498822ac9b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1321-1341 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1359-1380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1321\u0060 it begins part-way through the construct above it, so those exact 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, \u0060packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1358\u0060 calls \u0060Function\u0060 and \u0060packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1320\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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2aaefb369733dffe9e3f18872bbd390bac11ae08cb45d3a145281a5dc17301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart:51-72 | packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart:74-95 \u2014 both copies are in the same file, so extract the block 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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be07901989167afeb0666164b5af6aaafa927f0babae18322b835df36583bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): apps/main_app/lib/src/features/library/presentation/library_page.dart:474-492 | apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:305-324 \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 \u0060apps/main_app/lib/src/features/library/presentation/library_page.dart:474\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/library/presentation/library_page.dart"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7426b6799ebd57186ee1a86509d89cb2c0e38a6dcb052ff6037566e99ee0d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:943-962 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:806-825 \u2014 before extracting anything, compare \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a5a8b0e2e21268098e9e2bf28073c57fb8ec9ae999864a2ba5b5d802709bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2186-2205 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:469-488 \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 \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2186\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9aaf6bb31a2d720174e56295dba141c791c908f71c96b288ef8ed68d334307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2079-2098 | packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2137-2156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2079\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2079}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9df658b73d0ee16422cd2906ae0509fd7f2610a39272a951c474b77ded82ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart:46-65 | packages/live_providers/lib/src/providers/youtube/youtube_hls_master_playlist_parser.dart:87-106 \u2014 \u0060packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart\u0060 and \u0060packages/live_providers/lib/src/providers/youtube/youtube_hls_master_playlist_parser.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aac3f78590641e5c8871dfed21d4bc1081a8070047ceab35021dd331f3a7ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:267-285 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:291-310 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:267\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"546b52098b657441c3976ca3bd432548e08d5379d174e91715e5f462c7348cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:232-249 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:255-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:232\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":"packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bae05584675f9d4e990bc2f391f4574fa713c4fac7aa09fc98c424494baa12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:54-72 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:87-105 \u2014 both copies are in the same file, so extract the block 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":"packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4af38ce27932be585b3d7d74a784bf9ab76ae738f38ec39bfb51a012792e68b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart:213-231 | packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart:268-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart:213\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8755c0297dc2f1f66f2cc8d4c08fa7ea7914402664e3186d462bcfdd3c4117c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:810-827 | apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:865-882 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:810\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"72106089266bbc9cea4d2fb2b20b23e501bea36eec8c910a2988172aac578901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart:132-147 | packages/live_providers/lib/src/providers/stripchat/stripchat_provider.dart:127-144 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart\u0060 and \u0060packages/live_providers/lib/src/providers/stripchat/stripchat_provider.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 49 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_provider.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":"packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cb69ca0fcc2349913e17ebe0edf4767c80bc178761c072232239b5e3e1f37c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:329-346 | packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart:271-288 \u2014 \u0060packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart\u0060 and \u0060packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 53 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7005533216f5a0868e7daf5344a5928f48c1b071471c86f9a4f66e0ecaabe256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart:244-260 | apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart:314-330 | apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart:363-379 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart:244\u0060 it begins part-way through the construct above it, so those exact lines 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":"apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f04144173a1a6b685d366f5984e656e710ed45be41b9980bd3cd1da0c19bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:246-262 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:450-466 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:489-505 \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 \u0060apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:246\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":"apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1784dc99103f0401e2da91b7d01983fc1db5ecb8f8dfae729f5957b4b04fd0f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:16-32 | packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:93-109 | packages/live_providers/lib/src/providers/douyin/douyin_transport.dart:34-50 \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 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_transport.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":"packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c5b8749cdf7b983684430f0b04622ec992777fa51f2bb248cae78ed7c8ab0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): apps/main_app/lib/src/app/app.dart:28-44 | apps/main_app/lib/src/app/bootstrap/bootstrap_host_app.dart:120-136 \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 \u0060apps/main_app/lib/src/app/app.dart:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/app/app.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"017fddcaab4688edb9a58e13f9cd7cb48e4b93ac14da457513dd7637714b7ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): apps/main_app/lib/src/features/room/presentation/room_preview_page_controls.dart:150-166 | apps/main_app/lib/src/features/room/presentation/room_preview_page_controls.dart:200-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/room/presentation/room_preview_page_controls.dart:150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_preview_page_controls.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c83d03b4ebde92726df789d13a677f88c6d50ceb6c6ec30e53ea08ca0fc16f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/danmaku_settings_page.dart:263-279 | apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart:317-333 \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 \u0060apps/main_app/lib/src/features/settings/presentation/danmaku_settings_page.dart:263\u0060 it begins part-way through the construct above it, so those exact 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":"apps/main_app/lib/src/features/settings/presentation/danmaku_settings_page.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"31427e4689baac68f0a88ff950946a7abebde114a4b284cce2f238837d8e9e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:650-666 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:207-223 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart\u0060 and \u0060apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:650\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ace33823de4510821e6b5540b4663c0ccf1df4ff7ec4cecf711321aad1230e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:309-325 | packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:652-668 \u2014 before extracting anything, compare \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:309\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f1b380020a577d390192ec4ac6812e9a5fcdf8c4b3eba68ae7b23a3b1b0983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:271-287 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:189-205 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/douyin_danmaku_session.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":"packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a353e6c53f03649e6fd3ec4aafaa3edb725fcbcd42a4d9d734d960ed6d98b621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart:209-224 | apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart:265-280 | apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart:291-306 | apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart:338-353 \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 \u0060apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart:209\u0060 it begins part-way through the construct above it, so those exact lines 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":"apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"73707a702732d7e73f6c7dbfca404c42833be9aede5b11028f7c1950c0d5dfc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:131-146 | packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart:166-181 | packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart:128-143 | packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart:121-135 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart\u0060 and \u0060packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 62 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:131\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":"packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"080cdd828922ab6fa73ed3d1b5805570ffacaad3b7ee906d113cb2cce33863f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart:235-250 | packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:276-291 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:194-209 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart:235\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":"packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c1939610d81e9c1b4b3c74358e5c9fbc14b4422caacfc866db5ff8515eeeb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): packages/live_providers/lib/src/danmaku/tars/codec/tars_displayer.dart:89-104 | packages/live_providers/lib/src/danmaku/tars/codec/tars_displayer.dart:114-129 | packages/live_providers/lib/src/danmaku/tars/codec/tars_displayer.dart:142-157 \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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_displayer.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"10914716641cf3e4a96db421fe7cd87ba3886e6b04b8cff43c888b8a746f45a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:261-276 | packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:138-153 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:261\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2364553d97322c7c6c85c0d6fc3821233f1c7d54d4cdf3295bff98ff39b66ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): apps/main_app/lib/src/features/home/presentation/home_page.dart:41-55 | apps/main_app/lib/src/features/search/presentation/search_page.dart:85-98 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart\u0060 and \u0060apps/main_app/lib/src/features/search/presentation/search_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/home/presentation/home_page.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"231ab5bdd9a14253b9bced8c900a8ddd662f6f84b64345c4cedfb3deb3069793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): apps/main_app/lib/src/features/parse/presentation/parse_room_page.dart:90-104 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:518-530 \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 \u0060apps/main_app/lib/src/features/parse/presentation/parse_room_page.dart:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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":"apps/main_app/lib/src/features/parse/presentation/parse_room_page.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c128f9f36304486fed22c8d746112d65f7e8dce76690ba81f1bdffd937e5b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:534-548 | apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:572-586 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:534\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a268e67fa3c1604b170251bbd8d084662aba4a1966cc300c65a1d2913c61fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:55-68 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:100-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6070818b509dc469e25c24a349b201caae79d401e01bf0805e43c962a897737e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/main_app/lib/src/shared/application/player_runtime_controller.dart:197-211 | packages/live_player/lib/src/switchable_player.dart:156-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/application/player_runtime_controller.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b91b303a6f7960783ff4614cf8fdf54609c87854e1e5336d5ee756e3b16d73d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart:286-300 | apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart:329-341 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart:286\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":"apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ee57557b470e89e50e048d576dab670a1518cedcefa7540e2695a1911c0ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/live_player/lib/src/mdk_player.dart:823-838 | packages/live_player/lib/src/mpv_player.dart:1387-1402 \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 \u0060packages/live_player/lib/src/mpv_player.dart:1387\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":"packages/live_player/lib/src/mdk_player.dart"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a6f97bc02a8d44cb7c0249d20da6239b97570a059e5f6336074810028ebf00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:154-168 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:95-109 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:154\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c518c0de2c17028f94f1c8e31ac382c5eaee4ddcd35f589bcfddd1796ea2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:13-27 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:78-92 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:13\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6be46099fcfd02166b2f22fc222e6a8764365151c71fe5caa15c22163b79e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:446-459 | apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:489-502 | apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:531-544 | apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:569-582 \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 \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:446\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"74aee195e25327081827bf4c053e057f24ba45b0713d927c746988a91b8ce83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:114-127 | packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart:149-162 | packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart:111-124 | packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart:104-117 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart\u0060 and \u0060packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 62 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f767f7d4163cff1a21fcade7c3a6840709af0a3cc61dc7aabe774e84c3e81cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): apps/main_app/lib/src/features/library/presentation/watch_history_page.dart:88-101 | apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:257-270 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:108-121 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart\u0060 and \u0060apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/library/presentation/watch_history_page.dart:88\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":"apps/main_app/lib/src/features/library/presentation/watch_history_page.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c7aa0871e65b64e5d5d445dea1801d04b6f189332b8b90dd58078dcd2b9e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:137-148 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:59-72 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:105-118 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart\u0060 and \u0060apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:137\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:120\u0060 calls \u0060_showSnack\u0060 and \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:149\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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d820318c8fe269a20bcfe3420c38cffa9fbcae6a8cdd507af554bf9abb9bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:265-278 | packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart:161-174 | packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:142-155 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:265\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart:176\u0060 calls \u0060_send\u0060, \u0060add\u0060, \u0060_serialize\u0060 and \u0060packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:157\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":"packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b3644ff8a14bb785e630fdc9f186f88b3b57569013e150034cf98f4a891339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:186-199 | packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart:147-160 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:127-140 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:186\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":"packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d4a504c8eddd2627677e51c91431f265316efc2abd870bd9023eead48c0a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart:909-922 | apps/main_app/lib/src/features/home/presentation/home_page.dart:620-631 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart\u0060 and \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart:909\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":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"256e214ea8a8861dd3c34a21bc2c34a2a569b0263f03384f7dfb74a85ef788a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/main_app/lib/src/features/room/application/room_controls_playback_actions.dart:29-42 | apps/main_app/lib/src/features/room/application/room_controls_playback_actions.dart:82-95 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/room/application/room_controls_playback_actions.dart:29\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":"apps/main_app/lib/src/features/room/application/room_controls_playback_actions.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca0b335b7b294b0defa05f6403a580a044e52533fb07e88b7ff3397d12eeba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/main_app/lib/src/features/room/presentation/room_preview_page.dart:1549-1562 | apps/main_app/lib/src/features/room/presentation/room_preview_page.dart:1564-1577 \u2014 both copies are in the same file, so extract the block 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":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd04909f88bd4f2268bab2678663fcebbcaf68436a8f6e455b4c5902ba7cbcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart:167-180 | apps/main_app/lib/src/features/settings/presentation/layout_settings_page.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 \u0060apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b2f2dcf07fb09288d17d397326e0626630a340fa0800f482c8ee12e1f6be92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart:609-622 | apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart:647-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart:609\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d8c8e4b5798eec40e2c8ecb6d39b4e938091a4c08c152a4c44b48d68339b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart:162-175 | apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart:234-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart:249\u0060 calls \u0060SizedBox\u0060 and \u0060apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart:176\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":"apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f0014591ec83d35258457d6bfff8a6aba5a13574b20405a53d41c3985f66ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:332-345 | packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:765-778 \u2014 before extracting anything, compare \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:332\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"240a19ce3e65a1f6712c326c109858cf904f1a08fec95e900940a7395ffcad64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:518-531 | packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:182-195 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:518\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":"packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4317daaaa1ba333acf1ad4c30c514c9cdddfe192b4d8363f6836a6d17448cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart:477-488 | packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart:511-524 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart:511\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"433b42aa9bdae98ef893d0069add6b6050c6a9e2a86d7574d0fc79e4146e7bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart:50-63 | packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart:73-86 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/huya/huya_live_data_source.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":"packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d35d55a49fd1b8de687aaa63444022319cc0f2a898595d22de9f159511f5695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/live_sync/lib/src/runtime/sync_snapshot_merger.dart:58-71 | packages/live_sync/lib/src/runtime/sync_snapshot_merger.dart:75-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_sync/lib/src/runtime/sync_snapshot_merger.dart:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/runtime/sync_snapshot_merger.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb3c26cae4d6b7f697e5f432920a5f3d323d46bd69d1699fa726bfd6b04a13f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:529-541 | apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:563-575 | apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:600-612 | apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:634-646 \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 \u0060apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:529\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf191835cf71b188e0c4e06c6314a1f3b823712bd63731a1fe40a6162eecf6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): apps/main_app/lib/src/features/home/presentation/home_page.dart:27-39 | apps/main_app/lib/src/features/search/presentation/search_page.dart:72-83 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart\u0060 and \u0060apps/main_app/lib/src/features/search/presentation/search_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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":"apps/main_app/lib/src/features/home/presentation/home_page.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b735bf6d14d3133c6b684e9e3281f2d0500a1406da3f695f6cb1f89f4b285b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/main_app/lib/src/features/home/presentation/home_page.dart:533-545 | apps/main_app/lib/src/features/home/presentation/home_page.dart:563-575 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart:533\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/home/presentation/home_page.dart"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25847ee6e8c6e5b38b4958b847b319a2efa29ccdc93ef595ce1a247ab1e68b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:161-173 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:133-145 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart\u0060 and \u0060apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab8b6374d4eb4c7c5a4b2261b1cb148a6833136c61f5b766130d03efa72fbf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:391-403 | apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart:126-138 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart\u0060 and \u0060apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:391\u0060 it begins part-way through the construct above it, so those exact 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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"605644e7d12ffaf8c01129fe6ef52d1d46a61287cfa006c0b6b7c106829b899d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/main_app/lib/src/shared/presentation/theme/nolive_tokens.dart:33-45 | apps/main_app/lib/src/shared/presentation/theme/nolive_tokens.dart:48-60 \u2014 both copies are in the same file, so extract the block 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":"apps/main_app/lib/src/shared/presentation/theme/nolive_tokens.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c343f88f15ac5d77fb94643dbb1ff9ebb01c792ae230821392c8c4962deaa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:206-218 | packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:196-208 \u2014 \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 60 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:206\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57341aa3938c8616c646f397650e069de6d6d446a7bb6a84b3c5b8ca34e9f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:170-182 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:111-123 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f1a64e7170fbb00c2bc8b15a036df8338955a76185c793f8266d58315bb6d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:318-330 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:339-351 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:318\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:352\u0060 calls \u0060_readText\u0060 and \u0060packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:331\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":"packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5c02b3f2ce6fb8f46438f4a5c13497c34e51a953eb477a0740206156d099a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart:229-241 | packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart:282-294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart:229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea7956c959b328a7926e39553e26ca5871f4d9575b53716b31b6c5351f858bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart:203-215 | packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart:198-210 \u2014 \u0060packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart\u0060 and \u0060packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 43 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart:198\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, \u0060packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart:196\u0060 calls \u0060PagedResponse\u0060 and \u0060packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart:202\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":"packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"40291bbea870b089d3fd839dd361744a19d1e140a74c44f153cf9a8ea1e036dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/live_storage/lib/src/persistence/local_storage_file_store.dart:643-655 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:67-79 \u2014 before extracting anything, compare \u0060packages/live_storage/lib/src/persistence/local_storage_file_store.dart\u0060 and \u0060packages/live_sync/lib/src/model/sync_snapshot_codec.dart\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060packages/live_storage/lib/src/persistence/local_storage_file_store.dart:643\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":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"155472f7c1cdb4d213010c5bb348fb108b877b57e514adcf54427213a452460c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:569-580 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:596-607 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:1155-1166 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:1326-1337 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:116-127 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:569\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"631521fb72b5d798f8a5f6f0f9e736d8b5cf4e8fe818794b3c85db676d30b9d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): apps/main_app/lib/src/features/room/application/room_controls_settings_return_actions.dart:106-117 | apps/main_app/lib/src/features/room/application/room_session_controller.dart:361-372 | apps/main_app/lib/src/features/room/presentation/room_follow_room_transition_coordinator.dart:195-206 \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":"apps/main_app/lib/src/features/room/application/room_controls_settings_return_actions.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec9fb9cb04be46563072e8b69f1eb6dd8301c3d61364b4fba2b219f3fce0b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart:60-71 | packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart:44-55 | packages/live_providers/lib/src/providers/youtube/youtube_hls_master_playlist_parser.dart:85-96 \u2014 \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart\u0060 and \u0060packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.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. The matched lines also transfer control out of the body holding them, 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, \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart:72\u0060 calls \u0060tryParse\u0060 and \u0060packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart:56\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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37280c29f28aabf05e8eb1e6c62919060dbd5bcd4fef89e6f8d06c7b1013658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:19-30 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:51-62 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:84-95 \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 \u0060packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"241bbde68a3452bc70c06823a100999a63b700e480448dbd8190fb30633cb390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): packages/live_providers/lib/src/providers/youtube/youtube_playback_source.dart:100-111 | packages/live_providers/lib/src/providers/youtube/youtube_playback_source.dart:207-218 | packages/live_providers/lib/src/providers/youtube/youtube_playback_source.dart:219-230 \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":"packages/live_providers/lib/src/providers/youtube/youtube_playback_source.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"81270080c9272cac91cc1f12c319c0c9adba1669fb5e7e2c6af6897198e22cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/main_app/lib/src/app/runtime_bridges/youtube_nsig_webview_solver.dart:216-227 | packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:561-572 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060error\u0060 to \u0060PlatformException\u0060 in one and \u0060Object\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":"apps/main_app/lib/src/app/runtime_bridges/youtube_nsig_webview_solver.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5d0319fe23be4b416e44c2b4ce9c7afa3ab02df3b1e374aff6f4c115a4f912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:196-207 | apps/main_app/lib/src/features/browse/presentation/browse_page.dart:349-360 \u2014 both copies are in the same file, so extract the block 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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd119ea1f4f415ae0230892984f135794a7458338c31e1d9b6aede8abed886a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart:615-626 | apps/main_app/lib/src/features/room/presentation/widgets/room_fullscreen_overlay.dart:97-108 \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 \u0060apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart:615\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb13ef8305a9e4dd5d4fcc8da275d9bc820e0656477a99318e8210712b694a3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart:171-182 | apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart:544-555 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart:171\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e992b47f4a4a13c48ae029b50efc64b9d4c35ab34b8151021ed8c74d6eb1c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:389-398 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:175-186 \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 \u0060packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:389\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca126e11f0b87b58107036810bd753f72fc1eed36caf8705af69f89f8f2946c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2100-2111 | packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2158-2169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1bfe30583ba6975fca96becb36c4bcef135b1c4a3167f50010662a86de83cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/live_player/lib/src/memory_player.dart:86-97 | packages/live_player/lib/src/simulated_backend_player.dart:103-114 \u2014 before extracting anything, compare \u0060packages/live_player/lib/src/memory_player.dart\u0060 and \u0060packages/live_player/lib/src/simulated_backend_player.dart\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060packages/live_player/lib/src/memory_player.dart:86\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, \u0060packages/live_player/lib/src/simulated_backend_player.dart:98\u0060 calls \u0060_emit\u0060, \u0060copyWith\u0060, \u0060delayed\u0060 and \u0060packages/live_player/lib/src/memory_player.dart:82\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":"packages/live_player/lib/src/memory_player.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd334daa1364367778909af12e2893348d1d98c619f889cc64b23acca4043c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/live_providers/lib/src/providers/bilibili/bilibili_account_client.dart:106-118 | packages/live_providers/lib/src/providers/bilibili/bilibili_account_client.dart:179-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_account_client.dart:106\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":"packages/live_providers/lib/src/providers/bilibili/bilibili_account_client.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8137ff39ad5902ee4ba3366a3acfb5359b45af23376b3b2f01750340cb5ac66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart:47-58 | packages/live_providers/lib/src/providers/youtube/youtube_hls_master_playlist_parser.dart:72-83 \u2014 \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart\u0060 and \u0060packages/live_providers/lib/src/providers/youtube/youtube_hls_master_playlist_parser.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 44 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart:47\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"612809abada2fa1dcb1f2aff2e092393294a5efa6886b3ef49da20aead90abbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart:90-101 | packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart:83-94 \u2014 \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart\u0060 and \u0060packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a8fcb5fa420cb9740623effd38e3e379fd4a716bb30566340677e7bd215718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:60-71 | packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:132-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/douyin/douyin_mapper.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"22038f0c8e7d1b0278ad4b611448ef2c2f34fde0a707a8228a391d0fc0457550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): packages/live_providers/lib/src/providers/huya/huya_mapper.dart:294-304 | packages/live_providers/lib/src/providers/huya/huya_transport.dart:29-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/huya/huya_mapper.dart:294\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":"packages/live_providers/lib/src/providers/huya/huya_mapper.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fe7007af8526b4692c79f94a4aa93d1ed35cb8648c6aab25e4a35c0ac5c67e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/live_storage/lib/src/persistence/local_storage_file_store.dart:620-631 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:44-55 \u2014 before extracting anything, compare \u0060packages/live_storage/lib/src/persistence/local_storage_file_store.dart\u0060 and \u0060packages/live_sync/lib/src/model/sync_snapshot_codec.dart\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060packages/live_storage/lib/src/persistence/local_storage_file_store.dart:620\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b86517e9568e639aebbd2a28b6c9281070c2d9ef8c78a16bc56c24229a6e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): packages/live_storage/lib/src/persistence/local_storage_file_store.dart:705-715 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:183-194 \u2014 before extracting anything, compare \u0060packages/live_storage/lib/src/persistence/local_storage_file_store.dart\u0060 and \u0060packages/live_sync/lib/src/model/sync_snapshot_codec.dart\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060packages/live_storage/lib/src/persistence/local_storage_file_store.dart:705\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1d72f2b8055303d0fbd8c42db03e1f50944e56d2c417299f1347774c1627f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/live_storage/lib/src/persistence/local_storage_file_store.dart:727-740 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:202-215 \u2014 before extracting anything, compare \u0060packages/live_storage/lib/src/persistence/local_storage_file_store.dart\u0060 and \u0060packages/live_sync/lib/src/model/sync_snapshot_codec.dart\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060packages/live_storage/lib/src/persistence/local_storage_file_store.dart:727\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":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f28f15d17111c6e759111f7aa34397530add33650dbe71b6efb0272983b01bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/live_storage/lib/src/persistence/local_storage_file_store.dart:775-786 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:244-255 \u2014 before extracting anything, compare \u0060packages/live_storage/lib/src/persistence/local_storage_file_store.dart\u0060 and \u0060packages/live_sync/lib/src/model/sync_snapshot_codec.dart\u0060 as WHOLE FILES: this scan already matched 6 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":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc5fd0eda212782af9cb6eb52aa58af7d67e200cb8f5b05997df87e37ecb887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/live_sync/lib/src/local_sync/local_discovery_service.dart:161-172 | packages/live_sync/lib/src/local_sync/local_discovery_service.dart:253-264 \u2014 both copies are in the same file, so extract the block 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":"packages/live_sync/lib/src/local_sync/local_discovery_service.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0e1276aecf0cb5cdf73ef387fbf8264ca54802f7c379068a81114d2d9d5ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/live_sync/lib/src/local_sync/local_sync_server.dart:210-221 | packages/live_sync/lib/src/local_sync/local_sync_server.dart:240-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_sync/lib/src/local_sync/local_sync_server.dart:210\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/local_sync/local_sync_server.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c73e04269033126e695e13b55706d869dbca89535b4d79b8c51fd59c0c13338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 13): apps/main_app/lib/src/features/library/presentation/library_page.dart:445-454 | apps/main_app/lib/src/features/library/presentation/library_page.dart:485-495 | apps/main_app/lib/src/features/library/presentation/library_page.dart:561-571 | apps/main_app/lib/src/features/library/presentation/watch_history_page.dart:85-94 | apps/main_app/lib/src/features/profile/presentation/profile_page.dart:108-118 | apps/main_app/lib/src/features/settings/presentation/account_settings_page.dart:63-72 | apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:317-327 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:242-252 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:446-456 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:486-495 | apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:253-263 | apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:560-570 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:104-114 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart\u0060 and \u0060apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/library/presentation/library_page.dart:485\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/library/presentation/library_page.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e0ac9766e137488f2ef014ba2496d93c90949fd517e618dd9c434af3f1f43a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:129-139 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart:152-162 | packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart:164-174 | packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart:126-136 | packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart:119-129 | packages/live_providers/lib/src/providers/stripchat/stripchat_preview_data_source.dart:168-178 | packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart:198-208 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart\u0060 and \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 33 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.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. The matched lines also transfer control out of the body holding them, 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, \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart:164\u0060 calls \u0060toLowerCase\u0060, \u0060contains\u0060 and \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:141\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":"packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52ce4e32b6b5548c187a074f540a25cd5d06233bac7f2cf6c8f29ef51df135b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:227-237 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:572-582 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:599-609 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:1158-1168 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:1329-1339 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:119-129 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9404d9f9d2bf7938281c99dd8f2159149b9b9199c66b698ad545701db4728d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart:387-397 | apps/main_app/lib/src/features/home/presentation/home_page.dart:491-501 | apps/main_app/lib/src/features/search/presentation/search_page.dart:397-407 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart\u0060 and \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9754e4af76869916ca9845d0f91f081c79997879cee44cb0fb7e854c22a6d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart:64-74 | apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:648-658 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:205-215 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart\u0060 and \u0060apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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":"apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e84cd0b06e0c193b7484d2f1cd0fee2dd1e31e4640f7fed0c83bd56174a2d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart:208-218 | packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart:180-190 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:173-183 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be730176928030dd65c982e043b5d224bee80d5267818f1591c66c26d599444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart:264-274 | apps/main_app/lib/src/features/room/presentation/room_preview_page.dart:702-712 \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 \u0060apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart:264\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"170816ea5ed00fbaaaf7e13c07914b664605b347f2e14c6a5232827a25a1baf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart:744-754 | apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart:769-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 \u0060apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart:744\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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1ac67a3d363fa993b12db834cb313e0dbcbb1377bbcf808ed19a4acdc3d90f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/appearance_settings_page.dart:17-27 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:522-532 \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 \u0060apps/main_app/lib/src/features/settings/presentation/appearance_settings_page.dart:17\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/appearance_settings_page.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6c872c328788fee74706f39ec34ff9e3f2cb22dd08d1f45f7160d8bc82cacc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/main_app/lib/src/shared/application/app_log.dart:174-185 | apps/main_app/lib/src/shared/application/app_log.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 \u0060apps/main_app/lib/src/shared/application/app_log.dart:174\u0060 it begins part-way through the construct above it, so those exact 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":"apps/main_app/lib/src/shared/application/app_log.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"203073b38023549be5ef6944261f2d825aac08f5f10c0d07ae103452d40662dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:235-245 | packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:264-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:235\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":"packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc028af026f5a76414af86fd6124b2b5ad55eaadb0e7261deeb65132b146a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:276-286 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:297-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/danmaku/youtube_danmaku_session.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":"packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bf1f5bb0da4c0ba8a7328f662834ff9f68cf7217203b7d9702de29ec44abc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart:246-256 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart:780-790 \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 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a72db61576e8a08b6f31fdf21a279bd4741e2b3d1e677b53a5c8ad3ec6d1288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart:197-207 | packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart:360-371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart:197\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b4af64af6847ff372dd5414ae03188e9171d104a97b7674df1c6ff4e22d893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/live_providers/lib/src/providers/douyu/douyu_transport.dart:54-64 | packages/live_providers/lib/src/providers/huya/huya_transport.dart:25-35 \u2014 \u0060packages/live_providers/lib/src/providers/douyu/douyu_transport.dart\u0060 and \u0060packages/live_providers/lib/src/providers/huya/huya_transport.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/douyu/douyu_transport.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":"packages/live_providers/lib/src/providers/douyu/douyu_transport.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd03b3f6294bf70cae78931e3b63dcbac60bad374a1b1ee0b52c09d37a19257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart:172-182 | packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart:168-176 \u2014 \u0060packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart\u0060 and \u0060packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 43 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart:172\u0060 it does not close everything it opens, so those exact 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":"packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"64754c8251d9226a5dea0b011806ce8a8f5f5a3e5e701c7f10034000f31d5c3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart:419-429 | packages/live_providers/lib/src/providers/youtube/youtube_playback_extractor.dart:87-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 \u0060packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart:419\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"439d6e79b741038cdaf43ab2c3bb5ed7f6c590183e03768d0dc4791709073874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): packages/live_providers/lib/src/providers/youtube/youtube_browse_data_source.dart:86-96 | packages/live_providers/lib/src/providers/youtube/youtube_browse_data_source.dart:153-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/youtube/youtube_browse_data_source.dart:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"packages/live_providers/lib/src/providers/youtube/youtube_browse_data_source.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"591032da9a5cfd6c38d3cb03a361da5bbf8ee3c6a9b30171e8ac142e37140b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:15-24 | packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:92-101 | packages/live_providers/lib/src/providers/douyin/douyin_transport.dart:33-42 | packages/live_providers/lib/src/providers/douyu/douyu_transport.dart:22-31 | packages/live_providers/lib/src/providers/huya/huya_transport.dart:15-24 \u2014 \u0060packages/live_providers/lib/src/providers/douyu/douyu_transport.dart\u0060 and \u0060packages/live_providers/lib/src/providers/huya/huya_transport.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:15\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"39402d6f527b832b0dd9e8fcf2e989f4f57c91aa790e7b2aa1ee587802d212ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:103-112 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart:133-142 | packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart:100-109 | packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart:93-102 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart\u0060 and \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 33 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7260bf5f580977ac8d55ed3b30bd1217bd8e8cb7f8f6ba279740e17730d4bfd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2113-2123 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:334-344 | packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart:276-286 \u2014 \u0060packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart\u0060 and \u0060packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 53 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ebcb6bc5b36e593c73e95289b70630fe6b6323e6cf7b460f36a513760055a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:87-96 | apps/main_app/lib/src/features/home/presentation/home_page.dart:89-98 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/browse/presentation/browse_page.dart\u0060 and \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/browse/presentation/browse_page.dart:87\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060key\u0060 to \u0060const Key(\u0027browse-appbar-search-button\u0027)\u0060 in one and \u0060const Key(\u0027home-appbar-search-button\u0027)\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"322938c149fedff20ee6bb79f1ce419c7096f39f49ebebb662dc27ae9ca4c9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): apps/main_app/lib/src/features/room/presentation/room_preview_page.dart:303-311 | apps/main_app/lib/src/features/room/presentation/room_preview_page.dart:1383-1392 \u2014 both copies are in the same file, so extract the block 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":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c58c23949c2523d2359d1933a3e4759ebd3272a0f51f46166c402be58ffad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:191-200 | apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart:213-222 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart\u0060 and \u0060apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c2a47c865fcffe5d73309464f13ff27633ad081052b46fa3ebfe24c8101ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:473-482 | packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:528-537 \u2014 before extracting anything, compare \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4910a0c5828d870a029f5df30d8960d98ab02f46ae6e9cd4f982c291f5beb8d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:653-662 | packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:1110-1119 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:653\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11afef13c000f8d08c299aa503320b4a01f02f2aac025213f3830edb67f071d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2980-2989 | packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:3067-3076 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2980\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2980}}}],"partialFingerprints":{"codehealthFindingId/v1":"d125ce9418263cf789bb4d774982774622ff4e532a5ccddadfd6a8c08639c812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:127-136 | packages/live_providers/lib/src/providers/huya/huya_transport.dart:71-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1e9434deaaa4e5d3a2e5f4e8ded4fd87be6ea89ada53c95f8ac4595dd95af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart:161-170 | packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart:109-118 \u2014 \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart\u0060 and \u0060packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2afb2bd03e7008c348d19a907d7c09112bdf6f2d849f2cd61edef766bc7744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:73-82 | packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:145-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 \u0060packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7370436556b6a80f24b36df18c8e4cd8ab9704166be5b40bbef6e12a82e69a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart:190-199 | packages/live_providers/lib/src/providers/huya/huya_mapper.dart:40-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart:190\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":"packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"064feae1c80cca5f18ab6570202f139873b39ff04495c1063d7088efe19f828b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/live_providers/lib/src/providers/huya/huya_mapper.dart:104-113 | packages/live_providers/lib/src/providers/huya/huya_mapper.dart:114-123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/huya/huya_mapper.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7517172bf03f0a972acfd75723160478e2bd2516f8286f261b041b58627ce1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart:248-256 | packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:117-125 | packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart:152-160 | packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart:114-122 | packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart:107-115 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart\u0060 and \u0060packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 62 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"986d2f7b52571e46b2b142bfaa1fbdc914b06d563da3cc4da46696c24fcebaab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart:209-217 | packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:245-253 | packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart:181-189 | packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart:174-182 \u2014 before extracting anything, compare \u0060packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart\u0060 and \u0060packages/live_providers/lib/src/danmaku/huya_danmaku_session.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 before the matched lines, \u0060packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart:244\u0060 calls \u0060ping\u0060 and \u0060packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart:208\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":"packages/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"10772b3b4861683fc6e44a5a6df3911a6a1e45f8a68a9713ecd22b11ab84f3e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:194-202 | apps/main_app/lib/src/features/browse/presentation/browse_page.dart:347-355 | apps/main_app/lib/src/features/home/presentation/home_page.dart:234-242 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/browse/presentation/browse_page.dart\u0060 and \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/browse/presentation/browse_page.dart:194\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fc32b3f8becd33f6e9a59f0521b16eef6a3399765163d99c9b09351b7ddc76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:379-387 | apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart:121-129 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:345-353 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart\u0060 and \u0060apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:379\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"768657361144388cdb494178c2a5a6450dc87bf54c7433bbc8df2b039baf1966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart:116-124 | packages/live_providers/lib/src/providers/douyu/douyu_transport.dart:86-94 | packages/live_providers/lib/src/providers/huya/huya_transport.dart:60-68 \u2014 \u0060packages/live_providers/lib/src/providers/douyu/douyu_transport.dart\u0060 and \u0060packages/live_providers/lib/src/providers/huya/huya_transport.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_transport.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_transport.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4e7221040b656bbe5c7fbd41c461fe45ca21edb7262c95a2d732c3ad430b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart:148-159 | packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart:96-107 | packages/live_providers/lib/src/providers/youtube/youtube_hls_master_playlist_parser.dart:180-191 \u2014 \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart\u0060 and \u0060packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d2608a930b28b14dca6275b45bbe688c7b75a6382499edc27f4e35acb8ce99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart:432-440 | packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart:465-473 | packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart:475-483 \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 \u0060packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart:432\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc66850b9015c4347b7cf6952ea99db075efa8d0628d58d397da10426778b7ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart:182-190 | apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart:244-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 \u0060apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart:182\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, \u0060apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart:253\u0060 calls \u0060isEnabled\u0060 and \u0060apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart:191\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":"apps/main_app/lib/src/features/settings/presentation/layout_settings_page.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b1a1385ae13fd9dc512f2e6c0d0d0a0ae01df623a43b47bda8cb39349c6e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/main_app/lib/src/features/sync/application/manage_local_sync_use_case.dart:134-142 | apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:396-404 \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 \u0060apps/main_app/lib/src/features/sync/application/manage_local_sync_use_case.dart:134\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/sync/application/manage_local_sync_use_case.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2146ff968bc4c2a5a97a06681f483471f011ef202fb1c41620660e05caa5e1f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2358-2366 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:1528-1536 \u2014 before extracting anything, compare \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2358\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c97839797f2958de1ba9c9317ed04ea7bcacdb25560fa76b49c16d98f7bff09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:408-416 | packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart:490-498 \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 \u0060packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:408\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b01b64f458da0ff76c825d7d984d8bb83234c55d0cb009fec97d5d40333e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_providers/lib/src/providers/youtube/youtube_browse_data_source.dart:370-378 | packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart:240-248 \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":"packages/live_providers/lib/src/providers/youtube/youtube_browse_data_source.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a930756c22985168b47bc03963da7f27115d541ddab3d5b136a0a71043a04b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_sync/lib/src/local_sync/local_sync_client.dart:92-100 | packages/live_sync/lib/src/local_sync/local_sync_client.dart:127-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_sync/lib/src/local_sync/local_sync_client.dart:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/local_sync/local_sync_client.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b0f316fea1ba067ab9f0e438b8af6ddbeeefd58479eee434754617cc1b4ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:2114-2121 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:335-342 | packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart:277-284 | packages/live_providers/lib/src/providers/youtube/youtube_playback_source.dart:103-110 | packages/live_providers/lib/src/providers/youtube/youtube_playback_source.dart:210-217 | packages/live_providers/lib/src/providers/youtube/youtube_playback_source.dart:222-229 \u2014 \u0060packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart\u0060 and \u0060packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 53 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d5c27a678656fcb474e3188a452eb138db322b1ad34205d809dd89c7776dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:470-477 | apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart:347-354 | apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart:63-70 | apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart:647-654 | apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart:204-211 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart\u0060 and \u0060apps/main_app/lib/src/features/sync/presentation/sync_center_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/main_app/lib/src/features/browse/presentation/browse_page.dart:470\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c7275cc3bf80e4c098f35f95c03fbb77b190f06c521f0eb9debaaee2d40b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart:73-80 | packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart:56-63 | packages/live_providers/lib/src/providers/youtube/youtube_hls_master_playlist_parser.dart:97-104 \u2014 \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart\u0060 and \u0060packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart:72\u0060 calls \u0060tryParse\u0060 and \u0060packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_parser.dart:55\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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d123c14847a8ba871d3f491f73a2c84c7c46e6870e43c512bcc4fc643aa7827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:409-416 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:422-429 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39ff321650e3b45ead29006ce2f77ecfa89d740c291d459da1aadf78e6171a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_graphql_client.dart:383-390 | packages/live_providers/lib/src/providers/twitch/twitch_playback_surface_manager.dart:418-425 \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":"packages/live_providers/lib/src/providers/twitch/twitch_graphql_client.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f8defe31154cc666fa99dbd3c8d0a3ebf14a6615a1f257dac16c4dfe021685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart:291-298 | packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart:536-543 \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":"packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3776c1f32c08657a4347a068a9ee05aeb693278abb33abb4d43b8d9114c0eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/live_sync/lib/src/backup/webdav_backup_service.dart:201-208 | packages/live_sync/lib/src/backup/webdav_backup_service.dart:225-232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_sync/lib/src/backup/webdav_backup_service.dart:201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/backup/webdav_backup_service.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c147117bfbc723c14f6b394d0baf76aaa4f518c19caae00892792cd87b1814d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/live_sync/lib/src/local_sync/local_sync_client.dart:71-78 | packages/live_sync/lib/src/local_sync/local_sync_client.dart:109-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/local_sync/local_sync_client.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f818e9c003983eb98c89da5a19bb17d5d93d24ceec7b07b434f784b875d173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/live_sync/lib/src/runtime/sync_snapshot_merger.dart:99-106 | packages/live_sync/lib/src/runtime/sync_snapshot_merger.dart:109-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 \u0060packages/live_sync/lib/src/runtime/sync_snapshot_merger.dart:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/runtime/sync_snapshot_merger.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3247921e9f9c17c6aa26e39a2a9aabaa2dd3bfdd0c8dfa294ad458a40116e219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart:144-150 | packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart:190-196 | packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart:182-188 \u2014 \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart\u0060 and \u0060packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ce17274c66aeb46e12318879c60a465767deebfb2d36d8be8de2436cbb8cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/main_app/lib/src/app/runtime_bridges/linux_desktop_webview_adapter.dart:457-463 | apps/main_app/lib/src/features/settings/presentation/linux_desktop_web_login_page.dart:118-124 \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 \u0060apps/main_app/lib/src/app/runtime_bridges/linux_desktop_webview_adapter.dart:457\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/app/runtime_bridges/linux_desktop_webview_adapter.dart"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab4069b8fec6ebdfcc388118c2026104645095d58c372871b2e9f5d6e9eb6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): packages/live_providers/lib/src/providers/bilibili/bilibili_mapper.dart:152-158 | packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:245-248 | packages/live_providers/lib/src/providers/huya/huya_mapper.dart:217-223 \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 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_mapper.dart:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_mapper.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b38b2e469e07608a79a9d5b9979c44871511b3814e4d9d34a0eb26c79c65ec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:12-18 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:43-49 \u2014 both copies are in the same file, so extract the block 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":"packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10407b466efdea05923910dcff97ebab54319a8a3049f5164752d68e4a40e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart:404-410 | packages/live_providers/lib/src/providers/youtube/youtube_playback_extractor.dart:70-76 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ec66ce91891e18651908c6dac55ba700acd1561c80332420075e68f7a9d8b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/live_providers/lib/src/providers/douyin/douyin_live_data_source.dart:312-317 | packages/live_providers/lib/src/providers/douyin/douyin_mapper.dart:25-30 \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 \u0060packages/live_providers/lib/src/providers/douyin/douyin_live_data_source.dart:312\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/douyin/douyin_live_data_source.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cbf952e7824cf61df531042795121d92cc159f092e244a6d597f1e63956cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/live_providers/lib/src/providers/douyu/douyu_transport.dart:89-94 | packages/live_providers/lib/src/providers/douyu/douyu_transport.dart:102-109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/live_providers/lib/src/providers/douyu/douyu_transport.dart:89\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note 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":"packages/live_providers/lib/src/providers/douyu/douyu_transport.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ed5f967440c6764cbe7611ee45067d29f7c98029f8ef3b2358bcf8bae6a595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:752-756 | packages/live_providers/lib/src/providers/twitch/twitch_bootstrap_resolver.dart:183-189 \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":"packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a41971020226315a1c6f4f51444d8a12a6cde9ae14664a3d14fb680931145b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/main_app/lib/src/features/parse/application/parse_room_input_use_case.dart:247-255 | packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart:669-677 \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":"apps/main_app/lib/src/features/parse/application/parse_room_input_use_case.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f0628570f5f6aa6f5a04bb212114032e7f4899290ae2ed68a8258a31f21f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/main_app/lib/src/features/settings/application/credential_migration_bundle.dart:188-196 | packages/live_storage/lib/src/persistence/local_storage_file_store.dart:755-763 \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":"apps/main_app/lib/src/features/settings/application/credential_migration_bundle.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f87935e7eeaa077952f33ea362a9a0b2404097a362dc5c0263bd926c337e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:418-425 | packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:380-387 \u2014 \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 60 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"018bfbb01ae72aa97808faccc95036e2689e4b645b79bbf03ec19d6af3984517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:502-506 | packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:514-518 \u2014 before extracting anything, compare \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72908b7f52bfbfcc20498093f1ec045146095f850d781f30f2a4c5bd0038aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart:508-514 | packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart:520-526 \u2014 before extracting anything, compare \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"b864ee86af68117ebe62a175364e938481dc3502f966bc0e18e253b941cf6ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): packages/live_player/lib/src/mdk_player.dart:751-756 | packages/live_player/lib/src/memory_player.dart:148-153 | packages/live_player/lib/src/simulated_backend_player.dart:162-167 \u2014 before extracting anything, compare \u0060packages/live_player/lib/src/memory_player.dart\u0060 and \u0060packages/live_player/lib/src/simulated_backend_player.dart\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_player/lib/src/mdk_player.dart"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"040fe54f87892aa95e5dc04bc0ef751f1ceda686648ca5e7a0ca091d35710ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/live_player/lib/src/memory_player.dart:104-113 | packages/live_player/lib/src/simulated_backend_player.dart:121-130 \u2014 before extracting anything, compare \u0060packages/live_player/lib/src/memory_player.dart\u0060 and \u0060packages/live_player/lib/src/simulated_backend_player.dart\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_player/lib/src/memory_player.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48656e261857f45288fbd35e015b71095f023a99260a5953d250f3b42a89d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/live_player/lib/src/memory_player.dart:127-136 | packages/live_player/lib/src/simulated_backend_player.dart:141-150 \u2014 before extracting anything, compare \u0060packages/live_player/lib/src/memory_player.dart\u0060 and \u0060packages/live_player/lib/src/simulated_backend_player.dart\u0060 as WHOLE FILES: this scan already matched 5 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_player/lib/src/memory_player.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae5fb7fb8e9653edf152792185c4d77cb6c8b22e190bd177d75733a837a79f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_player/lib/src/memory_player.dart:138-146 | packages/live_player/lib/src/simulated_backend_player.dart:152-160 \u2014 before extracting anything, compare \u0060packages/live_player/lib/src/memory_player.dart\u0060 and \u0060packages/live_player/lib/src/simulated_backend_player.dart\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_player/lib/src/memory_player.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e4e64ce9c04640584aefb9aebb58124dab495ac32ab6b275347395ad20ad46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart:495-503 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:500-508 \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":"packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"2669834b10ee81592f8724e965b9a4cc32c1765c5d64a353cc3ac7a379786b1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_providers/lib/src/providers/bilibili/bilibili_mapper.dart:278-286 | packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart:390-398 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060String?\u0060 in one and \u0060String\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":"packages/live_providers/lib/src/providers/bilibili/bilibili_mapper.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3e0cd22bca4c7b2e1f99a444b1e2a10f0b790fca3dc361a82bd86b08bdbd2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart:90-97 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart:115-122 | packages/live_providers/lib/src/providers/douyin/douyin_provider.dart:99-106 | packages/live_providers/lib/src/providers/douyu/douyu_provider.dart:94-101 | packages/live_providers/lib/src/providers/huya/huya_provider.dart:87-94 | packages/live_providers/lib/src/providers/stripchat/stripchat_provider.dart:85-92 | packages/live_providers/lib/src/providers/twitch/twitch_provider.dart:91-98 | packages/live_providers/lib/src/providers/youtube/youtube_provider.dart:113-120 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart\u0060 and \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 31 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70e14f8993f8f53b533466cd9d6737d7e1704a6c91c20a0975231e5e112c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart:99-103 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart:124-128 | packages/live_providers/lib/src/providers/douyin/douyin_provider.dart:108-112 | packages/live_providers/lib/src/providers/douyu/douyu_provider.dart:103-107 | packages/live_providers/lib/src/providers/huya/huya_provider.dart:96-100 | packages/live_providers/lib/src/providers/stripchat/stripchat_provider.dart:94-98 | packages/live_providers/lib/src/providers/twitch/twitch_provider.dart:100-104 | packages/live_providers/lib/src/providers/youtube/youtube_provider.dart:122-126 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart\u0060 and \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 31 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"addfa234652a1d8e9ae985694bd4a59aef941c7edd205b47e92713f7e078bfcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart:105-109 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart:130-134 | packages/live_providers/lib/src/providers/douyin/douyin_provider.dart:114-118 | packages/live_providers/lib/src/providers/douyu/douyu_provider.dart:109-113 | packages/live_providers/lib/src/providers/huya/huya_provider.dart:102-106 | packages/live_providers/lib/src/providers/stripchat/stripchat_provider.dart:100-104 | packages/live_providers/lib/src/providers/twitch/twitch_provider.dart:106-110 | packages/live_providers/lib/src/providers/youtube/youtube_provider.dart:128-132 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart\u0060 and \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 31 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"00018a0c3f8d11c7a51b68ead85db9ca64af0f19753927a765f8383a1ac8802d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart:117-121 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart:142-146 | packages/live_providers/lib/src/providers/douyin/douyin_provider.dart:126-130 | packages/live_providers/lib/src/providers/douyu/douyu_provider.dart:121-125 | packages/live_providers/lib/src/providers/huya/huya_provider.dart:114-118 | packages/live_providers/lib/src/providers/stripchat/stripchat_provider.dart:112-116 | packages/live_providers/lib/src/providers/twitch/twitch_provider.dart:118-122 | packages/live_providers/lib/src/providers/youtube/youtube_provider.dart:140-144 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart\u0060 and \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 31 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60902f1f47fa99ac19ff2aa5213df7154fbff13b44f720b8a45b96358c884a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart:123-130 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart:148-155 | packages/live_providers/lib/src/providers/douyin/douyin_provider.dart:132-139 | packages/live_providers/lib/src/providers/douyu/douyu_provider.dart:127-134 | packages/live_providers/lib/src/providers/huya/huya_provider.dart:120-127 | packages/live_providers/lib/src/providers/stripchat/stripchat_provider.dart:118-125 | packages/live_providers/lib/src/providers/twitch/twitch_provider.dart:124-131 | packages/live_providers/lib/src/providers/youtube/youtube_provider.dart:146-153 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart\u0060 and \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 31 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_provider.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7484a4b613b777f719de273744893a46464c1f57c15267e3a55c5d1af87c77ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart:688-696 | packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:357-365 | packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart:300-308 \u2014 \u0060packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart\u0060 and \u0060packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 53 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:367\u0060 calls \u0060_asInt\u0060, \u0060asInt\u0060 and \u0060packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart:310\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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_mapper.dart"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7ec35f793d697c9e3d0e5ee3a95f6e2a8fd8636332e62c7cf404fd93a66ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/live_providers/lib/src/providers/douyin/douyin_live_data_source.dart:506-512 | packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart:202-208 \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":"packages/live_providers/lib/src/providers/douyin/douyin_live_data_source.dart"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"61243af3ca336d53df7115ec6fba0346efa52c63b2b9591c8f32c2b67b26b407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_live_data_source.dart:276-282 | packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart:242-248 \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":"packages/live_providers/lib/src/providers/twitch/twitch_live_data_source.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"780367df4ef643cc388a3e0fa28b33fd8f5609902db269af9fecca4909f1ae82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart:371-377 | packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart:310-316 \u2014 \u0060packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart\u0060 and \u0060packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 53 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/twitch/twitch_mapper.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111f32110da4c4e62ea73f4a34b694050a0dc04f31fd1466a275e8a379aa347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_storage/lib/src/persistence/local_storage_file_store.dart:765-773 | packages/live_sync/lib/src/model/sync_snapshot_codec.dart:234-242 \u2014 before extracting anything, compare \u0060packages/live_storage/lib/src/persistence/local_storage_file_store.dart\u0060 and \u0060packages/live_sync/lib/src/model/sync_snapshot_codec.dart\u0060 as WHOLE FILES: this scan already matched 6 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":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8a54cd9f7d63175117054c46ef252facd05cb2f4c644f7fc4ec32a1b713804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/live_storage/lib/src/repositories/in_memory/in_memory_follow_repository.dart:28-35 | packages/live_storage/lib/src/repositories/in_memory/in_memory_history_repository.dart:28-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":"packages/live_storage/lib/src/repositories/in_memory/in_memory_follow_repository.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3c3bfe7c24b6fbe05d040e1b30821f42c6467c32828a614252f2966b05fe86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/live_sync/lib/src/backup/webdav_backup_service.dart:57-62 | packages/live_sync/lib/src/local_sync/local_sync_client.dart:62-67 \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":"packages/live_sync/lib/src/backup/webdav_backup_service.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"937d690b45bee8b2e669f86de495f96bf4d5f3ffce7fe6d6da23698867badabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): apps/main_app/lib/src/features/browse/presentation/browse_page.dart:209-216 | apps/main_app/lib/src/features/browse/presentation/browse_page.dart:362-369 | apps/main_app/lib/src/features/home/presentation/home_page.dart:249-256 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/browse/presentation/browse_page.dart\u0060 and \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"177418702689fea92d262b3f4915fe3399928b2d75fd63596cb26296fd6ec6fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart:71-79 | apps/main_app/lib/src/features/home/presentation/home_page.dart:294-302 | apps/main_app/lib/src/features/search/presentation/search_page.dart:286-294 \u2014 before extracting anything, compare \u0060apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart\u0060 and \u0060apps/main_app/lib/src/features/home/presentation/home_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/category/presentation/provider_categories_page.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bafa3544150f7645244756de14fc30626796c6c2d97bf1fd7ff43329a7087d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:456-462 | packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart:192-198 \u2014 before extracting anything, compare \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fc41e368a6908b06424d3edd3d36bc59427a16069d7c881e18f68c09a5d1d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart:754-767 | packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart:2334-2346 \u2014 \u0060packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart\u0060 and \u0060packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 60 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060session\u0060 to \u0060_ChaturbateLlHlsSession\u0060 in one and \u0060_StripchatLlHlsSession\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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d971936c074fda8541f599903c0a480f835fc8938de1ec7a2d7071c4fa86e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_providers/lib/src/danmaku/isolate_danmaku_session.dart:46-54 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:483-491 \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":"packages/live_providers/lib/src/danmaku/isolate_danmaku_session.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"911f8c925829f58bd794ff16a040b96c2b6cd4d39a6c913088ff0c4e0c3eec3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart:387-395 | packages/live_providers/lib/src/danmaku/youtube_danmaku_session.dart:447-455 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060values\u0060 to \u0060List\u003CString\u003E\u0060 in one and \u0060Iterable\u003CString\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/twitch_danmaku_session.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f005aa3aabb78c734832b8a08481337a6460c2db120be3d175fd7c23dcbda7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart:551-556 | packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart:558-563 | packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart:706-711 | packages/live_providers/lib/src/providers/bilibili/bilibili_sign_service.dart:286-291 | packages/live_providers/lib/src/providers/bilibili/bilibili_sign_service.dart:293-298 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dcd518bba97273c25e2ea96abf3581dd8895e2e19255085532283feddb00ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart:148-159 | packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart:171-182 | packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart:183-193 | packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart:145-155 | packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart:137-147 | packages/live_providers/lib/src/providers/stripchat/stripchat_preview_data_source.dart:186-196 | packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart:217-227 | packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart:212-223 \u2014 \u0060packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart\u0060 and \u0060packages/live_providers/lib/src/providers/chaturbate/chaturbate_preview_data_source.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 33 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5c80a41718b688568a997a4513d7aea341361bf83f645e8db33c5079d0d262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_api_client.dart:198-206 | packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart:713-721 \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":"packages/live_providers/lib/src/providers/twitch/twitch_api_client.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5661770503eb9f265e4be08b8e13933e695eda2262329a12b2fcee9fec569276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/live_providers/lib/src/providers/twitch/twitch_graphql_client.dart:392-404 | packages/live_providers/lib/src/providers/twitch/twitch_playback_surface_manager.dart:427-439 \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":"packages/live_providers/lib/src/providers/twitch/twitch_graphql_client.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"359227ee63bbb98e54a2efab56e339b783453116328c36ebad509158b1aefcc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): packages/live_storage/lib/src/repositories/file/file_follow_repository.dart:12-17 | packages/live_storage/lib/src/repositories/file/file_history_repository.dart:24-29 | packages/live_storage/lib/src/repositories/file/file_tag_repository.dart:9-14 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_storage/lib/src/repositories/file/file_follow_repository.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ca7ba7d907b05ae771d0669c18466012ff15b4f93e5184b7823333b6e3696e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/live_storage/lib/src/repositories/file/file_settings_repository.dart:21-26 | packages/live_storage/lib/src/repositories/file/file_tag_repository.dart:39-44 \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":"packages/live_storage/lib/src/repositories/file/file_settings_repository.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c52fa7e6b6aa003e536e961d3cb3a81a0702135be56fc01cf419bb1ab4eb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart:531-536 | packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart:366-371 \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":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2752f2c0ca305546502804e7d4165d57a2fdeaf8a19f8db52042ac4591c4d7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DefaultRoomAndroidPlaybackBridgeFacade (LCOM4 10): DefaultRoomAndroidPlaybackBridgeFacade\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/app/platform/room_fullscreen_session_platform_adapters.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"283489ca04d18be08a1875745e7ec4ec58c2f0cc1414bac1dfe5891d6e27289b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MigrationPlaceholderProvider (LCOM4 8): MigrationPlaceholderProvider\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":"packages/live_providers/lib/src/providers/migration_placeholder_provider.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c53c5f73c2c5db2b40e2258ca889922306fbae6ef765447b937ccd5c45adcac"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WindowManagerRoomDesktopWindowFacade (LCOM4 7): WindowManagerRoomDesktopWindowFacade\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":"apps/main_app/lib/src/app/platform/room_fullscreen_session_platform_adapters.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adbb981684c4b0e0c7ef2e0b984f27b6137af1a4acb10c65afcb2ad56e0f796"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MpvPlayer (LCOM4 7): MpvPlayer\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":"packages/live_player/lib/src/mpv_player.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"071791eb67e19f1f50a6c0b0847cdd738bd71f37a17a4ddd08e3708d8d5e1c7f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HlsProxyPlatformAdapterImpl (LCOM4 6): HlsProxyPlatformAdapterImpl\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":"apps/main_app/lib/src/app/runtime_bridges/hls_proxy_platform_adapter_impl.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f40601e4ba704b6e44b84655e3a97bcbc74872cc202f6e04796a6e6c23ed4c5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MemoryPlayer (LCOM4 6): MemoryPlayer\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":"packages/live_player/lib/src/memory_player.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbbf8eeb544bf6199495f30e0937a4ecbd5b7491d0aa0cbcdd39623db60cade"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _RoomPreviewPageState (LCOM4 5): _RoomPreviewPageState\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":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"705576e9b865545ede6d6a33808ad187c96574cdda770b94cdb201161be0ee5a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SimulatedBackendPlayer (LCOM4 5): SimulatedBackendPlayer\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":"packages/live_player/lib/src/simulated_backend_player.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f592563fd30bb4d58580867e83d8207d900b2fd7094f3ce027505766f160351c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ProviderDiscoveryTabState (LCOM4 4): _ProviderDiscoveryTabState\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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"359a8e73631d94ce73dc9d1427a2c53a70218d68208037ec29320d30a21aa905"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RoomControlsUtilityActions (LCOM4 4): RoomControlsUtilityActions\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":"apps/main_app/lib/src/features/room/application/room_controls_utility_actions.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"458876883f77eabe9e0e482ce734275cd823da0a08361a92d449e8bd3b699502"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _RoomDanmakuOverlayState (LCOM4 4): _RoomDanmakuOverlayState\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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_danmaku.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e68ebc454897ba3842e90398ac6a5ed1df18ea0283f7690a39252f657be369"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _StripchatLlHlsSession (LCOM4 4): _StripchatLlHlsSession\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/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":3673}}}],"partialFingerprints":{"codehealthFindingId/v1":"810adab95230746dfe7839a98118db2e3bdde9cb75c63d8df1ad158898743436"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MdkPlayer (LCOM4 4): MdkPlayer\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/live_player/lib/src/mdk_player.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0f41397b063fd5f0f8bba2332ef239f9fe3fa8986b8579895967a3bd415216"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BilibiliProvider (LCOM4 4): BilibiliProvider\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/live_providers/lib/src/providers/bilibili/bilibili_provider.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de3be9d1e50904370690f518c02e11ed024af1ce18f5c0cb1f984a1352a3ed2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChaturbateProvider (LCOM4 4): ChaturbateProvider\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/live_providers/lib/src/providers/chaturbate/chaturbate_provider.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f807961743460a6ded099cb788a50b70b09d7f7e0799c98b68d2286205714b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DouyinProvider (LCOM4 4): DouyinProvider\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/live_providers/lib/src/providers/douyin/douyin_provider.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c2f47bb1c33a6640ab67593f7bc5e7ab280ebf0cf34d4b77ca25d7867ca602"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DouyuProvider (LCOM4 4): DouyuProvider\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/live_providers/lib/src/providers/douyu/douyu_provider.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f076e9ec3c5741d08adac06a991c65afaad803484c28a637a37b9d970d776923"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HuyaProvider (LCOM4 4): HuyaProvider\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/live_providers/lib/src/providers/huya/huya_provider.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3905b494e0e0c0f0d18b97bc9667a4e0943e6d5fbfdce6502b95ce0e2fe63ed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StripchatProvider (LCOM4 4): StripchatProvider\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/live_providers/lib/src/providers/stripchat/stripchat_provider.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa6f94c08f0a80100fb53808a044234164b92035f2e009d61f73eec6ab133d6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TwitchProvider (LCOM4 4): TwitchProvider\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/live_providers/lib/src/providers/twitch/twitch_provider.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52275165750c5bbfc0ab9573506eb5c54a918eedd78ce5ffdc4358d6bbbbd94"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: YouTubeBrowseDataSource (LCOM4 4): YouTubeBrowseDataSource\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/live_providers/lib/src/providers/youtube/youtube_browse_data_source.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e5c5f18489727cb3d7963d01f990bf2c64e0a3b571b237904b946c549d29d2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: YouTubePlaybackDataSource (LCOM4 4): YouTubePlaybackDataSource\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/live_providers/lib/src/providers/youtube/youtube_playback_data_source.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"49eefcd2405eab4b3848c7ebab8d554992a4dea3b4c99fade4d949cd3aeb64e9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: YouTubeProvider (LCOM4 4): YouTubeProvider\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/live_providers/lib/src/providers/youtube/youtube_provider.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"290dfc1fd75e5777cbc312e4ff3799c500542a9dc2fd16397d2a00741451a35b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WebviewImpl (LCOM4 4): WebviewImpl\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":"third_party/desktop_webview_window/lib/src/webview_impl.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa136e40e270fec5a2f86616e73f82d3f27e8f62f375a6540e8270382c289df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart: apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in RoomPlayerSurfaceSection.build at line 348. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.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":"apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b477a995fc2ed098688da3bd0cc400d4e2ff1d90b8866b31c010d556883fc57"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart: packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in StripchatLlHlsProxy._materializePlaylistImpl at line 901. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8237ee009ec878cf6693c0008e95a7d5a159878d491da597b72275c6503741"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/room/presentation/room_preview_page.dart: apps/main_app/lib/src/features/room/presentation/room_preview_page.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in _RoomPreviewPageState.build at line 1337. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/room/presentation/room_preview_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":"apps/main_app/lib/src/features/room/presentation/room_preview_page.dart"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4b31cdc6d49cc8703581c6bec7a9d346e4f7290c35cf9e0e85afa604214d9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart: apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in FollowWatchRow.build at line 32. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.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":"apps/main_app/lib/src/shared/presentation/widgets/follow_watch_row.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6b7c2094d2ce718c813710216bd11549c4a6e5d952aaea75b632e33124efbf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart: packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in TwitchAdGuardProxy._selectPlayablePlaylist at line 579. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c295ace300d35e12caece4ad215f2c8ffe13c59810280366d68be730328abcb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart: apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in _SyncLocalPageState.build at line 640. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/sync/presentation/sync_local_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":"apps/main_app/lib/src/features/sync/presentation/sync_local_page.dart"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0927587d7e776fb10aa50341e93db8e155f5b2eb6c406f956d05a199734f6cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/room/application/room_playback_controller.dart: apps/main_app/lib/src/features/room/application/room_playback_controller.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in RoomPlaybackController._flushPendingPlaybackBootstrap at line 228. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/room/application/room_playback_controller.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"66df8cbdb6223d14983cb50bf0e10790717708d6bafd7c2cd0b82fe6ed7c5334"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart: apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in RoomTwitchRecoveryController.scheduleRecovery at line 145. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_twitch_recovery_controller.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e23b8bb5cb6bc66c621673826130aea96eff4dd39bbb982e65bb5441e09463"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/room/application/room_player_runtime_observer.dart: apps/main_app/lib/src/features/room/application/room_player_runtime_observer.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in RoomPlayerRuntimeObserver._handlePlayerDiagnostics at line 273. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/room/application/room_player_runtime_observer.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":"apps/main_app/lib/src/features/room/application/room_player_runtime_observer.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce657d5cd8350e200c71ea15a4149b9f14bdb4c9f9db05f1e83749094b074dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart: apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in _PlayerSettingsPageState._buildAdvancedOptions at line 429. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/settings/presentation/player_settings_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":"apps/main_app/lib/src/features/settings/presentation/player_settings_page.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"17077a083164ac5d0224577ced76518df0bcc64a0d5cc70d4c868464c9c8f195"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/library/application/load_follow_watchlist_use_case.dart: apps/main_app/lib/src/features/library/application/load_follow_watchlist_use_case.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in LoadFollowWatchlistUseCase.call at line 67. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/library/application/load_follow_watchlist_use_case.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":"apps/main_app/lib/src/features/library/application/load_follow_watchlist_use_case.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9990caadc0dbaed8a2675d3ca7d897806a1d73f90337e04a6ddf76937e6eb5a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart: packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ChaturbateLiveDataSource._loadDiscoverRoomsBounded at line 724. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_live_data_source.dart"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1265db8877f5b73ffb2037230728610400815f4d35aeb637bb4090623ba0a0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/live_player/lib/src/mdk_player.dart: packages/live_player/lib/src/mdk_player.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in MdkPlayer.setSource at line 119. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- packages/live_player/lib/src/mdk_player.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_player/lib/src/mdk_player.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbc8e0d30f76104df2bd4fa3f448151b8965c0062fcc0f578c51986973d3d99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart: apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in RoomDanmakuController.bindSession at line 289. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"02044d7d303f3a549d5eb445abb13e009cf0ad26d100aa72cf1f21973d2808f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart: apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in LoadProviderAccountSettingsUseCase.call at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.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":"apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ee76d48288270c0ffc2ad8b4ca13e76155680ee9d58fe09958e0012860e9c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/shared/application/secure_credential_store.dart: apps/main_app/lib/src/shared/application/secure_credential_store.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in LazySecureCredentialStore._promoteResolvedStore at line 695. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/shared/application/secure_credential_store.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":"apps/main_app/lib/src/shared/application/secure_credential_store.dart"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"694de90f7407e154c2feba4fbd94c553e03803f0c13ed90a1f469cb2a6afa57b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/live_providers/lib/src/providers/huya/huya_mapper.dart: packages/live_providers/lib/src/providers/huya/huya_mapper.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in HuyaMapper.mapRoomDetail at line 51. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- packages/live_providers/lib/src/providers/huya/huya_mapper.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/huya/huya_mapper.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"462f571d44b73eab6a440b93f706a889594446f141a9105ca61c25064e1a012e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/live_sync/lib/src/local_sync/local_sync_server.dart: packages/live_sync/lib/src/local_sync/local_sync_server.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in HttpLocalSyncServer._handleRequest at line 169. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- packages/live_sync/lib/src/local_sync/local_sync_server.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":"packages/live_sync/lib/src/local_sync/local_sync_server.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10963af1a010e2648210bea0df8a54d1b973aaba1b46620c6b2ace018fb731c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/live_sync/lib/src/runtime/repository_sync_snapshot_service.dart: packages/live_sync/lib/src/runtime/repository_sync_snapshot_service.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in RepositorySyncSnapshotService.importCategory at line 118. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- packages/live_sync/lib/src/runtime/repository_sync_snapshot_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":"packages/live_sync/lib/src/runtime/repository_sync_snapshot_service.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a4f12b1b455f22c59d492db804c2bd741cb1dd9a81e43c379fc231942409fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/live_player/lib/src/playback_failover_policy.dart: packages/live_player/lib/src/playback_failover_policy.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in PlaybackFailoverPolicy.isHardOpenFailure 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- packages/live_player/lib/src/playback_failover_policy.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":"packages/live_player/lib/src/playback_failover_policy.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ed6fe250021d8e6089b9fb6e2fffc3cb07591f7951f27f8f0eb20adb09b511"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart: apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in _FollowSettingsPageState.build at line 340. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/settings/presentation/follow_settings_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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd8f4f53b299f2459a54783bfebf0129085aa49a132c1eddfa315a9cba8c059"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart: apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in RoomPictureInPictureCoordinator._handleLifecycleState at line 184. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.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":"apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"475d2ac19f59f5ce09a0eee40012d8c3be623a9791f6cd24b3eae8a2ca75a6bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart: packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in TarsInputStream.skipFieldWithType at line 191. 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-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.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":"packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f6ddc3219a89f472157cf26ff398192895c24476b32af9bdced373f3765888"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart: apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in _SyncWebDavPageState.build at line 197. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-05-02..2026-07-31, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-02 16:53:00 \u002B08:00\u0027 --until=\u00272026-07-31 16:53:00 \u002B08:00\u0027 --full-history --no-merges -- apps/main_app/lib/src/features/sync/presentation/sync_webdav_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":"apps/main_app/lib/src/features/sync/presentation/sync_webdav_page.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7927b2d7ec9a289cc2fcbfb48a649caf6f7faedb754c9bd5ed0cb31a4327a2"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060apps/main_app/macos/Runner.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/macos/Runner.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c8484c3233ae7b601ed9878b73dd58b939d9e238a06b8893cd5faff04a6ed7"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060apps/main_app\u0060 (55150 LoC, 338 module-visible types across 36 directories) overshoots its size bounds. 2 of 20 build unit(s) (Cargo, Gradle, SwiftPM, Xcode, pub) overshoot their size bounds, lowering Project Cohesion to 8.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad6e68e87c0c0bce079bab06cf2535e77f7eabb643e8b737fb9dfa317cd1032"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060packages/live_providers\u0060 (27525 LoC, 178 module-visible types across 15 directories) overshoots its size bounds. 2 of 20 build unit(s) (Cargo, Gradle, SwiftPM, Xcode, pub) overshoot their size bounds, lowering Project Cohesion to 8.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ae2ba2bd5de3c8c171df3009ae11b46426850eca937a07078ad12c34f61687"}},{"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":"73e6e739fce3121943752106a37188669516e609d2fc50697bc8c4b478446715"},"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":"3a3a1a689171fec9a736d3daa51802dfc42d7f32617746fa931ba410dd729eef"},"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":"9e0e7d911d1c821358febb5f85fcb8354c05b2919b3a92a2e6d0ee8e079528ad"},"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":"ba074837219d0ae5e223d5b956eae29ebbb4d234c1ff0d8c37d8107f2c6070bb"},"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":"a8491fdc541fc98e147e1b84afedd9f02f6b1363a7b06ae6d0f5755150758a1a"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5db48092254b7a61101a92f7610c6d7bc008f6d817ee0e9b7e57747150e55224"},"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":"621a3e4bd1b7ceecd44c954b24aba9bdf36bd41d6bbdff26ec3a2f7254d1562a"},"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":"6a15fcb8867b523e896d480b09fc2d62e1499fe1b46fd1e497da3ea5831579b2"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"4a9fba81d6023d2d364d86ab8f7f58cea861a08e0305066ed7be518c6a980b5a"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"4013e7b302d5481c90df865a0237190dcc760c0c94f1e111e581cf2cbc486f0e"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"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":"AX6","level":"note","message":{"text":"Fat interface: BasePlayer (16 abstract methods): \u0060BasePlayer\u0060 declares 16 abstract methods: \u0060backend\u0060, \u0060states\u0060, \u0060diagnostics\u0060, \u0060currentState\u0060, \u0060currentDiagnostics\u0060, \u0060supportsEmbeddedView\u0060, \u0060supportsScreenshot\u0060, \u0060initialize\u0060, \u0060setSource\u0060, \u0060play\u0060, \u0060pause\u0060, \u0060stop\u0060, \u0060setVolume\u0060, \u0060captureScreenshot\u0060, \u0060buildView\u0060, \u0060dispose\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_player/lib/src/base_player.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5bcb5a7ce9cda405bf0b3220cad7816a00753b3ae0bad8e433ba5a6323749f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Webview (28 abstract methods): \u0060Webview\u0060 declares 28 abstract methods: \u0060onClose\u0060, \u0060isNavigating\u0060, \u0060registerJavaScriptMessageHandler\u0060, \u0060unregisterJavaScriptMessageHandler\u0060, \u0060setPromptHandler\u0060, \u0060launch\u0060, \u0060setBrightness\u0060, \u0060addScriptToExecuteOnDocumentCreated\u0060, \u0060setApplicationNameForUserAgent\u0060, \u0060back\u0060, \u0060forward\u0060, \u0060setWebviewWindowVisibility\u0060, \u0060moveWebviewWindow\u0060, \u0060bringToForeground\u0060, \u0060getPositionalParameters\u0060, \u0060reload\u0060, \u0060stop\u0060, \u0060openDevToolsWindow\u0060, \u0060setOnHistoryChangedCallback\u0060, \u0060setOnUrlRequestCallback\u0060, \u0060addOnWebMessageReceivedCallback\u0060, \u0060removeOnWebMessageReceivedCallback\u0060, \u0060removeAllWebMessageReceivedCallback\u0060, \u0060close\u0060, \u0060evaluateJavaScript\u0060, \u0060postWebMessageAsString\u0060, \u0060postWebMessageAsJson\u0060, \u0060getAllCookies\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/desktop_webview_window/lib/src/webview.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61461973bce83d052a54aa11f29fbfeb596d944c876c16bac8e99eb7427c54b"}},{"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":"C2","level":"note","message":{"text":"Thin authorization enforcement: Only 1 place(s) refuse an unauthorized caller \u2014 too few to demonstrate default-deny across handlers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1240e406e864a89e38d5e3fa370dee11971db94808c3db2fda9b41bf2e5b8efb"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): ImportFollowListJsonUseCase.call: \u0060ImportFollowListJsonUseCase.call\u0060 performs two independent DURABLE writes \u2014 \u0060followRepository\u0060 (a durable store) and \u0060tagRepository\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/library/application/manage_follow_transfer_use_case.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7ad76023061190fd03b2bb9d9a7329569bb1a59e6d254ff3e84d1e99c226f9"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): ImportFollowListJsonUseCase._restoreFollowImportSnapshot: \u0060ImportFollowListJsonUseCase._restoreFollowImportSnapshot\u0060 performs two independent DURABLE writes \u2014 \u0060followRepository\u0060 (a durable store) and \u0060tagRepository\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/library/application/manage_follow_transfer_use_case.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"257d11ae5b9788d582387a1d77223386ff3b80c4f2237b10b9f4f00a6cc69a00"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): RemoveTagUseCase.call: \u0060RemoveTagUseCase.call\u0060 performs two independent DURABLE writes \u2014 \u0060tagRepository\u0060 (a durable store) and \u0060followRepository\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/library/application/remove_tag_use_case.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d088e778f0240580d205ec96dbe6df17a13250c41b07e18fc4d29c6f562be634"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): UpdateFollowTagsUseCase.call: \u0060UpdateFollowTagsUseCase.call\u0060 performs two independent DURABLE writes \u2014 \u0060tagRepository\u0060 (a durable store) and \u0060followRepository\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/library/application/update_follow_tags_use_case.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a72eb7c808021dd2255d1fde52fe35a2d43ab39265741bc6f6c04d5bd4ef354"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): UpdateProviderAccountSettingsUseCase.call: \u0060UpdateProviderAccountSettingsUseCase.call\u0060 performs two independent DURABLE writes \u2014 \u0060secureCredentialStore\u0060 (a durable store) and \u0060settingsRepository\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/application/manage_provider_accounts_use_case.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a63f6cca6d3f16c838d793dd0d14a8abc3338e6a0d1d6bacb9c337b18d2f8e"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): ImportSyncSnapshotJsonUseCase._importLegacyFollowList: \u0060ImportSyncSnapshotJsonUseCase._importLegacyFollowList\u0060 performs two independent DURABLE writes \u2014 \u0060tagRepository\u0060 (a durable store) and \u0060followRepository\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/application/manage_snapshot_data_use_case.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa188d5cf706b25f03af245c2f5d8a7fd0f4e8dfc6d1ae81a3ee11ca3d3b1f49"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): UpdateSyncPreferencesUseCase.call: \u0060UpdateSyncPreferencesUseCase.call\u0060 performs two independent DURABLE writes \u2014 \u0060secureCredentialStore\u0060 (a durable store) and \u0060settingsRepository\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/sync/application/sync_preferences_use_case.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a003161eb960a054cbdb13bcd3bb452130389f973d86679d82eac7f289c4f6b"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): UpdateSyncPreferencesUseCase._restoreSnapshot: \u0060UpdateSyncPreferencesUseCase._restoreSnapshot\u0060 performs two independent DURABLE writes \u2014 \u0060settingsRepository\u0060 (a durable store) and \u0060secureCredentialStore\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/sync/application/sync_preferences_use_case.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e6a0c7288d9f8cfc7dfbb9f2602e52f132b9abf2ec1576594141ae9c166d90"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): LazySecureCredentialStore.delete: \u0060LazySecureCredentialStore.delete\u0060 performs two independent DURABLE writes \u2014 \u0060_activeStore\u0060 (a durable store) and \u0060_fallbackStore\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/application/secure_credential_store.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f9c50c113c6633d4c4df05babf28c9ebb9fed50fa694391f5afbee6d2b2eb9"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): LazySecureCredentialStore.write: \u0060LazySecureCredentialStore.write\u0060 performs two independent DURABLE writes \u2014 \u0060_activeStore\u0060 (a durable store) and \u0060_fallbackStore\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/application/secure_credential_store.dart"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b30f958614692f19bc021d505be2a69f1e7be3f9b3de77a55ea2bc236a54bb"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): RepositorySyncSnapshotService.importSnapshot: \u0060RepositorySyncSnapshotService.importSnapshot\u0060 performs two independent DURABLE writes \u2014 \u0060settingsRepository\u0060 (a durable store) and \u0060followRepository\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/runtime/repository_sync_snapshot_service.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff49d000df8cd0e24ce7130226b699f02191a33f3c4924ec7bf1998046cf170"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): RepositorySyncSnapshotService.importCategory: \u0060RepositorySyncSnapshotService.importCategory\u0060 performs two independent DURABLE writes \u2014 \u0060settingsRepository\u0060 (a durable store) and \u0060followRepository\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_sync/lib/src/runtime/repository_sync_snapshot_service.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"48320653e3fdc93eedc77e44375f0e88e66f0746a9e34aee625dae040ef8d663"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060selectTwitchRecoveryQuality\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":"apps/main_app/lib/src/features/room/application/twitch_playback_recovery.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f8eef58c07cb5d265e2c7b2455e33cb2c1504b03f1ad395c2107edf25f25b6"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060disposeIsolate\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_decipher_service.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e2ec4ed26bb414a6bc95fc0b9f898487aedbac20650580f51b740c1863e8ee"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 4/7 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060apps/main_app\u0060, \u0060apps/main_app/ios\u0060, \u0060apps/main_app/macos\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060apps/main_app/rust/danmaku_mask/Cargo.toml\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/rust/danmaku_mask/Cargo.toml"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e01ecee111c0c59b1329a1dd3ff33990ae9371eb211dc88ca478c34a0927767"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/android-release.yml"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"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":"apps/main_app/lib/src/app/platform/douyin_danmaku_signature_service.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d756502f4c5f88cfac598a08f3f5cb654d57af46d7d9cbcf48abdc76369d5e"}},{"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":"apps/main_app/lib/src/shared/presentation/widgets/persisted_network_image.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd5106c99ca7f469cf7d7fd1e0fb013ea120fd59509c78a7c310ed230e16327"}},{"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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":3854}}}],"partialFingerprints":{"codehealthFindingId/v1":"911097d12282b933232010d2c23b16dd95897d97e83aa769f9fbcddd9734fb0a"}},{"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":"packages/live_providers/lib/src/providers/bilibili/bilibili_sign_service.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacdc54b86448b17171f651598c36c62e017304907f5619411e7817b80d84da4"}},{"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":"packages/live_providers/lib/src/providers/douyu/douyu_sign_service.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"070fe775ac01300074d24e0df3411bb072a057ede514c39ebac9f199c13d66b8"}},{"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":"packages/live_providers/lib/src/providers/douyu/douyu_sign_service.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c57f8de8b3c2c6c47c923e1ae4524561316eb488b9c49f74684c8c6117e4e21"}},{"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":"packages/live_providers/lib/src/providers/huya/huya_sign_service.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dde648a7e317a3a2b91740f2b59c45bc534cdb33ab4c9cb1f49d9cdb59074c"}},{"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":"packages/live_providers/lib/src/providers/huya/huya_sign_service.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9100e066af2bcdecc3a864db24b9503714d3ce5decb2251a412567d07d5dd58d"}},{"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: packages/live_sync/lib/src/local_sync/local_sync_server.dart:125 \u2014 \u0060HttpServer.bind(\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Dart server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: packages/live_sync/lib/src/local_sync/local_sync_server.dart:125 \u2014 \u0060HttpServer.bind(\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!identical(_channel, channel) || !identical(_subscription, subscription)\u0060 appears character-identically in 3 files \u2014 packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart, packages/live_providers/lib/src/danmaku/douyu_danmaku_session.dart, packages/live_providers/lib/src/danmaku/huya_danmaku_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":"packages/live_providers/lib/src/danmaku/douyin_danmaku_session.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cac9124b3c59d6466ed017301cce6ab02b55fedf2a0d3c81efcd68136c315d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!identical(_socket, socket) || !identical(_subscription, subscription)\u0060 appears character-identically in 2 files \u2014 packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart, packages/live_providers/lib/src/danmaku/twitch_danmaku_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":"packages/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a93a5e59a9c854b5e1b7a7bedad0ea398942d23eeaabb8662bd2c9c66522990"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!kIsWeb \u0026\u0026 defaultTargetPlatform == TargetPlatform.android\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/shared/application/secure_credential_store.dart, packages/live_player/lib/src/mpv_android_surface_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":"apps/main_app/lib/src/shared/application/secure_credential_store.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f689483972620dff75b13b43be973a12624e8429d32224e266e73b4172fc87ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060AppPlatformCapabilities.current().isWeb || AppPlatformCapabilities.current().isMobile\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart, apps/main_app/lib/src/features/settings/presentation/other_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":"apps/main_app/lib/src/features/settings/presentation/follow_settings_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"406035fdd8b425a47aa80f5712672ffa4b697c3e12401a820429ec1a1802894f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060PlaybackStatus.buffering || PlaybackStatus.playing || PlaybackStatus.paused || PlaybackStatus.completed || PlaybackStatus.error\u0060 appears character-identically in 6 files \u2014 apps/main_app/lib/src/features/room/presentation/room_fullscreen_session_controller.dart, apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart, apps/main_app/lib/src/shared/application/player_runtime_controller.dart, packages/live_player/lib/src/mpv_android_surface_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":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_session_controller.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2220aa92e561ea96b9b0e3e3976f6572f235fe9a9b5385ffeaafb00b63bb9f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SensitiveSettingKeys.isTransferableCredentialKey(entry.key) \u0026\u0026 entry.value.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/app/bootstrap/bootstrap_internals.dart, apps/main_app/lib/src/features/sync/application/manage_local_sync_use_case.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/app/bootstrap/bootstrap_internals.dart"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"c510345e3942967924d239e3ebd9b178279550f0f57a659cd86f2fe2ea0ceea2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attempt \u003C maxAttempts \u0026\u0026 _looksLikeTransientWebViewStartupFailure(error)\u0060 appears character-identically in 2 files \u2014 packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart, packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86f8491df064d100af80c6dd70976936a3d6a42368eea0c5e448cd84340dce3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bootstrap == null || !bootstrap.isUsable\u0060 appears character-identically in 2 files \u2014 packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart, packages/live_providers/lib/src/providers/twitch/twitch_live_data_source.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd4ec20d30990ae4c49268710a6694a6db7e8f34335556e7d5325f2eb4eea2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060boxType.length != 4 || bytes.lengthInBytes \u003C 8\u0060 appears character-identically in 2 files \u2014 packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart, packages/live_hls_proxy/lib/src/stripchat/stripchat_mouflon_runtime_support.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"42008bba91b1a932ef7a2e9cdf88258436ec9dbc675b27fa230da690828166a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes[index] == expected[0] \u0026\u0026 bytes[index \u002B 1] == expected[1] \u0026\u0026 bytes[index \u002B 2] == expected[2] \u0026\u0026 bytes[index \u002B 3] == expected[3]\u0060 appears character-identically in 2 files \u2014 packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart, packages/live_hls_proxy/lib/src/stripchat/stripchat_mouflon_runtime_support.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2132ae56215e00a14ce1361f871920c509584e7a4030cc812777526b4a11f994"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cacheControl != null \u0026\u0026 cacheControl.isNotEmpty\u0060 appears character-identically in 2 files \u2014 packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart, packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bc85578db242a5f356bcc638d84ee98d38c69eacec74ad92888225ab41de46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060completer != null \u0026\u0026 !completer.isCompleted\u0060 appears character-identically in 6 files \u2014 apps/main_app/lib/src/features/room/application/room_playback_controller.dart, apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart, packages/live_player/lib/src/mpv_player_runtime_bindings.dart, packages/live_providers/lib/src/danmaku/isolate_danmaku_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":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7a2ec734c979ef3831739d162f24bbab079548b17d2c46751a8c273db47da5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060completer == null || completer.isCompleted\u0060 appears character-identically in 3 files \u2014 apps/main_app/lib/src/features/room/application/room_playback_controller.dart, packages/live_hls_proxy/lib/src/aes_worker.dart, packages/live_providers/lib/src/danmaku/isolate_danmaku_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":"apps/main_app/lib/src/features/room/application/room_playback_controller.dart"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc6d5025eae6dd3ae03d0357075e8cd7b6a318b1fce0771ceefb23e92665ceb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controller != null \u0026\u0026 !controller.indexIsChanging\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/features/browse/presentation/browse_page.dart, apps/main_app/lib/src/features/home/presentation/home_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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"200a58ae7f23e3867ea4f098866d0423eade3b07438bb12303109188839e4e33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controller == null || controller.indexIsChanging\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/features/browse/presentation/browse_page.dart, apps/main_app/lib/src/features/home/presentation/home_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":"apps/main_app/lib/src/features/browse/presentation/browse_page.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae198c872a68a5d8d9ae47a16b4b8c7e1d6086bd4002b53bbcbba90b9cae871"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data is TarsStruct || data == TarsStruct\u0060 appears character-identically in 2 files \u2014 packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart, packages/live_providers/lib/src/danmaku/tars/codec/tars_output_stream.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/danmaku/tars/codec/tars_input_stream.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"110032897a63961d2d1307c60f4c9984db5e15c3703263f549158de8732265fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060displayName == null || displayName.isEmpty\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/app/bootstrap/bootstrap_internals.dart, packages/live_sync/lib/src/model/local_sync_peer_info.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/app/bootstrap/bootstrap_internals.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"974dd052deb13370794022b545e92454f7153ffc4c11b868a2c30e7c1a3f5950"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.value.url == url \u0026\u0026 _mapEquals(entry.value.headers, headers)\u0060 appears character-identically in 2 files \u2014 packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart, packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0342183cf6cca6464232e2d061a51b94475efba1e3afa4630163f691e85cffe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.id.isNotEmpty \u0026\u0026 item.name.isNotEmpty\u0060 appears character-identically in 3 files \u2014 packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart, packages/live_providers/lib/src/providers/douyu/douyu_live_data_source.dart, packages/live_providers/lib/src/providers/huya/huya_live_data_source.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bbc4edbfb3b3ffc0dcc0aefb21259dc59b5d95dd24e0689596a4aa659a296f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.providerId == normalizedProviderId \u0026\u0026 item.roomId == roomId\u0060 appears character-identically in 5 files \u2014 apps/main_app/lib/src/features/library/application/update_follow_tags_use_case.dart, packages/live_storage/lib/src/repositories/file/file_follow_repository.dart, packages/live_storage/lib/src/repositories/file/file_history_repository.dart, packages/live_storage/lib/src/repositories/in_memory/in_memory_follow_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":"apps/main_app/lib/src/features/library/application/update_follow_tags_use_case.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25308d96ead2852d30a9885d97038b7e7f3a1351faf0cd409041d63adbfaafc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.providerId == record.providerId \u0026\u0026 item.roomId == record.roomId\u0060 appears character-identically in 4 files \u2014 packages/live_storage/lib/src/repositories/file/file_follow_repository.dart, packages/live_storage/lib/src/repositories/file/file_history_repository.dart, packages/live_storage/lib/src/repositories/in_memory/in_memory_follow_repository.dart, packages/live_storage/lib/src/repositories/in_memory/in_memory_history_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":"packages/live_storage/lib/src/repositories/file/file_follow_repository.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0141262e38da5091a0589a20998367f5f7d1f0a72a3fa4cd5348ee5aa3a4606"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.providerId.isNotEmpty \u0026\u0026 item.roomId.isNotEmpty\u0060 appears character-identically in 2 files \u2014 packages/live_storage/lib/src/persistence/local_storage_file_store.dart, packages/live_sync/lib/src/model/sync_snapshot_codec.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"9384249941877026251bb4aa340d6b0f5d4d2e30b4484c8c2bf309d86b162183"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060json.containsKey(\u0027settings\u0027) || json.containsKey(\u0027blocked_keywords\u0027) || json.containsKey(\u0027tags\u0027) || json.containsKey(\u0027history\u0027) || json.cont\u2026\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/features/settings/application/manage_snapshot_data_use_case.dart, packages/live_sync/lib/src/model/sync_snapshot_codec.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/settings/application/manage_snapshot_data_use_case.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"976d809ba8cd8a521c1f5120fbdefd4ad1cdfdb683f15df2f4ede8e335c96dbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastDisposeAt == null || _webViewRecreateCooldown == Duration.zero\u0060 appears character-identically in 2 files \u2014 packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart, packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b691f547f68c010d2923b02a54870af17a36feeebd9dbdbd089ea341fb16f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left.url == right.url \u0026\u0026 left.externalAudio?.url == right.externalAudio?.url \u0026\u0026 left.bufferProfile == right.bufferProfile\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/features/room/application/room_page_rebuild_scope.dart, apps/main_app/lib/src/features/room/application/room_page_session_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":"apps/main_app/lib/src/features/room/application/room_page_rebuild_scope.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a4ffe1258468e688cf024e03b72ad84e36909823c462ae3437ef59638e50a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060liveBroadcastDetails[\u0027isLiveNow\u0027] == true || videoDetails[\u0027isLive\u0027] == true || videoDetails[\u0027isLiveContent\u0027] == true\u0060 appears character-identically in 2 files \u2014 packages/live_providers/lib/src/providers/youtube/youtube_browse_data_source.dart, packages/live_providers/lib/src/providers/youtube/youtube_mapper.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/youtube/youtube_browse_data_source.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e88a679d7d20f33b95f12a96978fca86fcac32bd199c6a642fbc52729d90760"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.contains(\u0027timeout\u0027) || lower.contains(\u0027timed out\u0027)\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart, apps/main_app/lib/src/shared/presentation/user_facing_error.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d8a521360761fcdc2c074531ba62dd9e2bbbc6417cecf73799837186b253b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.contains(\u0027Must be started before we block\u0027) || message.contains(\u0027addDocumentStartJavaScript\u0027)\u0060 appears character-identically in 2 files \u2014 packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart, packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5313b538e5f23b00243de4ba9a2ad7932334dd1a7adde4f290cea262cc172143"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.contains(\u0027code -101\u0027) || message.contains(\u0027\u8D26\u53F7\u672A\u767B\u5F55\u0027) || message.contains(\u0027not login\u0027)\u0060 appears character-identically in 2 files \u2014 packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart, packages/live_providers/lib/src/providers/bilibili/bilibili_sign_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":"packages/live_providers/lib/src/providers/bilibili/bilibili_live_data_source.dart"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8f4ee8dad2d5d7c414d4ce106340f8cf4831571e62e364a49eadc0c32b4504"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.isEmpty || value.isEmpty || ignoredAttributes.contains(name.toLowerCase())\u0060 appears character-identically in 2 files \u2014 packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart, packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae3e315fc5a78b58cfa10d6c405908afe019743cda1d79dcaf664ee6bb00ab1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized == \u0027true\u0027 || normalized == \u00271\u0027 || normalized == \u0027yes\u0027\u0060 appears character-identically in 3 files \u2014 apps/main_app/lib/src/features/room/application/load_room_use_case.dart, apps/main_app/lib/src/shared/domain/follow_watch_entry.dart, packages/live_providers/lib/src/providers/chaturbate/chaturbate_password.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/load_room_use_case.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d2d77b6a4e2f36b550d6656b38bdf1eed20f6ba753ffd28044c4c11bd96747"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized == null || normalized.isEmpty\u0060 appears character-identically in 2 files \u2014 packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart, packages/live_sync/lib/src/local_sync/local_sync_server.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8d91075f4402b931c3e2a4c4a9328bcb83690c0ced7a6c72766f205209b285"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.contains(\u0027\u6D41\u7545\u0027) || normalized.contains(\u0027\u6807\u6E05\u0027)\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/features/room/presentation/room_controls_presentation_helpers.dart, packages/live_providers/lib/src/providers/douyu/douyu_mapper.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_controls_presentation_helpers.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd0b129f45ce86ebca7a5b832e48731b960cf62a64bb66e57ba53d023f56665"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060playbackSource != null \u0026\u0026 playUrls.isNotEmpty\u0060 appears character-identically in 3 files \u2014 apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart, apps/main_app/lib/src/features/room/presentation/room_preview_page.dart, apps/main_app/lib/src/features/room/presentation/room_preview_page_player_surface.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de637a1029d085d2a1eb5b7b6d8731a8a9fa267bbff3c502c14f4d17ad0eb98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolvedHeight != null \u0026\u0026 resolvedHeight \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart, packages/live_providers/lib/src/providers/twitch/twitch_hls_master_playlist_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":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_hls_master_playlist_parser.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"96618d639155e132dcc16fa7d631b9f189e1b433df0944dbaea0e38aea1c1bc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode \u003C 200 || response.statusCode \u003E= 300\u0060 appears character-identically in 11 files \u2014 apps/main_app/lib/src/shared/presentation/widgets/persisted_network_image.dart, packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart, packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart, packages/live_providers/lib/src/providers/bilibili/bilibili_account_client.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/presentation/widgets/persisted_network_image.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"71091618059fa952d461fbbf07e8e20387f38782c0ee98335e52885182303832"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode \u003E= 200 \u0026\u0026 response.statusCode \u003C 300\u0060 appears character-identically in 4 files \u2014 packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart, packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart, packages/live_providers/lib/src/providers/twitch/twitch_api_client.dart, packages/live_providers/lib/src/providers/youtube/youtube_api_client.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/chaturbate/chaturbate_api_client.dart"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcc9e06fe0c592f60486f0b3dd9291cd172dd39af7af0dfdde304e3dff0f2bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060room.roomId.toLowerCase().contains(normalized) || room.streamerName.toLowerCase().contains(normalized) || room.title.toLowerCase().contains(\u2026\u0060 appears character-identically in 2 files \u2014 packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart, packages/live_providers/lib/src/providers/youtube/youtube_preview_data_source.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/twitch/twitch_preview_data_source.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa63a684666c1d3170f3f6fa1470724f45382d004b6513ae23f2be38dae8f18c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060room.title.toLowerCase().contains(normalizedQuery) || room.streamerName.toLowerCase().contains(normalizedQuery)\u0060 appears character-identically in 4 files \u2014 packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart, packages/live_providers/lib/src/providers/douyin/douyin_preview_data_source.dart, packages/live_providers/lib/src/providers/douyu/douyu_preview_data_source.dart, packages/live_providers/lib/src/providers/huya/huya_preview_data_source.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/bilibili/bilibili_preview_data_source.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af09bede948d062f511366f2c37a7e04332f42c5369ea371bd8f9a4f86bac81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segments.length \u003C 3 || segments.first != _routePrefix\u0060 appears character-identically in 2 files \u2014 packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart, packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fae6568fbdbe4cce3d361e670f57f0f2c9a0a00256bb76145b3ba13219c4d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state != AppLifecycleState.hidden \u0026\u0026 state != AppLifecycleState.paused\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart, apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_danmaku_controller.dart"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f642be62e9d4a8ddf51afe2f239d154a111d808bc856dbe1b8ae3f4c80d2a52a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == \u0027password\u0027 || status == \u0027password_protected\u0027\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/shared/domain/follow_watch_entry.dart, packages/live_providers/lib/src/providers/chaturbate/chaturbate_password.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/shared/domain/follow_watch_entry.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"757f89b2662f24d45dd374debc7ccfa577b29974b7a7c9a0db73e49f1cbe56af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || value is String || value is bool\u0060 appears character-identically in 2 files \u2014 packages/live_storage/lib/src/persistence/local_storage_file_store.dart, packages/live_storage/lib/src/repositories/file/file_settings_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":"packages/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5b0594f006a2d0a4bf3645b07d0fce3bb6ac3d0cc1f68c242fd0170e391ef0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is String \u0026\u0026 value.trim().isNotEmpty\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/app/runtime_bridges/youtube_nsig_webview_solver.dart, packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_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":"apps/main_app/lib/src/app/runtime_bridges/youtube_nsig_webview_solver.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c929037107673981eeccc85c679e5e25a2d59b530dabb14bbebab578a1813ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.fullscreenSessionActive \u0026\u0026 viewState.showFullscreenChrome\u0060 appears character-identically in 2 files \u2014 apps/main_app/lib/src/features/room/presentation/room_fullscreen_chrome_controller.dart, apps/main_app/lib/src/features/room/presentation/room_picture_in_picture_coordinator.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_chrome_controller.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7aed9f7f04be121963a2de583719627b4e9f0e11b2c19c99c5592cad036709e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060walk\u0060 is public and takes \u0060Object ? v\u0060 from its caller, and it calls itself at line 9 (\u0060walk\u0060) with a piece of \u0060v\u0060 (and at line 11) \u2014 and nowhere in \u0060walk\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 \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/tool/yt_nsig_challenge_probe2.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74f42a686db4a860215ce17e2ee141131496e55be4364a2565509081e7ed262"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060walk\u0060 is public and takes \u0060Object ? v\u0060 from its caller, and it calls itself at line 10 (\u0060walk\u0060) with a piece of \u0060v\u0060 (and at line 14) \u2014 and nowhere in \u0060walk\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 \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/tool/yt_nsig_challenge_probe3.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"83576837ea11032e8bdc0a4bd001ea32893fe9b4275c99bfcb636dd8ca46f2c5"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060walk\u0060 is public and takes \u0060Object ? v\u0060 from its caller, and it calls itself at line 8 (\u0060walk\u0060) with a piece of \u0060v\u0060 (and at line 12) \u2014 and nowhere in \u0060walk\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 \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/tool/yt_nsig_challenge_probe4.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2a17a042f23e5614a52a86a3e76e06e559da4cb0385a31a87cb236b984cf42"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060isTransientTransportFailure\u0060 is public and takes \u0060Object ? error\u0060 from its caller, and it calls itself at line 37 (\u0060isTransientTransportFailure\u0060) with a piece of \u0060error\u0060 \u2014 and nowhere in \u0060isTransientTransportFailure\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 \u0060isTransientTransportFailure\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/live_providers/lib/src/providers/provider_transport_failure.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7532dbfdf56277300425f85b622b805b938c89500416302d27f82932ee5fa88c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060on Object\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/live_storage/lib/src/persistence/local_storage_file_store.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"98acc7dfb9063372a47a0422e9ec79b2b964fd73dd44322662911ef56f5a31e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060on 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":"packages/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e8a85ef654b149c3f423369a889d00709be9dc82575a477baaedd4c84beedb"}},{"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/live_providers/lib/src/providers/stripchat/stripchat_api_client.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab89d5214271eee4b181b35bc3e56d573f889da280bf2fb3ce5d99dfa608c9b"}},{"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/live_providers/lib/src/providers/chaturbate/chaturbate_room_page_parser.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b1796a8e4b572b1a2a2b1b17594ccf88c5e590abf539ab401ed51b5d9dac8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"7258c54af8eaa347d8779b4ff851421bf78cf174f9c25b3a5040df4e4a3cb869"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/bilibili_danmaku_session.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffa661e2343b16faf4a79c21d52dafe7d911245836f2ab6a707aeda646aa18e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ec3f2758a2f1f345c2dd78f4dc8ececc66b8f87f64fd6d6ff6d1237dee0cb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/chaturbate_danmaku_session.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edd16b4bbe95a43bae8a07312adae822c3397b82c99d76c371610e8d9583cbc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/douyin_danmaku_session.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fc4b7850bccf13fa9fb4a70489fe2c7b37ef01552226a70e6fab38b811d5a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/douyin_danmaku_session.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a19fce7d7f1358e8bd54ed840cd6e34121b1f21556db63e2f82fa069774d98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/douyu_danmaku_session.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8067765fd8c54d3970de063101d2fd6be75711d483eba076e1cd561b0cc36c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/douyu_danmaku_session.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f053bed8d3324a85539c6fa3245ba21b42fb85b626d631530acf7b7349218d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/huya_danmaku_session.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d7e9330c199a9c73bdece0959db39a728a0930c1a1931c30fd5c117bcbe1b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/huya_danmaku_session.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"73560e53f47e9aec0f78473ac7f5b39bb9cbfd94d2e4151daec1fe35dc9dd52a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/isolate_danmaku_session.dart"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99bdf50d181dd67447ad791389c22df3636795b48bf3d49bd4454681a47a526"}},{"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/live_providers/lib/src/danmaku/isolate_danmaku_session.dart"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e811ecd94bb65910bf30825585d1965fee0d5442170569d48cd096cccc8bab0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/isolate_danmaku_session.dart"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"85de4445de53bcb5f289ecbf790aacc39fb8ee1fc9a253372b7991aa0dfc9b33"}},{"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/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"5991dd4fe8362271cd0e6b07ecc48972e8be97d504e2c47f85f5e1706dd4536c"}},{"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/live_providers/lib/src/danmaku/stripchat_danmaku_session.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8e70bce94e47640b9e800e1dd21d2bdc488a33ee2b7f9de14766124ab8269b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/twitch_danmaku_session.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ce92c5650ed20d09f34bcfc5162e647edaccda81734421be015f241fcde49e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_providers/lib/src/danmaku/twitch_danmaku_session.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb6e05ea2d9981283e7d77db39f37034b0f326c2a9d10cc4c28d78c60b39fad"}},{"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/live_player/lib/src/mpv_android_surface_manager.dart"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27a661acf4068d0599acb06dfdb52b4a7d7b26b3391b6698a7292f1548dfb1b"}},{"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/live_player/lib/src/mpv_android_surface_manager.dart"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6d351628c7fb801eacf068f9c8dfc549429d2f424fa3d89ec9723cc0c948bd"}},{"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/live_player/lib/src/mpv_android_surface_manager.dart"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8628f7c8fdc4993570ba623e8f8075c391ebcf822fe18ccdb7a2e03ed35385a9"}},{"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/live_player/lib/src/mpv_hls_manifest_service.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"1682b406cd28c1a401283d1a55e942cdfe713199d15a1e44530dbaec3c70ea17"}},{"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/live_player/lib/src/mpv_hls_manifest_service.dart"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a4cce8cf12c29598377708a3be6c6e7df6bb5eed5fff5e64a6eb5833cc06ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_player/lib/src/mpv_player.dart"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f487bb3e002c9a1132c4d289e0ea5444ddba7938abf6fbd1fa05598627932f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_player/lib/src/mpv_player.dart"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f5000938d812f69bfe901f47f37124c6fcac969d7b6b5a3b29ba2d2825194c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_player/lib/src/mpv_player.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae630c6209c10eda1b656bd4a42fb8da1f5d6f7658f40702eaf7be3adb353426"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_player/lib/src/mpv_player.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9269a2868896e3277331ad70397c236d25b946f2956b607979d6ef410b5cb9"}},{"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/live_player/lib/src/mpv_player.dart"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a434e870e67e1c82e34ea707e13adcf58125af4d9ba3acdfdb38b50331df6b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_player/lib/src/mpv_player.dart"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d81a80d0b2760f260ad8a04b5f9458f046a823fee717f0bd016c99f364a7ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_player/lib/src/mpv_player.dart"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27917daacb973a08da2ce3f3dc48aa203a48e5f81d3d758a4716f79aa8f68b1"}},{"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/live_player/lib/src/mpv_player_runtime_bindings.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"968c422ee3a64ad9ad7b43298e1c7c8992dcc0fbb918233e76348810a169ae3b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_player/lib/src/mpv_property_configurator.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeec98bd01292bd2d37ea2f5312ea521e011bc1082634069542c438ee086f8a3"}},{"ruleId":"X3","level":"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":"packages/live_hls_proxy/lib/src/aes_worker.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e3ec28f0089623f72030d5581c07e625f46d37cb050c73cb44848a93bb3a33"}},{"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/live_hls_proxy/lib/src/aes_worker.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"565050d0b2480f9798ea2923aa1fb113fb7a068b1fa745c352651d3f3149b658"}},{"ruleId":"X3","level":"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":"packages/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"67deb77cfafdd54f533c97e15c4faf4bbb9907c0efebf42b8a1c9f456b1e572b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36f764eb03d08f9ae3dae7195dbeb9bd8ccbc8ecd61fd98fbcc55422cc943ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"636c370288a2b57f7760d33ac7f4690f8d5cdb927980fe24b4066aa8734df6a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea0b86f6db0d96b4dc56868c90e21268073bc41c4b3563d7285d079539d52c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdddd8576fe64a7ed430a73f1c5c3bd1554a8605f6104f82dedb1870bd739f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/twitch/twitch_ad_guard_proxy.dart"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"346bc5d10a0339c7bb354a38bc1a3611b4cf417168c62516741fa402a57633fe"}},{"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/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f573fec53f9c93010895a8e6d77e3ba45f2896d3c90d08220ecdefc65609be3"}},{"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/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebac2732968e91add5bb87035bc97c28f80e18a38dcf15db92feaf03ab1ef71f"}},{"ruleId":"X3","level":"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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d761edfee522bc8c71372095543c9747ebba1011a45373a89c583abfe278f176"}},{"ruleId":"X3","level":"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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7916d216a6b6a6f7578109e13c52a7fa601dcd3a90fa120801705d40ce50545"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc056fb8dd8c9ce7e70e7e5b89473447053390ec868d145e1f64870fbe32db57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d53e43bb1b8ed7be5ab32fc4ec1c0d19fbf08fc11d06094a22b3d51476ebbc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fd63231235eb1eaf5db3ea839abc4b45b3f4ef98c38c57e9c71e92220e9e91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dff0e0b9b65bc0725627ea6f9db2c333156b08b4584b6e82ccd2ea6111c6589"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060on Object\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/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bf9161cb945fc329107233b1ef5f3546b88de61108f9c321535b68739757ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ab5fdf556cef684e6cfa7b8a659b00cfced8f9913a12fe74336db6824c49cc"}},{"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/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":3300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4294d6976c9b44a1df277c581904e7c3a41977eae3d6bea8fc9d2104944c0d3"}},{"ruleId":"X3","level":"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":"packages/live_hls_proxy/lib/src/stripchat/stripchat_llhls_proxy.dart"},"region":{"startLine":4020}}}],"partialFingerprints":{"codehealthFindingId/v1":"530718e0e713f76632160abd27a8007bdf119495f39c70a189a0d1531e7e71eb"}},{"ruleId":"X3","level":"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":"packages/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfc04ed9bccd465222d7e358219a788d3b507c8eff515825f9c5300a5a2542e"}},{"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/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0642168541e15060f1bca45510c6ffff4ad65fbdc060432f2d1e1b7164b399c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/chaturbate/chaturbate_llhls_proxy.dart"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f03e8707090c1f3e1192c43b200517fbfffbc6b63d8cf94a6e180920216303d"}},{"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/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"189dbc61235955a59bf9cca4a7ae945c2fe048f2de9f3f85604cd93af3588009"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/live_hls_proxy/lib/src/chaturbate/chaturbate_web_room_detail_loader.dart"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e9d785633329404b464e92123e021a49937c53c4b50a25102fe54537de2975"}},{"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/live_core/lib/src/text/well_formed_string_extension.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"79df8b2e13e2ebf646d1029caf7ec1c32602f7e580c1678eefb909eb6776f0b0"}},{"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":"apps/main_app/lib/src/rust/danmaku_batch_mask_ffi.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afc0162335f1db1480bdf0ebb42d9d3e4e3517d92bdd603724d118834a6b95f"}},{"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":"apps/main_app/lib/src/features/sync/presentation/sync_local_platform_io.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edc2472876f4ab10e726f25b06ae42b81121a89347e5759e9fc018e41ae670b"}},{"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":"apps/main_app/lib/src/features/settings/presentation/other_settings_page.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"2367a45aca96e8c731b78f05bd91b36e13d1349760c0840a67903a768b04a911"}},{"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":"apps/main_app/lib/src/features/settings/application/manage_player_preferences_use_case.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb0c80c90c2c9f71bf2fbc79a9ad6534d777eb7ecd2e051e9ee8df97201e2c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_desktop_mini_window_coordinator.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9324b66242f6f85268ed3903e2a679b5bb69319b44bf1a4b7379cf5c50217ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_desktop_mini_window_coordinator.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8453791dadcbebb131138c37c2afbf7e83552a20756cf742c6a528760e51a1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_desktop_mini_window_coordinator.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"62211378f751bef1b53a0b45404cfab1cfd672b46c839f83868f7faa2b8f1867"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_chrome_controller.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8232ba5fafff0de9f5ecf8ae6f93a4d870729a83e00bfe80aec34682d10ab5a"}},{"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":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_chrome_controller.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ed0519eb2c066721999951bdeae084970a5dadd28e0ea662f3b7125f13f815"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_chrome_controller.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"73383f12ca6f957532b482a667a3d0193ec29824c4441c1b49d6ae762425ebb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_session_controller.dart"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"d577176768b807f91c21f4d688329ac8849122a99e21e90f13d132085576e908"}},{"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":"apps/main_app/lib/src/features/room/presentation/room_page_session_coordinator.dart"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"b608dc076cd4caf493f9a3537df95ec7cf054733ce4dbdb00973023754690936"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_page_rebuild_scope.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"150deec8e7335137402272100853cbc7c464760251715bf2b7463563a07c0970"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_page_rebuild_scope.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31c2e683fa8ed6371b3c7f13d246f97e7aa54e76b29feaa5e282d899e0d0873"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/features/room/application/room_page_rebuild_scope.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3100a414886e71b49f58b51e2675548b04f55b3fcbc6de26efa805fa928fb58"}},{"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":"apps/main_app/lib/src/app/runtime_bridges/linux_async_js.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7833331b5b6d2b642ff8568ab40a30f594d85e155fca56507f73a0d2da08e90c"}},{"ruleId":"X3","level":"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":"apps/main_app/lib/src/app/runtime_bridges/linux_desktop_webview_adapter.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e594906085a77e00fbab21f64fc5d269e072978caffe6d9b580ce1679aeac3ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/lib/src/app/runtime_bridges/linux_desktop_webview_adapter.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2d918252ddc92a3e78fa37583db7bf9c241cce710f5f6da805d8078ab36a71"}},{"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":"apps/main_app/lib/src/app/platform/room_fullscreen_session_platform_adapters.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7818adbac8fa0750b185adde61eaa18301d4cabfad6a48e929275225ba02f2dc"}},{"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":"apps/main_app/lib/src/app/platform/room_fullscreen_session_platform_adapters.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"469436b8ec1b811b29b1a9bb713611eb305d8ef91357fb2ca3fb640c31cbdeaf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10602a75e584ab7875913fe1781405f8f56fffd6733fb684ec4e408cda8c3bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":3690}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c50bd2784c93165c92b5c062a8f38fdc25e426ea43e8e111b4b1caa9f82e01a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":4462}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb778ef5faf5bfd77349b9663dca42214ac4d2bd1dfe404af02ee389c97d4c16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":4471}}}],"partialFingerprints":{"codehealthFindingId/v1":"242c04a89d59e23bb12f4dbdeb68e90aebe754b2b6ab4f6e9bc407ce1ff097fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":4634}}}],"partialFingerprints":{"codehealthFindingId/v1":"f122b6b983dc849e0de47f1bb98b0499a3ed3fcd4142d2d05fe83936622cd0cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":4654}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cbc87ed598b6bb6900f2ad704677e024c8c9ac166d31aa8305a35ba891a406"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":5110}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f16755434138264a3a36c8ebe3d0925d70330a283536fd640cbb54f399f435"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":5331}}}],"partialFingerprints":{"codehealthFindingId/v1":"468aa40b4577ce56cd319f607b83a9776904542a9da3b04e75cc593a294cf16d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":5502}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bef96bb9eb377e11ee42a62fa3f449bf5432776983ded2d6bbbd6d5b02865f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":5510}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ddb47a0b3fab57bbaaa021a14bda435306db7aa471292db2bf68d0c48de5e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":5815}}}],"partialFingerprints":{"codehealthFindingId/v1":"202df435fd684ca9ec91c6e7a4cce0142893d084f6da50f1925b5d97e82e7665"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6082}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b2007ad5790d3be84edf361df38194b04160a8be06ba6d58b4f27337dd3114"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6180}}}],"partialFingerprints":{"codehealthFindingId/v1":"522210c216c971532f8636b5a530a7eb8f25cc17e19ffdb70db9be5535acc914"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6220}}}],"partialFingerprints":{"codehealthFindingId/v1":"30686547a0e8c03c4e052bcb6a4beb3b8d525b9ba5e0e1ea407b4e604e0951a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6224}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb294703098a57c16608aeb0b3ebfe1ab83449340c715d542273ad795c70b50"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab4a33c52ef900b6a5f98d88065a4d306662b84ca80e3592e05a78c45a14f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b343ab2385e19fd60db345a8cdc31e78ff86a63a2c7c689ab2f9a4c27c8fa71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f206724a32a5f5e8f4f5d5bcbff7ded8386994e7dac732f12a246bb5064f2f57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6add44745bde34fd8305666ab2ee7cb19180631f8a5fe7208d9e6c299a86eb31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/main_app/assets/js/douyin-webmssdk.js"},"region":{"startLine":6356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da656ed345856a579c3f57870457f1bbf9e6405f6a0188b41e00f31afe85f8d"}},{"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":"packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"df85682540bde520f04b25335ee78c9fa59d838b5a8b57727d955fe37816152c"}},{"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":"packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"595d44d367e614603cf51fc6ea97e9f362ddc020c006519579ebf77ab4d70587"}},{"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":"packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5663dc31a726020d79b00eabf2259284f264d86357cbcc4b9d4c72e129e253ee"}},{"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":"packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8985ab566cd61197c2b0c38422107dd152d6c3c3241c060a1e652ab032e003d3"}},{"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":"packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f7f9591efaa3710136f8c96a55711070994792a5e193d768ed271da7addce8"}},{"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":"packages/live_providers/lib/src/providers/youtube/youtube_page_parser.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ea7527c73915e2a5483a70e3c0c1f80be53fa978c9709ddadf4e40708ece71"}},{"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":"packages/live_providers/lib/src/providers/bilibili/bilibili_sign_service.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2924dbbe74985413ded7113ccd91e792fc70f593be7388fc67ee11091f5a17"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060call\u0060 answers \u0060[]\u0060 when \u0060FormatException\u0060 is thrown, with no log or rethrow \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"apps/main_app/lib/src/features/category/application/manage_favorite_category_tags_use_case.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cf1b2a4ea14084892376757aa6a0017270988bb5bb027ebad6d1c0687517af"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_readScreenBrightness\u0060 turns every thrown error into \u00600.5\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":"apps/main_app/lib/src/features/room/presentation/room_fullscreen_chrome_controller.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bce9fa72e19a5ceae66d85be59fae68d2b9229953973dbd4ad8d82bfd3e9a94"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_asMap\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":"packages/live_hls_proxy/lib/src/twitch/twitch_web_playback_bridge.dart"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"984cd71a0e2b4fd529c7aebab6b45339cf222b49d55a45eecf6203fa69570b8a"}}],"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-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-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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":15,"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."]}]}